Alikhan Urumov
commited on
Commit
•
c74e309
1
Parent(s):
3cb9b83
Update README.md
Browse files
README.md
CHANGED
@@ -38,8 +38,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
38 |
#
|
39 |
```python
|
40 |
from transformers import AutoModelForCTC, Wav2Vec2Processor
|
41 |
-
model = AutoModelForCTC.from_pretrained("wav2vec2-russian
|
42 |
-
processor = Wav2Vec2Processor.from_pretrained("wav2vec2-russian
|
43 |
def map_to_result(batch):
|
44 |
with torch.no_grad():
|
45 |
input_values = torch.tensor(batch["input_values"]).unsqueeze(0) #, device="cuda"
|
|
|
38 |
#
|
39 |
```python
|
40 |
from transformers import AutoModelForCTC, Wav2Vec2Processor
|
41 |
+
model = AutoModelForCTC.from_pretrained("UrukHan/wav2vec2-russian")
|
42 |
+
processor = Wav2Vec2Processor.from_pretrained("UrukHan/wav2vec2-russian")
|
43 |
def map_to_result(batch):
|
44 |
with torch.no_grad():
|
45 |
input_values = torch.tensor(batch["input_values"]).unsqueeze(0) #, device="cuda"
|