Steven Liu commited on
Commit
4eef5f8
1 Parent(s): cecdede

Training in progress epoch 0

Browse files
Files changed (3) hide show
  1. README.md +17 -37
  2. config.json +0 -2
  3. tf_model.h5 +3 -0
README.md CHANGED
@@ -1,38 +1,23 @@
1
  ---
2
  license: apache-2.0
3
  tags:
4
- - generated_from_trainer
5
- datasets:
6
- - imdb
7
- metrics:
8
- - accuracy
9
  model-index:
10
- - name: my_awesome_model
11
- results:
12
- - task:
13
- name: Text Classification
14
- type: text-classification
15
- dataset:
16
- name: imdb
17
- type: imdb
18
- config: plain_text
19
- split: train
20
- args: plain_text
21
- metrics:
22
- - name: Accuracy
23
- type: accuracy
24
- value: 0.93148
25
  ---
26
 
27
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
28
- should probably proofread and complete it, then remove this comment. -->
29
 
30
- # my_awesome_model
31
 
32
- This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the imdb dataset.
33
  It achieves the following results on the evaluation set:
34
- - Loss: 0.3551
35
- - Accuracy: 0.9315
 
 
36
 
37
  ## Model description
38
 
@@ -51,24 +36,19 @@ More information needed
51
  ### Training hyperparameters
52
 
53
  The following hyperparameters were used during training:
54
- - learning_rate: 2e-05
55
- - train_batch_size: 8
56
- - eval_batch_size: 8
57
- - seed: 42
58
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
59
- - lr_scheduler_type: linear
60
- - num_epochs: 1
61
 
62
  ### Training results
63
 
64
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
65
- |:-------------:|:-----:|:----:|:---------------:|:--------:|
66
- | 0.0961 | 1.0 | 3125 | 0.3551 | 0.9315 |
67
 
68
 
69
  ### Framework versions
70
 
71
  - Transformers 4.22.2
72
- - Pytorch 1.12.1+cu113
73
  - Datasets 2.5.1
74
  - Tokenizers 0.12.1
 
1
  ---
2
  license: apache-2.0
3
  tags:
4
+ - generated_from_keras_callback
 
 
 
 
5
  model-index:
6
+ - name: stevhliu/my_awesome_model
7
+ results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  ---
9
 
10
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
11
+ probably proofread and complete it, then remove this comment. -->
12
 
13
+ # stevhliu/my_awesome_model
14
 
15
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
+ - Train Loss: 0.2518
18
+ - Validation Loss: 0.1859
19
+ - Train Accuracy: 0.9261
20
+ - Epoch: 0
21
 
22
  ## Model description
23
 
 
36
  ### Training hyperparameters
37
 
38
  The following hyperparameters were used during training:
39
+ - optimizer: {'name': 'Adam', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 7810, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}
40
+ - training_precision: float32
 
 
 
 
 
41
 
42
  ### Training results
43
 
44
+ | Train Loss | Validation Loss | Train Accuracy | Epoch |
45
+ |:----------:|:---------------:|:--------------:|:-----:|
46
+ | 0.2518 | 0.1859 | 0.9261 | 0 |
47
 
48
 
49
  ### Framework versions
50
 
51
  - Transformers 4.22.2
52
+ - TensorFlow 2.8.2
53
  - Datasets 2.5.1
54
  - Tokenizers 0.12.1
config.json CHANGED
@@ -14,12 +14,10 @@
14
  "n_heads": 12,
15
  "n_layers": 6,
16
  "pad_token_id": 0,
17
- "problem_type": "single_label_classification",
18
  "qa_dropout": 0.1,
19
  "seq_classif_dropout": 0.2,
20
  "sinusoidal_pos_embds": false,
21
  "tie_weights_": true,
22
- "torch_dtype": "float32",
23
  "transformers_version": "4.22.2",
24
  "vocab_size": 30522
25
  }
 
14
  "n_heads": 12,
15
  "n_layers": 6,
16
  "pad_token_id": 0,
 
17
  "qa_dropout": 0.1,
18
  "seq_classif_dropout": 0.2,
19
  "sinusoidal_pos_embds": false,
20
  "tie_weights_": true,
 
21
  "transformers_version": "4.22.2",
22
  "vocab_size": 30522
23
  }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b66247d63df41ea64a092f39caf99f1b4133bc0218b8f80dccb001967dddab9a
3
+ size 267951896