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

  • Log In
  • Sign Up

Paulwalker4884
/
facebook-persian

Translation
Transformers
Safetensors
Persian
English
m2m_100
text2text-generation
persian
farsi
english
nllb
seq2seq
Model card Files Files and versions
xet
Community

Instructions to use Paulwalker4884/facebook-persian with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Paulwalker4884/facebook-persian with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "translation" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("translation", model="Paulwalker4884/facebook-persian")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Paulwalker4884/facebook-persian")
    model = AutoModelForSeq2SeqLM.from_pretrained("Paulwalker4884/facebook-persian")
  • Notebooks
  • Google Colab
  • Kaggle
facebook-persian
2.52 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Paulwalker4884's picture
Paulwalker4884
Upload folder using huggingface_hub
8bc2842 verified 10 months ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 10 months ago
  • README.md
    4.2 kB
    Upload folder using huggingface_hub 10 months ago
  • adapter_config.json
    869 Bytes
    Upload folder using huggingface_hub 10 months ago
  • adapter_model.safetensors
    18.9 MB
    xet
    Upload folder using huggingface_hub 10 months ago
  • config.json
    842 Bytes
    Upload folder using huggingface_hub 10 months ago
  • generation_config.json
    184 Bytes
    Upload folder using huggingface_hub 10 months ago
  • model.safetensors
    2.46 GB
    xet
    Upload folder using huggingface_hub 10 months ago
  • sentencepiece.bpe.model
    4.85 MB
    xet
    Upload folder using huggingface_hub 10 months ago
  • special_tokens_map.json
    4.23 kB
    Upload folder using huggingface_hub 10 months ago
  • tokenizer.json
    32.2 MB
    xet
    Upload folder using huggingface_hub 10 months ago
  • tokenizer_config.json
    39.9 kB
    Upload folder using huggingface_hub 10 months ago