CoolFace
Modelpublic

lapa-llm/fasttext-quality-score

sourceHugging Facemitupdated 10mo agoView on Hugging Face
0likes17downloads
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. -->

fasttext-quality-score

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

  • Loss: 0.1726
  • Precision: 0.7268
  • Recall: 0.6680
  • F1 Macro: 0.6791
  • Accuracy: 0.7465

Model description

This model measure the coherence of the given text, as defined by similarity to ELI5 texts from Reddit.

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/fasttext_classifier.py

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 8e-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: cosine
  • lrschedulerwarmup_steps: 200
  • num_epochs: 20

Training results

Training LossEpochStepValidation LossPrecisionRecallF1 MacroAccuracy
No log000.27740.33310.50.39980.6662
0.18630.78953000.18460.70070.64930.65800.7295
0.18041.57896000.18830.68080.68170.68120.7157
0.18042.36849000.17850.71750.64900.65810.7364
0.17813.157912000.17740.72010.65970.67000.7410
0.17653.947415000.17950.69900.68160.68780.7336
0.1744.736818000.17680.72140.65310.66280.7393
0.17775.526321000.18380.69430.69200.69310.7286
0.17586.315824000.19500.77310.60210.59180.7266
0.17497.105327000.17530.71470.67290.68300.7423
0.17337.894730000.17480.73040.65250.66210.7422
0.16968.684233000.17580.71250.67670.68630.7420
0.17239.473736000.17430.72430.66270.67340.7437
0.170510.263239000.17400.72610.66010.67060.7435
0.168211.052642000.17560.73160.64810.65690.7408
0.17111.842145000.17340.72420.66470.67560.7444
0.169912.631648000.17480.73510.64730.65600.7416
0.169613.421151000.17310.72350.67230.68330.7464
0.170514.210554000.17380.73220.65570.66590.7441
0.169715.057000.17290.72050.66810.67880.7438
0.168615.789560000.17260.72270.67100.68190.7457
0.166316.578963000.17260.72290.67070.68160.7457
0.168417.368466000.17270.72130.67090.68170.7450
0.166718.157969000.17260.72240.67040.68130.7454
0.168718.947472000.17260.72880.66560.67670.7465
0.167519.736875000.17260.72680.66800.67910.7465

Framework versions

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