jiaweiyu commited on
Commit
58eeb2b
1 Parent(s): 8b91b28

Uploaded model.

Browse files
README.md CHANGED
@@ -19,8 +19,8 @@ should probably proofread and complete it, then remove this comment. -->
19
 
20
  This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the msra_ner dataset.
21
  It achieves the following results on the evaluation set:
22
- - Loss: 0.0474
23
- - F1: 0.9211
24
 
25
  ## Model description
26
 
@@ -40,8 +40,8 @@ More information needed
40
 
41
  The following hyperparameters were used during training:
42
  - learning_rate: 5e-05
43
- - train_batch_size: 12
44
- - eval_batch_size: 12
45
  - seed: 42
46
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
  - lr_scheduler_type: linear
@@ -49,13 +49,13 @@ The following hyperparameters were used during training:
49
 
50
  ### Training results
51
 
52
- | Training Loss | Epoch | Step | Validation Loss | F1 |
53
- |:-------------:|:-----:|:-----:|:---------------:|:------:|
54
- | 0.0751 | 1.0 | 3751 | 0.0426 | 0.8744 |
55
- | 0.0319 | 2.0 | 7502 | 0.0408 | 0.8897 |
56
- | 0.018 | 3.0 | 11253 | 0.0404 | 0.9102 |
57
- | 0.0095 | 4.0 | 15004 | 0.0421 | 0.9150 |
58
- | 0.0045 | 5.0 | 18755 | 0.0474 | 0.9211 |
59
 
60
 
61
  ### Framework versions
 
19
 
20
  This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the msra_ner dataset.
21
  It achieves the following results on the evaluation set:
22
+ - Loss: 0.0661
23
+ - F1: 0.8221
24
 
25
  ## Model description
26
 
 
40
 
41
  The following hyperparameters were used during training:
42
  - learning_rate: 5e-05
43
+ - train_batch_size: 48
44
+ - eval_batch_size: 48
45
  - seed: 42
46
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
  - lr_scheduler_type: linear
 
49
 
50
  ### Training results
51
 
52
+ | Training Loss | Epoch | Step | Validation Loss | F1 |
53
+ |:-------------:|:-----:|:----:|:---------------:|:------:|
54
+ | 0.1946 | 1.0 | 938 | 0.0948 | 0.6865 |
55
+ | 0.0744 | 2.0 | 1876 | 0.0813 | 0.7592 |
56
+ | 0.0466 | 3.0 | 2814 | 0.0697 | 0.7956 |
57
+ | 0.0307 | 4.0 | 3752 | 0.0655 | 0.8104 |
58
+ | 0.0219 | 5.0 | 4690 | 0.0661 | 0.8221 |
59
 
60
 
61
  ### Framework versions
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:efda69d0db1693c6938e674d27826dada7689d7f940b00da2f5e45651f3d8d98
3
  size 1109857804
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd153ee9c2aea0ea881733091a5079bb6f14aa470c080503d59a38779f8930b3
3
  size 1109857804
runs/Nov09_19-30-07_223feb2fe375/events.out.tfevents.1699558216.223feb2fe375.6517.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66900a3c693661bcf1347f33d0deabda4c4e8a0f6a03aac2d7c815a0f0dc5d96
3
+ size 7402
special_tokens_map.json CHANGED
@@ -1,15 +1,7 @@
1
  {
2
- "bos_token": "<s>",
3
- "cls_token": "<s>",
4
- "eos_token": "</s>",
5
- "mask_token": {
6
- "content": "<mask>",
7
- "lstrip": true,
8
- "normalized": false,
9
- "rstrip": false,
10
- "single_word": false
11
- },
12
- "pad_token": "<pad>",
13
- "sep_token": "</s>",
14
- "unk_token": "<unk>"
15
  }
 
1
  {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
7
  }
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:19232daba569c004c5fbe45f373ccaf2ee505055da00969f78a99e5754db8f25
3
- size 17082688
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48cea5d44424912a6fd1ea647bf4fe50b55ab8b1e5879c3275f80e339e8fae26
3
+ size 439125
tokenizer_config.json CHANGED
@@ -1,54 +1,55 @@
1
  {
2
  "added_tokens_decoder": {
3
  "0": {
4
- "content": "<s>",
5
  "lstrip": false,
6
  "normalized": false,
7
  "rstrip": false,
8
  "single_word": false,
9
  "special": true
10
  },
11
- "1": {
12
- "content": "<pad>",
13
  "lstrip": false,
14
  "normalized": false,
15
  "rstrip": false,
16
  "single_word": false,
17
  "special": true
18
  },
19
- "2": {
20
- "content": "</s>",
21
  "lstrip": false,
22
  "normalized": false,
23
  "rstrip": false,
24
  "single_word": false,
25
  "special": true
26
  },
27
- "3": {
28
- "content": "<unk>",
29
  "lstrip": false,
30
  "normalized": false,
31
  "rstrip": false,
32
  "single_word": false,
33
  "special": true
34
  },
35
- "250001": {
36
- "content": "<mask>",
37
- "lstrip": true,
38
  "normalized": false,
39
  "rstrip": false,
40
  "single_word": false,
41
  "special": true
42
  }
43
  },
44
- "bos_token": "<s>",
45
  "clean_up_tokenization_spaces": true,
46
- "cls_token": "<s>",
47
- "eos_token": "</s>",
48
- "mask_token": "<mask>",
49
  "model_max_length": 512,
50
- "pad_token": "<pad>",
51
- "sep_token": "</s>",
52
- "tokenizer_class": "XLMRobertaTokenizer",
53
- "unk_token": "<unk>"
 
 
54
  }
 
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": false,
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 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6c08714eee494993e872738b2f7cae62d9e6226ef55b84ed06f9249cafdc1776
3
  size 4664
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58a44cbfb8de0ef1e39d722afda0d2e03e7042e1fb0b66b90e673fe2f6c4f76f
3
  size 4664
vocab.txt ADDED
The diff for this file is too large to render. See raw diff