Update README.md 9c9ca11 verified
I am Muslim commited on
How to use TheGreatQuran/recitation-segmenter-v2-quantized with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="TheGreatQuran/recitation-segmenter-v2-quantized") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("TheGreatQuran/recitation-segmenter-v2-quantized", device_map="auto")