Update README.md
Browse files
README.md
CHANGED
|
@@ -66,7 +66,7 @@ if torch.cuda.is_available():
|
|
| 66 |
else:
|
| 67 |
device = torch.device("cpu")
|
| 68 |
|
| 69 |
-
model_name = "
|
| 70 |
feature_extractor = AutoFeatureExtractor.from_pretrained(model_name)
|
| 71 |
model = Wav2Vec2BertForAudioFrameClassification.from_pretrained(model_name).to(device)
|
| 72 |
# Path to the file, containing the word to be annotated:
|
|
|
|
| 66 |
else:
|
| 67 |
device = torch.device("cpu")
|
| 68 |
|
| 69 |
+
model_name = "classla/Wav2Vec2BertPrimaryStressAudioFrameClassifier"
|
| 70 |
feature_extractor = AutoFeatureExtractor.from_pretrained(model_name)
|
| 71 |
model = Wav2Vec2BertForAudioFrameClassification.from_pretrained(model_name).to(device)
|
| 72 |
# Path to the file, containing the word to be annotated:
|