hamtaa-texttools 0.1.51__py3-none-any.whl → 0.1.52__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hamtaa-texttools
3
- Version: 0.1.51
3
+ Version: 0.1.52
4
4
  Summary: A set of high-level NLP tools
5
5
  Author: Tohidi, Montazer, Givechi, Mousavinezhad
6
6
  Requires-Python: >=3.8
@@ -50,12 +50,12 @@ texttools/tools/summarizer/__init__.py,sha256=phrR7qO20CNhO3hjXQBzhTRVumdVdGSufm
50
50
  texttools/tools/summarizer/gemma_summarizer.py,sha256=ikhsBv7AiZD1dT_d12AyjXxojzSW92e2y5WjchI_3bE,4474
51
51
  texttools/tools/summarizer/llm_summerizer.py,sha256=-0rUKbSnl1aDeBfJ5DCSbIlwd2k-9qIaCKgoQJa0hWc,3412
52
52
  texttools/tools/translator/__init__.py,sha256=KO1m08J2BZwRqBGO9ICB4l4cnH1jfHLHL5HbgYFUWM8,72
53
- texttools/tools/translator/gemma_translator.py,sha256=yIlgxBjGAup7vMHLPJ5Q8LmFl8udrBh6j0smAH0UFwY,7509
53
+ texttools/tools/translator/gemma_translator.py,sha256=gtvSpz19aGlbAk98M4xX61F4CqyI0QeAxLuw7N8cAoI,7551
54
54
  texttools/utils/flex_processor.py,sha256=C-lMwMjpIM6uAPFxXdgajxcFV1ccngEfJqq6xe5S1J8,3123
55
55
  texttools/utils/batch_manager/__init__.py,sha256=3ZkxA395lRD4gNxJ1vp0fNuz_XuBr50GoP51rrwQ0Ks,87
56
56
  texttools/utils/batch_manager/batch_manager.py,sha256=jAmKskL3OTYwwsO1mWsWAB3VxMlOF07c2GW1Ev83ZhY,9283
57
57
  texttools/utils/batch_manager/batch_runner.py,sha256=DE6TFz3i_jR-ZiUYbgIdLgjqr3aitw-JM_tKnSvzGL0,7424
58
- hamtaa_texttools-0.1.51.dist-info/METADATA,sha256=CBQyDE8L5VrKZVciOVG5LbxOyc1df9hBnEYz0dwauLc,1481
59
- hamtaa_texttools-0.1.51.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
60
- hamtaa_texttools-0.1.51.dist-info/top_level.txt,sha256=5Mh0jIxxZ5rOXHGJ6Mp-JPKviywwN0MYuH0xk5bEWqE,10
61
- hamtaa_texttools-0.1.51.dist-info/RECORD,,
58
+ hamtaa_texttools-0.1.52.dist-info/METADATA,sha256=tRdADD1IP3at6Bp043-KsnFBr1tAcguGvdIBCjAaFuo,1481
59
+ hamtaa_texttools-0.1.52.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
60
+ hamtaa_texttools-0.1.52.dist-info/top_level.txt,sha256=5Mh0jIxxZ5rOXHGJ6Mp-JPKviywwN0MYuH0xk5bEWqE,10
61
+ hamtaa_texttools-0.1.52.dist-info/RECORD,,
@@ -145,7 +145,10 @@ class GemmaTranslator(BaseTranslator):
145
145
  messages=restructured,
146
146
  response_format=List[PreprocessorOutput],
147
147
  temperature=self.temperature,
148
- extra_body=dict(guided_decoding_backend="auto") ** self.client_kwargs,
148
+ extra_body={
149
+ "guided_decoding_backend": "auto",
150
+ },
151
+ **self.client_kwargs,
149
152
  )
150
153
  message = completion.choices[0].message
151
154