Update README.md
Browse files
README.md
CHANGED
@@ -1,6 +1,4 @@
|
|
1 |
---
|
2 |
-
# For reference on model card metadata, see the spec: https://github.com/huggingface/hub-docs/blob/main/modelcard.md?plain=1
|
3 |
-
# Doc / guide: https://huggingface.co/docs/hub/model-cards
|
4 |
datasets:
|
5 |
- AudioSet
|
6 |
- AudioCaps
|
@@ -57,7 +55,7 @@ Minimal example:
|
|
57 |
|
58 |
```python3
|
59 |
# Load model
|
60 |
-
architecture = "openai/whisper-
|
61 |
checkpoint = "TODO"
|
62 |
model = audiocap.WhisperForAudioCaptioning.from_pretrained(checkpoint)
|
63 |
tokenizer = transformers.WhisperTokenizer.from_pretrained(checkpoint, language="en", task="transcribe")
|
|
|
1 |
---
|
|
|
|
|
2 |
datasets:
|
3 |
- AudioSet
|
4 |
- AudioCaps
|
|
|
55 |
|
56 |
```python3
|
57 |
# Load model
|
58 |
+
architecture = "openai/whisper-TODO"
|
59 |
checkpoint = "TODO"
|
60 |
model = audiocap.WhisperForAudioCaptioning.from_pretrained(checkpoint)
|
61 |
tokenizer = transformers.WhisperTokenizer.from_pretrained(checkpoint, language="en", task="transcribe")
|