inferwiki's People
Forkers
qiaoxiaoqiao1inferwiki's Issues
Load inferwiki using mkb
Hi @TaoMiner, I appreciate very much your work and especially your publication related to inferwiki
. I have added the knowledge base InferWiki16k
and InferWiki64k
to the mkb library that I created for my studies on KGE and Language Models. The objective of this tool is to facilitate model evaluation doing link prediction and triplet classification.
Both datasets are available on lastest dev version:
pip install git+https://github.com/raphaelsty/mkb --upgrade
>>> from mkb import datasets
>>> dataset = datasets.InferWiki16k(batch_size = 256)
>>> dataset
InferWiki16k dataset
Batch size 256
Entities 15472
Relations 197
Shuffle True
Train triples 162424
Validation triples 3398
Test triples 3398
>>> from mkb import datasets
>>> dataset = datasets.InferWiki64k(batch_size = 256)
>>> dataset
InferWiki64k dataset
Batch size 256
Entities 61944
Relations 239
Shuffle True
Train triples 782443
Validation triples 7747
Test triples 7747
Maybe this will be useful to some of your readers, have a nice day,
Raphaël
Inconsistency between 16k and 64k datasets
I noticed a minor inconsistency between the 16k and 64k datasets.
The InferWiki64k documentation says "InferWiki64k has the same format with InferWiki16k..." however for test_pos.txt and valid_pos.txt the relations have a path length element in 16k, but not in 64k.
I'm not sure if this is a mistake in the dataset and 64k should have path lengths too or if the mistake is in the documentation.
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.