Instructions to use tum-nlp/bert-hateXplain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tum-nlp/bert-hateXplain with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tum-nlp/bert-hateXplain")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tum-nlp/bert-hateXplain") model = AutoModelForSequenceClassification.from_pretrained("tum-nlp/bert-hateXplain") - Notebooks
- Google Colab
- Kaggle
Upload BertForSequenceClassification
Browse files- pytorch_model.bin +1 -1
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 44713231
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5047867a4eaa62886e1e5f680291482c313b63b9211c2f19513c77a542d85614
|
| 3 |
size 44713231
|