Downloads · 30 days
0
qvx-o/Qlip
Qlip is a feature extraction model from qvx-o. Use it when you need embeddings to search or compare text. It is set up for pytorch. The card lists the license as mit.
Qlip is a novel text encoder architecture designed for text-to-image (Qanvas) generation tasks sharing similar objectives with CLIP, Qlip is optimized for maximum quality while taking little compute power.
Downloads · 30 days
0
Access
Public
Updated Sep 6, 2026
Repo size
202 MB
Likes
0
Public
Click a slice to open those files.
.pt201 MB · 99%
From the Hugging Face model README
Qlip is a novel text encoder architecture designed for text-to-image (Qanvas) generation tasks sharing similar objectives with CLIP, Qlip is optimized for maximum quality while taking little compute power.
pip install torch sentencepiece
from Qlip import load_text_encoder, get_tokenizer, encode_text
# Load model and tokenizer
model = load_text_encoder(device='cuda')
tokenizer = get_tokenizer()
# Encode text
embeddings = encode_text("a beautiful sunset over the ocean", device='cuda')
print(embeddings.shape) # torch.Size([1, 512])
from Qlip import encode_text, similarity
emb1 = encode_text("a cat sitting on a mat", device='cuda')
emb2 = encode_text("a dog lying on a rug", device='cuda')
sim = similarity(emb1, emb2)
print(f"Similarity: {sim:.2f}%")
Qlip is designed for:
MIT License