-
Notifications
You must be signed in to change notification settings - Fork 88
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
Raw source for fairseq2n code #370
Comments
Hey @natgillin, you can find the fairseq2n (fairseq2 Native) source code under https://github.com/facebookresearch/fairseq2/tree/main/native. |
Thanks @cbalioglu for the pointer! Regarding the Is there a way to load directly from https://github.com/google/sentencepiece?tab=readme-ov-file#overview instead of
|
Hey @natgillin, I might be more helpful if you can tell me what you want to achieve. The sentencepiece implementation in fairseq2 is fully compatible with Google's sentencepiece. In fact, in fairseq2n we use the native API of sentencepiece. |
Thanks for the explanation! We're trying to merge as much code as possible from fairseq2 to our own fairseq fork since we're not sure if that'll eventually be the case on the public repository. We are having some of the decoder-only models into fairseq works in by copying some of the code blocks in fairseq2 , but we found some dependencies of the Removing the |
There's a few points in the codebase that imports from fairseq2n code, is there a pointer to the raw source to those?
E.g.
from fairseq2n.bindings.data.text.sentence import ...
from fairseq2n import DOC_MODE
from fairseq2n.bindings.data.text.text_reader import ...
The text was updated successfully, but these errors were encountered: