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

ModelSearcher updated #262

Merged

Conversation

anamika-yadav99
Copy link
Contributor

@anamika-yadav99 anamika-yadav99 commented May 5, 2022

issue #241
I have added 2 methods to ModelSearcher Class to search using --text and --mode . To search using --text search_text method is added which also performs fuzzy match on the input to the data in catalog table. Fuzzy match is performed on model_id, description and slug.
image
image

search_mode method is kept same as previous search which searches the mode by which the model was trained. It doesn't perform any string matching.
Also, when no match is found user is asked to look through the catalog

@miquelduranfrigola miquelduranfrigola merged commit f63fbce into ersilia-os:master May 9, 2022
@miquelduranfrigola
Copy link
Member

Hi @anamika-yadav99 this is great stuff. I have approved the PR

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.

None yet

2 participants