-
Notifications
You must be signed in to change notification settings - Fork 174
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
gneissweb_classification #974
Conversation
Please check @shahrokhDaijavad @touma-I |
Signed-off-by: SHAHROKH DAIJAVAD <[email protected]>
@touma-I and @ran-iwamoto I reviewed and modified the README file. It looks good now. I also tested both Python and Ray versions of notebook (after creating my own HF token and using that in the notebooks) successfully. CI/CD is failing above, because test-language-gneissweb_classification.yml is missing. |
One point for discussion: I was wondering if we want to call this transform as |
Thanks, @Swanand-Kadhe Your point is well-taken. However, we have discussed quite a bit about the naming of this transform in #924 and the name |
Signed-off-by: Maroun Touma <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See inline comment.
transforms/language/gneissweb_classification/test/test_gneissweb_classification.py
Outdated
Show resolved
Hide resolved
The sentence is added "The prefix gcls is short name for Gneissweb CLaSsification.".
Thanks a lot, @shahrokhDaijavad, for pointing me to the discussion in #924. I should have looked at it earlier. Sorry about that. |
Thank you, @ran-iwamoto, for making the latest changes. Let's wait for the other reviewers also to look before we approve and merge. |
transforms/language/gneissweb_classification/gneissweb_classification.ipynb
Outdated
Show resolved
Hide resolved
transforms/language/gneissweb_classification/gneissweb_classification-ray.ipynb
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great implementation, however, I would suggest to use *_cli_param
instead of *_key
configuration keys in transform, as highlighted in the two comments below.
transforms/language/gneissweb_classification/dpk_gneissweb_classification/transform.py
Outdated
Show resolved
Hide resolved
transforms/language/gneissweb_classification/dpk_gneissweb_classification/transform.py
Show resolved
Hide resolved
Signed-off-by: SHAHROKH DAIJAVAD <[email protected]>
@ran-iwamoto I pushed a few changes to your branch, to finalize the parameter names and configuration in README and the comment parts of the two notebooks. |
@BishwaBhatta This transform has been tested only with |
transforms/language/gneissweb_classification/test/test_gneissweb_classification.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Why are these changes needed?
This PR adds a transform for gneissweb classification using fasttext classifier.
Related issue number (if any).
issue #924