Download config.json from annaadar/MedTextBERT: direct link, hf CLI and curl.
- Browser
- Download file 2.08 kB
-
https://huggingface.co/annaadar/MedTextBERT/resolve/main/config.json
- Command line
-
hf download hf://annaadar/MedTextBERT/config.json
-
curl -L -o config.json https://huggingface.co/annaadar/MedTextBERT/resolve/main/config.json
2.08 kB
| { | |
| "add_cross_attention": false, | |
| "architectures": [ | |
| "BertForSequenceClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "bos_token_id": null, | |
| "classifier_dropout": null, | |
| "dtype": "float32", | |
| "eos_token_id": null, | |
| "gradient_checkpointing": false, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "administration_general", | |
| "1": "cardiology", | |
| "2": "cardiology_procedures", | |
| "3": "dermatology", | |
| "4": "diabetes_endocrinology", | |
| "5": "emergency_medicine", | |
| "6": "family_medicine", | |
| "7": "gastroenterology", | |
| "8": "geriatrics_rehabilitation", | |
| "9": "gynecology", | |
| "10": "hematology", | |
| "11": "imaging", | |
| "12": "infections_inflammation", | |
| "13": "lab_results", | |
| "14": "neurology", | |
| "15": "oncology", | |
| "16": "orthopedics", | |
| "17": "pathology", | |
| "18": "pediatrics", | |
| "19": "pharmacy", | |
| "20": "psychiatry", | |
| "21": "pulmonology", | |
| "22": "surgery", | |
| "23": "urology" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "is_decoder": false, | |
| "label2id": { | |
| "administration_general": 0, | |
| "cardiology": 1, | |
| "cardiology_procedures": 2, | |
| "dermatology": 3, | |
| "diabetes_endocrinology": 4, | |
| "emergency_medicine": 5, | |
| "family_medicine": 6, | |
| "gastroenterology": 7, | |
| "geriatrics_rehabilitation": 8, | |
| "gynecology": 9, | |
| "hematology": 10, | |
| "imaging": 11, | |
| "infections_inflammation": 12, | |
| "lab_results": 13, | |
| "neurology": 14, | |
| "oncology": 15, | |
| "orthopedics": 16, | |
| "pathology": 17, | |
| "pediatrics": 18, | |
| "pharmacy": 19, | |
| "psychiatry": 20, | |
| "pulmonology": 21, | |
| "surgery": 22, | |
| "urology": 23 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 512, | |
| "model_type": "bert", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "pad_token_id": 0, | |
| "position_embedding_type": "absolute", | |
| "problem_type": "single_label_classification", | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.0.0", | |
| "type_vocab_size": 1, | |
| "use_cache": false, | |
| "vocab_size": 52000 | |
| } | |