ccdv/pubmed-summarization
Viewer • Updated • 266k • 5.74k • 90
How to use Linguist/HealGPT with Transformers:
# Use a pipeline as a high-level helper
# Warning: Pipeline type "summarization" is no longer supported in transformers v5.
# You must load the model directly (see below) or downgrade to v4.x with:
# 'pip install "transformers<5.0.0'
from transformers import pipeline
pipe = pipeline("summarization", model="Linguist/HealGPT") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Linguist/HealGPT", dtype="auto")The mistralai/Mistral-7B-v0.1 model has been fine-tuned using the PEFT QLoRA + Supervised Fine Tuning method with clinical text data to enhance its capabilities for the healthcare domain and to achieve better performance in summarization tasks within this specialized field.
The mistralai/Mistral-7B-v0.1 model has been fine-tuned using the PEFT QLoRA + Supervised Fine Tuning method with clinical text data to enhance its capabilities for the healthcare domain and to achieve better performance in summarization tasks within this specialized field.