-
Notifications
You must be signed in to change notification settings - Fork 641
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
Add translation pipeline parameter to return selected models #383
Comments
@davidmezzetti can I take a shot at this one? |
Happy to accept PRs! Please just make sure to follow the coding convention. Guide available here: https://github.com/neuml/.github/blob/master/CONTRIBUTING.md |
@davidmezzetti I tried to run the unit tests after installing all dependencies by following the readme. install "XXXXX" extra to enable, example
Did i miss any step? This is what i did
|
Sorry there was an oversight in the CONTRIBUTING.md file. It's been fixed. The install step should be:
|
@davidmezzetti thanks! It resolves those errors. Now I get a different set of errors.
On my mac, I see failures in tests for the APIs as well
Some tests end up with system error, like this one trying to open .wav file
Any pointers would be very helpful ! |
I typically run at the lowest supported version of Python which is currently 3.7. The GitHub Actions build workflow is another resource to check when encountering errors - https://github.com/neuml/txtai/blob/master/.github/workflows/build.yml. This builds on Windows/macOS/Linux with every check in. Regarding the error, it looks like the test data is missing, this can be fixed with:
I updated the CONTRIBUTING guide to make that clear. Thank you for diligence in getting through the build step! |
Thanks! It works perfectly now. Let me try to make some changes. |
The translation pipeline seamlessly loads and uses a series of models to run the translations.
It would be beneficial to have a parameter to also return the associated models and detected languages to help with explainability and debugging.
The text was updated successfully, but these errors were encountered: