Skip to content

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