AndrewMcDowell
commited on
Commit
β’
9495184
1
Parent(s):
73dd498
Training in progress, step 3000
Browse files- .ipynb_checkpoints/eval-checkpoint.py +1 -1
- eval.py +1 -1
- pytorch_model.bin +1 -1
.ipynb_checkpoints/eval-checkpoint.py
CHANGED
@@ -56,7 +56,7 @@ def normalize_text(text: str) -> str:
|
|
56 |
kakasi = kakasi()
|
57 |
kakasi.setMode('J', 'H') #Convert from kanji to hiragana
|
58 |
conv = kakasi.getConverter()
|
59 |
-
chars_to_ignore_regex = '[\,\?\!\-\;\:\"\β\%\β\β\οΏ½\β\β\β¦\β\οΌ\οΌ\[\]\)\(
|
60 |
|
61 |
text = text.lower()
|
62 |
# normalize non-standard (stylized) unicode characters
|
|
|
56 |
kakasi = kakasi()
|
57 |
kakasi.setMode('J', 'H') #Convert from kanji to hiragana
|
58 |
conv = kakasi.getConverter()
|
59 |
+
chars_to_ignore_regex = '[\,\?\!\-\;\:\"\β\%\β\β\οΏ½\β\β\β¦\β\οΌ\οΌ\[\]\)\(\οΌ\/\γ\γ\γ\γ]' # noqa: W605 IMPORTANT: this should correspond to the chars that were ignored during training
|
60 |
|
61 |
text = text.lower()
|
62 |
# normalize non-standard (stylized) unicode characters
|
eval.py
CHANGED
@@ -56,7 +56,7 @@ def normalize_text(text: str) -> str:
|
|
56 |
kakasi = kakasi()
|
57 |
kakasi.setMode('J', 'H') #Convert from kanji to hiragana
|
58 |
conv = kakasi.getConverter()
|
59 |
-
chars_to_ignore_regex = '[\,\?\!\-\;\:\"\β\%\β\β\οΏ½\β\β\β¦\β\οΌ\οΌ\[\]\)\(
|
60 |
|
61 |
text = text.lower()
|
62 |
# normalize non-standard (stylized) unicode characters
|
|
|
56 |
kakasi = kakasi()
|
57 |
kakasi.setMode('J', 'H') #Convert from kanji to hiragana
|
58 |
conv = kakasi.getConverter()
|
59 |
+
chars_to_ignore_regex = '[\,\?\!\-\;\:\"\β\%\β\β\οΏ½\β\β\β¦\β\οΌ\οΌ\[\]\)\(\οΌ\/\γ\γ\γ\γ]' # noqa: W605 IMPORTANT: this should correspond to the chars that were ignored during training
|
60 |
|
61 |
text = text.lower()
|
62 |
# normalize non-standard (stylized) unicode characters
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1262665777
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:43c659f9abb94c30da63bde3ee1435e3e4783c4b9d9dc7d2d57150191a20eaaa
|
3 |
size 1262665777
|