-
Notifications
You must be signed in to change notification settings - Fork 3.2k
remove text nlp collection #14110
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
Merged
Merged
remove text nlp collection #14110
Changes from 5 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
699a295
remove text nlp collection
dimapihtar 11480f0
Apply isort and black reformatting
dimapihtar ae4d5a2
fix style
dimapihtar 4c3fca6
Merge branch 'dpykhtar/remove_text_nlp' of https://github.com/NVIDIA/…
dimapihtar 5ead5f0
Apply isort and black reformatting
dimapihtar b68cea2
remove duplex_text
dimapihtar 5202022
Merge branch 'dpykhtar/remove_text_nlp' of https://github.com/NVIDIA/…
dimapihtar ffd2be1
fix imports
dimapihtar d1b5408
Apply isort and black reformatting
dimapihtar e1a16a2
remove spellchecking
dimapihtar c2093d7
Merge branch 'dpykhtar/remove_text_nlp' of https://github.com/NVIDIA/…
dimapihtar c0bb44b
fix import
dimapihtar 67b9f5e
Apply isort and black reformatting
dimapihtar e79e6e7
fix style
dimapihtar e79b6b8
Merge branch 'dpykhtar/remove_text_nlp' of https://github.com/NVIDIA/…
dimapihtar 60454c2
fix import
dimapihtar cd7a873
Apply isort and black reformatting
dimapihtar 82278db
remove examples
dimapihtar 4d77a03
Merge branch 'main' into dpykhtar/remove_text_nlp
dimapihtar fbd3b71
Merge branch 'main' into dpykhtar/remove_text_nlp
dimapihtar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
146 changes: 0 additions & 146 deletions
146
nemo/collections/nlp/data/text2sparql/text2sparql_dataset.py
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
70 changes: 0 additions & 70 deletions
70
nemo/collections/nlp/data/text_classification/ptune_text_classification_dataset.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check notice
Code scanning / CodeQL
'import *' may pollute namespace Note
Copilot Autofix
AI 4 months ago
To fix the issue, replace the
from nemo.collections.nlp.data.data_utils import *statement with explicit imports of the specific names required from thedata_utilsmodule. This ensures that only the necessary names are imported, avoiding namespace pollution.Steps:
data_utilsmodule in the current file or elsewhere in the codebase.import *statement with explicit imports of those names.