Instructions to use nvidia/domain-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nvidia/domain-classifier with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nvidia/domain-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Push model using huggingface_hub.
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
"base_model": "microsoft/deberta-v3-base",
|
| 3 |
"config_path": null,
|
| 4 |
"fc_dropout": 0.2,
|
|
|
|
| 5 |
"label2id": {
|
| 6 |
"Adult": 0,
|
| 7 |
"Arts_and_Entertainment": 1,
|
|
|
|
| 2 |
"base_model": "microsoft/deberta-v3-base",
|
| 3 |
"config_path": null,
|
| 4 |
"fc_dropout": 0.2,
|
| 5 |
+
"id2label": null,
|
| 6 |
"label2id": {
|
| 7 |
"Adult": 0,
|
| 8 |
"Arts_and_Entertainment": 1,
|