upload model 48358cd
Ali Safaya commited on
How to use asafaya/hubert-large-arabic-transcribe with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="asafaya/hubert-large-arabic-transcribe") # Load model directly
from transformers import AutoProcessor, AutoModel
processor = AutoProcessor.from_pretrained("asafaya/hubert-large-arabic-transcribe")
model = AutoModel.from_pretrained("asafaya/hubert-large-arabic-transcribe", device_map="auto")