aliciayrvn
commited on
Commit
•
8e1e565
1
Parent(s):
2855d40
Update README.md
Browse files
README.md
CHANGED
@@ -85,18 +85,4 @@ The following hyperparameters were used during training:
|
|
85 |
- Transformers 4.38.2
|
86 |
- Pytorch 2.2.1+cu121
|
87 |
- Datasets 2.18.0
|
88 |
-
- Tokenizers 0.15.2
|
89 |
-
### Запуск через докерфайл
|
90 |
-
docker build -t my_audio_classification_model .
|
91 |
-
docker run -p 8000:8000 my_audio_classification_model
|
92 |
-
|
93 |
-
### Запуск через API
|
94 |
-
# Use a pipeline as a high-level helper
|
95 |
-
from transformers import pipeline
|
96 |
-
|
97 |
-
pipe = pipeline("audio-classification", model="aliciayrvn/distilhubert-finetuned-gtzan")
|
98 |
-
# Load model directly
|
99 |
-
from transformers import AutoProcessor, AutoModelForAudioClassification
|
100 |
-
|
101 |
-
processor = AutoProcessor.from_pretrained("aliciayrvn/distilhubert-finetuned-gtzan")
|
102 |
-
model = AutoModelForAudioClassification.from_pretrained("aliciayrvn/distilhubert-finetuned-gtzan")
|
|
|
85 |
- Transformers 4.38.2
|
86 |
- Pytorch 2.2.1+cu121
|
87 |
- Datasets 2.18.0
|
88 |
+
- Tokenizers 0.15.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|