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

alpha2002
/
eng_alpha_darija

Translation
Transformers
Safetensors
English
mbart
text2text-generation
Model card Files Files and versions
xet
Community

Instructions to use alpha2002/eng_alpha_darija with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use alpha2002/eng_alpha_darija 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="alpha2002/eng_alpha_darija")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("alpha2002/eng_alpha_darija")
    model = AutoModelForSeq2SeqLM.from_pretrained("alpha2002/eng_alpha_darija")
  • Notebooks
  • Google Colab
  • Kaggle
eng_alpha_darija
2.45 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
alpha2002's picture
alpha2002
Update README.md
f222e67 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    3.92 kB
    Update README.md almost 2 years ago
  • config.json
    1.44 kB
    Upload MBartForConditionalGeneration almost 2 years ago
  • generation_config.json
    256 Bytes
    Upload MBartForConditionalGeneration almost 2 years ago
  • model.safetensors
    2.44 GB
    xet
    Upload MBartForConditionalGeneration almost 2 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Upload tokenizer almost 2 years ago
  • special_tokens_map.json
    1.68 kB
    Upload tokenizer almost 2 years ago
  • tokenizer_config.json
    10.9 kB
    Upload tokenizer almost 2 years ago