warm-models 0.1.0__py3-none-any.whl

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.
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.5
2
+ Name: warm-models
3
+ Version: 0.1.0
4
+ Summary: Pinned offline embedding model pack for WARM Python bindings
5
+ Project-URL: Homepage, https://writerslogic.com/warm/
6
+ Project-URL: Repository, https://github.com/writerslogic/warm
7
+ Project-URL: Documentation, https://writerslogic.com/warm/docs/latest/embeddings/
8
+ Author-email: "WritersLogic, Inc." <david@writerslogic.com>
9
+ License: Apache-2.0
10
+ Requires-Python: >=3.9
11
+ Description-Content-Type: text/markdown
12
+
13
+ <a href="https://writerslogic.com/warm/"><img src="https://raw.githubusercontent.com/writerslogic/warm/main/assets/crystal-halo/crystal-detailed-static.png" alt="WARM logo" width="96" align="left"></a>
14
+
15
+ # WARM Models
16
+
17
+ The default offline embedding model pack for
18
+ [`warm-py`](https://pypi.org/project/warm-py/).
19
+
20
+ [Website](https://writerslogic.com/warm/) · [Documentation](https://writerslogic.com/warm/docs/latest/embeddings/) · [Source](https://github.com/writerslogic/warm) · [License](https://github.com/writerslogic/warm/blob/main/LICENSE)
21
+
22
+ <br clear="left">
23
+
24
+ Install it through the native binding's `embed` extra:
25
+
26
+ ```sh
27
+ uv add "warm-py[embed]"
28
+ ```
29
+
30
+ The wheel contains the pinned int8 pack for
31
+ [`granite-embedding-30m-english`](https://huggingface.co/ibm-granite/granite-embedding-30m-english/tree/9b5b096411652ec1189c68fcfb90d0a82c5b45af)
32
+ (about 34 MB). The model is Apache-2.0 licensed. The binding verifies the pack against its pinned
33
+ SHA-256 before use.
34
+ With `offline=True`, embedding does not make a first-use network request:
35
+
36
+ ```python
37
+ from writerslogic_warm import Embedder
38
+
39
+ embedder = Embedder(offline=True)
40
+ vector = embedder.embed_query("Where is my note?")
41
+ ```
42
+
43
+ Other registered models can be fetched into the cache on first use, or supplied through
44
+ `WARM_EMBED_MODEL_DIR`. This wheel includes the default model only. See the
45
+ [embedding guide](https://writerslogic.com/warm/docs/latest/embeddings/) for model selection and
46
+ offline setup.
@@ -0,0 +1,5 @@
1
+ writerslogic_warm_models/__init__.py,sha256=_hG6c4DA5cAVT3AWvYCFjCw1YrF4vmuhDnEUXh99scY,401
2
+ writerslogic_warm_models/packs/granite-embedding-30m-english-int8.hmsemb,sha256=ahzCRzSlfkUk7NqxRmssFFNaBZs5PHbEGMpFjsKWAt0,34065777
3
+ warm_models-0.1.0.dist-info/METADATA,sha256=L1BWQ0rFAS1pYuo-DyAKXgINaUfj7Sn_PDdgjQfBA54,1924
4
+ warm_models-0.1.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
5
+ warm_models-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,11 @@
1
+ # Copyright 2024-2026 WritersLogic Contributors
2
+ # SPDX-License-Identifier: Apache-2.0
3
+ """Model packs for writerslogic_warm.Embedder; installed by warm-py[embed]."""
4
+ from pathlib import Path
5
+
6
+ __all__ = ["pack_dir"]
7
+
8
+
9
+ def pack_dir() -> str:
10
+ """Directory holding the verified `<id>-int8.hmsemb` packs (read by writerslogic_warm.Embedder)."""
11
+ return str(Path(__file__).resolve().parent / "packs")
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: writerslogic_warm_models/packs/granite-embedding-30m-english-int8.hmsemb
3
+ size: 34065777 bytes
4
+ sha256: 6a1cc24734a57e4524ecdab1466b2c14535a059b393c76c418ca458ec29602dd