Comments (7)
I use command: python supervised.py --device cuda:0 --dataset CONLL --percentage 3. The result is 85.56. I think the bug should mainly focus on the data (training data is not 3%).
from triggerner.
naive.py is normal. supervised.py and semi_supervised.py have problem.
from triggerner.
Hope you can fix it as soon as possible.
from triggerner.
Hi @wjczf123,
Sorry for the late reply.
Thanks for pointing it out. We will add a new argument --unlabeled_percentage
for controlling the percentage of the unlabeled data we used for semi-supervised training. We will add a new script to generate the splits and the use of the --percentage
argument to load the respective data split for both supervised.py
and semi-supervised.py
, by the end of this week.
Yeah, it is indeed the BiLSTM model for char-modeling, we will update the description in the paper. (We also tried CNN before, it performed slightly worse. )
Thanks again.
from triggerner.
OK. Thank you.
from triggerner.
Hope you can fix it as soon as possible.
from triggerner.
Hi @wjczf123,
I apologize for the late reply due to other project deadlines.
We just updated the repo.
Thank you for your suggestion.
Here are the tips for running the code
- The dataset we used for
supervised.py
andsemi_supervised.py
is 20% of original training data with triggers.
(Sentences are split into a single-entity sentence, and each single-entity sentence has triggers) - If you run
python supervised.py --device cuda:0 --dataset CONLL --percentage 3
, it means you will use 3% of such trigger dataset. (It should be 0.8% of the training dataset) - To enable 3% of the original training dataset, you should use
--percentage 15
from triggerner.
Related Issues (16)
- Need help about paper and code HOT 2
- A question about experimental results HOT 3
- Question about the inconsistency between the paper and the code HOT 1
- Changing tagging schema HOT 1
- context_emd HOT 1
- Runtime Issues HOT 3
- A question about trigger_list HOT 1
- 读后想法
- Understanding trigger files HOT 1
- AttributeError: 'SoftSequence' object has no attribute 'decode' HOT 2
- if i use my own chinese corpus , how to design and create my own trigger txt? HOT 1
- Environment error HOT 2
- Some questions HOT 1
- bug HOT 3
- how can I achieve higher f1 value? HOT 1
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 triggerner.