Comments (3)
Hi,
model_name_x
and model_name_y
are the coordinates of the points on the precision-recall curve of the model. They are calculated in the function test
in framework.py
. More specifically, first we calculate the classification probabilities of all triples (entity_head, entity_tail, relation_type), then sort the triples by their probabilities so we can get many pairs of (precision, recall).
About your last question, I assume you are talking about how we get the dataset. The NYT dataset is a distantly supervised dataset. The entity pairs and the relations came from Freebase, and then are attached to the sentences in the NYT corpus. You can refer to this paper for details.
from opennre.
I understand. How do I understand which entities and relationships are being assigned to a test sentence? Is their a way to label the output?
from opennre.
There is a basic assumption: If two entities participate in a relation (in a knowledge base like freebase), all sentences that mention these two entities express that relation. But it will bring lots of noisy data. You can refer to this paper for details about how NYT dataset was generated.
from opennre.
Related Issues (20)
- 相对路径下的opennre无法使用,但报错显示的文件并不存在。 HOT 1
- 这个软件包是不兼容win平台吗 HOT 3
- Chinese pretrained models links broken? HOT 2
- Missing code for get_model, encoder, etc.? HOT 1
- model- bag_attention.py-98行 HOT 2
- Is downloading/using pretained models of opennre wiki80_bert_softmax links broken? I'm not able to use the opennre models, it was working fine until yesterday. HOT 1
- TypeError: Couldn't build proto file into descriptor pool: duplicate file name (sentencepiece_model.proto) HOT 2
- TypeError: expected str, bytes or os.PathLike object, not NoneType HOT 3
- OSS License compatibility question HOT 1
- import openNRE HOT 3
- Extract Chinese Relationships HOT 1
- 更换数据集 HOT 2
- Difficulties to obtain results on example/ scripts (train_supervised_bert.py)
- New datasets
- Error(s) in loading state_dict for SoftmaxNN HOT 2
- 可否提供一下训练非中英语种的详细步骤? HOT 1
- pretrain.py for window version HOT 1
- 模型是否可以用于中文关系提取
- metric is not taken into account in example/train_supervised_bert.py HOT 1
- Is downloading/using pretained models of opennre wiki80_cnn_softmax links broken? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opennre.