NER, nie POS
This commit is contained in:
parent
ccd30390b3
commit
41c499ea78
@ -236,7 +236,7 @@
|
|||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"def labels_process(dt):\n",
|
"def labels_process(dt):\n",
|
||||||
" # Wektoryzacja etykiet (POS)\n",
|
" # Wektoryzacja etykiet (NER)\n",
|
||||||
" return [ torch.tensor([0] + document + [0], dtype = torch.long) for document in dt]\n"
|
" return [ torch.tensor([0] + document + [0], dtype = torch.long) for document in dt]\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -444,7 +444,7 @@
|
|||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"Ile mamy różnych POS tagów?"
|
"Ile mamy różnych tagów NER?"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user