cahya commited on
Commit
1f19c49
1 Parent(s): f35760b

udpated the link to the model

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -42,8 +42,8 @@ from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
42
 
43
  test_dataset = load_dataset("common_voice", "tr", split="test[:2%]")
44
 
45
- processor = Wav2Vec2Processor.from_pretrained("cahya-wirawan/wav2vec2-large-xlsr-turkish-artificial")
46
- model = Wav2Vec2ForCTC.from_pretrained("cahya-wirawan/wav2vec2-large-xlsr-turkish-artificial")
47
 
48
 
49
  # Preprocessing the datasets.
@@ -81,8 +81,8 @@ import re
81
  test_dataset = load_dataset("common_voice", "tr", split="test")
82
  wer = load_metric("wer")
83
 
84
- processor = Wav2Vec2Processor.from_pretrained("cahya-wirawan/wav2vec2-large-xlsr-turkish-artificial")
85
- model = Wav2Vec2ForCTC.from_pretrained("cahya-wirawan/wav2vec2-large-xlsr-turkish-artificial")
86
  model.to("cuda")
87
 
88
  chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\‘\”\'\`…\’»«]'
42
 
43
  test_dataset = load_dataset("common_voice", "tr", split="test[:2%]")
44
 
45
+ processor = Wav2Vec2Processor.from_pretrained("cahya/wav2vec2-large-xlsr-turkish-artificial")
46
+ model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-turkish-artificial")
47
 
48
 
49
  # Preprocessing the datasets.
81
  test_dataset = load_dataset("common_voice", "tr", split="test")
82
  wer = load_metric("wer")
83
 
84
+ processor = Wav2Vec2Processor.from_pretrained("cahya/wav2vec2-large-xlsr-turkish-artificial")
85
+ model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-turkish-artificial")
86
  model.to("cuda")
87
 
88
  chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\‘\”\'\`…\’»«]'