Datasets:
Hezar: Upload dataset_config.yaml
Browse files- dataset_config.yaml +93 -0
dataset_config.yaml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: ocr
|
2 |
+
config_type: dataset
|
3 |
+
task: image2text
|
4 |
+
path: hezarai/persian-license-plate-v1
|
5 |
+
text_split_type: tokenize
|
6 |
+
id2label:
|
7 |
+
0: آ
|
8 |
+
1: ا
|
9 |
+
2: ب
|
10 |
+
3: پ
|
11 |
+
4: ت
|
12 |
+
5: ث
|
13 |
+
6: ج
|
14 |
+
7: چ
|
15 |
+
8: ه
|
16 |
+
9: خ
|
17 |
+
10: د
|
18 |
+
11: ذ
|
19 |
+
12: ر
|
20 |
+
13: ز
|
21 |
+
14: ژ
|
22 |
+
15: س
|
23 |
+
16: ش
|
24 |
+
17: ص
|
25 |
+
18: ض
|
26 |
+
19: ط
|
27 |
+
20: ظ
|
28 |
+
21: ع
|
29 |
+
22: غ
|
30 |
+
23: ف
|
31 |
+
24: ق
|
32 |
+
25: ک
|
33 |
+
26: گ
|
34 |
+
27: ل
|
35 |
+
28: م
|
36 |
+
29: ن
|
37 |
+
30: و
|
38 |
+
31: ه
|
39 |
+
32: ی
|
40 |
+
33: '۱'
|
41 |
+
34: '۲'
|
42 |
+
35: '۳'
|
43 |
+
36: '۴'
|
44 |
+
37: '۵'
|
45 |
+
38: '۶'
|
46 |
+
39: '۷'
|
47 |
+
40: '۸'
|
48 |
+
41: '۹'
|
49 |
+
42: '۰'
|
50 |
+
43: ء
|
51 |
+
44: ؤ
|
52 |
+
45: ئ
|
53 |
+
46: أ
|
54 |
+
47: ّ
|
55 |
+
48: '|'
|
56 |
+
49: (
|
57 |
+
50: )
|
58 |
+
51: +
|
59 |
+
52: '-'
|
60 |
+
53: ':'
|
61 |
+
54: ،
|
62 |
+
55: '!'
|
63 |
+
56: .
|
64 |
+
57: ؛
|
65 |
+
58: '='
|
66 |
+
59: '%'
|
67 |
+
60: ؟
|
68 |
+
61: '1'
|
69 |
+
62: '2'
|
70 |
+
63: '3'
|
71 |
+
64: '4'
|
72 |
+
65: '5'
|
73 |
+
66: '6'
|
74 |
+
67: '7'
|
75 |
+
68: '8'
|
76 |
+
69: '9'
|
77 |
+
70: '0'
|
78 |
+
text_column: label
|
79 |
+
test_split_size: 0.2
|
80 |
+
image_processor_config:
|
81 |
+
name: image_processor
|
82 |
+
config_type: preprocessor
|
83 |
+
mean:
|
84 |
+
- 0.6595
|
85 |
+
std:
|
86 |
+
- 0.1501
|
87 |
+
rescale: 0.00392156862745098
|
88 |
+
resample: null
|
89 |
+
size:
|
90 |
+
- 256
|
91 |
+
- 64
|
92 |
+
mirror: true
|
93 |
+
gray_scale: true
|