Git Product home page Git Product logo

sequence-labeling-early-exit's People

Contributors

leesureman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

leileileisa

sequence-labeling-early-exit's Issues

Train mode

Hi @LeeSureman ,

I am a bit confused with the modeling_bert_ee code.

If the training mode is 'joint_sample_copy' as in further_train stage:

The loss will computed in the if branch of line 2101:

if self.args.train_mode == 'joint_sample_copy_label' or (self.args.train_mode == 'joint_sample_copy' and self.args.copy_supervised == 0):

and then recomputed again and overwritten in the if branch of line 2190:

elif 'joint' in self.args.train_mode:

Then, the if branch of line 2101 will be useless.

May I know why is that?

Thank you!

Can't find requirements

Hi, I can't find requirements.txt file

Can you please tell me what the dependencies are?

Thank you in advance!

预测问题

请问用已训练好的模型,新的sentences输入的时候,怎么来进行预测呢

error: 'yangjie_rich_pretrain_bigram_path' is not defined

An error happened in load_data_.py, line 231, 'yangjie_rich_pretrain_bigram_path' is not defined. But in paths.py, this variable is not mentioned. And I also want to know which dataset in the paths.py should be used first for testing the programme.

版本更新

看main.py的時候有些导入的包是找不到的,所以什么时候更新呢?

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.