Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

migrate pages.integrity.scam.docnn_models.xxx #1275

Conversation

chenyangyu1988
Copy link
Contributor

Summary:
Migrate domain pages.integrity.scam.docnn_models.fixed_gambling

  1. In docnn_utils.py, API get_pytext_docnn_config return PyText config which have same functionality as DeepText
  2. In docnn_models.py, API get_domain return PyTextDocumentClassifier when provide pytext_config instead of text_nn_config
  3. In pytext/api.py, import all PyText necessary modules to use for page_integrity

Differential Revision: D20154527

Summary:
Migrate domain pages.integrity.scam.docnn_models.fixed_gambling
1. In docnn_utils.py, API get_pytext_docnn_config return PyText config which have same functionality as DeepText
2. In docnn_models.py, API get_domain return PyTextDocumentClassifier when provide pytext_config instead of text_nn_config
3. In pytext/api.py, import all PyText necessary modules to use for page_integrity

Differential Revision: D20154527

fbshipit-source-id: 83fbb6752dc03c7bbc03193827b799b54030d71c
@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Mar 10, 2020
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D20154527

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in a9b2b3d.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants