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 lines444546474849505152535424 unmodified lines798081828384858687888924 unmodified linesmetrics:- name: Precisiontype: precisionvalue: 0.9790805727433154- name: Recalltype: recallvalue: 0.9648238440626479- name: F1type: f1value: 0.9718999284886718- name: Accuracytype: accuracyvalue: 0.985535111315454---<!-- 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.0457- Precision: 0.9791- Recall: 0.9648- F1: 0.9719- Accuracy: 0.9855## Model description24 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|| 0.1213 | 0.58 | 500 | 0.0608 | 0.9658 | 0.9626 | 0.9642 | 0.9815 || 0.0562 | 1.17 | 1000 | 0.0513 | 0.9746 | 0.9638 | 0.9692 | 0.9841 || 0.0514 | 1.75 | 1500 | 0.0484 | 0.9778 | 0.9643 | 0.9710 | 0.9851 || 0.0468 | 2.33 | 2000 | 0.0471 | 0.9776 | 0.9653 | 0.9715 | 0.9853 || 0.0461 | 2.91 | 2500 | 0.0457 | 0.9791 | 0.9648 | 0.9719 | 0.9855 |### Framework versions24 unmodified lines252627282930313233343536373839403 unmodified lines444546474849505152535424 unmodified lines79808182838485868724 unmodified linesmetrics:- name: Precisiontype: precisionvalue: 0.9860607282009942- name: Recalltype: recallvalue: 0.9693364297742606- name: F1type: f1value: 0.9776270584382788- name: Accuracytype: accuracyvalue: 0.9882459717748076---<!-- 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.0372- Precision: 0.9861- Recall: 0.9693- F1: 0.9776- Accuracy: 0.9882## Model description24 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|| 0.0461 | 1.0 | 858 | 0.0450 | 0.9853 | 0.9602 | 0.9725 | 0.9859 || 0.0408 | 2.0 | 1716 | 0.0400 | 0.9836 | 0.9679 | 0.9757 | 0.9873 || 0.0391 | 3.0 | 2574 | 0.0372 | 0.9861 | 0.9693 | 0.9776 | 0.9882 |### Framework versions
README.md+12-14