swayam01 commited on
Commit
2205f15
1 Parent(s): 9f71671

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -6,6 +6,7 @@ tags:
6
  - audio
7
  - automatic-speech-recognition
8
  - speech
 
9
  license: cc
10
  model-index:
11
  - name: Wav2Vec2 Hindi Model by Swayam Mittal
@@ -41,7 +42,8 @@ import torch
41
  import torchaudio
42
  from datasets import load_dataset
43
  from transformers import Wav2Vec2ForCTC, Wav2Vec2ProcessorWithLM
44
-
 
45
  test_dataset = load_dataset("common_voice", "hi", split="test")
46
  wer = load_metric("wer")
47
  chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\�\।\']'
 
6
  - audio
7
  - automatic-speech-recognition
8
  - speech
9
+ - xlsr-fine-tuning-week
10
  license: cc
11
  model-index:
12
  - name: Wav2Vec2 Hindi Model by Swayam Mittal
 
42
  import torchaudio
43
  from datasets import load_dataset
44
  from transformers import Wav2Vec2ForCTC, Wav2Vec2ProcessorWithLM
45
+ processor_with_lm = Wav2Vec2ProcessorWithLM.from_pretrained("swayam01/hindi-clsril-100")
46
+ model = Wav2Vec2ForCTC.from_pretrained("swayam01/hindi-clsril-100")
47
  test_dataset = load_dataset("common_voice", "hi", split="test")
48
  wer = load_metric("wer")
49
  chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\�\।\']'