ai-forever commited on
Commit
0677d3c
·
verified ·
1 Parent(s): e854d88

Upload T5ForConditionalGeneration

Browse files
Files changed (4) hide show
  1. README.md +56 -74
  2. config.json +2 -2
  3. generation_config.json +1 -1
  4. model.safetensors +3 -0
README.md CHANGED
@@ -1,91 +1,73 @@
1
  ---
2
  language:
3
  - ru
 
 
4
  tags:
5
  - spellchecking
6
  - pytorch
7
  - natural language generation
8
- license: mit
9
  metrics:
10
  - precision
11
  - recall
12
  - f1
13
- library_name: transformers
14
  model-index:
15
  - name: sage-fredt5-large
16
  results:
17
- - task:
18
- type: text-generation
19
- dataset:
20
- type: spellcheck_benchmark
21
- name: RUSpellRU (spell&punct)
22
- metrics:
23
- - name: F1 (spell)
24
- type: f1_spell
25
- value: 88.2
26
- verified: false
27
- - name: F1 (punct)
28
- type: f1_punct
29
- value: 88.4
30
- verified: false
31
- - name: F1 (case)
32
- type: f1_case
33
- value: 95.6
34
- verified: false
35
- - task:
36
- type: text-generation
37
- dataset:
38
- type: spellcheck_benchmark
39
- name: MultidomainGold (spell&punct)
40
- metrics:
41
- - name: F1 (spell)
42
- type: f1_spell
43
- value: 79.6
44
- verified: false
45
- - name: F1 (punct)
46
- type: f1_punct
47
- value: 68.8
48
- verified: false
49
- - name: F1 (case)
50
- type: f1_case
51
- value: 80.5
52
- verified: false
53
- - task:
54
- type: text-generation
55
- dataset:
56
- type: spellcheck_benchmark
57
- name: MedSpellchecker (spell&punct)
58
- metrics:
59
- - name: F1 (spell)
60
- type: f1_spell
61
- value: 72.4
62
- verified: false
63
- - name: F1 (punct)
64
- type: f1_punct
65
- value: 72.0
66
- verified: false
67
- - name: F1 (case)
68
- type: f1_case
69
- value: 76.6
70
- verified: false
71
- - task:
72
- type: text-generation
73
- dataset:
74
- type: spellcheck_benchmark
75
- name: GitHubTypoCorpusRu (spell&punct)
76
- metrics:
77
- - name: F1 (spell)
78
- type: f1_spell
79
- value: 62.7
80
- verified: false
81
- - name: F1 (punct)
82
- type: f1_punct
83
- value: 41.4
84
- verified: false
85
- - name: F1 (case)
86
- type: f1_case
87
- value: 38.1
88
- verified: false
89
  ---
90
 
91
  # sage-v1.1.0
 
1
  ---
2
  language:
3
  - ru
4
+ license: mit
5
+ library_name: transformers
6
  tags:
7
  - spellchecking
8
  - pytorch
9
  - natural language generation
 
10
  metrics:
11
  - precision
12
  - recall
13
  - f1
 
14
  model-index:
15
  - name: sage-fredt5-large
16
  results:
17
+ - task:
18
+ type: text-generation
19
+ dataset:
20
+ name: RUSpellRU (spell&punct)
21
+ type: spellcheck_benchmark
22
+ metrics:
23
+ - type: f1_spell
24
+ value: 88.2
25
+ name: F1 (spell)
26
+ verified: false
27
+ - type: f1_punct
28
+ value: 88.4
29
+ name: F1 (punct)
30
+ verified: false
31
+ - type: f1_case
32
+ value: 95.6
33
+ name: F1 (case)
34
+ verified: false
35
+ - type: f1_spell
36
+ value: 79.6
37
+ name: F1 (spell)
38
+ verified: false
39
+ - type: f1_punct
40
+ value: 68.8
41
+ name: F1 (punct)
42
+ verified: false
43
+ - type: f1_case
44
+ value: 80.5
45
+ name: F1 (case)
46
+ verified: false
47
+ - type: f1_spell
48
+ value: 72.4
49
+ name: F1 (spell)
50
+ verified: false
51
+ - type: f1_punct
52
+ value: 72.0
53
+ name: F1 (punct)
54
+ verified: false
55
+ - type: f1_case
56
+ value: 76.6
57
+ name: F1 (case)
58
+ verified: false
59
+ - type: f1_spell
60
+ value: 62.7
61
+ name: F1 (spell)
62
+ verified: false
63
+ - type: f1_punct
64
+ value: 41.4
65
+ name: F1 (punct)
66
+ verified: false
67
+ - type: f1_case
68
+ value: 38.1
69
+ name: F1 (case)
70
+ verified: false
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  ---
72
 
73
  # sage-v1.1.0
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "ai-forever/FRED-T5-1.7B",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
@@ -28,7 +28,7 @@
28
  "relative_attention_num_buckets": 32,
29
  "tie_word_embeddings": false,
30
  "torch_dtype": "float32",
31
- "transformers_version": "4.35.0.dev0",
32
  "use_cache": true,
33
  "vocab_size": 50364
34
  }
 
1
  {
2
+ "_name_or_path": "ai-forever/sage-v1.1.0",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
 
28
  "relative_attention_num_buckets": 32,
29
  "tie_word_embeddings": false,
30
  "torch_dtype": "float32",
31
+ "transformers_version": "4.46.3",
32
  "use_cache": true,
33
  "vocab_size": 50364
34
  }
generation_config.json CHANGED
@@ -4,5 +4,5 @@
4
  "decoder_start_token_id": 0,
5
  "eos_token_id": 2,
6
  "pad_token_id": 0,
7
- "transformers_version": "4.35.0.dev0"
8
  }
 
4
  "decoder_start_token_id": 0,
5
  "eos_token_id": 2,
6
  "pad_token_id": 0,
7
+ "transformers_version": "4.46.3"
8
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd500038a683bd85df36c46581e85a5d595cf46a1a69660567b7023f50886421
3
+ size 6961484928