Skip to content

Commit

Permalink
Update test_cpp.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
bab2min committed Dec 17, 2024
1 parent 2389067 commit 63efcad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_cpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ TEST(KiwiCpp, HSDataset)
for (size_t w : {0, 1, 2, 4})
{
//std::cout << w << std::endl;
auto dataset = kw.makeHSDataset(data, batchSize, 0, windowSize, w, 0.);
auto dataset = kw.makeHSDataset(data, batchSize, 0, windowSize, w, 0., 0.);
for (size_t i = 0; i < 2; ++i)
{
size_t totalBatchCnt = 0, totalTokenCnt = 0, s;
Expand All @@ -436,7 +436,7 @@ TEST(KiwiCpp, HSDataset)
};

HSDataset trainset, devset;
trainset = kw.makeHSDataset(data, batchSize, 0, windowSize, 1, 0., tokenFilter, {}, 0.1, false, {}, 0, &devset);
trainset = kw.makeHSDataset(data, batchSize, 0, windowSize, 1, 0., 0., tokenFilter, {}, 0.1, false, {}, 0, &devset);
for (size_t i = 0; i < 2; ++i)
{
{
Expand Down

0 comments on commit 63efcad

Please sign in to comment.