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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

oddadmix
/
Jisr-MT-50M-Dialects2En

Translation
Transformers
Safetensors
marian
text2text-generation
arabic
dialectal-arabic
english
jisr
knowledge-distillation
Model card Files Files and versions
xet
Community

Instructions to use oddadmix/Jisr-MT-50M-Dialects2En with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use oddadmix/Jisr-MT-50M-Dialects2En 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="oddadmix/Jisr-MT-50M-Dialects2En")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("oddadmix/Jisr-MT-50M-Dialects2En")
    model = AutoModelForSeq2SeqLM.from_pretrained("oddadmix/Jisr-MT-50M-Dialects2En", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Jisr-MT-50M-Dialects2En
195 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
oddadmix's picture
oddadmix
Add FINETUNE.md and the training/eval scripts
2cfe89d verified 4 days ago
  • training
    Add FINETUNE.md and the training/eval scripts 4 days ago
  • .gitattributes
    1.52 kB
    initial commit 10 days ago
  • FINETUNE.md
    7.22 kB
    Add FINETUNE.md and the training/eval scripts 4 days ago
  • README.md
    7.02 kB
    Rename Darja/Darija to Algerian/Moroccan; fix cross-links 10 days ago
  • config.json
    928 Bytes
    13 Arabic dialects -> English, 49M 10 days ago
  • generation_config.json
    989 Bytes
    13 Arabic dialects -> English, 49M 10 days ago
  • model.safetensors
    193 MB
    xet
    13 Arabic dialects -> English, 49M 10 days ago
  • tokenizer.json
    2.67 MB
    13 Arabic dialects -> English, 49M 10 days ago
  • tokenizer_config.json
    423 Bytes
    13 Arabic dialects -> English, 49M 10 days ago