Downloads · 30 days
1
5% of all-time downloads
Bioaligned/Phi-4-Instruct-Eco-Bioaligned-qlora
Phi-4-Instruct-Eco-Bioaligned-qlora is a machine learning model from Bioaligned. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as mit.
QLoRA adapter for microsoft/Phi-4 fine-tuned by Bioaligned Labs on a combined corpus of:
Downloads · 30 days
1
5% of all-time downloads
All-time downloads
21
Public
Repo size
446 MB
Likes
0
Public
Click a slice to open those files.
.safetensors446 MB · 98%
From the Hugging Face model README
QLoRA adapter for microsoft/Phi-4 fine-tuned by Bioaligned Labs on a combined corpus of:
| Metric | Phi-4-Base | Phi-4-Eco-Bioaligned |
|---|---|---|
| Advisor TP recall | — | 1.000 |
| Advisor TN precision | — | 0.917 |
| Advisor Joint-F | — | 0.957 |
| Advisor Edge accuracy | — | 1.000 |
| Advisor Mechanism mean | — | 1.78 / 2.0 |
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"microsoft/Phi-4", torch_dtype="bfloat16", device_map="auto"
)
model = PeftModel.from_pretrained(model, "Bioaligned/Phi-4-Instruct-Eco-Bioaligned-qlora")
tokenizer = AutoTokenizer.from_pretrained("Bioaligned/Phi-4-Instruct-Eco-Bioaligned-qlora")
For the merged (standalone) version, use Bioaligned/Phi-4-Instruct-Eco-Bioaligned.