philschmid's picture
philschmid HF staff
Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (#2)
cfbf5d5
metadata
license: apache-2.0
tags:
  - generated_from_trainer
datasets:
  - emotion
metrics:
  - accuracy
model-index:
  - name: sagemaker-distilbert-emotion
    results:
      - task:
          type: text-classification
          name: Text Classification
        dataset:
          name: emotion
          type: emotion
          args: default
        metrics:
          - type: accuracy
            value: 0.9185
            name: Accuracy
      - task:
          type: text-classification
          name: Text Classification
        dataset:
          name: emotion
          type: emotion
          config: default
          split: test
        metrics:
          - type: accuracy
            value: 0.9185
            name: Accuracy
            verified: true
            verifyToken: >-
              eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiZGQzNGQ2NDM0MDUyMGM2ODQ4OTJiOTkyMGY1MmM3YWVkNjUxNWY0ZTdhODIzZjAyMTgxYzRlOGFmMTFkZWE0OSIsInZlcnNpb24iOjF9.JDpVqPUDud_xhiZ1HIqixmrckHQj3vWWgd_sHFlQRZst_HncPkNeSlqTzjQfMSVr8T33XJSlZmuyqIcUHCX4Aw
          - type: precision
            value: 0.8869690559183302
            name: Precision Macro
            verified: true
            verifyToken: >-
              eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMzMxZjA3MTRhZmQwNTIxYTY4NTcyOWJhZGUxNTA3OWM4NjEyNzEwZTI3NmU5OWM1N2E2NzkxNzI2N2YxYjI2YyIsInZlcnNpb24iOjF9.ugrxolv5gjUI5rib1S_9S_9y2kCfzA7v0eWOouXY23nYMFW5Ph7izzJyk9j8Q0CZ5aCM3KO8F1WQgT4xbdLMBQ
          - type: precision
            value: 0.9185
            name: Precision Micro
            verified: true
            verifyToken: >-
              eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiYTNiZmYxNTU0ZmVhMTIxNDUxYTIwYmFmMWRiMTViZThhMDc2NmMwZmRjY2VlNDlkMTZlMGZhMTU3YzVkNTgyYSIsInZlcnNpb24iOjF9.cajiwdbiWBwuZ1IMh092E8UWG6cll4bHMf_XK18p3-OV3Lt0MVnxF1pEJBjL8NAWhjpSe8EtKyXXCUCm7taqCg
          - type: precision
            value: 0.9177420617963024
            name: Precision Weighted
            verified: true
            verifyToken: >-
              eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNzgwYzgyY2Y2OTE3M2U1YTZjMGZkYjM4Y2ZiMjdkM2Q3YzM5MjRlYWFkM2ZjNzgzMGQ3OGM3ZTg4ZjJlYTgyOCIsInZlcnNpb24iOjF9.NhQvQwuGf7R5pzvmInhtdp5AUojf-svZYzo4lfOEF6Uv0w9d6Pl1qm0kOX_GWl5a6eqNYp0iSbj7sStHDNKyAQ
          - type: recall
            value: 0.8696773617395324
            name: Recall Macro
            verified: true
            verifyToken: >-
              eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiODgwMTBiMzlmNWRlOTVjYzM4ZDBkYjA1Njk5MzY2MTQzOGI3Yjc2NGNmOWYxZTdmOThkYTVjZGEwYWMxOGUyMCIsInZlcnNpb24iOjF9.SdDWnPxYoCa-xb_H4wiRekw0hjSJJnb8yh0GKIZSHEQgvzjf8gs_YFAC0hP1xUyOjvf7j-_fJWd6I6b2PYPgAA
          - type: recall
            value: 0.9185
            name: Recall Micro
            verified: true
            verifyToken: >-
              eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNTMyOTUxMjQ4NWNhNjgyYjA1MzhmMjVhYzk5MGYyYTAxODUyYmU0NDg5YzhjNTBhMGQ2Y2ZmMzQwNGU5YTQ3NyIsInZlcnNpb24iOjF9.33rHXO10ZvGVLQn7sWDzYawXKy-r-iLnp0Y7Pne4HGZHE118jW19VvEHiYfMPbRDB0ibyd9d7f43sIYlxxFXCw
          - type: recall
            value: 0.9185
            name: Recall Weighted
            verified: true
            verifyToken: >-
              eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNjBhNWVjZDIwNzA5ZDE5MjRiNGM3MmJmNWM3NTA5Njk1ODcxOWFiZjNjZmRiNjYwNjQ1YmQyM2ViZDUxNmIyZiIsInZlcnNpb24iOjF9.EjnIdbANpRpQm5maOCvX5rRmqKGl3qZmBYnJeV-1mMER6a_TElSVWsK9QN13F3uW1iRqafkCWxUWC0brhqPVBw
          - type: f1
            value: 0.8772854847626651
            name: F1 Macro
            verified: true
            verifyToken: >-
              eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMjBlODY0Yzk5ZDQ0YWQ2NjIxMjI1MzhmNzhjYWZhMjNiZGY4ZTFlZmViMWUzMjEzMTIwMTMzYjFiM2I3NjE4OCIsInZlcnNpb24iOjF9.JQLYalB4A3K9iA7cJI_qZQShq35qWKS_G4CvvKALbUUrvsLzPJxyOcSnlrq-oC9DPXuMEl6UimXUq-L5MeyVDg
          - type: f1
            value: 0.9185
            name: F1 Micro
            verified: true
            verifyToken: >-
              eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiYjMxNThiNDI5NjI3OWZjNzAwNzhjZDUxZDZhYTEzYmE5MjFiNzc3YjU3NmYyMjkwMDFhYWJiMTExNDllMjc0NiIsInZlcnNpb24iOjF9.Rbx4S8uFK6p2x0ejRvzKIv9GCh6EXA0J4xNT8CMAJibQKwpLXO89S3RIXRdra0JDtZV_2QPuLWysLVZsqYv2Cw
          - type: f1
            value: 0.9175578471721796
            name: F1 Weighted
            verified: true
            verifyToken: >-
              eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiZmI3N2ZhOTgxYjI4ZGVhNjNkZDI1ODIzOWE2ZTk0YzJiOGQ0NWE3MjE1MTQ3YTAzZjdkMjc5MzE0MjQ2YzUwMiIsInZlcnNpb24iOjF9.Uaz_KVUaTYphb3FpaaCxz7FjZ6EtYs6-46boChr1bdtoCEUli1nLiSJemqutsIl-YzbeAiVv8VUOkfuFNjI6Cg
          - type: loss
            value: 0.24682247638702393
            name: loss
            verified: true
            verifyToken: >-
              eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNTkwYzIyZDMxNWY5YzE4ZmQ3NjUxYzk1ODA2Zjg0YjY0OTZiNzAwYzAyNGE0YmUzYWVjODUwNjU1OWI2NDhhMCIsInZlcnNpb24iOjF9.hJN2jySrFMxpT2OPVUJxbLDVl4jfGhSmUnxGOzZRPahKAgvBngcTi6d-BY0Jyndo-ojPUCsHE8zcagfnTYB5Ag

sagemaker-distilbert-emotion

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

  • Loss: 0.2468
  • Accuracy: 0.9185

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: 3e-05
  • train_batch_size: 32
  • eval_batch_size: 64
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_steps: 500
  • num_epochs: 1
  • mixed_precision_training: Native AMP

Training results

Training Loss Epoch Step Validation Loss Accuracy
0.9175 1.0 500 0.2468 0.9185

Framework versions

  • Transformers 4.12.3
  • Pytorch 1.9.1
  • Datasets 1.15.1
  • Tokenizers 0.10.3