MAGIC-AI4Med / MMedLM

[Nature Communications] The official codes for "Towards Building Multilingual Language Model for Medicine"
Other
177 stars 7 forks source link

Missing profile #5

Open bigdataLyt opened 2 days ago

bigdataLyt commented 2 days ago

Imeeting this problem: ValueError: Can't find 'adapter_config.json' at 'Henrychur/MMed-Llama-3-8B-EnIns'

Henrychur commented 2 days ago

Hi,

This model is a fully fine-tuned version, meaning it does not use Parameter-Efficient Fine-Tuning (PEFT) methods such as LoRA. You can load it directly with the following code:

model = AutoModelForCausalLM.from_pretrained("Henrychur/MMed-Llama-3-8B-EnIns")