Downloads · 30 days
24
49% of all-time downloads
RichardErkhov/rasyosef_-_Llama-3.2-1B-Amharic-awq
rasyosef_-_Llama-3.2-1B-Amharic-awq is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
24
49% of all-time downloads
All-time downloads
49
Public
Parameters
1.3B
1.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.1 GB · 98%
How the weights are stored.
I32973M · 77%
From the Hugging Face model README
Quantization made by Richard Erkhov.
Llama-3.2-1B-Amharic - AWQ
widget:
This model is a version of Meta's Llama-3.2-1B decoder transformer model that was continuously pretrained on an Amharic text corpus.
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
llama_am = pipeline(
"text-generation",
model="rasyosef/Llama-3.2-1B-Amharic",
device_map="auto"
)
prompt = "በኢንግሊዝ ፕሪምየር ሊግ"
llama_am(
prompt,
max_new_tokens=128,
temperature=0.3,
do_sample=True,
top_k=8,
top_p=0.8,
repetition_penalty=1.05
)
Output:
[{'generated_text': 'በኢንግሊዝ ፕሪምየር ሊግ የ2017/18 የውድድር ዘመን ላይ ተሳታፊ የሆነው ሊቨርፑል ትናንት ምሽት 3 :45 ላይ ከዌስትሀም ዩናይትድ ጋር ባደረገው ጨዋታ በ2 ለ 1 ውጤት ተሸንፏል ።'}]