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

  • Log In
  • Sign Up

tmnam20
/
test-model1

Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use tmnam20/test-model1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("tmnam20/test-model1")
    
    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
test-model1
542 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
tmnam20's picture
tmnam20
Add new SentenceTransformer model.
5b31718 about 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. about 2 years ago
  • 2_Dense
    Add new SentenceTransformer model. about 2 years ago
  • 3_Dense
    Add new SentenceTransformer model. about 2 years ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model. about 2 years ago
  • README.md
    1.81 kB
    Add new SentenceTransformer model. about 2 years ago
  • added_tokens.json
    22 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • bpe.codes
    1.14 MB
    Add new SentenceTransformer model. about 2 years ago
  • config.json
    802 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • config_sentence_transformers.json
    123 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • model.safetensors
    540 MB
    xet
    Add new SentenceTransformer model. about 2 years ago
  • modules.json
    481 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • special_tokens_map.json
    167 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • tokenizer_config.json
    1.17 kB
    Add new SentenceTransformer model. about 2 years ago
  • vocab.txt
    895 kB
    Add new SentenceTransformer model. about 2 years ago