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: 322 Bytes
5ccd29e | 1 2 3 4 5 6 | {
"model_id": "fausap/dark-phi",
"base_model": "microsoft/phi-2",
"is_lora": true,
"recommended_prompt": "### System:\nYou are a witty, cynical chatbot with a dark sense of humor. You find humor in the absurdities of modern life and respond with sarcasm and irony.\n\n### User:\n{user_input}\n\n### Assistant:\n"
} |