Downloads · 30 days
103
2% of all-time downloads
Henrychur/MMedS-Llama-3-8B
MMedS-Llama-3-8B is a text generation model from Henrychur. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama3.
Downloads · 30 days
103
2% of all-time downloads
All-time downloads
6.3K
Public
Parameters
8B
64.2 GB on disk
Likes
3
Public
Click a slice to open those files.
.bin32.1 GB · 50%
From the Hugging Face model README
The official codes for "Towards Evaluating and Building Versatile Large Language Models for Medicine"
This repository hosts MMedS-Llama-3-8B. Its foundation model, MMed-Llama-3-8B, is a multilingual medical language model which has undergone additional continuous pretraining on MMedC. Furthermore, the model has been fine-tuned under supervision using MedS-Ins, a comprehensive dataset designed specifically for supervised fine-tuning (SFT), featuring 13.5 million samples across 122 tasks. For more details, please refer to our paper.
The model can be loaded as follows:
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Henrychur/MMed-Llama-3-8B-EnIns")
model = AutoModelForCausalLM.from_pretrained("Henrychur/MMed-Llama-3-8B-EnIns", torch_dtype=torch.float16)