Deployed f8db199 with MkDocs version: 1.3.1

This commit is contained in:
2022-07-29 11:07:11 +00:00
parent 8a093ac9d2
commit d430336c47
11 changed files with 741 additions and 722 deletions

View file

@ -246,7 +246,7 @@
" Dataset.from_dict({\"text\": X, \"label\": y})\n",
" .map(lambda v: tokenizer(v[\"text\"], truncation=True), batched=True)\n",
" .remove_columns(\"text\")\n",
" .train_test_split(test_size=0.2, shuffle=True)\n",
" .train_test_split(test_size=0.2, shuffle=True) # test is actually validation\n",
")\n",
"\n",
"f1_score = load_metric(\"f1\")\n",