-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature (model) : Adding PRGC model and fixing some structure bug
- Loading branch information
xiangking
committed
Aug 17, 2021
1 parent
ad941e6
commit 4fef0a9
Showing
9 changed files
with
1,123 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from ark_nlp.model.re.prgc_bert.prgc_relation_extraction_dataset import PRGCREDataset | ||
from ark_nlp.model.re.prgc_bert.prgc_relation_extraction_dataset import PRGCREDataset as Dataset | ||
|
||
from ark_nlp.processor.tokenizer.transfomer import SpanTokenizer as Tokenizer | ||
from ark_nlp.processor.tokenizer.transfomer import SpanTokenizer as PRGCRETokenizer | ||
|
||
from ark_nlp.nn import BertConfig as PRGCBertConfig | ||
from ark_nlp.model.re.prgc_bert.prgc_bert import PRGCBert | ||
|
||
from ark_nlp.factory.optimizer import get_default_bert_optimizer as get_default_model_optimizer | ||
from ark_nlp.factory.optimizer import get_default_bert_optimizer as get_default_prgc_bert_optimizer | ||
|
||
from ark_nlp.model.re.prgc_bert.prgc_relation_extraction_task import PRGCRETask as Task | ||
from ark_nlp.model.re.prgc_bert.prgc_relation_extraction_task import PRGCRETask as PRGCRETask | ||
|
||
from ark_nlp.model.re.prgc_bert.prgc_relation_extraction_predictor import PRGCREPredictor as Predictor | ||
from ark_nlp.model.re.prgc_bert.prgc_relation_extraction_predictor import PRGCREPredictor as PRGCREPredictor |
Oops, something went wrong.