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