Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

osanseviero
/
just-a-test

Sentence Similarity
sentence-transformers
PyTorch
JAX
roberta
causal-lm
text-embeddings-inference
Model card Files Files and versions
xet
Community
2

Instructions to use osanseviero/just-a-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use osanseviero/just-a-test with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("osanseviero/just-a-test")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
just-a-test
660 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
julien-c's picture
julien-c HF Staff
Fix license
ab771de almost 4 years ago
  • 1_Pooling
    Add pooling almost 5 years ago
  • .gitattributes
    736 Bytes
    New repo almost 5 years ago
  • README.md
    2.1 kB
    Fix license almost 4 years ago
  • config.json
    774 Bytes
    New repo almost 5 years ago
  • flax_model.msgpack
    328 MB
    xet
    New repo almost 5 years ago
  • merges.txt
    456 kB
    New repo almost 5 years ago
  • modules.json
    229 Bytes
    New repo almost 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch.LongStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage"

    What is a pickle import?

    329 MB
    xet
    New repo almost 5 years ago
  • sentence_bert_config.json
    53 Bytes
    New repo almost 5 years ago
  • special_tokens_map.json
    239 Bytes
    New repo almost 5 years ago
  • tokenizer.json
    1.36 MB
    New repo almost 5 years ago
  • tokenizer_config.json
    1.41 kB
    New repo almost 5 years ago
  • vocab.json
    798 kB
    New repo almost 5 years ago