tbkazakova
commited on
Commit
•
61cf1a7
1
Parent(s):
e634abd
Update README.md
Browse files
README.md
CHANGED
@@ -39,6 +39,8 @@ It achieves the following results on the evaluation set:
|
|
39 |
|
40 |
## Model description
|
41 |
|
|
|
|
|
42 |
```
|
43 |
from transformers import AutoModelForCTC, Wav2Vec2BertProcessor
|
44 |
|
@@ -52,7 +54,7 @@ logits = model(torch.tensor(processor(data,
|
|
52 |
|
53 |
pred_ids = torch.argmax(logits, dim=-1)[0]
|
54 |
print(processor.decode(pred_ids))
|
55 |
-
```
|
56 |
|
57 |
## Intended uses & limitations
|
58 |
|
|
|
39 |
|
40 |
## Model description
|
41 |
|
42 |
+
How to use:
|
43 |
+
|
44 |
```
|
45 |
from transformers import AutoModelForCTC, Wav2Vec2BertProcessor
|
46 |
|
|
|
54 |
|
55 |
pred_ids = torch.argmax(logits, dim=-1)[0]
|
56 |
print(processor.decode(pred_ids))
|
57 |
+
```python
|
58 |
|
59 |
## Intended uses & limitations
|
60 |
|