BiniyamAjaw/amharic_dataset_v2
Viewer • Updated • 521k • 67
How to use BiniyamAjaw/llama-2-7b-finetuned-adapters with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Llama-2-7b-hf")
model = PeftModel.from_pretrained(base_model, "BiniyamAjaw/llama-2-7b-finetuned-adapters")Model fine tuned with LoRA on an Amharic Corpus of data collected from public telegram channels and groups.
The model is still in development and significantly lacks training data so it might not generate contents the way you want it to.
You can fine tune this model on labeled data for a specific domain. To get more pleasing results.
The model is highly biased towards generating news content. The model might repeat specific words because it is trained on a cleaned but unfiltered data because of the lack of tokens.
The model is better of if you train it on labeled data if you want it to generate a content.
Base model
NousResearch/Llama-2-7b-hf