Run this model with HF Jobs
Run vineetsharma/BioMedical_NER-maccrobat-bert on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/vineetsharma/BioMedical_NER-maccrobat-bert. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/vineetsharma/BioMedical_NER-maccrobat-bert on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use vineetsharma/BioMedical_NER-maccrobat-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vineetsharma/BioMedical_NER-maccrobat-bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="vineetsharma/BioMedical_NER-maccrobat-bert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("vineetsharma/BioMedical_NER-maccrobat-bert") model = AutoModelForTokenClassification.from_pretrained("vineetsharma/BioMedical_NER-maccrobat-bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
78e90f0
1
Parent(s): 6f0f066
Training complete
Browse filesFiles changed (8)
- README.mdAdded+48
- config.jsonAdded+194
- pytorch_model.binAdded+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+13
- training_args.binAdded+3
- vocab.txtAdded
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748---license: apache-2.0base_model: bert-base-uncasedtags:- generated_from_trainermodel-index:- name: BioMedical_NER-maccrobat-bert results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# BioMedical_NER-maccrobat-bert
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 2e-05- train_batch_size: 8- eval_batch_size: 8- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 15
### Framework versions
- Transformers 4.32.1- Pytorch 2.0.1+cu118- Datasets 2.14.4- Tokenizers 0.13.3123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194{ "_name_or_path": "bert-base-uncased", "architectures": [ "BertForTokenClassification" ], "attention_probs_dropout_prob": 0.1, "classifier_dropout": null, "gradient_checkpointing": false, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "O", "1": "B-Activity", "2": "B-Administration", "3": "B-Age", "4": "B-Area", "5": "B-Biological_attribute", "6": "B-Biological_structure", "7": "B-Clinical_event", "8": "B-Color", "9": "B-Coreference", "10": "B-Date", "11": "B-Detailed_description", "12": "B-Diagnostic_procedure", "13": "B-Disease_disorder", "14": "B-Distance", "15": "B-Dosage", "16": "B-Duration", "17": "B-Family_history", "18": "B-Frequency", "19": "B-Height", "20": "B-History", "21": "B-Lab_value", "22": "B-Mass", "23": "B-Medication", "24": "B-Nonbiological_location", "25": "B-Occupation", "26": "B-Other_entity", "27": "B-Other_event", "28": "B-Outcome", "29": "B-Personal_background", "30": "B-Qualitative_concept", "31": "B-Quantitative_concept", "32": "B-Severity", "33": "B-Sex", "34": "B-Shape", "35": "B-Sign_symptom", "36": "B-Subject", "37": "B-Texture", "38": "B-Therapeutic_procedure", "39": "B-Time", "40": "B-Volume", "41": "B-Weight", "42": "I-Activity", "43": "I-Administration", "44": "I-Age", "45": "I-Area", "46": "I-Biological_attribute", "47": "I-Biological_structure", "48": "I-Clinical_event", "49": "I-Color", "50": "I-Coreference", "51": "I-Date", "52": "I-Detailed_description", "53": "I-Diagnostic_procedure", "54": "I-Disease_disorder", "55": "I-Distance", "56": "I-Dosage", "57": "I-Duration", "58": "I-Family_history", "59": "I-Frequency", "60": "I-Height", "61": "I-History", "62": "I-Lab_value", "63": "I-Mass", "64": "I-Medication", "65": "I-Nonbiological_location", "66": "I-Occupation", "67": "I-Other_entity", "68": "I-Other_event", "69": "I-Outcome", "70": "I-Personal_background", "71": "I-Qualitative_concept", "72": "I-Quantitative_concept", "73": "I-Severity", "74": "I-Shape", "75": "I-Sign_symptom", "76": "I-Subject", "77": "I-Texture", "78": "I-Therapeutic_procedure", "79": "I-Time", "80": "I-Volume", "81": "I-Weight" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "B-Activity": 1, "B-Administration": 2, "B-Age": 3, "B-Area": 4, "B-Biological_attribute": 5, "B-Biological_structure": 6, "B-Clinical_event": 7, "B-Color": 8, "B-Coreference": 9, "B-Date": 10, "B-Detailed_description": 11, "B-Diagnostic_procedure": 12, "B-Disease_disorder": 13, "B-Distance": 14, "B-Dosage": 15, "B-Duration": 16, "B-Family_history": 17, "B-Frequency": 18, "B-Height": 19, "B-History": 20, "B-Lab_value": 21, "B-Mass": 22, "B-Medication": 23, "B-Nonbiological_location": 24, "B-Occupation": 25, "B-Other_entity": 26, "B-Other_event": 27, "B-Outcome": 28, "B-Personal_background": 29, "B-Qualitative_concept": 30, "B-Quantitative_concept": 31, "B-Severity": 32, "B-Sex": 33, "B-Shape": 34, "B-Sign_symptom": 35, "B-Subject": 36, "B-Texture": 37, "B-Therapeutic_procedure": 38, "B-Time": 39, "B-Volume": 40, "B-Weight": 41, "I-Activity": 42, "I-Administration": 43, "I-Age": 44, "I-Area": 45, "I-Biological_attribute": 46, "I-Biological_structure": 47, "I-Clinical_event": 48, "I-Color": 49, "I-Coreference": 50, "I-Date": 51, "I-Detailed_description": 52, "I-Diagnostic_procedure": 53, "I-Disease_disorder": 54, "I-Distance": 55, "I-Dosage": 56, "I-Duration": 57, "I-Family_history": 58, "I-Frequency": 59, "I-Height": 60, "I-History": 61, "I-Lab_value": 62, "I-Mass": 63, "I-Medication": 64, "I-Nonbiological_location": 65, "I-Occupation": 66, "I-Other_entity": 67, "I-Other_event": 68, "I-Outcome": 69, "I-Personal_background": 70, "I-Qualitative_concept": 71, "I-Quantitative_concept": 72, "I-Severity": 73, "I-Shape": 74, "I-Sign_symptom": 75, "I-Subject": 76, "I-Texture": 77, "I-Therapeutic_procedure": 78, "I-Time": 79, "I-Volume": 80, "I-Weight": 81, "O": 0 }, "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", "torch_dtype": "float32", "transformers_version": "4.32.1", "type_vocab_size": 2, "use_cache": true, "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:304055f10bff806baaea13c43dbe2455eda95895ea29e334097ce4cf47fb1d72size 4358865691234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}12345678910111213{ "clean_up_tokenization_spaces": true, "cls_token": "[CLS]", "do_lower_case": true, "mask_token": "[MASK]", "model_max_length": 512, "pad_token": "[PAD]", "sep_token": "[SEP]", "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}123version https://git-lfs.github.com/spec/v1oid sha256:1a3f1ccb98c59c6d18d2f6accd413fdbfa5035035e98fb2074ba57d41337c952size 4091README.mdAdded+48
config.jsonAdded+194
pytorch_model.binAdded+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+13
training_args.binAdded+3
vocab.txtAdded