Releases: Genaios/TextMachina
Releases · Genaios/TextMachina
v0.2.12: Two more providers, better defaults, and examples
This release adds:
- Two new providers: DeepInfra and OpenRouter.
- Examples to work with these two providers.
- Better default args for
hf_remoteandinference_server.
v0.2.11: Better defaults and chat-template in hf_local
This update adds chat templates for generate_completion in hf_local models, and set a better default backoff factor for hf_remote models.
v.0.2.10: `Example` extractor.
This release adds an Example extractor to fill the templates with examples from the dataset. Now, you can define prompts like the following one, without specifying examples by hand in the template:
Write a legal document in German. Here you have some examples:
- Example 1: {example_1}\n
- Example 2: {example_2}\n
Document:
or combine it with another extractors, e.g.:
Write a legal document in German. Here you have some examples:\n
- Example 1: {example_1}\n
- Example 2: {example_2}\n
You must use the following entities: {entities}.
Document:
v0.2.9: Chat templates
This version adds chat templates to work with chat models in HuggingFace local and remote.
v0.2.7: Updated providers!
What's Changed
- Add mistral to bedrock and upgrade anthropic by @asarvazyan in #13
Full Changelog: 0.2.7...0.2.8
v0.2.7: Fix PosixPaths
Recent versions of datasets do not allow to use PosixPath arguments in save_to_disk and load_from_disk. This PR converts PosixPath to str in all these methods.
v0.2.6: Better postprocessing!
This release adds:
- Bugfixes in postprocessing
- Inclusion of language information in the generated datasets
v0.2.5: Update caching mechanism
This release adds:
- A fixed caching mechanism that removes any possibility of caching conflicts
Spacy multilingual extractors
This release adds:
- Fix spacy multilingual models for extraction
v0.2.3: Updated AI21, multilingual spacy model, AWS Bedrock bugfixes
This release adds:
- Use updated ai21 SDK
- Use multilingual spacy model for non-supported languages
- Bugfix: Correctly use each provider's API in AWS Bedrock