Instructions to use nikhilgawai007/token_classification_NER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nikhilgawai007/token_classification_NER with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="nikhilgawai007/token_classification_NER")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("nikhilgawai007/token_classification_NER") model = AutoModelForTokenClassification.from_pretrained("nikhilgawai007/token_classification_NER", device_map="auto") - Notebooks
- Google Colab
- Kaggle
token_classification_NER
This model is a fine-tuned version of nikhilgawai007/distilbert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.2968
- Precision: 0.5559
- Recall: 0.3781
- F1: 0.4501
- Accuracy: 0.9466
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 213 | 0.2857 | 0.5815 | 0.2743 | 0.3728 | 0.9399 |
| No log | 2.0 | 426 | 0.2645 | 0.5529 | 0.3244 | 0.4089 | 0.9435 |
| 0.1939 | 3.0 | 639 | 0.2857 | 0.5546 | 0.3438 | 0.4245 | 0.9454 |
| 0.1939 | 4.0 | 852 | 0.2933 | 0.5657 | 0.3670 | 0.4452 | 0.9463 |
| 0.0545 | 5.0 | 1065 | 0.2968 | 0.5559 | 0.3781 | 0.4501 | 0.9466 |
Framework versions
- Transformers 4.53.3
- Pytorch 2.11.0+cu128
- Datasets 4.0.0
- Tokenizers 0.21.4
- Downloads last month
- 27
Model tree for nikhilgawai007/token_classification_NER
Base model
nikhilgawai007/distilbert-base-uncased