Metadata-Version: 2.4
Name: brain-embedding
Version: 0.1.0
Summary: Snowflake Arctic Embed M v1.5 ONNX model for brain plugin
Author: Tom Pachys
License: Apache-2.0
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# brain-arctic-embed

ONNX model files for the [brain plugin](https://github.com/tpac/brain) embedder.

Bundles **Snowflake/snowflake-arctic-embed-m-v1.5** (768d, CLS pooling, Apache-2.0 license) so the brain plugin can load embeddings without network access.

## Usage

```python
import brain_arctic_embed

model_dir = brain_arctic_embed.get_model_path()
# Pass to FastEmbed or ONNX runtime
```

## Building

1. Download model files from HuggingFace:
   ```bash
   bash download-model.sh
   ```
2. Build wheel:
   ```bash
   pip install build
   python -m build
   ```
3. Upload to PyPI:
   ```bash
   twine upload dist/*
   ```
