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") embeddings = model.encode(["It's dangerous to go alone!", "It's a secret to everybody."]) print(embeddings.shape) - 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
Commit History
-
Upload README.md with huggingface_hub
Verified signaturebfcb318 -
Upload tokenizer.json with huggingface_hub
Verified signature7a88a93 -
Upload config.json with huggingface_hub
Verified signature0afa78c -
Upload modules.json with huggingface_hub
Verified signature93529b4 -
Upload model.safetensors with huggingface_hub
Verified signature6c3e092 -
Upload README.md with huggingface_hub
Verified signature742e4b1 -
initial commit
Verified signaturefdec458