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

AlexWortega
/
qwen1k

Sentence Similarity
sentence-transformers
Safetensors
qwen2
feature-extraction
Generated from Trainer
dataset_size:2859594
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • sentence-transformers

    How to use AlexWortega/qwen1k with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("AlexWortega/qwen1k")
    
    sentences = [
        "How old is Garry Marshall?",
        "Garry Marshall\nOn the morning of July 19, 2016, Marshall died at a hospital in Burbank, California at the age of 81 due to complications of pneumonia after suffering a stroke.[20][21]",
        "Gregg Marshall\nMichael Gregg Marshall (born February 27, 1963) is an American college basketball coach who currently leads the Shockers team at Wichita State University. Marshall has coached his teams to appearances in the NCAA Men's Division I Basketball Tournament in twelve of his eighteen years as a head coach. He is the most successful head coach in Wichita State University history (261 wins), and is also the most successful head coach in Winthrop University history (194 wins).",
        "Guillotine\nFor a period of time after its invention, the guillotine was called a louisette. However, it was later named after Guillotin who had proposed that a less painful method of execution should be found in place of the breaking wheel, though he opposed the death penalty and bemoaned the association of the guillotine with his name."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
qwen1k
1.99 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
AlexWortega's picture
AlexWortega
Add new SentenceTransformer model
9e5e405 verified over 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model over 1 year ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model over 1 year ago
  • README.md
    41.9 kB
    Add new SentenceTransformer model over 1 year ago
  • added_tokens.json
    605 Bytes
    Add new SentenceTransformer model over 1 year ago
  • config.json
    782 Bytes
    Add new SentenceTransformer model over 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model over 1 year ago
  • merges.txt
    1.67 MB
    Add new SentenceTransformer model over 1 year ago
  • model.safetensors
    1.98 GB
    xet
    Add new SentenceTransformer model over 1 year ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model over 1 year ago
  • sentence_bert_config.json
    54 Bytes
    Add new SentenceTransformer model over 1 year ago
  • special_tokens_map.json
    613 Bytes
    Add new SentenceTransformer model over 1 year ago
  • tokenizer.json
    11.4 MB
    xet
    Add new SentenceTransformer model over 1 year ago
  • tokenizer_config.json
    7.5 kB
    Add new SentenceTransformer model over 1 year ago
  • vocab.json
    2.78 MB
    Add new SentenceTransformer model over 1 year ago