From eac3674b604641229c99538f7a50d61ae72fcc7c Mon Sep 17 00:00:00 2001 From: Siddharth Singh Rana <91743459+NIXBLACK11@users.noreply.github.com> Date: Thu, 9 Nov 2023 20:11:01 +0530 Subject: [PATCH] Update test_models_initialization.py --- laser_encoders/test_models_initialization.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/laser_encoders/test_models_initialization.py b/laser_encoders/test_models_initialization.py index 9e835648..88e898fa 100644 --- a/laser_encoders/test_models_initialization.py +++ b/laser_encoders/test_models_initialization.py @@ -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.")