Downloads · 30 days
4
6% of all-time downloads
atsuki-yamaguchi/Llama-2-7b-hf-ar-30K-align-2x2ls
Llama-2-7b-hf-ar-30K-align-2x2ls 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 Arabic using 30K target language sentences sampled from CC-100.
Downloads · 30 days
4
6% of all-time downloads
All-time downloads
69
Public
Parameters
6.7B
27 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors27 GB · 100%
From the Hugging Face model README
This model is built on top of Llama2 7B adapted for Arabic using 30K target language sentences sampled from CC-100.
Use the code below to get started with the model.
from transformers import AutoTokenizer, AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained(
"atsuki-yamaguchi/Llama-2-7b-hf-ar-30K-align-2x2ls"
)
tokenizer = AutoTokenizer.from_pretrained(
"atsuki-yamaguchi/Llama-2-7b-hf-ar-30K-align-2x2ls"
)
@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},
}