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

Enhance GPT example user experience #6

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

Conversation

turicas
Copy link

@turicas turicas commented Nov 21, 2024

I was trying out Modula and, with this PR, I’ve implemented a more straightforward way to work with the GPT example. The changes include adding inference code, a command line interface, and support for using different datasets.

There’s still a fair amount of repetitive code and assumptions connecting examples/data/shakespeare.py and examples/gpt.py. If you’re open to it, I’d be glad to implement a prepare-data sub-command in the CLI. This would make it much easier to prepare and train on alternative datasets, which I think could be highly useful when exploring different possibilities with the tool.

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