Text Classification
Transformers
PyTorch
Safetensors
xlm-roberta
Cross-lingual-nlp
zero-shot-transfer
toxicity-analysis
abuse-detection
flag-user
block-user
multilinguality
XLM-R
Instructions to use Jayveersinh-Raj/PolyGuard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jayveersinh-Raj/PolyGuard with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Jayveersinh-Raj/PolyGuard")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Jayveersinh-Raj/PolyGuard") model = AutoModelForSequenceClassification.from_pretrained("Jayveersinh-Raj/PolyGuard") - Notebooks
- Google Colab
- Kaggle
Commit ·
6274747
1
Parent(s): 6bffc84
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ tags:
|
|
| 10 |
- multilinguality
|
| 11 |
- XLM-R
|
| 12 |
requirements:
|
| 13 |
-
- sentencepiece: (if not installed install using `pip install sentencepiece`)
|
| 14 |
---
|
| 15 |
|
| 16 |
# Model Card for Model ID
|
|
|
|
| 10 |
- multilinguality
|
| 11 |
- XLM-R
|
| 12 |
requirements:
|
| 13 |
+
- sentencepiece: (if not installed install using `pip install sentencepiece`, and restart runtime)
|
| 14 |
---
|
| 15 |
|
| 16 |
# Model Card for Model ID
|