Skip to content

Commit

Permalink
Merge branch 'main' into add-max-words-limitation
Browse files Browse the repository at this point in the history
  • Loading branch information
g-prz authored Jan 20, 2025
2 parents e2e7318 + 063291d commit dca604c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ class Operation(Enum):
mul = partial(mul)

model = outlines.models.transformers("WizardLM/WizardMath-7B-V1.1")
generator = outlines.generate.json(model, add)
generator = outlines.generate.json(model, Operation)
result = generator("Return json with two float named c and d respectively. c is negative and d greater than 1.0.")

print(result)
Expand Down

0 comments on commit dca604c

Please sign in to comment.