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

Remove datasets dependency #52

Merged
merged 3 commits into from
Oct 9, 2024
Merged

Remove datasets dependency #52

merged 3 commits into from
Oct 9, 2024

Conversation

rlouf
Copy link
Member

@rlouf rlouf commented Oct 9, 2024

This PR removes the datasets dependency for the python package, and the models module which was only used for testing and benchmarking. Once we agree this is the way forward I will flatten the structure of the Python package.

Closes #51. Should help with #20 and #48. Supersedes #42.

NumPy was only used for type checking. In addition, this information was
incorrect as what was indicated as numpy ndarrays can in fact be any
kind of array.
@rlouf rlouf added the enhancement New feature or request label Oct 9, 2024
@rlouf rlouf force-pushed the remove-transformers-dependency branch from c84942f to c3a5ecd Compare October 9, 2024 11:52
The `models` module is only used for tests and benchmarking, while
requiring `datasets` to be installed. We thus remove the module from the
python package and move the necessary code to the test and benchmark
directories directly.
@rlouf rlouf force-pushed the remove-transformers-dependency branch 3 times, most recently from e6d405a to 46273ba Compare October 9, 2024 12:33
@rlouf rlouf requested a review from brandonwillard October 9, 2024 12:57
@rlouf rlouf merged commit 4d0cc84 into main Oct 9, 2024
8 checks passed
@rlouf rlouf deleted the remove-transformers-dependency branch October 9, 2024 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove dependency on datasets
1 participant