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

agbalu
/
Amrouche-2-600M

Translation
Transformers
Safetensors
m2m_100
text2text-generation
kabyle
taqbaylit
berber
amazigh
nllb
low-resource
custom_code
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use agbalu/Amrouche-2-600M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use agbalu/Amrouche-2-600M 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="agbalu/Amrouche-2-600M", trust_remote_code=True)
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("agbalu/Amrouche-2-600M", trust_remote_code=True)
    model = AutoModelForSeq2SeqLM.from_pretrained("agbalu/Amrouche-2-600M", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Amrouche-2-600M
1.27 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
ainouche-abderahmane's picture
ainouche-abderahmane
Upload README.md with huggingface_hub
2719f59 verified 19 days ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 19 days ago
  • README.md
    20.7 kB
    Upload README.md with huggingface_hub 19 days ago
  • config.json
    1.11 kB
    Upload folder using huggingface_hub 19 days ago
  • export.stats.json
    2.04 kB
    Upload folder using huggingface_hub 19 days ago
  • generation_config.json
    184 Bytes
    Upload folder using huggingface_hub 19 days ago
  • model.safetensors
    1.23 GB
    xet
    Upload folder using huggingface_hub 19 days ago
  • modeling_amrouche.py
    40.5 kB
    Upload folder using huggingface_hub 19 days ago
  • pipeline_amrouche.py
    4.33 kB
    Upload folder using huggingface_hub 19 days ago
  • preprocessing_amrouche.py
    20.4 kB
    Upload folder using huggingface_hub 19 days ago
  • sentencepiece.bpe.model
    4.85 MB
    xet
    Upload folder using huggingface_hub 19 days ago
  • special_tokens_map.json
    3.55 kB
    Upload folder using huggingface_hub 19 days ago
  • tokenizer.json
    32.2 MB
    xet
    Upload folder using huggingface_hub 19 days ago
  • tokenizer_config.json
    3.67 kB
    Upload folder using huggingface_hub 19 days ago