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

Implement the input tokenizer in Fortran #1

Closed
certik opened this issue Mar 6, 2023 · 0 comments · Fixed by #34
Closed

Implement the input tokenizer in Fortran #1

certik opened this issue Mar 6, 2023 · 0 comments · Fixed by #34

Comments

@certik
Copy link
Owner

certik commented Mar 6, 2023

Currently the input tokenizer is in Python, taken from the original OpenAI's implementation: https://github.com/certik/fastGPT/blob/01eb84b015d89a567245da0445c0abb7d53a8500/encode_input.py. We should implement it in Fortran. That will eliminate the need to call the Python script before running fastGPT.

We have to write tests that exercise each code path in the Python implementation to ensure our Fortran implementation is correct.

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 a pull request may close this issue.

1 participant