CoolFace
Modelpublic

mariamffatima/Pakistan-Legal-ChatBot

sourceHugging Faceapache-2.0updated 8mo agoView on Hugging Face
0likes1downloads
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. -->

Pakistan-Legal-ChatBot

This model is a fine-tuned version of google/flan-t5-base on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: nan
  • —Rouge1: 0.2365
  • —Rouge2: 0.0907
  • —Rougel: 0.1905
  • —Rougelsum: 0.1906

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: 0.0005
  • —trainbatchsize: 8
  • —evalbatchsize: 8
  • —seed: 42
  • —optimizer: Use OptimizerNames.ADAMWTORCHFUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • —lrschedulertype: linear
  • —num_epochs: 5
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossRouge1Rouge2RougelRougelsum
No log1.0245nan0.23650.09070.19050.1906
No log2.0490nan0.23650.09070.19050.1906
0.03.0735nan0.23650.09070.19050.1906
0.04.0980nan0.23650.09070.19050.1906
0.05.01225nan0.23650.09070.19050.1906

Framework versions

  • —PEFT 0.18.0
  • —Transformers 4.57.3
  • —Pytorch 2.9.0+cu126
  • —Datasets 4.0.0
  • —Tokenizers 0.22.2