Downloads · 30 days
0
izumi-lab/llama-13b-japanese-lora-v0-1ep
llama-13b-japanese-lora-v0-1ep is a machine learning model from izumi-lab. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as cc-by-sa-4.0.
This repo contains a low-rank adapter for LLaMA-13b fit on the llm-japanese-dataset dataset.
Downloads · 30 days
0
Access
Public
Updated May 23, 2023
Repo size
13.2 MB
Likes
11
Public
Click a slice to open those files.
.bin13.2 MB · 100%
From the Hugging Face model README
This repo contains a low-rank adapter for LLaMA-13b fit on the llm-japanese-dataset dataset.
You can test this at https://huggingface.co/spaces/izumi-lab/llama-13b-japanese-lora-v0-1ep
This version of the weights was trained with the following hyperparameters:
import torch
from transformers import LlamaForCausalLM, LlamaTokenizer
from peft import PeftModel
base_model = "decapoda-research/llama-13b-hf"
# Please note that the special license of decapoda-research/llama-13b-hf is applied.
model = LlamaForCausalLM.from_pretrained(base_model, torch_dtype=torch.float16)
tokenizer = LlamaTokenizer.from_pretrained(base_model)
model = PeftModel.from_pretrained(
model,
"izumi-lab/llama-13b-japanese-lora-v0",
torch_dtype=torch.float16,
)
To see more latest information, please go to llm.msuzuki.me.
Citation:
@preprint{Hirano2023-llmj,
title={{llm-japanese-dataset v0: Construction of Japanese Chat Dataset for Large Language Models and its Methodology}},
autor={Masanori HIRANO and Masahiro SUZUKI and Hiroki SAKAJI},
doi={10.48550/arXiv.2305.12720},
archivePrefix={arXiv},
arxivId={2305.12720},
year={2023}
}
If you have any inquiries, such as joint research, data provision, various types of support, please email to [email protected] .