swarmauri_embedding_doc2vec 0.7.0.dev12__tar.gz → 0.7.1.dev1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: swarmauri_embedding_doc2vec
3
- Version: 0.7.0.dev12
3
+ Version: 0.7.1.dev1
4
4
  Summary: A Doc2Vec based Embedding Model.
5
5
  License: Apache-2.0
6
6
  Author: Jacob Stewart
@@ -16,20 +16,25 @@ Requires-Dist: swarmauri_core
16
16
  Requires-Dist: swarmauri_standard
17
17
  Description-Content-Type: text/markdown
18
18
 
19
- ![Swarmauri Logo](https://res.cloudinary.com/dbjmpekvl/image/upload/v1730099724/Swarmauri-logo-lockup-2048x757_hww01w.png)
20
19
 
21
- <div align="center">
20
+ ![Swamauri Logo](https://res.cloudinary.com/dbjmpekvl/image/upload/v1730099724/Swarmauri-logo-lockup-2048x757_hww01w.png)
22
21
 
23
- ![PyPI - Downloads](https://img.shields.io/pypi/dm/swarmauri_embedding_doc2vec)
24
- ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/swarmauri_embedding_doc2vec)
25
- ![PyPI - License](https://img.shields.io/pypi/l/swarmauri_embedding_doc2vec)
26
- ![PyPI - Version](https://img.shields.io/pypi/v/swarmauri_embedding_doc2vec?label=swarmauri_embedding_doc2vec&color=green)
27
-
28
- </div>
22
+ <p align="center">
23
+ <a href="https://pypi.org/project/swarmauri_embedding_doc2vec/">
24
+ <img src="https://img.shields.io/pypi/dm/swarmauri_embedding_doc2vec" alt="PyPI - Downloads"/></a>
25
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/standards/swarmauri_embedding_doc2vec/README.md">
26
+ <img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/swarmauri/swarmauri-sdk/pkgs/standards/swarmauri_embedding_doc2vec/README.md&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false" alt="GitHub Hits"/></a>
27
+ <a href="https://pypi.org/project/swarmauri_embedding_doc2vec/">
28
+ <img src="https://img.shields.io/pypi/pyversions/swarmauri_embedding_doc2vec" alt="PyPI - Python Version"/></a>
29
+ <a href="https://pypi.org/project/swarmauri_embedding_doc2vec/">
30
+ <img src="https://img.shields.io/pypi/l/swarmauri_embedding_doc2vec" alt="PyPI - License"/></a>
31
+ <a href="https://pypi.org/project/swarmauri_embedding_doc2vec/">
32
+ <img src="https://img.shields.io/pypi/v/swarmauri_embedding_doc2vec?label=swarmauri_embedding_doc2vec&color=green" alt="PyPI - swarmauri_embedding_doc2vec"/></a>
33
+ </p>
29
34
 
30
35
  ---
31
36
 
32
- # Doc2Vec Embedding
37
+ # Swarmauri Embedding Doc2vec
33
38
 
34
39
  A Gensim-based Doc2Vec implementation for document embedding in the Swarmauri ecosystem. This package provides document vectorization capabilities using the Doc2Vec algorithm.
35
40
 
@@ -0,0 +1,54 @@
1
+
2
+ ![Swamauri Logo](https://res.cloudinary.com/dbjmpekvl/image/upload/v1730099724/Swarmauri-logo-lockup-2048x757_hww01w.png)
3
+
4
+ <p align="center">
5
+ <a href="https://pypi.org/project/swarmauri_embedding_doc2vec/">
6
+ <img src="https://img.shields.io/pypi/dm/swarmauri_embedding_doc2vec" alt="PyPI - Downloads"/></a>
7
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/standards/swarmauri_embedding_doc2vec/README.md">
8
+ <img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/swarmauri/swarmauri-sdk/pkgs/standards/swarmauri_embedding_doc2vec/README.md&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false" alt="GitHub Hits"/></a>
9
+ <a href="https://pypi.org/project/swarmauri_embedding_doc2vec/">
10
+ <img src="https://img.shields.io/pypi/pyversions/swarmauri_embedding_doc2vec" alt="PyPI - Python Version"/></a>
11
+ <a href="https://pypi.org/project/swarmauri_embedding_doc2vec/">
12
+ <img src="https://img.shields.io/pypi/l/swarmauri_embedding_doc2vec" alt="PyPI - License"/></a>
13
+ <a href="https://pypi.org/project/swarmauri_embedding_doc2vec/">
14
+ <img src="https://img.shields.io/pypi/v/swarmauri_embedding_doc2vec?label=swarmauri_embedding_doc2vec&color=green" alt="PyPI - swarmauri_embedding_doc2vec"/></a>
15
+ </p>
16
+
17
+ ---
18
+
19
+ # Swarmauri Embedding Doc2vec
20
+
21
+ A Gensim-based Doc2Vec implementation for document embedding in the Swarmauri ecosystem. This package provides document vectorization capabilities using the Doc2Vec algorithm.
22
+
23
+ ## Installation
24
+
25
+ ```bash
26
+ pip install swarmauri_embedding_doc2vec
27
+ ```
28
+
29
+ ## Usage
30
+
31
+ ```python
32
+ from swarmauri.embeddings.Doc2VecEmbedding import Doc2VecEmbedding
33
+
34
+ # Initialize the embedder
35
+ embedder = Doc2VecEmbedding(vector_size=3000)
36
+
37
+ # Prepare your documents
38
+ documents = ["This is the first document.", "Here is another document.", "And a third one"]
39
+
40
+ # Fit and transform documents
41
+ vectors = embedder.fit_transform(documents)
42
+
43
+ # Transform new documents
44
+ new_doc = "This is a new document"
45
+ vector = embedder.transform([new_doc])
46
+
47
+ # Save and load the model
48
+ embedder.save_model("doc2vec.model")
49
+ embedder.load_model("doc2vec.model")
50
+ ```
51
+
52
+ ## Want to help?
53
+
54
+ If you want to contribute to swarmauri-sdk, read up on our [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/contributing.md) that will help you get started.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "swarmauri_embedding_doc2vec"
3
- version = "0.7.0.dev12"
3
+ version = "0.7.1.dev1"
4
4
  description = "A Doc2Vec based Embedding Model."
5
5
  license = "Apache-2.0"
6
6
  readme = "README.md"
@@ -44,7 +44,7 @@ log_cli_format = "%(asctime)s [%(levelname)s] %(message)s"
44
44
  log_cli_date_format = "%Y-%m-%d %H:%M:%S"
45
45
  asyncio_default_fixture_loop_scope = "function"
46
46
 
47
- [tool.project.entry-points."swarmauri.embeddings"]
47
+ [project.entry-points.'swarmauri.embeddings']
48
48
  Doc2VecEmbedding = "swarmauri_embedding_doc2vec:Doc2VecEmbedding"
49
49
 
50
50
 
@@ -1,49 +0,0 @@
1
- ![Swarmauri Logo](https://res.cloudinary.com/dbjmpekvl/image/upload/v1730099724/Swarmauri-logo-lockup-2048x757_hww01w.png)
2
-
3
- <div align="center">
4
-
5
- ![PyPI - Downloads](https://img.shields.io/pypi/dm/swarmauri_embedding_doc2vec)
6
- ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/swarmauri_embedding_doc2vec)
7
- ![PyPI - License](https://img.shields.io/pypi/l/swarmauri_embedding_doc2vec)
8
- ![PyPI - Version](https://img.shields.io/pypi/v/swarmauri_embedding_doc2vec?label=swarmauri_embedding_doc2vec&color=green)
9
-
10
- </div>
11
-
12
- ---
13
-
14
- # Doc2Vec Embedding
15
-
16
- A Gensim-based Doc2Vec implementation for document embedding in the Swarmauri ecosystem. This package provides document vectorization capabilities using the Doc2Vec algorithm.
17
-
18
- ## Installation
19
-
20
- ```bash
21
- pip install swarmauri_embedding_doc2vec
22
- ```
23
-
24
- ## Usage
25
-
26
- ```python
27
- from swarmauri.embeddings.Doc2VecEmbedding import Doc2VecEmbedding
28
-
29
- # Initialize the embedder
30
- embedder = Doc2VecEmbedding(vector_size=3000)
31
-
32
- # Prepare your documents
33
- documents = ["This is the first document.", "Here is another document.", "And a third one"]
34
-
35
- # Fit and transform documents
36
- vectors = embedder.fit_transform(documents)
37
-
38
- # Transform new documents
39
- new_doc = "This is a new document"
40
- vector = embedder.transform([new_doc])
41
-
42
- # Save and load the model
43
- embedder.save_model("doc2vec.model")
44
- embedder.load_model("doc2vec.model")
45
- ```
46
-
47
- ## Want to help?
48
-
49
- If you want to contribute to swarmauri-sdk, read up on our [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/contributing.md) that will help you get started.