aydippy commited on
Commit
c1bb289
1 Parent(s): bc98de2
Files changed (3) hide show
  1. README.md +8 -11
  2. config.json +4 -4
  3. tf_model.h5 +2 -2
README.md CHANGED
@@ -15,11 +15,11 @@ probably proofread and complete it, then remove this comment. -->
15
 
16
  This model is a fine-tuned version of [distilbert-base-uncased-finetuned-sst-2-english](https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-english) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - Train Loss: 0.6930
19
- - Train Accuracy: 0.4992
20
- - Validation Loss: 0.6942
21
- - Validation Accuracy: 0.5634
22
- - Epoch: 4
23
 
24
  ## Model description
25
 
@@ -38,18 +38,15 @@ More information needed
38
  ### Training hyperparameters
39
 
40
  The following hyperparameters were used during training:
41
- - optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': True, 'is_legacy_optimizer': False, 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 5e-05, 'decay_steps': 400, 'end_learning_rate': 0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
42
  - training_precision: float32
43
 
44
  ### Training results
45
 
46
  | Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
47
  |:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
48
- | 0.7052 | 0.4661 | 0.6890 | 0.5634 | 0 |
49
- | 0.6937 | 0.5323 | 0.7109 | 0.4366 | 1 |
50
- | 0.6962 | 0.4976 | 0.6910 | 0.5634 | 2 |
51
- | 0.6941 | 0.4929 | 0.6920 | 0.5634 | 3 |
52
- | 0.6930 | 0.4992 | 0.6942 | 0.5634 | 4 |
53
 
54
 
55
  ### Framework versions
 
15
 
16
  This model is a fine-tuned version of [distilbert-base-uncased-finetuned-sst-2-english](https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-english) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Train Loss: 0.0530
19
+ - Train Accuracy: 0.9818
20
+ - Validation Loss: 0.3083
21
+ - Validation Accuracy: 0.8876
22
+ - Epoch: 1
23
 
24
  ## Model description
25
 
 
38
  ### Training hyperparameters
39
 
40
  The following hyperparameters were used during training:
41
+ - optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': True, 'is_legacy_optimizer': False, 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 5e-05, 'decay_steps': 16838, 'end_learning_rate': 0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
42
  - training_precision: float32
43
 
44
  ### Training results
45
 
46
  | Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
47
  |:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
48
+ | 0.1150 | 0.9609 | 0.3167 | 0.8888 | 0 |
49
+ | 0.0530 | 0.9818 | 0.3083 | 0.8876 | 1 |
 
 
 
50
 
51
 
52
  ### Framework versions
config.json CHANGED
@@ -10,13 +10,13 @@
10
  "finetuning_task": "sst-2",
11
  "hidden_dim": 3072,
12
  "id2label": {
13
- "0": "not_entailment",
14
- "1": "entailment"
15
  },
16
  "initializer_range": 0.02,
17
  "label2id": {
18
- "entailment": "1",
19
- "not_entailment": "0"
20
  },
21
  "max_position_embeddings": 512,
22
  "model_type": "distilbert",
 
10
  "finetuning_task": "sst-2",
11
  "hidden_dim": 3072,
12
  "id2label": {
13
+ "0": "NEGATIVE",
14
+ "1": "POSITIVE"
15
  },
16
  "initializer_range": 0.02,
17
  "label2id": {
18
+ "NEGATIVE": 0,
19
+ "POSITIVE": 1
20
  },
21
  "max_position_embeddings": 512,
22
  "model_type": "distilbert",
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b23875741c9694e4e7daea095671c6415e9a351b7ce87bf23de424eabf9a648d
3
- size 267951808
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f651b5961a1b91f59b5fde3325c19c84d85f13fa455c6ae84e4b857514e247c
3
+ size 267955144