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
File size: 133 Bytes
83630a6 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:570293b084645660e4881a8acf17c2c28dac07a64b17cc0dca332ef61fb1b0b9
size 32240234
|