Run this model with HF Jobs
Run commanderstrife/ADE-Bio_ClinicalBERT-NER 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/commanderstrife/ADE-Bio_ClinicalBERT-NER. 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/commanderstrife/ADE-Bio_ClinicalBERT-NER 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 commanderstrife/ADE-Bio_ClinicalBERT-NER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use commanderstrife/ADE-Bio_ClinicalBERT-NER with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="commanderstrife/ADE-Bio_ClinicalBERT-NER")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("commanderstrife/ADE-Bio_ClinicalBERT-NER") model = AutoModelForTokenClassification.from_pretrained("commanderstrife/ADE-Bio_ClinicalBERT-NER", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
46f31c1
1
Parent(s): 7774e7f
Training in progress, step 500
Browse filesFiles changed (10)
- .gitignoreAdded+1
- config.jsonAdded+39
- pytorch_model.binAdded+3
- runs/Jul29_01-23-42_dd5da91cf53c/1659057878.7249355/events.out.tfevents.1659057878.dd5da91cf53c.76.1Added+3
- runs/Jul29_01-23-42_dd5da91cf53c/events.out.tfevents.1659057878.dd5da91cf53c.76.0Added+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+15
- training_args.binAdded+3
- vocab.txtAdded
1checkpoint-*/123456789101112131415161718192021222324252627282930313233343536373839{ "_name_or_path": "emilyalsentzer/Bio_ClinicalBERT", "architectures": [ "BertForTokenClassification" ], "attention_probs_dropout_prob": 0.1, "classifier_dropout": null, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "LABEL_0", "1": "LABEL_1", "2": "LABEL_2", "3": "LABEL_3", "4": "LABEL_4" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "LABEL_0": 0, "LABEL_1": 1, "LABEL_2": 2, "LABEL_3": 3, "LABEL_4": 4 }, "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.21.0", "type_vocab_size": 2, "use_cache": true, "vocab_size": 28996}123version https://git-lfs.github.com/spec/v1oid sha256:cc827fdf4a7b676d967e69883863be4655fa4d303723296fec5f46b5d4b43516size 430964529123version https://git-lfs.github.com/spec/v1oid sha256:2f295780df5de1cbe76cafff7f18912ad21e6c600cc955f27d5be6f7e2b784a3size 5427123version https://git-lfs.github.com/spec/v1oid sha256:46c3a82411b24ccc8bff54ec3301789f6b35b9766abfedb997837d99edb94f94size 828881234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}123456789101112131415{ "cls_token": "[CLS]", "do_basic_tokenize": true, "do_lower_case": true, "mask_token": "[MASK]", "name_or_path": "emilyalsentzer/Bio_ClinicalBERT", "never_split": null, "pad_token": "[PAD]", "sep_token": "[SEP]", "special_tokens_map_file": null, "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}123version https://git-lfs.github.com/spec/v1oid sha256:9efecc72c63383286fb02a3972648f68fc79e832fb3158763ef499a80bf7fd6esize 3311.gitignoreAdded+1
config.jsonAdded+39
pytorch_model.binAdded+3
runs/Jul29_01-23-42_dd5da91cf53c/1659057878.7249355/events.out.tfevents.1659057878.dd5da91cf53c.76.1Added+3
runs/Jul29_01-23-42_dd5da91cf53c/events.out.tfevents.1659057878.dd5da91cf53c.76.0Added+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+15
training_args.binAdded+3
vocab.txtAdded