Update README.md
This commit is contained in:
parent
5dadc39499
commit
e1e8762734
|
@ -30,7 +30,7 @@ The original model can be found under https://github.com/pytorch/fairseq/tree/ma
|
||||||
To transcribe audio files the model can be used as a standalone acoustic model as follows:
|
To transcribe audio files the model can be used as a standalone acoustic model as follows:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from transformers import Wav2Vec2Tokenizer, Wav2Vec2Model
|
from transformers import Wav2Vec2Tokenizer, Wav2Vec2ForMaskedLM
|
||||||
from datasets import load_dataset
|
from datasets import load_dataset
|
||||||
import soundfile as sf
|
import soundfile as sf
|
||||||
import torch
|
import torch
|
||||||
|
|
Loading…
Reference in New Issue