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="YiDuo1999/Llama-3-Physician-8B-Base")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("YiDuo1999/Llama-3-Physician-8B-Base")
model = AutoModelForCausalLM.from_pretrained("YiDuo1999/Llama-3-Physician-8B-Base", device_map="auto")
Quick Links

The official base model weights for "Efficient Continual Pre-training by Mitigating the Stability Gap".

The model has been continually pretrained on a high-quality medical sub-corpus from the RefinedWeb dataset.

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

Model tree for YiDuo1999/Llama-3-Physician-8B-Base

Quantizations
1 model