Downloads · 30 days
8
2% of all-time downloads
atsuki-yamaguchi/Llama-2-7b-hf-te-30K-align-2stage
Llama-2-7b-hf-te-30K-align-2stage is a text generation model from atsuki-yamaguchi. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama2.
This model is built on top of Llama2 7B adapted for Telugu using 30K target language sentences sampled from CC-100.
Downloads · 30 days
8
2% of all-time downloads
All-time downloads
439
Public
Parameters
6.7B
29.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors29.1 GB · 100%
How the weights are stored.
F326.5B · 96%
From the Hugging Face model README
This model is built on top of Llama2 7B adapted for Telugu using 30K target language sentences sampled from CC-100.
Use the code below to get started with the model.
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModelForCausalLM
model = AutoModelForCausalLM.from_pretrained(
"atsuki-yamaguchi/Llama-2-7b-hf-te-30K-align-2stage"
)
model = PeftModelForCausalLM.from_pretrained(
model,
"atsuki-yamaguchi/Llama-2-7b-hf-te-30K-align-2stage"
)
model = model.merge_and_unload()
tokenizer = AutoTokenizer.from_pretrained(
"atsuki-yamaguchi/Llama-2-7b-hf-te-30K-align-2stage"
)
@article{yamaguchi-etal-2024-effectively,
title={How Can We Effectively Expand the Vocabulary of LLMs with 0.01GB of Target Language Text?},
author={Atsuki Yamaguchi and Aline Villavicencio and Nikolaos Aletras},
year={2024},
journal={ArXiv},
year={2024},
volume={abs/2406.11477},
url={https://arxiv.org/abs/2406.11477},
}