Skip to content

Commit

Permalink
✏️ Fixing typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrikerMan committed Jul 15, 2019
1 parent 6c06804 commit bd6c159
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mkdocs/docs/embeddings/bert-embedding.md
Expand Up @@ -65,8 +65,8 @@ The sentences will become tokenized into:
# so we need to disable the default add_bos_eos setting.
bert_embedding.processor.add_bos_eos = False

train_x, train_y = sentences, labels
validate_x, validate_y = sentences, labels
train_x, train_y = sentences_tokenized[:2], labels[:2]
validate_x, validate_y = sentences_tokenized[2:], labels[2:]

########## build model ##########
from kashgari.tasks.classification import CNNLSTMModel
Expand Down

0 comments on commit bd6c159

Please sign in to comment.