YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/model-cards#model-card-metadata)
Model Card for Model ID
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()
Citation
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.
- Downloads last month
- 8
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.