Token Classification
Transformers
PyTorch
TensorBoard
Safetensors
bert
Generated from Trainer
Eval Results (legacy)
Run this model with HF Jobs
Run Kriyans/Bert-NER 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/Kriyans/Bert-NER. 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/Kriyans/Bert-NER 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 Kriyans/Bert-NER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kriyans/Bert-NER with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Kriyans/Bert-NER")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Kriyans/Bert-NER") model = AutoModelForTokenClassification.from_pretrained("Kriyans/Bert-NER", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files24 unmodified lines252627282930313233343536373839403 unmodified lines444546474849505152535418 unmodified lines737475767778798081828384858687888924 unmodified linesmetrics:- name: Precisiontype: precisionvalue: 0.9835852784414629- name: Recalltype: recallvalue: 0.9699698679172614- name: F1type: f1value: 0.9767301265014201- name: Accuracytype: accuracyvalue: 0.9882015601687542---<!-- This model card has been generated automatically according to the information the Trainer had access to. You3 unmodified linesThis model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the ner dataset.It achieves the following results on the evaluation set:- Loss: 0.0334- Precision: 0.9836- Recall: 0.9700- F1: 0.9767- Accuracy: 0.9882## Model description18 unmodified lines- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 5### Training results| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|| No log | 1.0 | 486 | 0.0584 | 0.9738 | 0.9574 | 0.9655 | 0.9821 || 0.116 | 2.0 | 972 | 0.0459 | 0.9751 | 0.9646 | 0.9698 | 0.9849 || 0.0561 | 3.0 | 1458 | 0.0395 | 0.9803 | 0.9668 | 0.9735 | 0.9867 || 0.0446 | 4.0 | 1944 | 0.0353 | 0.9819 | 0.9686 | 0.9752 | 0.9875 || 0.0409 | 5.0 | 2430 | 0.0334 | 0.9836 | 0.9700 | 0.9767 | 0.9882 |### Framework versions24 unmodified lines252627282930313233343536373839403 unmodified lines444546474849505152535418 unmodified lines7374757677787980818283848586878889909192939424 unmodified linesmetrics:- name: Precisiontype: precisionvalue: 0.9952566491614433- name: Recalltype: recallvalue: 0.9982668388499966- name: F1type: f1value: 0.9967594713357425- name: Accuracytype: accuracyvalue: 0.9982867445455388---<!-- This model card has been generated automatically according to the information the Trainer had access to. You3 unmodified linesThis model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the ner dataset.It achieves the following results on the evaluation set:- Loss: 0.0041- Precision: 0.9953- Recall: 0.9983- F1: 0.9968- Accuracy: 0.9983## Model description18 unmodified lines- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 10### Training results| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|| No log | 1.0 | 486 | 0.0354 | 0.9822 | 0.9680 | 0.9750 | 0.9875 || 0.04 | 2.0 | 972 | 0.0328 | 0.9846 | 0.9700 | 0.9772 | 0.9886 || 0.0362 | 3.0 | 1458 | 0.0241 | 0.9957 | 0.9719 | 0.9837 | 0.9918 || 0.0302 | 4.0 | 1944 | 0.0163 | 0.9970 | 0.9787 | 0.9877 | 0.9937 || 0.0249 | 5.0 | 2430 | 0.0134 | 0.9914 | 0.9888 | 0.9901 | 0.9949 || 0.0188 | 6.0 | 2916 | 0.0092 | 0.9929 | 0.9934 | 0.9932 | 0.9965 || 0.0145 | 7.0 | 3402 | 0.0070 | 0.9934 | 0.9952 | 0.9943 | 0.9971 || 0.0115 | 8.0 | 3888 | 0.0060 | 0.9941 | 0.9966 | 0.9954 | 0.9976 || 0.009 | 9.0 | 4374 | 0.0048 | 0.9955 | 0.9973 | 0.9964 | 0.9981 || 0.0072 | 10.0 | 4860 | 0.0041 | 0.9953 | 0.9983 | 0.9968 | 0.9983 |### Framework versions
README.md+20-15