Skip to main content

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

Metadata

Release files for hf-model-s-cpu 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hf-model-s-cpu 0.1.1
File Size Uploaded
hf-model-s-cpu-0.1.1.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hf-model-s-cpu 0.1.1
File Interpreter ABI Platform
hf_model_s_cpu-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / hf-model-s-cpu-0.1.1.tar.gz

Download URL hf-model-s-cpu-0.1.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9bc6be4387574e00e0b354f7193d58f33b74dc9426e99ebbb44caa8fe0dd8231
BLAKE2b-256 checksum
How to use checksums
b2a264790ad707e9fd6474753cb33d603aa86b11642d6624774a7d22f63d87cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.13 Linux/5.4.0-1051-gke

Release files / hf_model_s_cpu-0.1.1-py3-none-any.whl

Download URL hf_model_s_cpu-0.1.1-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
917bb12cc6b7345b7d803325e3f489412112300181e925c1d6f01f327d11380b
BLAKE2b-256 checksum
How to use checksums
4cbe43af7825460927cd8898989c3083c97aab20357caf1c877d2c433a5b94f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.13 Linux/5.4.0-1051-gke

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page