-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added support for using multiple losses and metrics in evaluator #8
Commits on Jan 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7ef1362 - Browse repository at this point
Copy the full SHA 7ef1362View commit details
Commits on Jan 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 69134ad - Browse repository at this point
Copy the full SHA 69134adView commit details
Commits on Jan 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for af47020 - Browse repository at this point
Copy the full SHA af47020View commit details -
Configuration menu - View commit details
-
Copy full SHA for abd2268 - Browse repository at this point
Copy the full SHA abd2268View commit details
Commits on Jan 23, 2024
-
feat: started implementation of Aggregator and StatefulMetrics
Co-authored-by: Teucher, Roman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3519217 - Browse repository at this point
Copy the full SHA 3519217View commit details
Commits on Jan 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 48e4a89 - Browse repository at this point
Copy the full SHA 48e4a89View commit details -
feat(evaluation): Adding generic evaluation measure for training
* adding generic measure class * adding perplexity as well as cross entropy loss computations * starting unit tests
Roman Teucher committedJan 29, 2024 Configuration menu - View commit details
-
Copy full SHA for cd15bbd - Browse repository at this point
Copy the full SHA cd15bbdView commit details
Commits on Feb 5, 2024
-
feat(evaluation): various updates
done: - integrated new aggregated measures into evaluator - updated and expanded evaluator tests - extracted throughput measurement into class - fixed missing keys in measure implementations - code clean up todo: - integration into trainer - parameterization f eval losses/metrics - testing the loss implementations (in particular perplexity)
Configuration menu - View commit details
-
Copy full SHA for 317978b - Browse repository at this point
Copy the full SHA 317978bView commit details -
Merge remote-tracking branch 'origin/main' into feat/multiple_losses_…
…and_metrics_in_evaluator
Configuration menu - View commit details
-
Copy full SHA for 2678d05 - Browse repository at this point
Copy the full SHA 2678d05View commit details -
refactor(evaluation): integration of evaluators in training
* add aggregative measure factories to constructor of Evaluator * extract big train method into smaller ones * adapt test_evaluator to new params of changed Evaluator class * gym: remove loss functions and metrics for evaluation from evaluation method
Roman Teucher committedFeb 5, 2024 Configuration menu - View commit details
-
Copy full SHA for efd97e6 - Browse repository at this point
Copy the full SHA efd97e6View commit details -
refactor(evaluation): adaptions to loss function; using conftest.py f…
…ixtures
Roman Teucher committedFeb 5, 2024 Configuration menu - View commit details
-
Copy full SHA for 5034018 - Browse repository at this point
Copy the full SHA 5034018View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2da315 - Browse repository at this point
Copy the full SHA c2da315View commit details -
feat(config): added first version of evaluation losses in config
WIP: The current version does not yet work.
Configuration menu - View commit details
-
Copy full SHA for 09f1078 - Browse repository at this point
Copy the full SHA 09f1078View commit details
Commits on Feb 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c6b0a1b - Browse repository at this point
Copy the full SHA c6b0a1bView commit details
Commits on Feb 12, 2024
-
feat(evaluation): add factory for ThroughputAggregator, finish perple…
…xity impl and test * add throughput aggregator factory callable; needed because otherwise it was intantiated in the class itself and was not mockable * fix perplexity computation: now tracking losses, summing over them and then computing torch.exp(loss_sum/#samples) *
Roman Teucher committedFeb 12, 2024 Configuration menu - View commit details
-
Copy full SHA for 66a9971 - Browse repository at this point
Copy the full SHA 66a9971View commit details
Commits on Feb 16, 2024
-
fix(evaluation): Fixed perplexity and finalized batch size two test.
Perplexity now gets computed correctly for each sequence in a batch and summed up afterwards.
Configuration menu - View commit details
-
Copy full SHA for 00f0598 - Browse repository at this point
Copy the full SHA 00f0598View commit details
Commits on Feb 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 59e8996 - Browse repository at this point
Copy the full SHA 59e8996View commit details -
test(evaluation): Added multiple dataloadres to evaluator tests.
Also: Small fix in perplexity tests.
Configuration menu - View commit details
-
Copy full SHA for 9af55e4 - Browse repository at this point
Copy the full SHA 9af55e4View commit details -
fix(loss): Reverted change to cross entropy reduction default back to…
… "mean". Otherwise (with reduction="sum"), this would drastically impact training loss. Instead, for accumulating and logging the training loss, the added losses now get divided by number of batches instead of the added batch sizes.
Configuration menu - View commit details
-
Copy full SHA for 6215257 - Browse repository at this point
Copy the full SHA 6215257View commit details -
fix(evaluation): Fixed parameter for throughput aggregator in Evaluator.
Also, small refactoring of corresponding tests.
Configuration menu - View commit details
-
Copy full SHA for bbf4d4f - Browse repository at this point
Copy the full SHA bbf4d4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a113152 - Browse repository at this point
Copy the full SHA a113152View commit details -
Configuration menu - View commit details
-
Copy full SHA for d898e84 - Browse repository at this point
Copy the full SHA d898e84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ea5ed9 - Browse repository at this point
Copy the full SHA 7ea5ed9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c24cf26 - Browse repository at this point
Copy the full SHA c24cf26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 547c0d0 - Browse repository at this point
Copy the full SHA 547c0d0View commit details
Commits on Mar 4, 2024
-
Merge remote-tracking branch 'remotes/origin/main' into feat/multiple…
…_losses_and_metrics_in_evaluator # Conflicts: # config_files/config_example_hf_meditron_7B_instruction.yaml # config_files/config_example_mem_map_dataset.yaml # config_files/config_lorem_ipsum.yaml # src/modalities/__main__.py # src/modalities/config/config.py # src/modalities/config/lookup_types.py # src/modalities/evaluator.py # src/modalities/resolver_register.py # src/modalities/trainer.py # tests/conftest.py
Configuration menu - View commit details
-
Copy full SHA for 066f092 - Browse repository at this point
Copy the full SHA 066f092View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa004be - Browse repository at this point
Copy the full SHA fa004beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67e77ee - Browse repository at this point
Copy the full SHA 67e77eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb0bc62 - Browse repository at this point
Copy the full SHA bb0bc62View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb5e792 - Browse repository at this point
Copy the full SHA eb5e792View commit details
Commits on Mar 11, 2024
-
chore(merge): Merge remote-tracking branch 'origin/main' into feat/mu…
…ltiple_losses_and_metrics_in_evaluator
Configuration menu - View commit details
-
Copy full SHA for cc76bdf - Browse repository at this point
Copy the full SHA cc76bdfView commit details
Commits on Mar 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4e91766 - Browse repository at this point
Copy the full SHA 4e91766View commit details -
Configuration menu - View commit details
-
Copy full SHA for e12dcd7 - Browse repository at this point
Copy the full SHA e12dcd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8cd8b2 - Browse repository at this point
Copy the full SHA a8cd8b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27b0fa8 - Browse repository at this point
Copy the full SHA 27b0fa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c886473 - Browse repository at this point
Copy the full SHA c886473View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdd4fa2 - Browse repository at this point
Copy the full SHA fdd4fa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82f5458 - Browse repository at this point
Copy the full SHA 82f5458View commit details -
Configuration menu - View commit details
-
Copy full SHA for 356c4da - Browse repository at this point
Copy the full SHA 356c4daView commit details -
Configuration menu - View commit details
-
Copy full SHA for dba5680 - Browse repository at this point
Copy the full SHA dba5680View commit details -
refactor(evaluation): Adapted evaluator tests to previous renaming of…
… compute() to aggregate().
Configuration menu - View commit details
-
Copy full SHA for 381caff - Browse repository at this point
Copy the full SHA 381caffView commit details -
feat(evaluation): Changed ThroughputAggregationContext to be usable i…
…n Trainer instead of iterable decorator. This code should be better readable than using start_throughput_measurement().
Configuration menu - View commit details
-
Copy full SHA for 362ff84 - Browse repository at this point
Copy the full SHA 362ff84View commit details
Commits on Mar 18, 2024
-
chore(merge): Merge remote-tracking branch 'origin/main' into feat/mu…
…ltiple_losses_and_metrics_in_evaluator
Configuration menu - View commit details
-
Copy full SHA for 00b8c95 - Browse repository at this point
Copy the full SHA 00b8c95View commit details -
chore(merge): Merge remote-tracking branch 'origin/main' into feat/mu…
…ltiple_losses_and_metrics_in_evaluator
Configuration menu - View commit details
-
Copy full SHA for b955e98 - Browse repository at this point
Copy the full SHA b955e98View commit details