Instructions to use locht131/m-e5-large-toxic-classification-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use locht131/m-e5-large-toxic-classification-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("intfloat/multilingual-e5-large") model = PeftModel.from_pretrained(base_model, "locht131/m-e5-large-toxic-classification-lora") - Notebooks
- Google Colab
- Kaggle
Ctrl+K