Instructions to use C10X/int8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use C10X/int8 with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("C10X/int8") - sentence-transformers
How to use C10X/int8 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("C10X/int8") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Upload model.safetensors with huggingface_hub
Browse files- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ffc1af0e7164d7f2f71e0a18f9a76c256265b45fb9d1fb3cc5393f72bde3358
|
| 3 |
+
size 38820952
|