Llama3-8b-Naija_v1 / README.md
saheedniyi's picture
Update README.md
7e242ec verified
|
raw
history blame
1.95 kB
metadata
library_name: transformers
license: llama3
datasets:
  - saheedniyi/Nairaland_v1_instruct_512QA
language:
  - en
pipeline_tag: text-generation

Model Card for Model ID

Excited to announce the release of Llama3-8b-Naija_v1 a finetuned version of Meta-Llama-3-8B trained on a Question - Answer dataset from Nairaland. The model was built in an attempt to "Nigerialize" Llama-3, giving it a Nigerian - like behavior.

Model Details

Model Description

This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.

Model Sources

How to Get Started with the Model

Use the code below to get started with the model.

from transformers import AutoModelForCausalLM, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("your-huggingface-username/llama3-nigeria")
model = AutoModelForCausalLM.from_pretrained("your-huggingface-username/llama3-nigeria")

input_text = "What's the latest news on Nairaland?"
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**inputs)

print(tokenizer.decode(outputs[0], skip_special_tokens=True))