Skip to content

Commit

Permalink
Bump version to v0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanMullins committed Nov 12, 2024
1 parent 3a068a3 commit 2ab965b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "synthid-text"
version = "0.1.1"
version = "0.2"
authors = [
{ name="DeepMind Technologies Limited" },
]
Expand Down
4 changes: 2 additions & 2 deletions src/synthid_text/synthid_mixin_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Config:
is_encoder_decoder: bool = True


class TestSynthIDModel(synthid_mixin.SynthIDSparseTopKMixin):
class MockSynthIDModel(synthid_mixin.SynthIDSparseTopKMixin):

def __init__(self, config: Config):
super().__init__()
Expand Down Expand Up @@ -70,7 +70,7 @@ def test_sampling_from_mixin_includes_watermarking(self):
autospec=True,
) as mock_watermarked_call:
mock_watermarked_call.side_effect = old_watermarked_call
synthid_model = TestSynthIDModel(config=Config())
synthid_model = MockSynthIDModel(config=Config())
generation_config = transformers.GenerationConfig(
top_k=5,
temperature=0.5,
Expand Down

0 comments on commit 2ab965b

Please sign in to comment.