Skip to content

Commit

Permalink
GH-1494: remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
alanakbik committed Apr 26, 2020
1 parent 6acd36f commit 7bc791e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion flair/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2297,7 +2297,6 @@ def _add_embeddings_to_sentences(self, sentences: List[Sentence]):

subtokenized_sentences.append(torch.tensor(subtokenized_sentence, dtype=torch.long))
subtokens = self.tokenizer.convert_ids_to_tokens(subtokenized_sentence)
# print(subtokens)

word_iterator = iter(sentence)
token = next(word_iterator)
Expand Down

0 comments on commit 7bc791e

Please sign in to comment.