Skip to content

Commit 4071489

Browse files
authored
Merge pull request #9 from FinnKr/main
Added Dockerfile
2 parents 71fc538 + 0f4cefc commit 4071489

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
LICENSE
2+
.github

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# pull official base image
2+
FROM python:3.8.6
3+
4+
RUN apt-get install libsndfile1
5+
6+
RUN pip install --no-cache datasets transformers soundfile numpy torch torchaudio
7+
8+
COPY . .
9+
10+
RUN pip install -e .

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,11 @@ You can read about models from the list:
5454
- [*airesearch/wav2vec2-large-xlsr-53-th* - AI RESEARCH - PyThaiNLP model](https://medium.com/airesearch-in-th/airesearch-in-th-3c1019a99cd)
5555
- [*annaphong/wav2vec2-large-xlsr-53-th-cv8-newmm* - Thai Wav2Vec2 with CommonVoice V8 (newmm tokenizer) + language model](https://huggingface.co/wannaphong/wav2vec2-large-xlsr-53-th-cv8-newmm)
5656
- [*wannaphong/wav2vec2-large-xlsr-53-th-cv8-deepcut* - Thai Wav2Vec2 with CommonVoice V8 (deepcut tokenizer) + language model](https://huggingface.co/wannaphong/wav2vec2-large-xlsr-53-th-cv8-deepcut)
57+
58+
### Docker
59+
To use this inside of Docker do the following:
60+
```sh
61+
docker build -t <Your Tag name> .
62+
docker run docker run --entrypoint /bin/bash -it <Your Tag name>
63+
```
64+
You will then get access to a interactive shell environment where you can use python with all packages installed.

0 commit comments

Comments
 (0)