Changed test to use pool trainer

This commit is contained in:
Christian Risi 2025-10-02 09:56:05 +02:00
parent 1eae8582b2
commit 2194cc7b4f

View File

@ -4,13 +4,13 @@ import Project_Model.Libs.BPE as BPE
import re
CACHE_DIR_PATH = Path("Project_Model/Tests/trainer_files/cache")
CACHE_DIR_PATH = Path("Project_Model/Tests/trainer_files/cache/pool-cache.json")
class TestTrainBPE:
def test_bpe_train_encoding_simple(self):
TRAINER = BPE.NanoSocraTrainer(
TRAINER = BPE.NanoSocraTrainerPool(
int(32E3),
["<SOT>", "<EOT>"],
40