-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* draft version * add typing for metrics and losses dicts * take out sample_scaling_factors * generate permutations function * took out gwmodulefusion (gwmodule already does fusion) * full broadcast function with logging * reformat for ruff (super ugly now) * first test for new broadcast * fixed errors * test works + mypy type checks * fixed to run properly with simple shapes * random attention returns scores on right device now * partitions -- permutations * partitions function fixes * èdocstring han * Remove vim's swp files * Reformat imports * Type generate_partitions function * Do not use forward * Add var for sum(partition) and len(partition) makes code more understandable * Use strict=True * Reformatting and ruff fixes * Add selection_temperature as a GlobalWorkspaceFusion parameter * Log all metrics * Add loss coefs to fusion model * move tanh to postfusion * Add loss_coefs to broadcast tests * uniform output shape for randomselection and singledomainselection * ruff fixes --------- Co-authored-by: bdvllrs <[email protected]>
- Loading branch information
1 parent
f65d962
commit fc34d38
Showing
9 changed files
with
346 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.