Skip to content

Commit

Permalink
style: reformat code using black
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulooh007 committed Oct 19, 2023
1 parent 82d400a commit 280c208
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion laser_encoders/test_laser_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ def test_sentence_encoder(
lang: str,
input_text: str,
):
sentence_encoder = LaserEncoderPipeline(model_dir=tmp_path, laser=laser, lang=lang, tokenize=False)
sentence_encoder = LaserEncoderPipeline(
model_dir=tmp_path, laser=laser, lang=lang, tokenize=False
)
tokenized_text = tokenizer.tokenize(input_text)
sentence_embedding = sentence_encoder.encode_sentences([tokenized_text])

Expand Down

0 comments on commit 280c208

Please sign in to comment.