remove duplicate cell
removes duplicate cell
This commit is contained in:
parent
7b4f794ae0
commit
8c21f2ddb2
@ -147,29 +147,6 @@
|
|||||||
"toks[0]"
|
"toks[0]"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"cell_type": "code",
|
|
||||||
"execution_count": null,
|
|
||||||
"metadata": {},
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"data": {
|
|
||||||
"text/plain": [
|
|
||||||
"tensor([ 2, 8, 20, 27, 11, 88, 18, 53, 3286, 45])"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"execution_count": null,
|
|
||||||
"metadata": {},
|
|
||||||
"output_type": "execute_result"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"source": [
|
|
||||||
"num = Numericalize()\n",
|
|
||||||
"num.setup(toks)\n",
|
|
||||||
"nums = toks.map(num)\n",
|
|
||||||
"nums[0][:10]"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
|
Loading…
Reference in New Issue
Block a user