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

Add ResNet and QA models. Created Qestion_Answering folder under examples/models #5

Closed
wants to merge 4 commits into from

Conversation

delphieritas
Copy link
Contributor

QA model might still be tuning in the future

@delphieritas
Copy link
Contributor Author

fix #4

@chrishkchris
Copy link
Contributor


class PyPandaQA(PandaTorchBasicModel):
"""
Implementation of PyTorch Vgg
Copy link
Contributor

@chrishkchris chrishkchris May 6, 2020

Choose a reason for hiding this comment

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

it is not vgg, may change the comment


return best_answer, confidence, best_paragraph

class PyPandaQA(PandaTorchBasicModel):
Copy link
Contributor

@chrishkchris chrishkchris May 6, 2020

Choose a reason for hiding this comment

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

PandaTorchBasicModel was renamed to TorchModel

Copy link
Contributor

Choose a reason for hiding this comment

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




class PyPandaResNet(PandaTorchBasicModel):
Copy link
Contributor

@chrishkchris chrishkchris May 6, 2020

Choose a reason for hiding this comment

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

PandaTorchBasicModel was renamed to TorchModel

Copy link
Contributor

Choose a reason for hiding this comment

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

@nudles
Copy link
Contributor

nudles commented May 6, 2020

@delphieritas May you also add this file here, thanks https://github.com/easyfan327/rafiki_panda_dev/blob/panda-dev/examples/models/image_classification/inception.py

no. I suggest to create a separate PR for each model instead of combining many models in a single PR. It becomes difficult to review and merge.
For this PR, if it is just for QA model, then remove the resnet model.

@chrishkchris
Copy link
Contributor

@delphieritas May you also add this file here, thanks https://github.com/easyfan327/rafiki_panda_dev/blob/panda-dev/examples/models/image_classification/inception.py

no. I suggest to create a separate PR for each model instead of combining many models in a single PR. It becomes difficult to review and merge.
For this PR, if it is just for QA model, then remove the resnet model.

@delphieritas Please submit the panda model of resnet and inception in other PRs, thanks

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.

3 participants