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.1.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file hf-model-s-cpu-0.1.1.tar.gz
.
File metadata
- Download URL: hf-model-s-cpu-0.1.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.13 Linux/5.4.0-1051-gke
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bc6be4387574e00e0b354f7193d58f33b74dc9426e99ebbb44caa8fe0dd8231 |
|
MD5 | c82b8afb944a8cd2726ba872835f8c85 |
|
BLAKE2b-256 | b2a264790ad707e9fd6474753cb33d603aa86b11642d6624774a7d22f63d87cc |
File details
Details for the file hf_model_s_cpu-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: hf_model_s_cpu-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.13 Linux/5.4.0-1051-gke
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 917bb12cc6b7345b7d803325e3f489412112300181e925c1d6f01f327d11380b |
|
MD5 | 8dadee534c14db735770dd56ed7f1346 |
|
BLAKE2b-256 | 4cbe43af7825460927cd8898989c3083c97aab20357caf1c877d2c433a5b94f5 |