CoolFace
Modelpublic

lapa-llm/fineweb-mixtral-edu-score

sourceHugging Facemitupdated 11mo agoView on Hugging Face
0likes23downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

fineweb-mixtral-edu-score

This model is a fine-tuned version of intfloat/multilingual-e5-base on an transferred from English dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.0636
  • —Precision: 0.9335
  • —Recall: 0.9445
  • —F1 Macro: 0.9386
  • —Accuracy: 0.9446

Model description

This model measure educational value of the given text for humans, as labelled by Mixtral model.

Intended uses & limitations

Data filtering and evaluation of pretraining data at scale.

Training and evaluation data

Take a look at https://github.com/lapa-llm/lapa-llm/blob/main/pretraining/quality-classifiers/fineweb_hf.py

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 3e-05
  • —trainbatchsize: 32
  • —evalbatchsize: 128
  • —seed: 0
  • —distributed_type: multi-GPU
  • —num_devices: 8
  • —totaltrainbatch_size: 256
  • —totalevalbatch_size: 1024
  • —optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —num_epochs: 4

Training results

Training LossEpochStepValidation LossPrecisionRecallF1 MacroAccuracy
No log000.23410.45960.49130.42280.6411
0.07580.79682000.07200.91930.91900.91910.9280
0.06821.59364000.06640.92960.93520.93230.9393
0.06572.39046000.06440.93230.94370.93750.9436
0.06483.18738000.06420.62040.63030.62480.9431
0.0643.984110000.06360.93350.94450.93860.9446

Framework versions

  • —Transformers 4.56.1
  • —Pytorch 2.6.0a0+ecf3bae40a.nv25.01
  • —Datasets 4.0.0
  • —Tokenizers 0.22.0