Commit 1be32ca 1 parent 1334bfd commit 1be32ca Copy full SHA for 1be32ca
File tree 5 files changed +26
-26
lines changed
assets/ar/sequence_tagging_and_information_extraction/diacritization
5 files changed +26
-26
lines changed Original file line number Diff line number Diff line change 22
22
- name : Build a binary wheel and a source tarball
23
23
run : python3 -m build
24
24
- name : Store the distribution packages
25
- uses : actions/upload-artifact@v3
25
+ uses : actions/upload-artifact@v4
26
26
with :
27
27
name : python-package-distributions
28
28
path : dist/
42
42
43
43
steps :
44
44
- name : Download all the dists
45
- uses : actions/download-artifact@v3
45
+ uses : actions/download-artifact@v4
46
46
with :
47
47
name : python-package-distributions
48
48
path : dist/
63
63
64
64
steps :
65
65
- name : Download all the dists
66
- uses : actions/download-artifact@v3
66
+ uses : actions/download-artifact@v4
67
67
with :
68
68
name : python-package-distributions
69
69
path : dist/
Original file line number Diff line number Diff line change 22
22
- name : Build a binary wheel and a source tarball
23
23
run : python3 -m build
24
24
- name : Store the distribution packages
25
- uses : actions/upload-artifact@v3
25
+ uses : actions/upload-artifact@v4
26
26
with :
27
27
name : python-package-distributions
28
28
path : dist/
42
42
43
43
steps :
44
44
- name : Download all the dists
45
- uses : actions/download-artifact@v3
45
+ uses : actions/download-artifact@v4
46
46
with :
47
47
name : python-package-distributions
48
48
path : dist/
Original file line number Diff line number Diff line change @@ -30,24 +30,24 @@ def prompt(input_sample):
30
30
31
31
def post_process (response ):
32
32
diacritics = [
33
- "\u064E " , # Fatha
34
- "\u064B " , # Fathatan
35
- "\u064F " , # Damma
36
- "\u064C " , # Dammatan
33
+ "\u064e " , # Fatha
34
+ "\u064b " , # Fathatan
35
+ "\u064f " , # Damma
36
+ "\u064c " , # Dammatan
37
37
"\u0650 " , # Kasra
38
- "\u064D " , # Kasratan
38
+ "\u064d " , # Kasratan
39
39
"\u0652 " , # Sukun
40
40
"\u0651 " , # Shadda
41
41
None ,
42
42
]
43
43
44
44
shadda_diacritics = [
45
- "\u064E " , # Fatha
46
- "\u064B " , # Fathatan
47
- "\u064F " , # Damma
48
- "\u064C " , # Dammatan
45
+ "\u064e " , # Fatha
46
+ "\u064b " , # Fathatan
47
+ "\u064f " , # Damma
48
+ "\u064c " , # Dammatan
49
49
"\u0650 " , # Kasra
50
- "\u064D " , # Kasratan
50
+ "\u064d " , # Kasratan
51
51
None ,
52
52
]
53
53
Original file line number Diff line number Diff line change @@ -30,24 +30,24 @@ def prompt(input_sample):
30
30
31
31
def post_process (response ):
32
32
diacritics = [
33
- "\u064E " , # Fatha
34
- "\u064B " , # Fathatan
35
- "\u064F " , # Damma
36
- "\u064C " , # Dammatan
33
+ "\u064e " , # Fatha
34
+ "\u064b " , # Fathatan
35
+ "\u064f " , # Damma
36
+ "\u064c " , # Dammatan
37
37
"\u0650 " , # Kasra
38
- "\u064D " , # Kasratan
38
+ "\u064d " , # Kasratan
39
39
"\u0652 " , # Sukun
40
40
"\u0651 " , # Shadda
41
41
None ,
42
42
]
43
43
44
44
shadda_diacritics = [
45
- "\u064E " , # Fatha
46
- "\u064B " , # Fathatan
47
- "\u064F " , # Damma
48
- "\u064C " , # Dammatan
45
+ "\u064e " , # Fatha
46
+ "\u064b " , # Fathatan
47
+ "\u064f " , # Damma
48
+ "\u064c " , # Dammatan
49
49
"\u0650 " , # Kasra
50
- "\u064D " , # Kasratan
50
+ "\u064d " , # Kasratan
51
51
None ,
52
52
]
53
53
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ install_requires =
30
30
scikit-learn ==1.2.2
31
31
tenacity ==8.2.2
32
32
websockets ==11.0.3
33
- evaluate ==0.4.2
33
+ evaluate ==0.4.3
34
34
rouge-score ==0.1.2
35
35
absl-py ==2.1.0
36
36
GitPython ==3.1.43
You can’t perform that action at this time.
0 commit comments