Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

gubartz
/
facet_retriever

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dataset_size:1M<n<10M
loss:TripletLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use gubartz/facet_retriever with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use gubartz/facet_retriever with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("gubartz/facet_retriever")
    
    sentences = [
        "method: Making reflective work practices visible",
        "method: Job quality takes into account both wage and non-wage attributes of a job.",
        "purpose: There could therefore be rank differences in the leadership behavioural patterns of managers.",
        "negative: SN has a positive effect on the user's intention to use toward the SNS."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
facet_retriever
134 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
gubartz's picture
gubartz
Upload centroids.pkl
a98cc33 verified over 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model. almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    25.8 kB
    Add new SentenceTransformer model. almost 2 years ago
  • centroids.pkl

    Detected Pickle imports (3)

    • "torch.storage._load_from_bytes",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2"

    How to fix it?

    5.63 kB
    xet
    Upload centroids.pkl over 1 year ago
  • config.json
    696 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • model.safetensors
    133 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer_config.json
    1.43 kB
    Add new SentenceTransformer model. almost 2 years ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model. almost 2 years ago