Skip to content

Commit

Permalink
PyText model exporter for SGNN (facebookresearch#464)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebookresearch#464

- PyText exporter skeleton
- Caffe2 op for text Preprocessor

Reviewed By: ajaech

Differential Revision: D14894599

fbshipit-source-id: 3f33b4a0e894d197d1f37d4ffbc804fa958188cc
  • Loading branch information
shoumikhin authored and facebook-github-bot committed Apr 11, 2019
1 parent fb1ccb8 commit 038e80c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytext/task/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def from_config(cls, task_config, metadata=None, model_state=None):
task_config.labels,
data_handler.metadata,
task_config.model,
task_config.featurizer,
)
if task_config.exporter
else None
Expand Down

0 comments on commit 038e80c

Please sign in to comment.