unified embedding model
Project description
uniem
unified embedding model
Usage
from uniem import UniEmbedder
sentences = ['Hello, World!', '你好,世界!']
embedder = UniEmbedder()
embeddings = embedder(sentences)
Train Your Model
- create virtual environment
conda create -n uniem python=3.10
- install uniem
pip install -e .
- get help
python scripts/train_medi.py --help
- train embedding model
python scripts/train_medi.py <model_path_or_name> <data_file>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
uniem-0.1.0.tar.gz
(11.5 kB
view hashes)
Built Distribution
uniem-0.1.0-py3-none-any.whl
(12.7 kB
view hashes)