Run this model with HF Jobs
Run Sharpaxis/BERT-NER-CoNLL 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/Sharpaxis/BERT-NER-CoNLL. 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/Sharpaxis/BERT-NER-CoNLL 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 Sharpaxis/BERT-NER-CoNLL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sharpaxis/BERT-NER-CoNLL with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Sharpaxis/BERT-NER-CoNLL")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Sharpaxis/BERT-NER-CoNLL") model = AutoModelForTokenClassification.from_pretrained("Sharpaxis/BERT-NER-CoNLL", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (3)
- README.md+8-8
- config.json+5-5
- model.safetensors+2-2
123456715 unmodified lines232425262728291 unmodified line3132333435363738394024 unmodified lines656667686970717273---library_name: transformerslicense: apache-2.0base_model: bert-base-uncasedtags:- generated_from_trainerdatasets:15 unmodified linesmetrics:- name: F1type: f1value: 0.903734876380852---<!-- This model card has been generated automatically according to the information the Trainer had access to. You1 unmodified line# BERT-NER-CoNLLThis model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the conll2003 dataset.It achieves the following results on the evaluation set:- Loss: 0.1199- F1: 0.9037## Model description24 unmodified lines| Training Loss | Epoch | Step | Validation Loss | F1 ||:-------------:|:-----:|:----:|:---------------:|:------:|| 0.1298 | 1.0 | 878 | 0.1098 | 0.8849 || 0.0355 | 2.0 | 1756 | 0.1139 | 0.9012 || 0.0202 | 3.0 | 2634 | 0.1199 | 0.9037 |### Framework versions123456715 unmodified lines232425262728291 unmodified line3132333435363738394024 unmodified lines656667686970717273---library_name: transformerslicense: apache-2.0base_model: bert-large-uncasedtags:- generated_from_trainerdatasets:15 unmodified linesmetrics:- name: F1type: f1value: 0.9105776839883936---<!-- This model card has been generated automatically according to the information the Trainer had access to. You1 unmodified line# BERT-NER-CoNLLThis model is a fine-tuned version of [bert-large-uncased](https://huggingface.co/bert-large-uncased) on the conll2003 dataset.It achieves the following results on the evaluation set:- Loss: 0.1243- F1: 0.9106## Model description24 unmodified lines| Training Loss | Epoch | Step | Validation Loss | F1 ||:-------------:|:-----:|:----:|:---------------:|:------:|| 0.115 | 1.0 | 878 | 0.1003 | 0.8983 || 0.0276 | 2.0 | 1756 | 0.1157 | 0.9081 || 0.0128 | 3.0 | 2634 | 0.1243 | 0.9106 |### Framework versions
123452 unmodified lines8910111213146 unmodified lines212223242526278 unmodified lines3637383940414243{"_name_or_path": "bert-base-uncased","architectures": ["BertForTokenClassification"],2 unmodified lines"gradient_checkpointing": false,"hidden_act": "gelu","hidden_dropout_prob": 0.1,"hidden_size": 768,"id2label": {"0": "O","1": "B-PER",6 unmodified lines"8": "I-MISC"},"initializer_range": 0.02,"intermediate_size": 3072,"label2id": {"B-LOC": 5,"B-MISC": 7,8 unmodified lines"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",123452 unmodified lines8910111213146 unmodified lines212223242526278 unmodified lines3637383940414243{"_name_or_path": "bert-large-uncased","architectures": ["BertForTokenClassification"],2 unmodified lines"gradient_checkpointing": false,"hidden_act": "gelu","hidden_dropout_prob": 0.1,"hidden_size": 1024,"id2label": {"0": "O","1": "B-PER",6 unmodified lines"8": "I-MISC"},"initializer_range": 0.02,"intermediate_size": 4096,"label2id": {"B-LOC": 5,"B-MISC": 7,8 unmodified lines"layer_norm_eps": 1e-12,"max_position_embeddings": 512,"model_type": "bert","num_attention_heads": 16,"num_hidden_layers": 24,"pad_token_id": 0,"position_embedding_type": "absolute","torch_dtype": "float32",
123version https://git-lfs.github.com/spec/v1oid sha256:93adbba002de4da818263e110638eae20bfcc998bc12c7f3874dcaddcd71594dsize 435617620123version https://git-lfs.github.com/spec/v1oid sha256:4f1aa56528ed4b4845a575d24806836ace270e86df537b76bb0e8677ae5724afsize 1336452868
README.md+8-8
config.json+5-5
model.safetensors+2-2