Instructions to use Semhal2024/emotion-model2_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Semhal2024/emotion-model2_2 with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("xlm-roberta-base") model = PeftModel.from_pretrained(base_model, "Semhal2024/emotion-model2_2") - Notebooks
- Google Colab
- Kaggle