Swarmauri Embedding Doc2vec
A Gensim-based Doc2Vec implementation for document embedding in the Swarmauri ecosystem. This package provides document vectorization capabilities using the Doc2Vec algorithm.
Installation
pip install swarmauri_embedding_doc2vec
Usage
from swarmauri.embeddings.Doc2VecEmbedding import Doc2VecEmbedding
# Initialize the embedder
embedder = Doc2VecEmbedding(vector_size=3000)
# Prepare your documents
documents = ["This is the first document.", "Here is another document.", "And a third one"]
# Fit and transform documents
vectors = embedder.fit_transform(documents)
# Transform new documents
new_doc = "This is a new document"
vector = embedder.transform([new_doc])
# Save and load the model
embedder.save_model("doc2vec.model")
embedder.load_model("doc2vec.model")
Want to help?
If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.
Metadata
Release files for swarmauri_embedding_doc2vec 0.7.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| swarmauri_embedding_doc2vec-0.7.5.tar.gz | 7.0 kB | Without provenance | Details for swarmauri_embedding_doc2vec-0.7.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| swarmauri_embedding_doc2vec-0.7.5-py3-none-any.whl | Python 3 | none | any | Details for swarmauri_embedding_doc2vec-0.7.5-py3-none-any.whl |
Total release size: 15.0 kB
Release files / swarmauri_embedding_doc2vec-0.7.5.tar.gz
| Download URL | swarmauri_embedding_doc2vec-0.7.5.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea8c82dab227e8393b8fb5b3713fdc24c799e0da0f5b8be24d7c18ef8cd807ba
|
|
BLAKE2b-256 checksum How to use checksums |
e56522e68aa8ec0df1bab81372d0b2eb32300062fedc5f05ae82bcea27b14fd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.7
|
Release files / swarmauri_embedding_doc2vec-0.7.5-py3-none-any.whl
| Download URL | swarmauri_embedding_doc2vec-0.7.5-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
068f6fa096750c0b61654b3ada9672d5c9b7f0cf83ddb7bf98683f064290c507
|
|
BLAKE2b-256 checksum How to use checksums |
36b9cf07216559ba2876456dedb68cf662c61cf2c26fd6eef4558a0ceea86b2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.7
|
Security for swarmauri_embedding_doc2vec 0.7.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.