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="Suprit/Zhongjing-LLaMA-base")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Suprit/Zhongjing-LLaMA-base")
model = AutoModelForCausalLM.from_pretrained("Suprit/Zhongjing-LLaMA-base", device_map="auto")
Quick Links

Zhongjing is the first Chinese medical LLaMA-based LLM that implements an entire training pipeline from continuous pre-training, SFT, to Reinforcement Learning from Human Feedback (RLHF) The paper is here: [2308.03549] Zhongjing: Enhancing the Chinese Medical Capabilities of Large Language Model through Expert Feedback and Real-world Multi-turn Dialogue.

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

Paper for Suprit/Zhongjing-LLaMA-base