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 filesFiles changed (2)
- README.md+38-3
- pytorch_model.bin+1-1
4 unmodified lines56789101112132 unmodified lines16171819202118 unmodified lines404142434445464748495051524 unmodified lines- generated_from_trainerdatasets:- nermodel-index:- name: Bert-NERresults: []---<!-- This model card has been generated automatically according to the information the Trainer had access to. You2 unmodified lines# Bert-NERThis model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the ner dataset.## Model description18 unmodified lines- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 1### Training results| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|| No log | 1.0 | 486 | 0.0032 | 0.9972 | 0.9978 | 0.9975 | 0.9987 |### Framework versions4 unmodified lines56789101112131415161718192021222324252627282930313233343536373839402 unmodified lines43444546474849505152535418 unmodified lines7374757677787980818283848586874 unmodified lines- generated_from_trainerdatasets:- nermetrics:- precision- recall- f1- accuracymodel-index:- name: Bert-NERresults:- task:name: Token Classificationtype: token-classificationdataset:name: nertype: nerconfig: indian_namessplit: trainargs: indian_namesmetrics:- name: Precisiontype: precisionvalue: 0.9987202862934734- name: Recalltype: recallvalue: 0.9989804934411745- name: F1type: f1value: 0.9988503729209022- name: Accuracytype: accuracyvalue: 0.9993990151023617---<!-- This model card has been generated automatically according to the information the Trainer had access to. You2 unmodified lines# Bert-NERThis 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.0019- Precision: 0.9987- Recall: 0.9990- F1: 0.9989- Accuracy: 0.9994## Model description18 unmodified lines- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 3### Training results| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|| No log | 1.0 | 486 | 0.0038 | 0.9961 | 0.9983 | 0.9972 | 0.9985 || 0.0034 | 2.0 | 972 | 0.0024 | 0.9980 | 0.9990 | 0.9985 | 0.9992 || 0.0041 | 3.0 | 1458 | 0.0019 | 0.9987 | 0.9990 | 0.9989 | 0.9994 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:6efc6258367bfe92154bd4675d0aaf8b9fef9f66c565fe61b52330b872c1dc62size 265526309123version https://git-lfs.github.com/spec/v1oid sha256:1b921de0a75daa094b25b35771a06d4bd085822947ab3f35ce256d44788b212esize 265526309
README.md+38-3
pytorch_model.bin+1-1