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.9269461077844311- name: Recalltype: recallvalue: 0.9381818181818182- name: F1type: f1value: 0.9325301204819277- name: Accuracytype: accuracyvalue: 0.9986404599129894---<!-- 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.0067- Precision: 0.9269- Recall: 0.9382- F1: 0.9325- Accuracy: 0.9986## Model description24 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|| No log | 1.0 | 63 | 0.0500 | 0.8048 | 0.4097 | 0.5430 | 0.9883 || No log | 2.0 | 126 | 0.0305 | 0.8104 | 0.7564 | 0.7824 | 0.9936 || No log | 3.0 | 189 | 0.0136 | 0.8643 | 0.8412 | 0.8526 | 0.9965 || No log | 4.0 | 252 | 0.0089 | 0.8571 | 0.9164 | 0.8858 | 0.9976 || No log | 5.0 | 315 | 0.0067 | 0.9269 | 0.9382 | 0.9325 | 0.9986 |### Framework versions24 unmodified lines252627282930313233343536373839403 unmodified lines444546474849505152535424 unmodified lines798081828384858687888924 unmodified linesmetrics:- name: Precisiontype: precisionvalue: 0.9994683935820607- name: Recalltype: recallvalue: 0.999371798588963- name: F1type: f1value: 0.9994200937515101- name: Accuracytype: accuracyvalue: 0.9998144414067816---<!-- 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.0018- Precision: 0.9995- Recall: 0.9994- F1: 0.9994- Accuracy: 0.9998## Model description24 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|| 0.1459 | 1.0 | 533 | 0.0584 | 0.9602 | 0.9620 | 0.9611 | 0.9876 || 0.0546 | 2.0 | 1066 | 0.0237 | 0.9866 | 0.9866 | 0.9866 | 0.9957 || 0.025 | 3.0 | 1599 | 0.0080 | 0.9967 | 0.9945 | 0.9956 | 0.9985 || 0.0116 | 4.0 | 2132 | 0.0040 | 0.9980 | 0.9979 | 0.9980 | 0.9994 || 0.0058 | 5.0 | 2665 | 0.0018 | 0.9995 | 0.9994 | 0.9994 | 0.9998 |### Framework versions
README.md+14-14