Run this model with HF Jobs
Run PassbyGrocer/bert-ner-conll2003 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/PassbyGrocer/bert-ner-conll2003. 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/PassbyGrocer/bert-ner-conll2003 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 PassbyGrocer/bert-ner-conll2003 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PassbyGrocer/bert-ner-conll2003 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="PassbyGrocer/bert-ner-conll2003")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("PassbyGrocer/bert-ner-conll2003") model = AutoModelForTokenClassification.from_pretrained("PassbyGrocer/bert-ner-conll2003", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload BertForTokenClassification
Browse filesFiles changed (2)
- README.md+9-9
- config.json+19-19
14 unmodified lines15161718192021221 unmodified line24252627282930313233343536373839404114 unmodified lines- name: bert-ner-conll2003results:- task:name: Token Classificationtype: token-classificationdataset:name: conll2003type: conll20031 unmodified linesplit: validationargs: conll2003metrics:- name: Precisiontype: precisionvalue: 0.9414244508542268- name: Recalltype: recallvalue: 0.9493231905134802- name: F1type: f1value: 0.9453573218960619- name: Accuracytype: accuracyvalue: 0.9865601220074031---<!-- This model card has been generated automatically according to the information the Trainer had access to. You14 unmodified lines15161718192021221 unmodified line24252627282930313233343536373839404114 unmodified lines- name: bert-ner-conll2003results:- task:type: token-classificationname: Token Classificationdataset:name: conll2003type: conll20031 unmodified linesplit: validationargs: conll2003metrics:- type: precisionvalue: 0.9414244508542268name: Precision- type: recallvalue: 0.9493231905134802name: Recall- type: f1value: 0.9453573218960619name: F1- type: accuracyvalue: 0.9865601220074031name: Accuracy---<!-- This model card has been generated automatically according to the information the Trainer had access to. You
123454 unmodified lines10111213141516171819202122232425262728293031323334353637{"_name_or_path": "bert-base-uncased","architectures": ["BertForTokenClassification"],4 unmodified lines"hidden_dropout_prob": 0.1,"hidden_size": 768,"id2label": {"0": "LABEL_0","1": "LABEL_1","2": "LABEL_2","3": "LABEL_3","4": "LABEL_4","5": "LABEL_5","6": "LABEL_6","7": "LABEL_7","8": "LABEL_8"},"initializer_range": 0.02,"intermediate_size": 3072,"label2id": {"LABEL_0": 0,"LABEL_1": 1,"LABEL_2": 2,"LABEL_3": 3,"LABEL_4": 4,"LABEL_5": 5,"LABEL_6": 6,"LABEL_7": 7,"LABEL_8": 8},"layer_norm_eps": 1e-12,"max_position_embeddings": 512,123454 unmodified lines10111213141516171819202122232425262728293031323334353637{"_name_or_path": "PassbyGrocer/bert-ner-conll2003","architectures": ["BertForTokenClassification"],4 unmodified lines"hidden_dropout_prob": 0.1,"hidden_size": 768,"id2label": {"0": "O","1": "B-PER","2": "I-PER","3": "B-ORG","4": "I-ORG","5": "B-LOC","6": "I-LOC","7": "B-MISC","8": "I-MISC"},"initializer_range": 0.02,"intermediate_size": 3072,"label2id": {"B-LOC": 5,"B-MISC": 7,"B-ORG": 3,"B-PER": 1,"I-LOC": 6,"I-MISC": 8,"I-ORG": 4,"I-PER": 2,"O": 0},"layer_norm_eps": 1e-12,"max_position_embeddings": 512,
README.md+9-9
config.json+19-19