Skip to content

Commit 993e4c8

Browse files
Fixed failing test
1 parent c535e83 commit 993e4c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit/tf/transformers/test_block.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ def test_transformer_as_classification_model(sequence_testing_data: Dataset, run
169169
schema,
170170
categorical=mm.Embeddings(schema, sequence_combiner=None),
171171
),
172+
mm.MLPBlock([EMBED_DIM]),
172173
BertBlock(
173174
d_model=EMBED_DIM,
174175
n_head=8,
@@ -536,7 +537,7 @@ def test_transformer_encoder_with_contrastive_output(sequence_testing_data: Data
536537
to_call=target_schema,
537538
negative_samplers=mm.PopularityBasedSamplerV2(
538539
max_num_samples=10,
539-
max_id=1000,
540+
max_id=100,
540541
min_id=1,
541542
),
542543
logq_sampling_correction=True,

0 commit comments

Comments
 (0)