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

johnyy212
/
moe-girl-v2

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:56574
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use johnyy212/moe-girl-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use johnyy212/moe-girl-v2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("johnyy212/moe-girl-v2")
    
    sentences = [
        "围裙、大叔、爸爸、抽烟、上门女婿",
        "Royde咖啡店老板",
        "角色:罗丽娜\n本名:罗丽娜\n别名:萝莉娜\n发色:黑\n瞳色:红\n萌点:萝莉、傲娇、孩子气",
        "角色:Royde咖啡店老板\n别名:店长、老爸\n发色:银\n瞳色:琥珀\n年龄:50\n萌点:店长、大叔、爸爸、上门女婿、围裙、抽烟、妻管严"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
moe-girl-v2
96.3 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
johnyy212's picture
johnyy212
Add new SentenceTransformer model
36cd22b verified 3 months ago
  • 1_Pooling
    Add new SentenceTransformer model 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    21.7 kB
    Add new SentenceTransformer model 3 months ago
  • config.json
    821 Bytes
    Add new SentenceTransformer model 3 months ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model 3 months ago
  • model.safetensors
    95.8 MB
    xet
    Add new SentenceTransformer model 3 months ago
  • modules.json
    429 Bytes
    Add new SentenceTransformer model 3 months ago
  • sentence_bert_config.json
    241 Bytes
    Add new SentenceTransformer model 3 months ago
  • tokenizer.json
    440 kB
    Add new SentenceTransformer model 3 months ago
  • tokenizer_config.json
    415 Bytes
    Add new SentenceTransformer model 3 months ago