Skip to content

Releases: explosion/spacy-llm

v0.7.3: Sandbox Jinja to prevent code execution from untrusted configs

13 Jan 12:11
Compare
Choose a tag to compare

The jinja templating library allows arbitrary code execution unless run within a sandbox. This could allow arbitrary code execution if an untrusted config file were used to load the pipeline.

v0.7.2: Support for Python 3.12 and a Torch-related bugfix

17 May 09:36
117f689
Compare
Choose a tag to compare

✨ New features and improvements

  • Support for Python 3.12 (#466).

🔴 Bug fixes

  • Ensure that Torch is not imported or used unless it is available (#467).

⚠️ Backwards incompatibilities

No backwards incompatibilities w.r.t. v0.7.1.

👥 Contributors

@honnibal, @ines, @magdaaniol, @svlandeg

v0.7.1: Update `langchain` integration; fix EL task, model endpoints

29 Jan 13:46
c87d5a6
Compare
Choose a tag to compare

🔴 Bug fixes

  • Remove misguided check for fixed endpoints in OpenAI REST implementation (#429)
  • Fix bug in EL task if non-highlighted entities are in text (#375)
  • Update langchain integration to support langchain >= 0.1, < 0.2 (#433)

⚠️ Backwards incompatibilities

No backwards incompatibilities w.r.t. v0.7.0.

📖 Documentation and examples

  • Link task mentions in readme to docs (#421)

👥 Contributors

@honnibal, @ines, @magdaaniol, @rmitsch, @svlandeg

v0.7.0: Supporting arbitrarily long docs and various new tasks

19 Jan 16:27
fa42488
Compare
Choose a tag to compare

✨ New features and improvements

  • NEW: Support arbitrarily long docs leveraging map-reduce and document sharding. Read more here (#332)
  • NEW: New tasks -
    • EntityLinkingTask: use LLMs to link entity mentions in texts to entities in a custom knowledge base. Read more here (#241)
    • TranslationTask: translate documents from and to arbitrary languages. Read more here (#396)
    • RawTask: prompt models with only doc content, no prompt scaffolding, for a maximum of flexibility. Read more here (#395)
  • Allow custom endpoints for all models to support usage of fine-tuned models (#390)

🔴 Bug fixes

  • Fix issues with previously incomplete integration of LangChain objects (#417)

⚠️ Backwards incompatibilities

No backwards incompatibilities w.r.t. v0.6.x.

📖 Documentation and examples

👥 Contributors

@honnibal, @ines, @rmitsch, @svlandeg

v0.6.4: Fix `langchain` model init

17 Nov 17:19
230ec00
Compare
Choose a tag to compare

🔴 Bug fixes

  • Fix langchain model init for models not expecting model_name as model ID arg (#374)
  • Ignore Pydantic deprecation warnings stemming from torch (#375)

⚠️ Backwards incompatibilities

No backwards incompatibilities w.r.t. v0.6.0.

👥 Contributors

@honnibal, @ines, @shadeMe, @rmitsch

v0.6.3: Improved device handling for HF models, new OpenAI models, various fixes, etc.

13 Nov 18:26
2c37a81
Compare
Choose a tag to compare

✨ New features and improvements

  • Scoring support for sentiment task (#331)
  • Add label definitions for LabeledTasks (#340)
  • Support langchain 0.0.335 (#365)
  • Support new OpenAI models by allowing arbitrary model names for existing model families (#356)

🔴 Bug fixes

  • Fix REL prompt generation outputting internal IDs instead of string values for labels (#367)
  • Fix device handling for HF models, allow passing torch_dtype in config (#359)
  • Fix incorrect base URL for Azure OpenAI models (#337)

⚠️ Backwards incompatibilities

No backwards incompatibilities w.r.t. v0.6.0.

👥 Contributors

@habibhaidari1, @honnibal, @ines, @shadeMe, @rmitsch, @svlandeg, @viveksilimkhan1

v0.6.2: Patch anthropic-version header

16 Oct 09:17
5c2b565
Compare
Choose a tag to compare

🔴 Bug fixes

  • Anthropic requests include a anthropic-version header (instead of anthropic_version) (#328)

⚠️ Backwards incompatibilities

No backwards incompatibilities w.r.t. v0.6.0.

👥 Contributors

@honnibal, @ines, @rmitsch

v0.6.1: Fix model initialization for Llama 2 and requests for Anthropic

13 Oct 17:55
bfd862a
Compare
Choose a tag to compare

🔴 Bug fixes

  • Llama 2 init doesn't use use_auth_token=True by default anymore (#325)
  • Anthropic requests include a anthropic_version header (#325)

Both bugs couldn't be reproduced on our end, so we can't guarantee that these bugs are fixed now. #323 and #324 for a follow-up.

⚠️ Backwards incompatibilities

No backwards incompatibilities w.r.t. v0.6.0.

👥 Contributors

@honnibal, @ines, @rmitsch

v0.6.0: PaLM, Azure OpenAI, Mistral & fixed OS model responses

05 Oct 17:54
3a8b28e
Compare
Choose a tag to compare

✨ New features and improvements

  • NEW: Native REST support for...
    • PaLM (#305)
    • Azure OpenAI (#316)
    • Mistral 7B (#313)
    • OpenAI gpt-3.5-turbo-instruct - supports batching! (#300)
  • Support langchain==0.0.302 (#308)

🔴 Bug fixes

  • Hugging Face models return just the prompt response instead of prompt + prompt response (#315)

⚠️ Backwards incompatibilities

No backwards incompatibilities w.r.t. v0.5.x.

📖 Documentation and examples

  • New usage example for spacy.NER.v3 with Dolly (#302)

👥 Contributors

@honnibal, @ines, @rmitsch

v0.5.1: Fix `confection` dependency pin

11 Sep 09:01
8e9a11b
Compare
Choose a tag to compare

🔴 Bug fixes

  • Fix Fix confection dependency pin (#290)