curriculum_learning's People
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:
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:
'train_ranked_by_qap.tsv',
. There is thetrain_with_scores.csv
, but those examples are not ordered, which is necessary for the curriculum to work, if I am not mistaken?checkpoint-best_logits.txt
andcheckpoint-best_train_logits.txt
. Do we manually have to select and rename them?
Other things that cause errors:
- 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:
- 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 - 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?
- 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
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.