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

Restrict acceptable values for model_url parameter of ConveRTTokenizer #7089

Merged
merged 25 commits into from
Oct 29, 2020

Conversation

dakshvar22
Copy link
Contributor

@dakshvar22 dakshvar22 commented Oct 22, 2020

Proposed changes:

Status (please check what you already did):

  • added some tests for the functionality
  • updated the documentation
  • updated the changelog (please check changelog for instructions)
  • reformat files using black (please check Readme for instructions)

@wochinge
Copy link
Contributor

@dakshvar22 Seems the remaining docstring issues are valid.

@dakshvar22
Copy link
Contributor Author

dakshvar22 commented Oct 28, 2020

@wochinge Just pushed fixes for them.

Copy link
Contributor

@wochinge wochinge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great testing!

changelog/7089.bugfix.md Outdated Show resolved Hide resolved
changelog/7089.bugfix.md Outdated Show resolved Hide resolved
changelog/7089.bugfix.md Show resolved Hide resolved
model_directory: Directory to investigate
"""
files_to_check = [
os.path.join(model_directory, "saved_model.pb"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optional: let's use the pathlib to concatenate /deal with the paths.

rasa/nlu/tokenizers/convert_tokenizer.py Outdated Show resolved Hide resolved
tests/nlu/tokenizers/test_convert_tokenizer.py Outdated Show resolved Hide resolved
rasa/nlu/tokenizers/convert_tokenizer.py Outdated Show resolved Hide resolved
tests/nlu/tokenizers/test_convert_tokenizer.py Outdated Show resolved Hide resolved
tests/utils/test_io.py Outdated Show resolved Hide resolved
Copy link
Contributor

@wochinge wochinge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check the remaining comments. Go to go otherwise 👍

changelog/7089.bugfix.md Outdated Show resolved Hide resolved
rasa/nlu/tokenizers/convert_tokenizer.py Outdated Show resolved Hide resolved
rasa/utils/io.py Outdated Show resolved Hide resolved
rasa/utils/io.py Outdated Show resolved Hide resolved
tests/nlu/featurizers/test_convert_featurizer.py Outdated Show resolved Hide resolved
rasa/nlu/tokenizers/convert_tokenizer.py Show resolved Hide resolved
rasa/utils/io.py Outdated Show resolved Hide resolved
@dakshvar22 dakshvar22 merged commit 63a5e12 into 2.0.x Oct 29, 2020
@dakshvar22 dakshvar22 deleted the convert_url_fix branch October 29, 2020 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants