Update README.md
Browse files
README.md
CHANGED
|
@@ -97,19 +97,16 @@ library_name: transformers
|
|
| 97 |
|
| 98 |
### Setup
|
| 99 |
|
| 100 |
-
|
| 101 |
-
pip install transformers
|
| 102 |
-
```
|
| 103 |
|
| 104 |
-
However, if you're here early and VibeVoice ASR is not yet part of an official Transformers release, it can be used by installing from the source code:
|
| 105 |
```
|
| 106 |
-
pip install
|
| 107 |
```
|
| 108 |
|
| 109 |
### Loading model
|
| 110 |
|
| 111 |
```python
|
| 112 |
-
from transformers import AutoProcessor,
|
| 113 |
|
| 114 |
model_id = "microsoft/VibeVoice-ASR-HF"
|
| 115 |
processor = AutoProcessor.from_pretrained(model_id)
|
|
|
|
| 97 |
|
| 98 |
### Setup
|
| 99 |
|
| 100 |
+
VibeVoice-ASR is available as of v5.3.0 of Transformers!
|
|
|
|
|
|
|
| 101 |
|
|
|
|
| 102 |
```
|
| 103 |
+
pip install "transformers>=5.3.0"
|
| 104 |
```
|
| 105 |
|
| 106 |
### Loading model
|
| 107 |
|
| 108 |
```python
|
| 109 |
+
from transformers import AutoProcessor, VibeVoiceAsrForConditionalGeneration
|
| 110 |
|
| 111 |
model_id = "microsoft/VibeVoice-ASR-HF"
|
| 112 |
processor = AutoProcessor.from_pretrained(model_id)
|