divergent-beamsearch 0.2.2__tar.gz → 0.2.3__tar.gz

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: divergent-beamsearch
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: A variant of the beam search algorithm that focuses on finding answers that maximize the probability of generating an answer before diverging into another subject.
5
5
  License-File: LICENCE
6
6
  Requires-Python: >=3.11
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "divergent-beamsearch"
3
- version = "0.2.2"
3
+ version = "0.2.3"
4
4
  description = "A variant of the beam search algorithm that focuses on finding answers that maximize the probability of generating an answer before diverging into another subject."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -75,6 +75,7 @@ class AcceptEverythingParser(Parser):
75
75
  def __init__(self, vocab_size : int):
76
76
  self.vocab_size = vocab_size
77
77
  self.tokens = tuple(range(vocab_size))
78
+ self.finished = False
78
79
 
79
80
  def step(self, token):
80
81
  pass