Sentence Similarity
sentence-transformers
TensorBoard
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:435262
loss:MarginMSELoss
text-embeddings-inference
Instructions to use liudev/novel-embedding-gpl-base-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use liudev/novel-embedding-gpl-base-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("liudev/novel-embedding-gpl-base-v2") sentences = [ "因他人拒演而获得试镜机会", "当众演示历史版图的变迁引人深思", "因表现出色破例被允许提前入族谱", "重返游戏后,利用前世记忆抢占隐藏机缘" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!