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 lines444546474849505152535412 unmodified lines676869707172735 unmodified lines798081828384858687888924 unmodified linesmetrics:- name: Precisiontype: precisionvalue: 0.9814334577809573- name: Recalltype: recallvalue: 0.9663647269885645- name: F1type: f1value: 0.9738408043522868- name: Accuracytype: accuracyvalue: 0.9864516687615129---<!-- 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.0429- Precision: 0.9814- Recall: 0.9664- F1: 0.9738- Accuracy: 0.9865## Model description12 unmodified lines### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 4e-05- train_batch_size: 16- eval_batch_size: 16- seed: 425 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|| 0.0981 | 0.58 | 500 | 0.0546 | 0.9699 | 0.9642 | 0.9670 | 0.9829 || 0.0528 | 1.17 | 1000 | 0.0487 | 0.9763 | 0.9649 | 0.9706 | 0.9848 || 0.0485 | 1.75 | 1500 | 0.0462 | 0.9796 | 0.9643 | 0.9719 | 0.9855 || 0.0439 | 2.33 | 2000 | 0.0447 | 0.9795 | 0.9662 | 0.9728 | 0.9859 || 0.0426 | 2.91 | 2500 | 0.0429 | 0.9814 | 0.9664 | 0.9738 | 0.9865 |### Framework versions24 unmodified lines252627282930313233343536373839403 unmodified lines444546474849505152535412 unmodified lines676869707172735 unmodified lines798081828384858687888924 unmodified linesmetrics:- name: Precisiontype: precisionvalue: 0.9896954662296407- name: Recalltype: recallvalue: 0.9704150478224023- name: F1type: f1value: 0.9799604321344418- name: Accuracytype: accuracyvalue: 0.9894401834309103---<!-- 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.0320- Precision: 0.9897- Recall: 0.9704- F1: 0.9800- Accuracy: 0.9894## Model description12 unmodified lines### Training hyperparametersThe following hyperparameters were used during training:- learning_rate: 0.0001- train_batch_size: 16- eval_batch_size: 16- seed: 425 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|| 0.0503 | 0.58 | 500 | 0.0506 | 0.9744 | 0.9656 | 0.9700 | 0.9846 || 0.0461 | 1.17 | 1000 | 0.0450 | 0.9781 | 0.9657 | 0.9719 | 0.9856 || 0.0428 | 1.75 | 1500 | 0.0424 | 0.9804 | 0.9677 | 0.9740 | 0.9864 || 0.0379 | 2.33 | 2000 | 0.0375 | 0.9839 | 0.9704 | 0.9771 | 0.9880 || 0.0352 | 2.91 | 2500 | 0.0320 | 0.9897 | 0.9704 | 0.9800 | 0.9894 |### Framework versions
README.md+15-15