How to use PhaaNe/gpt_depression with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="PhaaNe/gpt_depression")
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("PhaaNe/gpt_depression", dtype="auto")
How to use PhaaNe/gpt_depression with PEFT:
Task type is invalid.
How to fix it?