Instructions to use Devtrick/bert_nli_ensemble with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Devtrick/bert_nli_ensemble with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import BertNLIClassifier model = BertNLIClassifier.from_pretrained("Devtrick/bert_nli_ensemble", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from Devtrick/bert_nli_ensemble: direct link, hf CLI and curl.
- Browser
- Download file 401 Bytes
-
https://huggingface.co/Devtrick/bert_nli_ensemble/resolve/main/config.json
- Command line
-
hf download hf://Devtrick/bert_nli_ensemble/config.json
-
curl -L -o config.json https://huggingface.co/Devtrick/bert_nli_ensemble/resolve/main/config.json
401 Bytes
| { | |
| "architectures": [ | |
| "BertNLIClassifier" | |
| ], | |
| "dropout_prob": 0.1, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1", | |
| "2": "LABEL_2" | |
| }, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1, | |
| "LABEL_2": 2 | |
| }, | |
| "model_type": "bert_nli_classifier", | |
| "pretrained_model_name": "bert-base-uncased", | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.50.2" | |
| } | |