Skip to content

Commit

Permalink
GH-1492: clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
alanakbik committed Apr 1, 2020
1 parent 745cc4f commit 691fc4a
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 @@ -1192,7 +1192,6 @@ def _get_transformer_sentence_embeddings(
tokens_tensor = torch.tensor([indexed_tokens])
tokens_tensor = tokens_tensor.to(flair.device)

print(tokens_tensor)
hidden_states = model(tokens_tensor)[-1]

for token in sentence.tokens:
Expand Down

0 comments on commit 691fc4a

Please sign in to comment.