dadashzadeh commited on
Commit
92784dd
·
1 Parent(s): 6125685

End of training

Browse files
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  license: apache-2.0
3
- base_model: bert-base-cased
4
  tags:
5
  - generated_from_trainer
6
  metrics:
@@ -15,10 +15,10 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # bert-base-Classification-news-or-informational-nft
17
 
18
- This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the None dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.0004
21
- - Accuracy: 0.9999
22
 
23
  ## Model description
24
 
@@ -37,7 +37,7 @@ More information needed
37
  ### Training hyperparameters
38
 
39
  The following hyperparameters were used during training:
40
- - learning_rate: 3e-05
41
  - train_batch_size: 8
42
  - eval_batch_size: 8
43
  - seed: 42
@@ -49,9 +49,9 @@ The following hyperparameters were used during training:
49
 
50
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
- | 0.0756 | 1.0 | 999 | 0.0204 | 0.9945 |
53
- | 0.0174 | 2.0 | 1998 | 0.0041 | 0.9989 |
54
- | 0.005 | 3.0 | 2997 | 0.0004 | 0.9999 |
55
 
56
 
57
  ### Framework versions
 
1
  ---
2
  license: apache-2.0
3
+ base_model: jinaai/jina-embeddings-v2-base-en
4
  tags:
5
  - generated_from_trainer
6
  metrics:
 
15
 
16
  # bert-base-Classification-news-or-informational-nft
17
 
18
+ This model is a fine-tuned version of [jinaai/jina-embeddings-v2-base-en](https://huggingface.co/jinaai/jina-embeddings-v2-base-en) on the None dataset.
19
  It achieves the following results on the evaluation set:
20
+ - Loss: 0.1132
21
+ - Accuracy: 0.9798
22
 
23
  ## Model description
24
 
 
37
  ### Training hyperparameters
38
 
39
  The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
  - train_batch_size: 8
42
  - eval_batch_size: 8
43
  - seed: 42
 
49
 
50
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | 0.4497 | 1.0 | 999 | 0.4424 | 0.9255 |
53
+ | 0.342 | 2.0 | 1998 | 0.1567 | 0.9696 |
54
+ | 0.1728 | 3.0 | 2997 | 0.1132 | 0.9798 |
55
 
56
 
57
  ### Framework versions
config.json CHANGED
@@ -1,10 +1,18 @@
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,
@@ -20,16 +28,17 @@
20
  "news": 0
21
  },
22
  "layer_norm_eps": 1e-12,
23
- "max_position_embeddings": 512,
 
24
  "model_type": "bert",
25
  "num_attention_heads": 12,
26
  "num_hidden_layers": 12,
27
  "pad_token_id": 0,
28
- "position_embedding_type": "absolute",
29
  "problem_type": "single_label_classification",
30
  "torch_dtype": "float32",
31
  "transformers_version": "4.35.2",
32
  "type_vocab_size": 2,
33
  "use_cache": true,
34
- "vocab_size": 28996
35
  }
 
1
  {
2
+ "_name_or_path": "jinaai/jina-embeddings-v2-base-en",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "auto_map": {
8
+ "AutoConfig": "jinaai/jina-bert-implementation--configuration_bert.JinaBertConfig",
9
+ "AutoModel": "jinaai/jina-bert-implementation--modeling_bert.JinaBertModel",
10
+ "AutoModelForMaskedLM": "jinaai/jina-bert-implementation--modeling_bert.JinaBertForMaskedLM",
11
+ "AutoModelForSequenceClassification": "jinaai/jina-bert-implementation--modeling_bert.JinaBertForSequenceClassification"
12
+ },
13
  "classifier_dropout": null,
14
+ "emb_pooler": "mean",
15
+ "feed_forward_type": "geglu",
16
  "gradient_checkpointing": false,
17
  "hidden_act": "gelu",
18
  "hidden_dropout_prob": 0.1,
 
28
  "news": 0
29
  },
30
  "layer_norm_eps": 1e-12,
31
+ "max_position_embeddings": 8192,
32
+ "model_max_length": 8192,
33
  "model_type": "bert",
34
  "num_attention_heads": 12,
35
  "num_hidden_layers": 12,
36
  "pad_token_id": 0,
37
+ "position_embedding_type": "alibi",
38
  "problem_type": "single_label_classification",
39
  "torch_dtype": "float32",
40
  "transformers_version": "4.35.2",
41
  "type_vocab_size": 2,
42
  "use_cache": true,
43
+ "vocab_size": 30528
44
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c174996ac6fb160bd36bd5062cacdb0723dce859088d2519d694ed91d1b56a71
3
- size 433270768
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:185b47db94bcf62019c65816fc035dc3f2144aa99328eeb2a347944c7a722316
3
+ size 461570056
runs/Dec15_09-16-27_40f3a3b152a2/events.out.tfevents.1702631795.40f3a3b152a2.566.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b115bb1f20dd6e835fb9e204ff9c884e36c0bc032c1d8cb5c3f2e8c794553da0
3
+ size 7079
runs/Dec15_09-16-27_40f3a3b152a2/events.out.tfevents.1702632111.40f3a3b152a2.566.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:533ab3058c5a9d4b839c026d48385ab34b379849d03eb3e6dba216134c01e432
3
+ size 411
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -43,9 +43,11 @@
43
  },
44
  "clean_up_tokenization_spaces": true,
45
  "cls_token": "[CLS]",
46
- "do_lower_case": false,
 
47
  "mask_token": "[MASK]",
48
- "model_max_length": 512,
 
49
  "pad_token": "[PAD]",
50
  "sep_token": "[SEP]",
51
  "strip_accents": null,
 
43
  },
44
  "clean_up_tokenization_spaces": true,
45
  "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
  "mask_token": "[MASK]",
49
+ "model_max_length": 2147483648,
50
+ "never_split": null,
51
  "pad_token": "[PAD]",
52
  "sep_token": "[SEP]",
53
  "strip_accents": null,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9448e3e1886006d64bd927ba49dd507a2e4d491ea9002b46daf530fe45cd3543
3
  size 4664
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb6784340da4dac933880e889909342d6899de221b3c7952cf754df7d813c3d0
3
  size 4664
vocab.txt CHANGED
The diff for this file is too large to render. See raw diff