Instructions to use advy/phi2-mental-health-assistant with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use advy/phi2-mental-health-assistant with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2") model = PeftModel.from_pretrained(base_model, "advy/phi2-mental-health-assistant") - Notebooks
- Google Colab
- Kaggle
Ctrl+K