Update README.md
Browse files
README.md
CHANGED
@@ -64,11 +64,10 @@ import torchaudio.transforms as T
|
|
64 |
from datasets import load_dataset
|
65 |
|
66 |
|
67 |
-
commit_hash='55fa29e5522049926c03d2ff9ae54d22c20e668f'# this is recommended for security reason, the hash might be updated
|
68 |
# loading our model weights
|
69 |
-
model = AutoModel.from_pretrained("m-a-p/MERT-v1-95M", trust_remote_code=True
|
70 |
# loading the corresponding preprocessor config
|
71 |
-
processor = Wav2Vec2FeatureExtractor.from_pretrained("m-a-p/MERT-v1-95M",trust_remote_code=True
|
72 |
|
73 |
# load demo audio and set processor
|
74 |
dataset = load_dataset("hf-internal-testing/librispeech_asr_demo", "clean", split="validation")
|
|
|
64 |
from datasets import load_dataset
|
65 |
|
66 |
|
|
|
67 |
# loading our model weights
|
68 |
+
model = AutoModel.from_pretrained("m-a-p/MERT-v1-95M", trust_remote_code=True)
|
69 |
# loading the corresponding preprocessor config
|
70 |
+
processor = Wav2Vec2FeatureExtractor.from_pretrained("m-a-p/MERT-v1-95M",trust_remote_code=True)
|
71 |
|
72 |
# load demo audio and set processor
|
73 |
dataset = load_dataset("hf-internal-testing/librispeech_asr_demo", "clean", split="validation")
|