Instructions to use ai-research-lab/bert-question-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ai-research-lab/bert-question-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ai-research-lab/bert-question-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ai-research-lab/bert-question-classifier") model = AutoModelForSequenceClassification.from_pretrained("ai-research-lab/bert-question-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
b5e2866
1
Parent(s): 47c824a
Upload MultiTaskClassifierPipeline
Browse files- config.json +1 -2
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -283,8 +283,7 @@
|
|
| 283 |
"threshold": 0
|
| 284 |
}
|
| 285 |
]
|
| 286 |
-
}
|
| 287 |
-
"runtime_env": "aws"
|
| 288 |
},
|
| 289 |
"torch_dtype": "float32",
|
| 290 |
"transformers_version": "4.48.1",
|
|
|
|
| 283 |
"threshold": 0
|
| 284 |
}
|
| 285 |
]
|
| 286 |
+
}
|
|
|
|
| 287 |
},
|
| 288 |
"torch_dtype": "float32",
|
| 289 |
"transformers_version": "4.48.1",
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6482383b7b8122357711a8e55f3c1d7917dc1db8a8982e862ff5f971c45e8831
|
| 3 |
+
size 438057080
|