Deployed f8db199 with MkDocs version: 1.3.1
This commit is contained in:
parent
8a093ac9d2
commit
d430336c47
11 changed files with 741 additions and 722 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue