This commit is contained in:
Maciej Czajka 2023-06-03 06:59:06 +02:00
parent 854100091e
commit 8cba0f6c96
3 changed files with 17934 additions and 17934 deletions

File diff suppressed because it is too large Load Diff

View File

@ -103,8 +103,8 @@
"\n",
" for line in f:\n",
" separated = line.split('\\t')\n",
" before = clean(separated[6]).split()[-1]\n",
" new_line = predict(before, model, vocab)\n",
" head = clean(separated[6]).split()[-1]\n",
" new_line = predict(head, model, vocab)\n",
" fid.write(new_line + '\\n')"
],
"metadata": {

File diff suppressed because it is too large Load Diff