Run this model with HF Jobs
Run kabir5297/NER_PII_InitialCheckpoint 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/kabir5297/NER_PII_InitialCheckpoint. 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/kabir5297/NER_PII_InitialCheckpoint 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 kabir5297/NER_PII_InitialCheckpoint with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kabir5297/NER_PII_InitialCheckpoint with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="kabir5297/NER_PII_InitialCheckpoint")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("kabir5297/NER_PII_InitialCheckpoint") model = AutoModelForTokenClassification.from_pretrained("kabir5297/NER_PII_InitialCheckpoint", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload 6 files
Browse filesFiles changed (6)
- config.jsonAdded+57
- model.safetensorsAdded+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+58
- vocab.txtAdded
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ "_name_or_path": "dslim/bert-base-NER", "_num_labels": 9, "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-NAME_STUDENT", "2": "I-NAME_STUDENT", "3": "B-URL_PERSONAL", "4": "B-EMAIL", "5": "B-ID_NUM", "6": "I-URL_PERSONAL", "7": "B-USERNAME", "8": "I-PHONE_NUM", "9": "B-STREET_ADDRESS", "10": "I-STREET_ADDRESS", "11": "B-PHONE_NUM", "12": "I-ID_NUM" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "B-EMAIL": 4, "B-ID_NUM": 5, "B-NAME_STUDENT": 1, "B-PHONE_NUM": 11, "B-STREET_ADDRESS": 9, "B-URL_PERSONAL": 3, "B-USERNAME": 7, "I-ID_NUM": 12, "I-NAME_STUDENT": 2, "I-PHONE_NUM": 8, "I-STREET_ADDRESS": 10, "I-URL_PERSONAL": 6, "O": 0 }, "layer_norm_eps": 1e-12, "max_position_embeddings": 512, "model_type": "bert", "num_attention_heads": 12, "num_hidden_layers": 12, "output_past": true, "pad_token_id": 0, "position_embedding_type": "absolute", "torch_dtype": "float32", "transformers_version": "4.37.2", "type_vocab_size": 2, "use_cache": true, "vocab_size": 28996}123version https://git-lfs.github.com/spec/v1oid sha256:1da6543c2b79a5ea394a084f0c7a3f5da73ea873e86e634ab8f3cb6884df7694size 4309420441234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ "added_tokens_decoder": { "0": { "content": "[PAD]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "100": { "content": "[UNK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "101": { "content": "[CLS]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "102": { "content": "[SEP]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "103": { "content": "[MASK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "clean_up_tokenization_spaces": true, "cls_token": "[CLS]", "do_basic_tokenize": true, "do_lower_case": false, "mask_token": "[MASK]", "max_len": 512, "model_max_length": 512, "never_split": null, "pad_token": "[PAD]", "sep_token": "[SEP]", "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}config.jsonAdded+57
model.safetensorsAdded+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+58
vocab.txtAdded