How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="sharpbai/chinese-alpaca-plus-lora-7b-merged")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("sharpbai/chinese-alpaca-plus-lora-7b-merged")
model = AutoModelForCausalLM.from_pretrained("sharpbai/chinese-alpaca-plus-lora-7b-merged", device_map="auto")
Quick Links

Chinese-Alpaca-Plus-LoRA-7B

This model is merged from chinese-alpaca-plus-lora-7b

The weight file is split into chunks with a size of 405M for convenient and fast parallel downloads

Downloads last month
9
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support