Text Classification
Transformers
PyTorch
Safetensors
Spanish
deberta-v2
biomedical
clinical
eHR
spanish
mdeberta-v3-base
Eval Results (legacy)
text-embeddings-inference
Instructions to use IIC/mdeberta-v3-base-cantemist with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IIC/mdeberta-v3-base-cantemist with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="IIC/mdeberta-v3-base-cantemist")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("IIC/mdeberta-v3-base-cantemist") model = AutoModelForSequenceClassification.from_pretrained("IIC/mdeberta-v3-base-cantemist", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from IIC/mdeberta-v3-base-cantemist: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/IIC/mdeberta-v3-base-cantemist/resolve/main/config.json
- Command line
-
hf download hf://IIC/mdeberta-v3-base-cantemist/config.json
-
curl -L -o config.json https://huggingface.co/IIC/mdeberta-v3-base-cantemist/resolve/main/config.json
1.09 kB
| { | |
| "_name_or_path": "microsoft/mdeberta-v3-base-16-3e-05-0.2-cantemist_best", | |
| "architectures": [ | |
| "DebertaV2ForSequenceClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1", | |
| "2": "LABEL_2" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "label2id": { | |
| "B-MORFOLOGIA_NEOPLASIA": 1, | |
| "I-MORFOLOGIA_NEOPLASIA": 2, | |
| "O": 0 | |
| }, | |
| "layer_norm_eps": 1e-07, | |
| "max_position_embeddings": 512, | |
| "max_relative_positions": -1, | |
| "model_type": "deberta-v2", | |
| "norm_rel_ebd": "layer_norm", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "pad_token_id": 0, | |
| "pooler_dropout": 0, | |
| "pooler_hidden_act": "gelu", | |
| "pooler_hidden_size": 768, | |
| "pos_att_type": [ | |
| "p2c", | |
| "c2p" | |
| ], | |
| "position_biased_input": false, | |
| "position_buckets": 256, | |
| "relative_attention": true, | |
| "share_att_key": true, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.25.1", | |
| "type_vocab_size": 0, | |
| "vocab_size": 251000 | |
| } | |