Instructions to use khailai/roberta-offensive-classifier-beta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use khailai/roberta-offensive-classifier-beta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="khailai/roberta-offensive-classifier-beta")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("khailai/roberta-offensive-classifier-beta") model = AutoModelForSequenceClassification.from_pretrained("khailai/roberta-offensive-classifier-beta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Trained on training set of DICA_Dec13 for 2 epochs
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 498896768
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b949f2e1aaf7a9e9d4efad92c83eeee7f7260f12e6923541f743d6c76a390f2
|
| 3 |
size 498896768
|