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

mehdi-hf
/
persian-g2p-tiny

Text-to-Speech
Transformers
Safetensors
Persian
t5
text2text-generation
g2p
grapheme-to-phoneme
persian
farsi
ezafe
homograph-disambiguation
byt5
text-generation-inference
Model card Files Files and versions
xet
Community

Instructions to use mehdi-hf/persian-g2p-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mehdi-hf/persian-g2p-tiny with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-to-speech", model="mehdi-hf/persian-g2p-tiny")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("mehdi-hf/persian-g2p-tiny")
    model = AutoModelForSeq2SeqLM.from_pretrained("mehdi-hf/persian-g2p-tiny", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
persian-g2p-tiny
33.3 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
mehdi-hf's picture
mehdi-hf
Polish Persian ژ -> Z (27/27 100% incl. ژاپن, آژانس, شارژر, ژنتیک; 19/22 diacritics; 87.1% Ezafe F1)
3f6994c verified 4 days ago
  • .gitattributes
    1.58 kB
    Initial upload: model weights, tokenizer, benchmark chart, and model card 8 days ago
  • README.md
    7.1 kB
    Polish Persian ژ -> Z (27/27 100% incl. ژاپن, آژانس, شارژر, ژنتیک; 19/22 diacritics; 87.1% Ezafe F1) 4 days ago
  • added_tokens.json
    3.02 kB
    Initial upload: model weights, tokenizer, benchmark chart, and model card 8 days ago
  • benchmark_comparison.png
    190 kB
    xet
    Initial upload: model weights, tokenizer, benchmark chart, and model card 8 days ago
  • config.json
    844 Bytes
    Polish Persian ژ -> Z (27/27 100% incl. ژاپن, آژانس, شارژر, ژنتیک; 19/22 diacritics; 87.1% Ezafe F1) 4 days ago
  • generation_config.json
    112 Bytes
    Initial upload: model weights, tokenizer, benchmark chart, and model card 8 days ago
  • model.safetensors
    33.1 MB
    xet
    Polish Persian ژ -> Z (27/27 100% incl. ژاپن, آژانس, شارژر, ژنتیک; 19/22 diacritics; 87.1% Ezafe F1) 4 days ago
  • tokenizer_config.json
    23 kB
    Update weights & model card with full ـَ/ـِ/ـُ diacritic fine-tune (81.8% diacritic suite, 10/10 kasra, 3.21% PER) 8 days ago