ForutanRad commited on
Commit
d417118
1 Parent(s): 75861ad

bert-fa-QA-v1

Browse files
.gitignore ADDED
@@ -0,0 +1 @@
 
1
+ checkpoint-*/
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - persian_qa
7
+ model_index:
8
+ - name: bert-fa-QA-v1
9
+ results:
10
+ - task:
11
+ name: Question Answering
12
+ type: question-answering
13
+ dataset:
14
+ name: persian_qa
15
+ type: persian_qa
16
+ args: persian_qa
17
+ ---
18
+
19
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
20
+ should probably proofread and complete it, then remove this comment. -->
21
+
22
+ # bert-fa-QA-v1
23
+
24
+ This model is a fine-tuned version of [HooshvareLab/bert-fa-base-uncased](https://huggingface.co/HooshvareLab/bert-fa-base-uncased) on the persian_qa dataset.
25
+ It achieves the following results on the evaluation set:
26
+ - Loss: 4.4213
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 3e-05
46
+ - train_batch_size: 8
47
+ - eval_batch_size: 8
48
+ - seed: 42
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 2
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss |
56
+ |:-------------:|:-----:|:----:|:---------------:|
57
+ | 0.237 | 1.0 | 1126 | 3.9892 |
58
+ | 0.1135 | 2.0 | 2252 | 4.4213 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.9.0
64
+ - Pytorch 1.9.0+cu102
65
+ - Datasets 1.10.2
66
+ - Tokenizers 0.10.3
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "HooshvareLab/bert-fa-base-uncased",
3
+ "architectures": [
4
+ "BertForQuestionAnswering"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "gradient_checkpointing": false,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 3072,
13
+ "layer_norm_eps": 1e-12,
14
+ "max_position_embeddings": 512,
15
+ "model_type": "bert",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 12,
18
+ "pad_token_id": 0,
19
+ "position_embedding_type": "absolute",
20
+ "torch_dtype": "float32",
21
+ "transformers_version": "4.9.0",
22
+ "type_vocab_size": 2,
23
+ "use_cache": true,
24
+ "vocab_size": 100000
25
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d83a5a415b289e5d1698a0efe1fdc73906f1a339fb54b3350e67e945640913d
3
+ size 649092529
runs/Jul25_11-42-32_ea93e63c112a/1627213414.518686/events.out.tfevents.1627213414.ea93e63c112a.61.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b30f10b15ddf4fee923910a41a761116dfd92ec221bd4f212cc03719294f4b1a
3
+ size 4189
runs/Jul25_11-42-32_ea93e63c112a/events.out.tfevents.1627213414.ea93e63c112a.61.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7102b8296f0b2ff215a2a891d61ce1392327c2bacdddf974531ecd046597c05
3
+ size 6176
runs/Jul25_12-43-49_ea93e63c112a/1627217249.31351/events.out.tfevents.1627217249.ea93e63c112a.61.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65fb0e47decb829927abad154d1b5dcb9a7a68bd472b7678683e62c334b8d5d7
3
+ size 4189
runs/Jul25_12-43-49_ea93e63c112a/events.out.tfevents.1627217249.ea93e63c112a.61.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43b9ecb2ccfe6ec0e146029009106f70116c863a5076c1925a218b73a51d9403
3
+ size 4497
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
1
+ {"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "special_tokens_map_file": null, "name_or_path": "HooshvareLab/bert-fa-base-uncased", "do_basic_tokenize": true, "never_split": null, "tokenizer_class": "BertTokenizer"}
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9f65fb6a3c119e90eaa889a03d6f1845acedd842fff5334c7cb6351e49fbb3b
3
+ size 2607
vocab.txt ADDED
The diff for this file is too large to render. See raw diff