Run this model with HF Jobs

Run AhRoleo/distilbert-ner-query 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/AhRoleo/distilbert-ner-query. 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/AhRoleo/distilbert-ner-query 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.
AhRoleo's picture
Model save
965d5cb verified
|
Raw History Blame Contribute Delete
3 kB
metadata
library_name: transformers
license: apache-2.0
base_model: distilbert/distilbert-base-cased
tags:
  - generated_from_trainer
model-index:
  - name: distilbert-ner-query
    results: []

distilbert-ner-query

This model is a fine-tuned version of distilbert/distilbert-base-cased on the None dataset. It achieves the following results on the evaluation set:

  • Loss: 0.0852
  • Token Accuracy: 0.9823
  • Token Macro F1: 0.9301
  • Entity Precision: 0.8311
  • Entity Recall: 0.8578
  • Entity F1: 0.8442

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: 32
  • eval_batch_size: 32
  • seed: 42
  • optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • lr_scheduler_type: linear
  • num_epochs: 10.0

Training results

Training Loss Epoch Step Validation Loss Token Accuracy Token Macro F1 Entity Precision Entity Recall Entity F1
0.1458 1.0 74 0.0971 0.9647 0.8511 0.6211 0.7294 0.6709
0.0537 2.0 148 0.0793 0.9766 0.9038 0.8143 0.7844 0.7991
0.0364 3.0 222 0.0651 0.9795 0.9188 0.8108 0.8257 0.8182
0.0255 4.0 296 0.0814 0.9795 0.9173 0.8227 0.8303 0.8265
0.0115 5.0 370 0.0793 0.9812 0.9260 0.8296 0.8486 0.8390
0.0098 6.0 444 0.0761 0.9810 0.9255 0.8114 0.8486 0.8296
0.0043 7.0 518 0.0786 0.9817 0.9289 0.8158 0.8532 0.8341
0.0054 8.0 592 0.0790 0.9823 0.9308 0.8166 0.8578 0.8367
0.0036 9.0 666 0.0852 0.9823 0.9301 0.8311 0.8578 0.8442
0.0051 10.0 740 0.0856 0.9823 0.9301 0.8311 0.8578 0.8442

Framework versions

  • Transformers 4.56.0
  • Pytorch 2.14.1+cu130
  • Datasets 5.0.1
  • Tokenizers 0.22.2