Instructions to use DangNguyenVan258/out_dir with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DangNguyenVan258/out_dir with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="DangNguyenVan258/out_dir")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("DangNguyenVan258/out_dir") model = AutoModelForTokenClassification.from_pretrained("DangNguyenVan258/out_dir", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "activation": "gelu", | |
| "architectures": [ | |
| "DistilBertForTokenClassification" | |
| ], | |
| "attention_dropout": 0.1, | |
| "dim": 768, | |
| "dropout": 0.1, | |
| "hidden_dim": 3072, | |
| "id2label": { | |
| "0": "O", | |
| "1": "B-Age", | |
| "2": "I-Age", | |
| "3": "B-Sign_symptom", | |
| "4": "B-Severity", | |
| "5": "B-Detailed_description", | |
| "6": "B-Biological_structure", | |
| "7": "I-Biological_structure", | |
| "8": "B-Activity", | |
| "9": "I-Activity", | |
| "10": "B-Date", | |
| "11": "I-Date", | |
| "12": "B-Diagnostic_procedure", | |
| "13": "I-Diagnostic_procedure", | |
| "14": "B-Quantitative_concept", | |
| "15": "I-Quantitative_concept", | |
| "16": "B-Disease_disorder", | |
| "17": "I-Disease_disorder", | |
| "18": "B-Therapeutic_procedure", | |
| "19": "I-Therapeutic_procedure", | |
| "20": "B-History", | |
| "21": "I-History", | |
| "22": "B-Family_history", | |
| "23": "I-Family_history", | |
| "24": "B-Medication", | |
| "25": "I-Medication", | |
| "26": "B-Dosage", | |
| "27": "I-Dosage", | |
| "28": "B-Administration", | |
| "29": "B-Duration", | |
| "30": "I-Duration", | |
| "31": "B-Frequency", | |
| "32": "I-Frequency", | |
| "33": "B-Coreference", | |
| "34": "I-Coreference", | |
| "35": "I-Administration", | |
| "36": "B-Qualitative_concept", | |
| "37": "I-Qualitative_concept", | |
| "38": "B-Personal_background", | |
| "39": "I-Personal_background", | |
| "40": "B-Sex", | |
| "41": "I-Detailed_description", | |
| "42": "B-Lab_value", | |
| "43": "I-Lab_value", | |
| "44": "I-Sign_symptom", | |
| "45": "B-Clinical_event", | |
| "46": "B-Nonbiological_location", | |
| "47": "I-Nonbiological_location", | |
| "48": "B-Outcome", | |
| "49": "I-Clinical_event", | |
| "50": "B-Distance", | |
| "51": "I-Distance", | |
| "52": "B-Color", | |
| "53": "I-Color", | |
| "54": "B-Area", | |
| "55": "I-Area", | |
| "56": "B-Shape", | |
| "57": "I-Shape", | |
| "58": "B-Occupation", | |
| "59": "I-Occupation", | |
| "60": "B-Time", | |
| "61": "I-Time", | |
| "62": "B-Other_entity", | |
| "63": "I-Other_entity", | |
| "64": "B-Volume", | |
| "65": "I-Volume", | |
| "66": "B-Texture", | |
| "67": "I-Texture", | |
| "68": "B-Other_event", | |
| "69": "I-Other_event", | |
| "70": "B-Subject", | |
| "71": "I-Subject", | |
| "72": "I-Severity", | |
| "73": "I-Sex", | |
| "74": "I-Outcome", | |
| "75": "B-Mass", | |
| "76": "I-Mass", | |
| "77": "B-Height", | |
| "78": "I-Height", | |
| "79": "B-Weight", | |
| "80": "I-Weight", | |
| "81": "B-Biological_attribute", | |
| "82": "I-Biological_attribute" | |
| }, | |
| "initializer_range": 0.02, | |
| "label2id": { | |
| "B-Activity": 8, | |
| "B-Administration": 28, | |
| "B-Age": 1, | |
| "B-Area": 54, | |
| "B-Biological_attribute": 81, | |
| "B-Biological_structure": 6, | |
| "B-Clinical_event": 45, | |
| "B-Color": 52, | |
| "B-Coreference": 33, | |
| "B-Date": 10, | |
| "B-Detailed_description": 5, | |
| "B-Diagnostic_procedure": 12, | |
| "B-Disease_disorder": 16, | |
| "B-Distance": 50, | |
| "B-Dosage": 26, | |
| "B-Duration": 29, | |
| "B-Family_history": 22, | |
| "B-Frequency": 31, | |
| "B-Height": 77, | |
| "B-History": 20, | |
| "B-Lab_value": 42, | |
| "B-Mass": 75, | |
| "B-Medication": 24, | |
| "B-Nonbiological_location": 46, | |
| "B-Occupation": 58, | |
| "B-Other_entity": 62, | |
| "B-Other_event": 68, | |
| "B-Outcome": 48, | |
| "B-Personal_background": 38, | |
| "B-Qualitative_concept": 36, | |
| "B-Quantitative_concept": 14, | |
| "B-Severity": 4, | |
| "B-Sex": 40, | |
| "B-Shape": 56, | |
| "B-Sign_symptom": 3, | |
| "B-Subject": 70, | |
| "B-Texture": 66, | |
| "B-Therapeutic_procedure": 18, | |
| "B-Time": 60, | |
| "B-Volume": 64, | |
| "B-Weight": 79, | |
| "I-Activity": 9, | |
| "I-Administration": 35, | |
| "I-Age": 2, | |
| "I-Area": 55, | |
| "I-Biological_attribute": 82, | |
| "I-Biological_structure": 7, | |
| "I-Clinical_event": 49, | |
| "I-Color": 53, | |
| "I-Coreference": 34, | |
| "I-Date": 11, | |
| "I-Detailed_description": 41, | |
| "I-Diagnostic_procedure": 13, | |
| "I-Disease_disorder": 17, | |
| "I-Distance": 51, | |
| "I-Dosage": 27, | |
| "I-Duration": 30, | |
| "I-Family_history": 23, | |
| "I-Frequency": 32, | |
| "I-Height": 78, | |
| "I-History": 21, | |
| "I-Lab_value": 43, | |
| "I-Mass": 76, | |
| "I-Medication": 25, | |
| "I-Nonbiological_location": 47, | |
| "I-Occupation": 59, | |
| "I-Other_entity": 63, | |
| "I-Other_event": 69, | |
| "I-Outcome": 74, | |
| "I-Personal_background": 39, | |
| "I-Qualitative_concept": 37, | |
| "I-Quantitative_concept": 15, | |
| "I-Severity": 72, | |
| "I-Sex": 73, | |
| "I-Shape": 57, | |
| "I-Sign_symptom": 44, | |
| "I-Subject": 71, | |
| "I-Texture": 67, | |
| "I-Therapeutic_procedure": 19, | |
| "I-Time": 61, | |
| "I-Volume": 65, | |
| "I-Weight": 80, | |
| "O": 0 | |
| }, | |
| "max_position_embeddings": 512, | |
| "model_type": "distilbert", | |
| "n_heads": 12, | |
| "n_layers": 6, | |
| "pad_token_id": 0, | |
| "qa_dropout": 0.1, | |
| "seq_classif_dropout": 0.2, | |
| "sinusoidal_pos_embds": false, | |
| "tie_weights_": true, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.54.0", | |
| "vocab_size": 30522 | |
| } | |