Skip to content

Releases: Genaios/TextMachina

v0.2.12: Two more providers, better defaults, and examples

08 May 10:28
b6bb4ed
Compare
Choose a tag to compare

This release adds:

  • Two new providers: DeepInfra and OpenRouter.
  • Examples to work with these two providers.
  • Better default args for hf_remote and inference_server.

v0.2.11: Better defaults and chat-template in hf_local

02 May 14:35
Compare
Choose a tag to compare

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.

02 May 12:40
4aab84c
Compare
Choose a tag to compare

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

30 Apr 16:11
dcbb559
Compare
Choose a tag to compare

This version adds chat templates to work with chat models in HuggingFace local and remote.

v0.2.7: Updated providers!

26 Apr 08:57
a608aa8
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.2.7...0.2.8

v0.2.7: Fix PosixPaths

25 Apr 14:36
21efd11
Compare
Choose a tag to compare

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!

06 Mar 11:09
Compare
Choose a tag to compare

This release adds:

  • Bugfixes in postprocessing
  • Inclusion of language information in the generated datasets

v0.2.5: Update caching mechanism

26 Feb 11:11
214a4fb
Compare
Choose a tag to compare

This release adds:

  • A fixed caching mechanism that removes any possibility of caching conflicts

Spacy multilingual extractors

19 Feb 11:24
abc4c5e
Compare
Choose a tag to compare

This release adds:

  • Fix spacy multilingual models for extraction

v0.2.3: Updated AI21, multilingual spacy model, AWS Bedrock bugfixes

19 Feb 11:18
f466938
Compare
Choose a tag to compare

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