xb0129 commited on
Commit
982ff64
·
1 Parent(s): e7bb861

Training in progress epoch 0

Browse files
Files changed (6) hide show
  1. README.md +6 -10
  2. config.json +15 -17
  3. tf_model.h5 +2 -2
  4. tokenizer.json +0 -0
  5. tokenizer_config.json +2 -2
  6. vocab.txt +0 -0
README.md CHANGED
@@ -12,12 +12,12 @@ probably proofread and complete it, then remove this comment. -->
12
 
13
  # xb0129/my_awesome_model
14
 
15
- This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
- - Train Loss: 0.0714
18
- - Validation Loss: 1.4912
19
- - Train Accuracy: 0.5761
20
- - Epoch: 4
21
 
22
  ## Model description
23
 
@@ -43,11 +43,7 @@ The following hyperparameters were used during training:
43
 
44
  | Train Loss | Validation Loss | Train Accuracy | Epoch |
45
  |:----------:|:---------------:|:--------------:|:-----:|
46
- | 1.2501 | 1.6023 | 0.4712 | 0 |
47
- | 0.3192 | 1.5776 | 0.5062 | 1 |
48
- | 0.1608 | 1.4756 | 0.5864 | 2 |
49
- | 0.0960 | 1.5070 | 0.5370 | 3 |
50
- | 0.0714 | 1.4912 | 0.5761 | 4 |
51
 
52
 
53
  ### Framework versions
 
12
 
13
  # xb0129/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: 1.0772
18
+ - Validation Loss: 1.3395
19
+ - Train Accuracy: 0.5802
20
+ - Epoch: 0
21
 
22
  ## Model description
23
 
 
43
 
44
  | Train Loss | Validation Loss | Train Accuracy | Epoch |
45
  |:----------:|:---------------:|:--------------:|:-----:|
46
+ | 1.0772 | 1.3395 | 0.5802 | 0 |
 
 
 
 
47
 
48
 
49
  ### Framework versions
config.json CHANGED
@@ -1,14 +1,13 @@
1
  {
2
- "_name_or_path": "bert-base-cased",
 
3
  "architectures": [
4
- "BertForSequenceClassification"
5
  ],
6
- "attention_probs_dropout_prob": 0.1,
7
- "classifier_dropout": null,
8
- "gradient_checkpointing": false,
9
- "hidden_act": "gelu",
10
- "hidden_dropout_prob": 0.1,
11
- "hidden_size": 768,
12
  "id2label": {
13
  "0": "uncategorized",
14
  "1": "Housing",
@@ -23,7 +22,6 @@
23
  "10": "Credit/Loan"
24
  },
25
  "initializer_range": 0.02,
26
- "intermediate_size": 3072,
27
  "label2id": {
28
  "Bank transfer": 9,
29
  "Clothing": 6,
@@ -37,15 +35,15 @@
37
  "Utilities": 4,
38
  "uncategorized": 0
39
  },
40
- "layer_norm_eps": 1e-12,
41
  "max_position_embeddings": 512,
42
- "model_type": "bert",
43
- "num_attention_heads": 12,
44
- "num_hidden_layers": 12,
45
  "pad_token_id": 0,
46
- "position_embedding_type": "absolute",
 
 
 
47
  "transformers_version": "4.27.4",
48
- "type_vocab_size": 2,
49
- "use_cache": true,
50
- "vocab_size": 28996
51
  }
 
1
  {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
  "architectures": [
5
+ "DistilBertForSequenceClassification"
6
  ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
 
 
11
  "id2label": {
12
  "0": "uncategorized",
13
  "1": "Housing",
 
22
  "10": "Credit/Loan"
23
  },
24
  "initializer_range": 0.02,
 
25
  "label2id": {
26
  "Bank transfer": 9,
27
  "Clothing": 6,
 
35
  "Utilities": 4,
36
  "uncategorized": 0
37
  },
 
38
  "max_position_embeddings": 512,
39
+ "model_type": "distilbert",
40
+ "n_heads": 12,
41
+ "n_layers": 6,
42
  "pad_token_id": 0,
43
+ "qa_dropout": 0.1,
44
+ "seq_classif_dropout": 0.2,
45
+ "sinusoidal_pos_embds": false,
46
+ "tie_weights_": true,
47
  "transformers_version": "4.27.4",
48
+ "vocab_size": 30522
 
 
49
  }
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5426f6ea603a07fe0ff863bf87376f58bb11c6fc6482fdc7450a4aa6cb3fb96e
3
- size 433562940
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c23a7df88ca3f7f0d2251b1c8af5efa05a1f03f4f71e7d6a6c02513cc6957fc
3
+ size 267979456
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "cls_token": "[CLS]",
3
- "do_lower_case": false,
4
  "mask_token": "[MASK]",
5
  "model_max_length": 512,
6
  "pad_token": "[PAD]",
@@ -8,6 +8,6 @@
8
  "special_tokens_map_file": null,
9
  "strip_accents": null,
10
  "tokenize_chinese_chars": true,
11
- "tokenizer_class": "BertTokenizer",
12
  "unk_token": "[UNK]"
13
  }
 
1
  {
2
  "cls_token": "[CLS]",
3
+ "do_lower_case": true,
4
  "mask_token": "[MASK]",
5
  "model_max_length": 512,
6
  "pad_token": "[PAD]",
 
8
  "special_tokens_map_file": null,
9
  "strip_accents": null,
10
  "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "DistilBertTokenizer",
12
  "unk_token": "[UNK]"
13
  }
vocab.txt CHANGED
The diff for this file is too large to render. See raw diff