Instructions to use HamidRezaei/Persian-Offensive-Persian-Language-Detection-Lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HamidRezaei/Persian-Offensive-Persian-Language-Detection-Lora with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("HamidRezaei/Persian-Offensive-Persian-Language-Detection-Lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K