Downloads · 30 days
23
13% of all-time downloads
we1kkk/chinese-llama-alpaca-plus-lora-7b
chinese-llama-alpaca-plus-lora-7b is a text generation model from we1kkk. Use it when you need the model to write or continue text. It is set up for transformers.
Downloads · 30 days
23
13% of all-time downloads
All-time downloads
178
Public
Repo size
27.5 GB
Likes
7
Public
Click a slice to open those files.
.bin13.8 GB · 100%
From the Hugging Face model README
This repo contains the tokenizer, Chinese-Alpaca "merged" weights and configs for Chinese-LLaMA-Alpaca
Directly load merge weight for chinese-llama-alpaca-plus-lora-7b
model_name_or_path = 'we1kkk/chinese-llama-alpaca-plus-lora-7b'
config = LlamaConfig.from_pretrained(
model_name_or_path,
# trust_remote_code=True
)
tokenizer = LlamaTokenizer.from_pretrained(
model_name_or_path,
# trust_remote_code=True
)
model = LlamaForCausalLM.from_pretrained(
model_name_or_path,
config=config,
).half().cuda()
Thanks to: https://github.com/ymcui/Chinese-LLaMA-Alpaca. Instructions for using the weights can be found at https://github.com/ymcui/Chinese-LLaMA-Alpaca.