**DeepSE**: **Sentence Embeddings** based on Deep Nerual Networks, designed for **PRODUCTION** enviroment!
Project description
DeepSE
DeepSE: Sentence Embeddings based on Deep Nerual Networks, designed for PRODUCTION enviroment!
Installation
Clone git repo:
git clone https://github.com/luozhouyang/deepse.git
or install from pypi:
pip install -U deepse
SimCSE
Train a Unsup SimCSE model in one line:
PRETRAINED_MODEL_PATH=/path/to/your/pretrained/bert/dir python run_simcse.py
You can modify the parameters in
run_simcse.py
as you need.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
deepse-0.0.1.tar.gz
(10.2 kB
view hashes)
Built Distribution
deepse-0.0.1-py3-none-any.whl
(13.1 kB
view hashes)