Translation
PEFT
Safetensors
Transformers
English
Sidamo
lora
nllb
sidaama
sidama
low-resource
seq2seq
Eval Results (legacy)
Instructions to use Anley-dev/nllb-sidaama-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Anley-dev/nllb-sidaama-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("facebook/nllb-200-distilled-600M") model = PeftModel.from_pretrained(base_model, "Anley-dev/nllb-sidaama-lora") - Transformers
How to use Anley-dev/nllb-sidaama-lora 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="Anley-dev/nllb-sidaama-lora")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Anley-dev/nllb-sidaama-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K