Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

ghofrani
/
xls-r-1b-fa-cv8

Automatic Speech Recognition
Transformers
PyTorch
Persian
wav2vec2
mozilla-foundation/common_voice_8_0
Generated from Trainer
Model card Files Files and versions
xet
Community
3

Instructions to use ghofrani/xls-r-1b-fa-cv8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ghofrani/xls-r-1b-fa-cv8 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("automatic-speech-recognition", model="ghofrani/xls-r-1b-fa-cv8")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoProcessor, AutoModelForCTC
    
    processor = AutoProcessor.from_pretrained("ghofrani/xls-r-1b-fa-cv8")
    model = AutoModelForCTC.from_pretrained("ghofrani/xls-r-1b-fa-cv8", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Adding `safetensors` variant of this model

#3 opened about 1 year ago by
SFconvertbot

Librarian Bot: Add base_model information to model

#2 opened almost 3 years ago by
librarian-bot

Adding `safetensors` variant of this model

#1 opened about 3 years ago by
SFconvertbot
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs