Team Ai
Modelpublic

vishnun/knowledge-graph-nlp

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
22likes495downloads
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. -->

knowledge-graph-nlp

This model is a fine-tuned version of distilbert-base-uncased on the vishnun/NLP-KnowledgeGraph dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.1830
  • —Precision: 0.8988
  • —Recall: 0.8715
  • —F1: 0.8849
  • —Accuracy: 0.9453

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
  • —trainbatchsize: 16
  • —evalbatchsize: 16
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 4

Training results

Training LossEpochStepValidation LossPrecisionRecallF1Accuracy
0.29081.023160.24610.84550.80230.82340.9167
0.19732.046320.20000.87450.84460.85930.9341
0.15933.069480.18630.89730.86320.87990.9427
0.13364.092640.18300.89880.87150.88490.9453

Framework versions

  • —Transformers 4.37.2
  • —Pytorch 2.1.0+cu121
  • —Datasets 2.17.1
  • —Tokenizers 0.15.2