Run this model with HF Jobs

Run Danieljava/minilm-language-classifier 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/Danieljava/minilm-language-classifier. 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/Danieljava/minilm-language-classifier 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.
Danieljava's picture
End of training
2ab46f6 verified
|
Raw History Blame Contribute Delete
1.61 kB
metadata
library_name: transformers
license: mit
base_model: microsoft/MiniLM-L12-H384-uncased
tags:
  - generated_from_trainer
metrics:
  - f1
model-index:
  - name: minilm-language-classifier
    results: []

minilm-language-classifier

This model is a fine-tuned version of microsoft/MiniLM-L12-H384-uncased on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.4820
  • F1: 0.8756

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: 64
  • eval_batch_size: 64
  • 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: 2
  • mixed_precision_training: Native AMP

Training results

Training Loss Epoch Step Validation Loss F1
0.7743 1.0 250 0.5844 0.8507
0.5297 2.0 500 0.4820 0.8756

Framework versions

  • Transformers 5.0.0
  • Pytorch 2.9.0+cu128
  • Datasets 4.0.0
  • Tokenizers 0.22.2