Skip to main content

Turn embedding models into instruct models by adding an adaption layer

Project description

post-instruct

This project is oriented at getting superior performance with smaller embedding models with minimal costs by training an additional layer that adjusts embeddings according to an instruction. This would also be beneficial to users, since most popular instruct embedding models require that you pass instructions as part of your query, which not only increases embedding time for each document, but prevents you from using the embeddings for multiple tasks or experiment with different instructions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

post_instruct-0.1.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

post_instruct-0.1.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file post_instruct-0.1.1.tar.gz.

File metadata

  • Download URL: post_instruct-0.1.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.14 Linux/5.15.0-134-generic

File hashes

Hashes for post_instruct-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3d4d85315fef2f268988ff0c1613ee946e9efa83cfa7f83d735c45d3415a3d4a
MD5 2808b885c522f6e5a004f5d40140d9ec
BLAKE2b-256 d26b582a91d58fa0d3a10c5f3535f1fbb31f6cda3326de47471a351f598fdfc4

See more details on using hashes here.

File details

Details for the file post_instruct-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: post_instruct-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.14 Linux/5.15.0-134-generic

File hashes

Hashes for post_instruct-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6b98cb53f73e772da4cfae56bd4614ae328dfa6d5c945e62a1ea525289bb4d0a
MD5 637866f673d8883db7cbde66444aebe7
BLAKE2b-256 4a4d8546ebe7fafc4b2a9954642369c4e0045de5183cef2a54a3ec53c619ffc8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page