We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55f76ba commit cb18b9aCopy full SHA for cb18b9a
1 file changed
pythainlp/generate/thai2fit.py
@@ -68,10 +68,6 @@
68
" CLI: thainlp data get json_itos_fname"
69
)
70
71
-# Loads a pickle file from PyThaiNLP's official repository with MD5 verification.
72
-# WARNING:
73
-# Pickle deserialization can execute arbitrary code if the file is malicious.
74
-# Users should only use files from trusted sources.
75
with open(thwiki["json_itos_fname"], "r") as f:
76
thwiki_itos: list[str] = json.load(f)
77
thwiki_vocab: "Vocab" = fastai.text.transform.Vocab(thwiki_itos)
0 commit comments