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:
# Load model directly from transformers import BertNLIClassifier model = BertNLIClassifier.from_pretrained("Devtrick/bert_nli_ensemble", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "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" | |
| } | |