Instructions to use khailai/roberta-offensive-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use khailai/roberta-offensive-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="khailai/roberta-offensive-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("khailai/roberta-offensive-classifier") model = AutoModelForSequenceClassification.from_pretrained("khailai/roberta-offensive-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Pushed after epoch
Browse files- tf_model.h5 +1 -1
tf_model.h5
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 498893696
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5965fd4f3550b1ea58dd441f37c41a069514f1efb11e7a50b8223cb59736b0c
|
| 3 |
size 498893696
|