Robin Picard
Robin Picard
When a multiple choice (either through `Literal` or `Enum`) is contained in a `List` as an output type, the value of the multiple choice is missing quotation marks. The problem...
The idea is that for the tools definition, the user could provide a list of either of those: - callables - dicts containing tool definitions - Pydantic model The `tools`...
This does not seem possible for the moment as the `InferenceClient` class of `huggingface_hub` has 2 different methods: `generate_text` and `chat_completion`. Only the 1st one supports structured output while only...
The models `Transformers` and `LlamaCpp` include some workarounds through the use of an Outlines-defined tokenizer on top of the model's native tokenizer. Those have recently been the cause of bugs...
Expose 2 new keywords for generation: - `end_thinking_tag`: a string indicating the tag used by the reasoning model to indicate that thinking is finished (and so that we should start...
The goal is to allow users to save/load the index to/from disk and re-use it. After this we can re-enable caching. This may require changes in outlines-core for serialization/deserialization of...
Addresses https://github.com/dottxt-ai/outlines-core/issues/227 This PR aims at fixing a contradictory behavior in the current implementation of the Index class: the `eos_token` is listed in the output of the function `allowed_tokens`, but...
### Describe the issue as clearly as possible: When the guide's current state is the final state, an error is raised when calling `guide.advance` with the eos token as an...
### Describe the issue as clearly as possible: I have an error when trying to create a `Vocabulary` with the model "erwanf/gpt2-mini" ### Steps/code to reproduce the bug: ```python from...