Edit model card

This model is an Instruction Tuned version of Llama 3.2 180M Amharic.

How to use

First, you need to install the latest version of transformers

pip install -Uq transformers

You can use this model directly with a pipeline for text generation:

from transformers import pipeline

llama3_am = pipeline(
    "text-generation",
    model="rasyosef/Llama-3.2-180M-Amharic-Instruct",
    device_map="auto"
  )

messages = [{"role": "user", "content": "ሶስት የአፍሪካ ሀገራት ጥቀስልኝ"}]
llama3_am(messages, max_new_tokens=128, repetition_penalty=1.1, return_full_text=False)

Output:

[{'generated_text': '1. ግብፅ 2. ኢትዮጵያ 3. ኬንያ'}]
Downloads last month
443
Safetensors
Model size
180M params
Tensor type
F32
·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Model tree for rasyosef/Llama-3.2-180M-Amharic-Instruct

Finetuned
(1)
this model

Space using rasyosef/Llama-3.2-180M-Amharic-Instruct 1

Collection including rasyosef/Llama-3.2-180M-Amharic-Instruct