Git Product home page Git Product logo

curriculum_learning's People

Contributors

adymaharana avatar ajdesh2000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

curriculum_learning's Issues

KeyError: 'segment_ids'

Hi, I'm getting KeyError: 'segment_ids' when running python grid_search_hyperparams_roberta_cosmosqa.py. Looks like some lines were commented out here:

# {"input_ids": input_ids, "input_mask": input_mask, "segment_ids": segment_ids}

Could you help me with the changes that need to be made to get it to work again?

AttributeError for gridsearch-script

Hey,

Using the recommended version of transformers (4.3.2), I get an AttributeError for gridsearch-script (roberta/grid_search_hyperparams_roberta_cosmosqa.py):

AttributeError: type object 'BertConfig' has no attribute 'pretrained_config_archive_map'

I think this should be resolvable by downgrading the transformers package (?)

Best,
Lucas

Problems replicating

Hey,

I am trying to reproduce your results on the CODAH-dataset and there are some open ends in the code.

The following files are missing / never get generated:

  1. 'train_ranked_by_qap.tsv',. There is the train_with_scores.csv, but those examples are not ordered, which is necessary for the curriculum to work, if I am not mistaken?
  2. checkpoint-best_logits.txt and checkpoint-best_train_logits.txt. Do we manually have to select and rename them?

Other things that cause errors:

  1. Building the dataset the code expects 'segment-ids' to be in the features, but they are not (and they are also not necessary for roberta)

Other clarifications:

  1. The convert_examples_to_features function has a curriculum argument which adds qap-scores to the features, but the argument is not used in any of the scripts
  2. checkpoint-100_xx; checkpoint-200_xx aso.. correspond to to different stages of the first epoch and checkpoint-epoch-1_xx aso to everything that comes afterwards?
  3. For the curriculum learning condition, only the final performances are saved in codah_qap_cl.jsonl for every hyperparameter-set from the bayesian optimisation process? The corresponding baseline performance would be in ./baselines/codah-roberta-large/fold_4/is_test_false_eval_results.txt.?

Thanks a lot for your help!

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.