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
| { | |
| "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" | |
| } | |
| ] | |
| } |