Update README.md
Browse files
README.md
CHANGED
|
@@ -1,8 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
|
| 2 |
# my-wav2vec2-processor
|
| 3 |
|
| 4 |
This is a Wav2Vec2 processor (tokenizer + feature extractor) for speech recognition.
|
| 5 |
|
| 6 |
-
- Base model
|
| 7 |
-
- Uploaded by
|
| 8 |
-
- Intended use
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
tags:
|
| 4 |
+
- audio
|
| 5 |
+
- speech-recognition
|
| 6 |
+
- wav2vec2
|
| 7 |
+
- tokenizer
|
| 8 |
+
license: apache-2.0
|
| 9 |
+
---
|
| 10 |
|
| 11 |
# my-wav2vec2-processor
|
| 12 |
|
| 13 |
This is a Wav2Vec2 processor (tokenizer + feature extractor) for speech recognition.
|
| 14 |
|
| 15 |
+
- **Base model**: facebook/wav2vec2-base-960h
|
| 16 |
+
- **Uploaded by**: Utkarshg02
|
| 17 |
+
- **Intended use**: Preprocessing audio data for Automatic Speech Recognition (ASR) tasks.
|
| 18 |
+
|
| 19 |
+
## How to Use
|
| 20 |
+
|
| 21 |
+
```python
|
| 22 |
+
from transformers import Wav2Vec2Processor
|
| 23 |
+
|
| 24 |
+
processor = Wav2Vec2Processor.from_pretrained("Utkarshg02/my-wav2vec2-processor")
|
| 25 |
+
|
| 26 |
+
# Example: Processing an audio array
|
| 27 |
+
inputs = processor(audio_array, sampling_rate=16000, return_tensors="pt")
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
## Limitations and Biases
|
| 31 |
+
- Only provides preprocessing (feature extraction + tokenization).
|
| 32 |
+
- Base model is trained on English; may not work well on other languages or accents.
|
| 33 |
+
|
| 34 |
+
## License
|
| 35 |
+
|
| 36 |
+
This processor follows the same license as the base model: Apache 2.0.
|
| 37 |
+
|
| 38 |
+
## References
|
| 39 |
+
|
| 40 |
+
- [facebook/wav2vec2-base-960h](https://huggingface.co/facebook/wav2vec2-base-960h)
|
| 41 |
+
- [Wav2Vec2 Paper](https://arxiv.org/abs/2006.11477)
|