glample / tagger

Named Entity Recognition Tool
Apache License 2.0
1.16k stars 426 forks source link

would you like provide some demo dataset like train.txt, dev.txt, text.txt, input.txt? #21

Closed SeekPoint closed 7 years ago

SeekPoint commented 8 years ago

or the URL of those resource

guotong1988 commented 7 years ago

same question, thanks

guotong1988 commented 7 years ago

https://github.com/glample/tagger/issues/2

glample commented 7 years ago

Fixed in 3b2fc49fcc510d7a86a7848cd01fe11c2ee5b75b

SeekPoint commented 7 years ago

@glample

is this reasonable like python train.py --train dataset/eng.train --dev dataset/eng.testb --test dataset/eng.testa ?

glample commented 7 years ago

eng.testa is the dev eng.testb is the test

Rabia-Noureen commented 7 years ago

Hi @glample @loveJasmine i am trying to train the model using python train.py --train dataset/eng.train --dev dataset/eng.testa --test dataset/eng.testb --lr_method=adam --tag_scheme=iob but i got the following error. Can you please help me resolve that error?I am stuck... 46533/51362 (90.59811%) Traceback (most recent call last): File "train.py", line 220, in dev_data, id_to_tag, dico_tags) File "C:\Users\Acer\Anaconda2\tagger\utils.py", line 282, in evaluate return float(eval_lines[1].strip().split()[-1]) IndexError: list index out of range