Downloads · 30 days
5
5% of all-time downloads
yehiazak/Qwen2.5-14B-Instruct-SOAP-tuned-Q8
Qwen2.5-14B-Instruct-SOAP-tuned-Q8 is a text generation model from yehiazak. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a LoRA fine-tuned version of base model Qwen/Qwen2.5-14B-Instruct to improve the SOAP (Subjective, Objective, Assessment, Plan) notes generation from an input doctor-patient dialog. This is an 8-bit quan…
Downloads · 30 days
5
5% of all-time downloads
All-time downloads
92
Public
Parameters
14.8B
16.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.3 GB · 100%
How the weights are stored.
I813.2B · 89%
From the Hugging Face model README
This model is a LoRA fine-tuned version of base model Qwen/Qwen2.5-14B-Instruct to improve the SOAP (Subjective, Objective, Assessment, Plan) notes generation from an input doctor-patient dialog. This is an 8-bit quantized version.
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
# Load model and tokenizer
tokenizer = AutoTokenizer.from_pretrained("{HF_USERNAME}/{model_name}")
model = AutoModelForCausalLM.from_pretrained(
"yehiazak/Qwen2.5-14B-Instruct-SOAP-tuned-Q8",
torch_dtype=torch.bfloat16,
device_map="auto"
)
# Generate text
prompt = "Your prompt here"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=512, temperature=0.2)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Use the code below to get started with the model.
[More Information Needed]
Dataset (total samples: 1473) was shuffled and slplit into:
LoRA fine-tuning with 3 epochs.
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
BertScore computed using "microsoft/deberta-xlarge-mnli".
[More Information Needed]
ROUGE-1: 0.7017 ROUGE-2: 0.4914 ROUGE-L: 0.6132 BertScore Precision: 0.8494 BertScore Recall: 0.8288 BertScore F1: 0.8382
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
BibTeX:
[More Information Needed]
APA:
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]