Instructions to use SIRIS-Lab/erc-classifiers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SIRIS-Lab/erc-classifiers with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SIRIS-Lab/erc-classifiers")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SIRIS-Lab/erc-classifiers") model = AutoModelForSequenceClassification.from_pretrained("SIRIS-Lab/erc-classifiers") - Notebooks
- Google Colab
- Kaggle
Upload BertForSequenceClassification
Browse files- config.json +1 -1
- model.safetensors +1 -1
config.json
CHANGED
|
@@ -84,7 +84,7 @@
|
|
| 84 |
"pad_token_id": 0,
|
| 85 |
"position_embedding_type": "absolute",
|
| 86 |
"problem_type": "multi_label_classification",
|
| 87 |
-
"transformers_version": "4.
|
| 88 |
"type_vocab_size": 2,
|
| 89 |
"use_cache": true,
|
| 90 |
"vocab_size": 31090
|
|
|
|
| 84 |
"pad_token_id": 0,
|
| 85 |
"position_embedding_type": "absolute",
|
| 86 |
"problem_type": "multi_label_classification",
|
| 87 |
+
"transformers_version": "4.57.3",
|
| 88 |
"type_vocab_size": 2,
|
| 89 |
"use_cache": true,
|
| 90 |
"vocab_size": 31090
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 439783520
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:460479fca2a5f7a821d98ede2c80792d168116c96f2dacbc697f3f61b68e39fd
|
| 3 |
size 439783520
|