Skip to main content

model-s served from hf spaces using torch+cpu

Project description

model-s

pytestpythonCode style: blackLicense: MITPyPI version

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


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.1.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

hf_model_s_cpu-0.1.1-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page