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 files3 unmodified lines4567789106 unmodified lines1718192021202122232425262728282930313132333434353637373839401 unmodified line4243444545464748495051474849505152535424 unmodified lines798081828384858682838485868788893 unmodified linestags:- generated_from_trainerdatasets:- indian_names- nermetrics:- precision- recall6 unmodified lines name: Token Classification type: token-classification dataset: name: indian_names type: indian_names name: ner type: ner config: indian_names split: train args: indian_names metrics: - name: Precision type: precision value: 0.9939821779886587 value: 0.9269461077844311 - name: Recall type: recall value: 0.9958260869565217 value: 0.9381818181818182 - name: F1 type: f1 value: 0.9949032781188464 value: 0.9325301204819277 - name: Accuracy type: accuracy value: 0.999003984063745 value: 0.9986404599129894---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You1 unmodified line
# my_awesome_wnut_model
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the indian_names dataset.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.0050- Precision: 0.9940- Recall: 0.9958- F1: 0.9949- Accuracy: 0.9990- Loss: 0.0067- Precision: 0.9269- Recall: 0.9382- F1: 0.9325- Accuracy: 0.9986
## Model description
24 unmodified lines
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|| No log | 1.0 | 66 | 0.0440 | 0.9579 | 0.9650 | 0.9614 | 0.9906 || No log | 2.0 | 132 | 0.0191 | 0.9870 | 0.9821 | 0.9845 | 0.9959 || No log | 3.0 | 198 | 0.0098 | 0.9919 | 0.9899 | 0.9909 | 0.9980 || No log | 4.0 | 264 | 0.0061 | 0.9927 | 0.9935 | 0.9931 | 0.9987 || No log | 5.0 | 330 | 0.0050 | 0.9940 | 0.9958 | 0.9949 | 0.9990 || 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 versionsREADME.md+18-18