Giter Club home page Giter Club logo

Comments (7)

wjczf123 avatar wjczf123 commented on May 24, 2024

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.

wjczf123 avatar wjczf123 commented on May 24, 2024

naive.py is normal. supervised.py and semi_supervised.py have problem.

from triggerner.

wjczf123 avatar wjczf123 commented on May 24, 2024

Hope you can fix it as soon as possible.

from triggerner.

danny911kr avatar danny911kr commented on May 24, 2024

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.

wjczf123 avatar wjczf123 commented on May 24, 2024

OK. Thank you.

from triggerner.

wjczf123 avatar wjczf123 commented on May 24, 2024

Hope you can fix it as soon as possible.

from triggerner.

danny911kr avatar danny911kr commented on May 24, 2024

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 and semi_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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.