Feature Extraction
sentence-transformers
Safetensors
Model2Vec
static-embeddings
moderation
safety
abuse-detection
lf2
2bit-quantization
cpu-optimized
Instructions to use VTXAI/VTX-MOD-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use VTXAI/VTX-MOD-1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("VTXAI/VTX-MOD-1") 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] - Model2Vec
How to use VTXAI/VTX-MOD-1 with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("VTXAI/VTX-MOD-1") embeddings = model.encode(["It's dangerous to go alone!", "It's a secret to everybody."]) print(embeddings.shape) - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload README.md with huggingface_hub
Verified signature2cf2504 -
Upload inference.py with huggingface_hub
Verified signature8f7ef44 -
Upload config_lf2.json with huggingface_hub
Verified signature01ded0f -
Upload model_lf2.safetensors with huggingface_hub
Verified signaturefb46d2f -
Upload folder using huggingface_hub
Verified signature8e33aa4 -
initial commit
Verified signature39a3197