Skip to content

Commit

Permalink
Merge pull request #252 from SunYanCN/master
Browse files Browse the repository at this point in the history
Update text-classification.md
  • Loading branch information
BrikerMan committed Sep 27, 2019
2 parents ee09e2e + 9ccb5dc commit 9e6d268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs/docs/tutorial/text-classification.md
Expand Up @@ -79,7 +79,7 @@ import logging
logging.basicConfig(level='DEBUG')

bert_embed = BERTEmbedding('<PRE_TRAINED_BERT_MODEL_FOLDER>',
task=kashgari.LABELING,
task=kashgari.CLASSIFICATION,
sequence_length=100)
model = BiGRU_Model(bert_embed)
model.fit(train_x, train_y, valid_x, valid_y)
Expand Down

0 comments on commit 9e6d268

Please sign in to comment.