vgarg/context_flag_model_v3
Browse files- README.md +59 -0
- config.json +27 -0
- model.safetensors +3 -0
- runs/May27_12-09-36_d41b09c529c5/events.out.tfevents.1716811776.d41b09c529c5.9226.0 +3 -0
- runs/May27_12-14-52_d41b09c529c5/events.out.tfevents.1716812093.d41b09c529c5.9226.1 +3 -0
- runs/May27_12-15-52_d41b09c529c5/events.out.tfevents.1716812153.d41b09c529c5.9226.2 +3 -0
- runs/May27_12-18-07_d41b09c529c5/events.out.tfevents.1716812288.d41b09c529c5.9226.3 +3 -0
- runs/May27_12-20-25_d41b09c529c5/events.out.tfevents.1716812425.d41b09c529c5.9226.4 +3 -0
- runs/May27_12-21-51_d41b09c529c5/events.out.tfevents.1716812511.d41b09c529c5.9226.5 +3 -0
- runs/May27_12-21-51_d41b09c529c5/events.out.tfevents.1716812544.d41b09c529c5.9226.6 +3 -0
- runs/May27_12-25-05_d41b09c529c5/events.out.tfevents.1716812706.d41b09c529c5.9226.7 +3 -0
- runs/May27_12-25-05_d41b09c529c5/events.out.tfevents.1716812713.d41b09c529c5.9226.8 +3 -0
- runs/May27_12-25-40_d41b09c529c5/events.out.tfevents.1716812740.d41b09c529c5.9226.9 +3 -0
- runs/May27_12-25-40_d41b09c529c5/events.out.tfevents.1716812746.d41b09c529c5.9226.10 +3 -0
- runs/May27_12-26-17_d41b09c529c5/events.out.tfevents.1716812778.d41b09c529c5.9226.11 +3 -0
- runs/May27_12-26-17_d41b09c529c5/events.out.tfevents.1716812779.d41b09c529c5.9226.12 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: bert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: results
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# results
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.6240
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 2e-05
|
38 |
+
- train_batch_size: 512
|
39 |
+
- eval_batch_size: 16
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- num_epochs: 3
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
48 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
49 |
+
| No log | 1.0 | 1 | 0.6822 |
|
50 |
+
| No log | 2.0 | 2 | 0.6416 |
|
51 |
+
| No log | 3.0 | 3 | 0.6240 |
|
52 |
+
|
53 |
+
|
54 |
+
### Framework versions
|
55 |
+
|
56 |
+
- Transformers 4.41.0
|
57 |
+
- Pytorch 2.3.0+cu121
|
58 |
+
- Datasets 2.19.1
|
59 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-uncased",
|
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 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "bert",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"position_embedding_type": "absolute",
|
21 |
+
"problem_type": "single_label_classification",
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.41.0",
|
24 |
+
"type_vocab_size": 2,
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 30522
|
27 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:888537990175ff64427f0e887d8fa01ee055e3e85e17c983fcedff85d438f473
|
3 |
+
size 437958648
|
runs/May27_12-09-36_d41b09c529c5/events.out.tfevents.1716811776.d41b09c529c5.9226.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0739bfd605d63cdf1742403600a1997f380063ef4e51793c2675e0ae03dd2c77
|
3 |
+
size 4779
|
runs/May27_12-14-52_d41b09c529c5/events.out.tfevents.1716812093.d41b09c529c5.9226.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:22430f9524317474c9c10cb75fb8ce8c5ddde9dbdc97644c18b88f4b124ed45a
|
3 |
+
size 4779
|
runs/May27_12-15-52_d41b09c529c5/events.out.tfevents.1716812153.d41b09c529c5.9226.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ecbdc8d50baef5375fcaa20c5aad718483ab6956605692841b4bc53a3433e89
|
3 |
+
size 4779
|
runs/May27_12-18-07_d41b09c529c5/events.out.tfevents.1716812288.d41b09c529c5.9226.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:02ea157de05ed887d06fca5f4a910fbc2b03ffabb1fc0ed9059e2f81f9e8f67d
|
3 |
+
size 4779
|
runs/May27_12-20-25_d41b09c529c5/events.out.tfevents.1716812425.d41b09c529c5.9226.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e2dccf072f406e63e79b3a1f48d479d99b6ad1c7c43c9bb2a8d203fb4a36a756
|
3 |
+
size 5922
|
runs/May27_12-21-51_d41b09c529c5/events.out.tfevents.1716812511.d41b09c529c5.9226.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8fec690d65e09bd4e5c37bb5dfd044011ff183c09beff9d34e67adb76a74ec85
|
3 |
+
size 5925
|
runs/May27_12-21-51_d41b09c529c5/events.out.tfevents.1716812544.d41b09c529c5.9226.6
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c3feef9fcccd82e3c6695c55a128374ef438c1276392068df769542cff5a0c75
|
3 |
+
size 620
|
runs/May27_12-25-05_d41b09c529c5/events.out.tfevents.1716812706.d41b09c529c5.9226.7
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1feb2ee71ad3dcd44eaf15371d46d875844593594a6a38f32403bd4a9a6435cb
|
3 |
+
size 5927
|
runs/May27_12-25-05_d41b09c529c5/events.out.tfevents.1716812713.d41b09c529c5.9226.8
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c5648fd4df0357a2550929ba3ae06c26a9da7bf8c092036bc88f7ab04e9cf727
|
3 |
+
size 354
|
runs/May27_12-25-40_d41b09c529c5/events.out.tfevents.1716812740.d41b09c529c5.9226.9
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44400e734c32dfcc26befa43d26c66b8d41ab0651635a97b9714ed331b59f981
|
3 |
+
size 5928
|
runs/May27_12-25-40_d41b09c529c5/events.out.tfevents.1716812746.d41b09c529c5.9226.10
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9b9038b83d3a289b2bcbb7d8b662b5c1bd530926a135675db693965a839dab5f
|
3 |
+
size 354
|
runs/May27_12-26-17_d41b09c529c5/events.out.tfevents.1716812778.d41b09c529c5.9226.11
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:01bb29962a05cf2453ee0cb8a9eac94394de4d545c0417f1949b1d253b7ead8c
|
3 |
+
size 5928
|
runs/May27_12-26-17_d41b09c529c5/events.out.tfevents.1716812779.d41b09c529c5.9226.12
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6fc951c124b2e9a8eb5d52ad4d8f0f2cf30ba0957c31396fac4804c8910c47bd
|
3 |
+
size 354
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": true,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "BertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b4927a335787cd07e598e2f4f5059a3198a6c30ef3d5d28c70350b967751b133
|
3 |
+
size 5112
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|