Views
No views yet
1from transformers import AutoTokenizer, AutoModelForCausalLM
2
3model = AutoModelForCausalLM.from_pretrained(
4 "atsuki-yamaguchi/Llama-2-7b-hf-te-30K-50-mean-2x2ls-mtp-512"
5)
6tokenizer = AutoTokenizer.from_pretrained(
7 "atsuki-yamaguchi/Llama-2-7b-hf-te-30K-50-mean-2x2ls-mtp-512"
8)@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},
}