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 lines25262728282930313132333434353637373839403 unmodified lines4445464748495051474849505152535424 unmodified lines7980818283828384858624 unmodified lines metrics: - name: Precision type: precision value: 0.9986185030007927 value: 0.9805654698636115 - name: Recall type: recall value: 0.9989804934411745 value: 0.9645927116237604 - name: F1 type: f1 value: 0.998799465422339 value: 0.9725135102144988 - name: Accuracy type: accuracy value: 0.9994169549500524 value: 0.9858187365837784---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You3 unmodified lines
This 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.0020- Precision: 0.9986- Recall: 0.9990- F1: 0.9988- Accuracy: 0.9994- Loss: 0.0454- Precision: 0.9806- Recall: 0.9646- F1: 0.9725- Accuracy: 0.9858
## Model description
24 unmodified lines
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|| 0.0068 | 1.03 | 500 | 0.0054 | 0.9976 | 0.9944 | 0.9960 | 0.9980 || 0.0076 | 2.06 | 1000 | 0.0020 | 0.9986 | 0.9990 | 0.9988 | 0.9994 || 0.0831 | 1.17 | 500 | 0.0507 | 0.9756 | 0.9645 | 0.9700 | 0.9845 || 0.0473 | 2.33 | 1000 | 0.0454 | 0.9806 | 0.9646 | 0.9725 | 0.9858 |
### Framework versionsREADME.md+11-11