Text Classification
Transformers
Safetensors
English
deberta-v2
citation-integrity
biomedical
natural-language-inference
scientific-claim-verification
text-embeddings-inference
Instructions to use Sapnil/citeaudit-nli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sapnil/citeaudit-nli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Sapnil/citeaudit-nli")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Sapnil/citeaudit-nli") model = AutoModelForSequenceClassification.from_pretrained("Sapnil/citeaudit-nli", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from Sapnil/citeaudit-nli: direct link, hf CLI and curl.
- Browser
- Download file 1.11 kB
-
https://huggingface.co/Sapnil/citeaudit-nli/resolve/main/config.json
- Command line
-
hf download hf://Sapnil/citeaudit-nli/config.json
-
curl -L -o config.json https://huggingface.co/Sapnil/citeaudit-nli/resolve/main/config.json
1.11 kB
| { | |
| "architectures": [ | |
| "DebertaV2ForSequenceClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "bos_token_id": null, | |
| "dtype": "float16", | |
| "eos_token_id": null, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 1024, | |
| "id2label": { | |
| "0": "ACCURATE", | |
| "1": "NOT ENOUGH INFO", | |
| "2": "NOT_ACCURATE" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 4096, | |
| "label2id": { | |
| "ACCURATE": 0, | |
| "NOT ENOUGH INFO": 1, | |
| "NOT_ACCURATE": 2 | |
| }, | |
| "layer_norm_eps": 1e-07, | |
| "legacy": true, | |
| "max_position_embeddings": 512, | |
| "max_relative_positions": -1, | |
| "model_type": "deberta-v2", | |
| "norm_rel_ebd": "layer_norm", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 24, | |
| "pad_token_id": 0, | |
| "pooler_dropout": 0, | |
| "pooler_hidden_act": "gelu", | |
| "pooler_hidden_size": 1024, | |
| "pos_att_type": [ | |
| "p2c", | |
| "c2p" | |
| ], | |
| "position_biased_input": false, | |
| "position_buckets": 256, | |
| "relative_attention": true, | |
| "share_att_key": true, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.22.1", | |
| "type_vocab_size": 0, | |
| "vocab_size": 128100 | |
| } | |