Run this model with HF Jobs
Run San-Analytics/ner-bert-fewnerd 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/San-Analytics/ner-bert-fewnerd. 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/San-Analytics/ner-bert-fewnerd 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 San-Analytics/ner-bert-fewnerd with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use San-Analytics/ner-bert-fewnerd with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="San-Analytics/ner-bert-fewnerd")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("San-Analytics/ner-bert-fewnerd") model = AutoModelForTokenClassification.from_pretrained("San-Analytics/ner-bert-fewnerd", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload BertForTokenClassification
Browse filesFiles changed (2)
- config.jsonAdded+52
- model.safetensorsAdded+3
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ "add_cross_attention": false, "architectures": [ "BertForTokenClassification" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": null, "classifier_dropout": null, "dtype": "float32", "eos_token_id": null, "gradient_checkpointing": false, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "O", "1": "art", "2": "building", "3": "event", "4": "location", "5": "organization", "6": "other", "7": "person", "8": "product" }, "initializer_range": 0.02, "intermediate_size": 3072, "is_decoder": false, "label2id": { "O": 0, "art": 1, "building": 2, "event": 3, "location": 4, "organization": 5, "other": 6, "person": 7, "product": 8 }, "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", "tie_word_embeddings": true, "transformers_version": "5.0.0", "type_vocab_size": 2, "use_cache": false, "vocab_size": 28996}123version https://git-lfs.github.com/spec/v1oid sha256:b5ba3d24105eb8fab40462fa551ef866634b1d6b6a5797093eda287f306bb5b3size 430929716config.jsonAdded+52
model.safetensorsAdded+3