Text Embedding Package
A Python package for converting texts into embeddings using pretrained transformer models.
Installation
pip install herberta
```python
from herberta.embedding import TextToEmbedding
# Initialize the embedding model
embedder = TextToEmbedding("path/to/your/model")
# Single text input
embedding = embedder.get_embeddings("This is a sample text.")
# Multiple text input
texts = ["This is a sample text.", "Another example."]
embeddings = embedder.get_embeddings(texts)
Metadata
Release files for herberta 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| herberta-0.1.0.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| herberta-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / herberta-0.1.0.tar.gz
| Download URL | herberta-0.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7cfa9aadf6d170cb12c98e0c6fa7bd4d3b23f290db92210cd945f2e3f195ba8
|
|
BLAKE2b-256 checksum How to use checksums |
61cccf3ced7eab666b8dcb9f7d21d47880b7e805d3c6256d5ac41d28340590d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.6
|
Release files / herberta-0.1.0-py3-none-any.whl
| Download URL | herberta-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1575bfc7737e973fcd06b7f78eb9b8e08a770e59697313f44441c9492f283f48
|
|
BLAKE2b-256 checksum How to use checksums |
c951e1e7308087ffc0870f2fd3abe2c0733546844d90a24bd6a3ff2b0f02e9a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.6
|