Text Classification
Transformers
Safetensors
English
proto
medical
prototypical-networks
Eval Results (legacy)
Instructions to use row56/ProtoPatient with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use row56/ProtoPatient with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="row56/ProtoPatient")# pip install -U transformers accelerate # Load model directly from transformers import ProtoForMultiLabelClassification model = ProtoForMultiLabelClassification.from_pretrained("row56/ProtoPatient", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload config.json
Browse files- config.json +3 -3
config.json
CHANGED
|
@@ -11,14 +11,14 @@
|
|
| 11 |
"initializer_range": 0.02,
|
| 12 |
"intermediate_size": 3072,
|
| 13 |
"layer_norm_eps": 1e-12,
|
| 14 |
-
"max_position_embeddings":
|
| 15 |
"model_type": "bert",
|
| 16 |
"num_attention_heads": 12,
|
| 17 |
"num_hidden_layers": 12,
|
| 18 |
"pad_token_id": 0,
|
| 19 |
"position_embedding_type": "absolute",
|
| 20 |
"transformers_version": "4.45.2",
|
| 21 |
-
"type_vocab_size":
|
| 22 |
"use_cache": true,
|
| 23 |
-
"vocab_size":
|
| 24 |
}
|
|
|
|
| 11 |
"initializer_range": 0.02,
|
| 12 |
"intermediate_size": 3072,
|
| 13 |
"layer_norm_eps": 1e-12,
|
| 14 |
+
"max_position_embeddings": 514,
|
| 15 |
"model_type": "bert",
|
| 16 |
"num_attention_heads": 12,
|
| 17 |
"num_hidden_layers": 12,
|
| 18 |
"pad_token_id": 0,
|
| 19 |
"position_embedding_type": "absolute",
|
| 20 |
"transformers_version": "4.45.2",
|
| 21 |
+
"type_vocab_size": 1,
|
| 22 |
"use_cache": true,
|
| 23 |
+
"vocab_size": 250002
|
| 24 |
}
|