thunlp / mnre Goto Github PK
View Code? Open in Web Editor NEWThe code and data for ACL2017 paper "Neural Relation Extraction with Multi-lingual Attention"
License: MIT License
The code and data for ACL2017 paper "Neural Relation Extraction with Multi-lingual Attention"
License: MIT License
你好,
能否上传一份关于这篇论文Neural Relation Extraction with Multi-lingual Attention中汇报的P/R曲线的数据。
谢谢!
When I was doing the training step,It came a problem with "Segmentation fault".Have you met it before?
what is mean the code "if(res !=res)",in my opinion,program will never operate it in train.cpp of cnn file!
gpuws@gpuws32g:/ub16_prj/MNRE/src/MNRE_CNN$ ./train/ub16_prj/MNRE/src/MNRE_CNN$
1 4 3 1 5 1 4 0 3 1 Init Begin.
Begin_init_para
relationTotal: 176
End_init_para
Begin read data of language: zh
wordTotal= 4756241
Word dimension= 50
240
End read data of language: zh
Begin read data of language: en
wordTotal= 1067259
Word dimension= 50
240
End read data of language: en
540098 537992
Init End.
959935
npoch: 187/1874
time(s): 394.44
score: -135516 95744
npoch: 374/1874
time(s): 395.614
score: -111949 191488
npoch: 561/1874
time(s): 421.19
score: -108274 287232
npoch: 748/1874
time(s): 497.307
score: -104558 382976
npoch: 935/1874
time(s): 799.708
score: -100079 478720
npoch: 1122/1874
time(s): 727.027
score: -94617.7 574464
npoch: 1309/1874
time(s): 778.266
score: -88565.3 670208
npoch: 1496/1874
time(s): 661.395
score: -82241.4 765952
npoch: 1683/1874
time(s): 634.374
score: -77362.2 861696
npoch: 1870/1874
time(s): 585.224
score: -73005.4 957440
Total Score: -977725.375000
test
version=1
tot: 47638 537992
94148600
precision: 0 recall: 0
precision: 0.0738523 recall: 0.000776691
precision: 0.0849151 recall: 0.00178429
precision: 0.0852765 recall: 0.00268693
precision: 0.0894553 recall: 0.0037575
precision: 0.0903639 recall: 0.00474411
precision: 0.0943019 recall: 0.00594064
precision: 0.0945444 recall: 0.00694823
precision: 0.0977256 recall: 0.00820773
precision: 0.0986447 recall: 0.00932029
precision: 0.09978 recall: 0.0104748
precision: 0.100709 recall: 0.0116294
precision: 0.10215 recall: 0.0128679
precision: 0.1026 recall: 0.0140014
precision: 0.103414 recall: 0.015198
precision: 0.103586 recall: 0.0163105
precision: 0.103487 recall: 0.0173811
precision: 0.102576 recall: 0.0183047
precision: 0.101989 recall: 0.0192703
precision: 0.102726 recall: 0.0204878
1
Segmentation fault (core dumped)
gpuws@gpuws32g:
您好,
When I execute the original code under Ubuntu 14.04., the error occurs:
Segmentation fault (core dumped)
Then, I tried to debug it with gdb, and got the following error:
The program received signal SIGSEGV, Segmentation fault.
___fprintf_chk (fp=0x0, flag=1, format=0x4155c6 "%d\n") at fprintf_chk.c:30
30 fprintf_chk.c: No such file or directory.
I have googled a lot, and find no solution, could you give me some advice to resolve that.
Thanks so much.
Kind Regards.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.