Skip to content

Commit

Permalink
Update test_models_initialization.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NIXBLACK11 authored Nov 9, 2023
1 parent 6356c4d commit eac3674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions laser_encoders/test_models_initialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ def test_validate_kashmiri_models_and_tokenize_laser3(lang="kas"):
downloader = LaserModelDownloader(model_dir=tmp_dir)
with pytest.raises(ValueError):
downloader.download_laser3(lang)

encoder = initialize_encoder(lang, model_dir=tmp_dir)
tokenizer = initialize_tokenizer(lang, model_dir=tmp_dir)

# Test tokenization with a sample sentence
tokenized = tokenizer.tokenize("This is a sample sentence.")

Expand Down

0 comments on commit eac3674

Please sign in to comment.