Text Classification
Transformers
PyTorch
Romanian
vgcn
offensive language
graph neural networks
gnn
custom_code
Instructions to use andyP/ro-offense-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use andyP/ro-offense-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="andyP/ro-offense-model", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("andyP/ro-offense-model", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from andyP/ro-offense-model: direct link, hf CLI and curl.
- Browser
- Download file 841 kB
-
https://huggingface.co/andyP/ro-offense-model/resolve/main/tokenizer.json
- Command line
-
hf download hf://andyP/ro-offense-model/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/andyP/ro-offense-model/resolve/main/tokenizer.json
841 kB
File too large to display, you can check the raw version instead.