Run this model with HF Jobs
Run Natfike/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/Natfike/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/Natfike/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 Natfike/NER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Natfike/NER with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Natfike/NER")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Natfike/NER") model = AutoModelForTokenClassification.from_pretrained("Natfike/NER", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload 6 files
Browse filesFiles changed (6)
- config.jsonAdded+59
- pytorch_model.binAdded+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+15
- vocab.txtAdded
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ "_name_or_path": "allenai/scibert_scivocab_uncased", "architectures": [ "BertForTokenClassification" ], "attention_probs_dropout_prob": 0.1, "classifier_dropout": null, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "O", "1": "B-Age_Group", "2": "B-Population_Group", "3": "B-Sign_or_Symptom", "4": "B-Temporal_Concept", "5": "I-Temporal_Concept", "6": "B-No_Symptom_Occurence", "7": "B-Finding", "8": "I-Finding", "9": "I-Sign_or_Symptom", "10": "B-Location", "11": "I-Location", "12": "I-No_Symptom_Occurence", "13": "I-Population_Group", "14": "I-Age_Group" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "B-Age_Group": 1, "B-Finding": 7, "B-Location": 10, "B-No_Symptom_Occurence": 6, "B-Population_Group": 2, "B-Sign_or_Symptom": 3, "B-Temporal_Concept": 4, "I-Age_Group": 14, "I-Finding": 8, "I-Location": 11, "I-No_Symptom_Occurence": 12, "I-Population_Group": 13, "I-Sign_or_Symptom": 9, "I-Temporal_Concept": 5, "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.28.1", "type_vocab_size": 2, "use_cache": true, "vocab_size": 31090}123version https://git-lfs.github.com/spec/v1oid sha256:b028375ee70d861dfb2c2eb0f3cafdb893c9a20f8a6f74b02f387bcd4b76d669size 4374298051234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}123456789101112131415{ "clean_up_tokenization_spaces": true, "cls_token": "[CLS]", "do_basic_tokenize": true, "do_lower_case": true, "mask_token": "[MASK]", "model_max_length": 1000000000000000019884624838656, "never_split": null, "pad_token": "[PAD]", "sep_token": "[SEP]", "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}config.jsonAdded+59
pytorch_model.binAdded+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+15
vocab.txtAdded