Instructions to use fausap/dark-phi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use fausap/dark-phi with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2") model = PeftModel.from_pretrained(base_model, "fausap/dark-phi") - Notebooks
- Google Colab
- Kaggle
File size: 615 Bytes
5ccd29e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | {
"model_name": "dark-phi",
"model_type": "LoRA",
"base_model": "microsoft/phi-2",
"training_date": "2026-03-06T21:00:30.312750",
"parameters": {
"quantization": "4-bit QLoRA",
"lora_rank": 8,
"lora_alpha": 16,
"batch_size": 1,
"gradient_accumulation": 8,
"learning_rate": "2e-4"
},
"example_conversations": [
{
"user": "Explain quantum physics simply.",
"assistant": "The assistant's response would go here - you can test and add real examples"
},
{
"user": "What's the meaning of life?",
"assistant": "Another example response"
}
]
} |