Skip to content
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

Restructure repository #2

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open

Restructure repository #2

wants to merge 19 commits into from

Conversation

gamatos
Copy link
Collaborator

@gamatos gamatos commented Jan 21, 2025

Restructure repository

  • Rename files to more descriptive names
  • Create pyproject.toml, deprecate requirements.txt
  • Update dependencies
  • Move source files into quixer folder
  • Update README.md
  • Use argparse for argument parsing
  • Add option to only run some models
  • Rename VAS to Transformer, QLINSVT to Quixer, in code
  • Add .gitignore

In addition:

  • Rename criterion to loss_function, add type
  • Add rest of types to arguments of batchify_s2s
  • Properly hint torch device types
  • Add missing type hint in evaluate
  • Remove unused parameters in train_epoch
  • Add types to evaluate_polynomial_state, apply_unitaries function signatures
  • Add the batch size as a Quixer class parameter
  • Rename variables in batchify_s2s for clarity
  • Rename bptt to window_size in setup_dataset
  • Clean up imports in run_comprehensive.py
  • Remove unused pad_token parameter in evaluate function

@gamatos gamatos requested a review from nikhilkhatri January 21, 2025 14:13
@gamatos
Copy link
Collaborator Author

gamatos commented Jan 22, 2025

Added license file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant