-
Notifications
You must be signed in to change notification settings - Fork 7
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
Conversation
fix #4 |
@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 |
|
||
class PyPandaQA(PandaTorchBasicModel): | ||
""" | ||
Implementation of PyTorch Vgg |
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.
it is not vgg, may change the comment
|
||
return best_answer, confidence, best_paragraph | ||
|
||
class PyPandaQA(PandaTorchBasicModel): |
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.
PandaTorchBasicModel was renamed to TorchModel
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.
you can see the renamed class https://github.com/nusdbsystem/singa-easy/blob/master/singa_easy/models/TorchModel.py#L74
|
||
|
||
|
||
class PyPandaResNet(PandaTorchBasicModel): |
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.
PandaTorchBasicModel was renamed to TorchModel
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.
you can see the renamed class https://github.com/nusdbsystem/singa-easy/blob/master/singa_easy/models/TorchModel.py#L74
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. |
@delphieritas Please submit the panda model of resnet and inception in other PRs, thanks |
QA model might still be tuning in the future