Run this model with HF Jobs
Run Hiveurban/dictabert-ner-handler 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/Hiveurban/dictabert-ner-handler. 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/Hiveurban/dictabert-ner-handler 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 Hiveurban/dictabert-ner-handler with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hiveurban/dictabert-ner-handler with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Hiveurban/dictabert-ner-handler")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Hiveurban/dictabert-ner-handler") model = AutoModelForTokenClassification.from_pretrained("Hiveurban/dictabert-ner-handler", device_map="auto") - Notebooks
- Google Colab
- Kaggle
jsons
Browse filesFiles changed (4)
- config.jsonAdded+84
- special_tokens_map.jsonAdded+37
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+63
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384{ "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": "B-ANG", "1": "B-DUC", "2": "B-EVE", "3": "B-FAC", "4": "B-GPE", "5": "B-LOC", "6": "B-ORG", "7": "B-PER", "8": "B-WOA", "9": "B-INFORMAL", "10": "B-MISC", "11": "B-TIMEX", "12": "B-TTL", "13": "I-DUC", "14": "I-EVE", "15": "I-FAC", "16": "I-GPE", "17": "I-LOC", "18": "I-ORG", "19": "I-PER", "20": "I-WOA", "21": "I-ANG", "22": "I-INFORMAL", "23": "I-MISC", "24": "I-TIMEX", "25": "I-TTL", "26": "O" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "B-ANG": 0, "B-DUC": 1, "B-EVE": 2, "B-FAC": 3, "B-GPE": 4, "B-INFORMAL": 9, "B-LOC": 5, "B-MISC": 10, "B-ORG": 6, "B-PER": 7, "B-TIMEX": 11, "B-TTL": 12, "B-WOA": 8, "I-ANG": 21, "I-DUC": 13, "I-EVE": 14, "I-FAC": 15, "I-GPE": 16, "I-INFORMAL": 22, "I-LOC": 17, "I-MISC": 23, "I-ORG": 18, "I-PER": 19, "I-TIMEX": 24, "I-TTL": 25, "I-WOA": 20, "O": 26 }, "layer_norm_eps": 1e-12, "max_position_embeddings": 512, "model_type": "bert", "newmodern": true, "num_attention_heads": 12, "num_hidden_layers": 12, "pad_token_id": 0, "position_embedding_type": "absolute", "torch_dtype": "float32", "transformers_version": "4.36.2", "type_vocab_size": 2, "use_cache": true, "vocab_size": 128000}12345678910111213141516171819202122232425262728293031323334353637{ "cls_token": { "content": "[CLS]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "mask_token": { "content": "[MASK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "[PAD]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "sep_token": { "content": "[SEP]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "unk_token": { "content": "[UNK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ "added_tokens_decoder": { "0": { "content": "[UNK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "[CLS]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "[SEP]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "3": { "content": "[PAD]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "4": { "content": "[MASK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "5": { "content": "[BLANK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "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]"}config.jsonAdded+84
special_tokens_map.jsonAdded+37
tokenizer.jsonAdded
tokenizer_config.jsonAdded+63