Skip to content

Commit

Permalink
Added test vocab notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmmn378 committed Feb 2, 2024
1 parent 3c12d44 commit 2cffadb
Show file tree
Hide file tree
Showing 6 changed files with 7,991 additions and 1,759 deletions.
3 changes: 3 additions & 0 deletions model_artifacts/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
!.gitignore
!.dvc
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@
"split_config = {\n",
" \"train\": \"./datasets/correction_train.jsonl\",\n",
" \"test\": \"./datasets/correction_test.jsonl\",\n",
" \"val\": \"./datasets/correction_val.jsonl\"\n",
" \"val\": \"./datasets/correction_val.jsonl\",\n",
"}"
]
},
Expand Down Expand Up @@ -464,7 +464,9 @@
}
],
"source": [
"dataset = dataset.map(lambda x: {\"from\": \"00xx00\"+x[\"from\"], \"to\": \"00xx00\"+x[\"to\"]})"
"dataset = dataset.map(\n",
" lambda x: {\"from\": \"00xx00\" + x[\"from\"], \"to\": \"00xx00\" + x[\"to\"]}\n",
")"
]
},
{
Expand Down
Loading

0 comments on commit 2cffadb

Please sign in to comment.