Instructions to use ai4bharat/indicwav2vec_v1_bengali with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ai4bharat/indicwav2vec_v1_bengali with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="ai4bharat/indicwav2vec_v1_bengali")# Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("ai4bharat/indicwav2vec_v1_bengali") model = AutoModelForCTC.from_pretrained("ai4bharat/indicwav2vec_v1_bengali") - Notebooks
- Google Colab
- Kaggle
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="ai4bharat/indicwav2vec_v1_bengali")# Load model directly
from transformers import AutoProcessor, AutoModelForCTC
processor = AutoProcessor.from_pretrained("ai4bharat/indicwav2vec_v1_bengali")
model = AutoModelForCTC.from_pretrained("ai4bharat/indicwav2vec_v1_bengali")Quick Links
# Gated model: Login with a HF token with gated access permission hf auth login