Skip to content

Support generic models and arguments - #15

Merged
jlamypoirier merged 14 commits into
mainfrom
auto_model
Feb 15, 2023
Merged

jlamypoirier merged 14 commits into
mainfrom
auto_model

Conversation

@jlamypoirier

@jlamypoirier jlamypoirier commented Feb 14, 2023 •

Copy link
Copy Markdown
Collaborator
  • Use transformers factory methods to support all (causal LM) model types instead of a pre-defined list.
  • Support any configuration parameter instead of a predefined list and explicitly validate them. Arguments are of the form key=value, with value type inferred automatically (not fool-proof but it should be good enough).
  • Support pre-trained models.
  • Add git-lfs to the image to help downloading big models
  • Replace remaining check_unused usages with proper checks.
  • Improve initialization/load time benchmark, measure individual components.
  • Use inference mode (small speedup)
  • Pass arguments explicitly to methods instead of the namespace.
  • Fix generated token count.
  • Remove unnecessary args for deepspeed.
  • Update transformers.
  • Update and trim makefile commands. Also serves as examples.
  • Update shell scripts, mark python scripts as outdated.

@jlamypoirier
jlamypoirier marked this pull request as ready for review February 14, 2023 18:51
@jlamypoirier jlamypoirier mentioned this pull request Feb 14, 2023
@jlamypoirier
jlamypoirier merged commit 5ef38b9 into main Feb 15, 2023
@jlamypoirier
jlamypoirier deleted the auto_model branch February 15, 2023 22:13
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