model-s served from hf spaces using torch+cpu
Project description
model-s
model-s served from hf spaces for torch cpu
Install it
pip install git+https://github.com/ffreemt/model-s-cpu
# poetry add git+https://github.com/ffreemt/model-s-cpu
# git clone https://github.com/ffreemt/model-s-cpu && cd model-s-cpu
Install sentence-transformers
Simply
pip install sentence-transformers
Or
pip install --no-cache-dir torch==1.8.0+cpu -f https://download.pytorch.org/whl/torch_stable.html # adjust according to os/python
pip install transformers tqdm numpy scikit-learn nltk sentencepiece pillow
pip install --no-deps sentence-transformers
Use it
from hf_model_s_cpu import model_s
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
hf-model-s-cpu-0.1.0.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for hf_model_s_cpu-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d6d67509fdab9c2334062b1a59912d8bf137c9d6f315a4578387001f73a179a |
|
MD5 | e43ee623a5b081c511e193c75f990960 |
|
BLAKE2b-256 | a2fdadeeb630e3539d06ead06264c6638140250b0d095bf0ac6928ee133fb6ff |