AndrewMcDowell commited on
Commit
9495184
β€’
1 Parent(s): 73dd498

Training in progress, step 3000

Browse files
.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 = '[\,\?\!\-\;\:\"\β€œ\%\β€˜\”\οΏ½\β€”\’\…\–\(\,\[\]\)\(\!]' # 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
 
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 = '[\,\?\!\-\;\:\"\β€œ\%\β€˜\”\οΏ½\β€”\’\…\–\(\,\[\]\)\(\!]' # 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
 
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:b1f4cb898aaf03bd9a4ecfe06f7a7819fb4d6857ead19e101dd0c31279732765
3
  size 1262665777
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43c659f9abb94c30da63bde3ee1435e3e4783c4b9d9dc7d2d57150191a20eaaa
3
  size 1262665777