zhuango / kan Goto Github PK
View Code? Open in Web Editor NEWAn implementation of Knowledge-aware attention networks (KAN) for protein-protein extraction task
License: MIT License
An implementation of Knowledge-aware attention networks (KAN) for protein-protein extraction task
License: MIT License
I was getting error about test dataset which is not available in data forlder. and this extra error doesn't make a sense. would you please help me with this.
!python3 main.py --trainPath ../data/train.txt --validPath ../data/valid.txt --testPath ../data/testGoldHomo.txt --trainGold ../data/trainGold.txt --testPath ../data/testGold.txt --batchSize 100 --wd 100 --ed 100 --hop 2 --clas 2 --epoch 20 --wePath ../data/wordEmb/bio-word2id100 --w2IDPath ../data/wordEmb/bio-embed100 --eePath ../data/KB/entity2vec.vec --rePath ../data/KB/relation2vec.vec --t2idPath ../data/KB/triple2id.txt --e2idPath ../data/KB/entity2id.txt --paraPath ./parameters/kan --results ./results/ --training True --lr 0.1 --wdecay 0.0 --validsetR 0.15
True
Loading word id...
Loading word vectors...
Loading entity vectors...
Loading relation vectors...
Loading triples...
Loading entity id mapping...
Load test samples...
Traceback (most recent call last):
File "main.py", line 333, in <module>
sampleTuple = GetInstanceProperty(sample)
File "main.py", line 196, in GetInstanceProperty
e1Index = words.index("$1")
ValueError: '$1' is not in list
Hello, there is some missing files in the 'data' file. Could you please upload the original dataset?Thanks!
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.