A library for mapping text into a multidimensional embedding space representing emotion
Project description
Extract emotional information from embeddings.
When working with LLMs, various embedding models capture emotional information that might be useful to work with (or without!).
An emopoint is a simplified embedding with interpretable dimensions:
- joy vs sadness
- anger vs fear
- disgust vs surprise
So, for example OpenAI's text-embedding-3-small
returns embeddings with 1536
dimensions. This library will convert those into 3 dimensions, losing most
information except for what directly relates to emotion.
This library enables two modes:
- Isolate emotion, converting it into 3D emopoint vectors
- Remove emotion, stay in original dimensionality
Install
Install using your language's package manager:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
emopoint-0.1.2.tar.gz
(195.0 kB
view hashes)
Built Distribution
emopoint-0.1.2-py3-none-any.whl
(196.2 kB
view hashes)