Views
No views yet
Llama 3 Youko 8B (rinna/llama-3-youko-8b)
youko comes from the Japanese word 妖狐/ようこ/Youko, which is a kind of Japanese mythical creature (妖怪/ようかい/Youkai).1import transformers
2import torch
3
4model_id = "rinna/llama-3-youko-8b"
5pipeline = transformers.pipeline(
6 "text-generation",
7 model=model_id,
8 model_kwargs={"torch_dtype": torch.bfloat16},
9 device_map="auto"
10)
11output = pipeline(
12 "西田幾多郎は、",
13 max_new_tokens=256,
14 do_sample=True
15)
16print(output)1@misc{rinna-llama-3-youko-8b,
2 title = {rinna/llama-3-youko-8b},
3 author = {Mitsuda, Koh and Sawada, Kei},
4 url = {https://huggingface.co/rinna/llama-3-youko-8b},
5}
6
7@inproceedings{sawada2024release,
8 title = {Release of Pre-Trained Models for the {J}apanese Language},
9 author = {Sawada, Kei and Zhao, Tianyu and Shing, Makoto and Mitsui, Kentaro and Kaga, Akio and Hono, Yukiya and Wakatsuki, Toshiaki and Mitsuda, Koh},
10 booktitle = {Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)},
11 month = {5},
12 year = {2024},
13 url = {https://arxiv.org/abs/2404.01657},
14}1@article{llama3modelcard,
2 title={Llama 3 Model Card},
3 author={AI@Meta},
4 year={2024},
5 url = {https://github.com/meta-llama/llama3/blob/main/MODEL_CARD.md}
6}
7
8@software{gpt-neox-library,
9 title = {{GPT-NeoX: Large Scale Autoregressive Language Modeling in PyTorch}},
10 author = {Andonian, Alex and Anthony, Quentin and Biderman, Stella and Black, Sid and Gali, Preetham and Gao, Leo and Hallahan, Eric and Levy-Kramer, Josh and Leahy, Connor and Nestler, Lucas and Parker, Kip and Pieler, Michael and Purohit, Shivanshu and Songz, Tri and Phil, Wang and Weinbach, Samuel},
11 doi = {10.5281/zenodo.5879544},
12 month = {8},
13 year = {2021},
14 version = {0.0.1},
15 url = {https://www.github.com/eleutherai/gpt-neox},
16}