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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

hnguyentran03
/
mpnet-game

Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
dataset_size:10K<n<100K
loss:CoSENTLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use hnguyentran03/mpnet-game with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use hnguyentran03/mpnet-game with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("hnguyentran03/mpnet-game")
    
    sentences = [
        "Shooter",
        "First Person Shooter",
        "Life Sim",
        "Life Sim"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
mpnet-game
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
hnguyentran03's picture
hnguyentran03
Upload folder using huggingface_hub
bb44bd0 verified 15 days ago
  • 1_Pooling
    Upload folder using huggingface_hub 15 days ago
  • .gitattributes
    1.52 kB
    initial commit 15 days ago
  • README.md
    30.5 kB
    Upload folder using huggingface_hub 15 days ago
  • config.json
    613 Bytes
    Upload folder using huggingface_hub 15 days ago
  • config_sentence_transformers.json
    194 Bytes
    Upload folder using huggingface_hub 15 days ago
  • model.safetensors
    438 MB
    xet
    Upload folder using huggingface_hub 15 days ago
  • modules.json
    349 Bytes
    Upload folder using huggingface_hub 15 days ago
  • sentence_bert_config.json
    53 Bytes
    Upload folder using huggingface_hub 15 days ago
  • special_tokens_map.json
    964 Bytes
    Upload folder using huggingface_hub 15 days ago
  • tokenizer.json
    711 kB
    Upload folder using huggingface_hub 15 days ago
  • tokenizer_config.json
    1.58 kB
    Upload folder using huggingface_hub 15 days ago
  • vocab.txt
    232 kB
    Upload folder using huggingface_hub 15 days ago