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
Download config.json from row56/ProtoPatient: direct link, hf CLI and curl.
- Browser
- Download file 656 Bytes
-
https://huggingface.co/row56/ProtoPatient/resolve/3900a39fe4e8da7fceda1ae86650c992f9ade89a/config.json
- Command line
-
hf download hf://row56/ProtoPatient@3900a39fe4e8da7fceda1ae86650c992f9ade89a/config.json
-
curl -L -o config.json https://huggingface.co/row56/ProtoPatient/resolve/3900a39fe4e8da7fceda1ae86650c992f9ade89a/config.json
656 Bytes
| { | |
| "_name_or_path": "microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract-fulltext", | |
| "architectures": ["ProtoForMultiLabelClassification"], | |
| "attention_probs_dropout_prob": 0.1, | |
| "classifier_dropout": null, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 514, | |
| "model_type": "proto", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "pad_token_id": 0, | |
| "position_embedding_type": "absolute", | |
| "transformers_version": "4.45.2", | |
| "type_vocab_size": 1, | |
| "use_cache": true, | |
| "vocab_size": 250002 | |
| } | |