Instructions to use alexandrainst/da-offensive-detection-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alexandrainst/da-offensive-detection-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="alexandrainst/da-offensive-detection-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("alexandrainst/da-offensive-detection-base") model = AutoModelForSequenceClassification.from_pretrained("alexandrainst/da-offensive-detection-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
8e28594
-
Librarian Bot: Add base_model information to model (#2)
- Librarian Bot: Add base_model information to model (6c6aa1b8d816fed6cabfa789c95798f08d3f1010) Co-authored-by: Librarian Bot (Bot) <librarian-bot@users.noreply.huggingface.co>8fd5a78
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (1a93f8254ac0c9403ca0a605b39ab2a212c38bd8) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>642ff93
-
Update README.md
b356e34
-
Update README.md
2036320
-
Update README.md
dbfd7b7 -
Update README.md
78d60b8
-
Update README.md
4575f3d -
Update README.md
e92caaf
-
Update README.md
879e4af -
Update README.md
5f2c54a -
Update README.md
0e963f5
-
Update README.md
3aacf18 -
Update README.md
bfd0fe2 -
Update README.md
8edd4cd
-
Update README.md
6687172 -
Update README.md
100ed84 -
Create README.md
581ecd0 -
add model
304257b -
add model
cf91ce8 -
add tokenizer
4a8051e -
initial commit
b11b161