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

  • Log In
  • Sign Up

hon9kon9ize
/
yue-embed

Sentence Similarity
sentence-transformers
Safetensors
Yue Chinese
bert
feature-extraction
Generated from Trainer
dataset_size:129371
loss:CachedGISTEmbedLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use hon9kon9ize/yue-embed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use hon9kon9ize/yue-embed with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("hon9kon9ize/yue-embed")
    
    sentences = [
        "query: is ampulla of vater part of the pancreas",
        "document: Ampulla of Vater The ampulla of Vater, also known as the hepatopancreatic ampulla or the hepatopancreatic duct, is formed by the union of the pancreatic duct and the common bile duct. The ampulla is specifically located at the major duodenal papilla.",
        "document: 抗凝加化疗;化疗",
        "document: Daylight saving time in Australia Daylight saving was first used in Australia during World War I, and was applied in all states. It was used again during the Second World War. A drought in Tasmania in 1967 led to the reintroduction of daylight saving in that state during the summer, and this was repeated every summer since then. In 1971, New South Wales, Victoria,[16] Queensland, South Australia, and the Australian Capital Territory followed Tasmania by observing daylight saving. Western Australia and the Northern Territory did not. Queensland abandoned daylight saving time in 1972.[17]"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
yue-embed
1.31 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
indiejoseph's picture
indiejoseph
Update README.md
0d1575e verified over 1 year ago
  • 1_Pooling
    Upload folder using huggingface_hub over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    250 kB
    Update README.md over 1 year ago
  • added_tokens.json
    8 kB
    Upload folder using huggingface_hub over 1 year ago
  • config.json
    643 Bytes
    Upload folder using huggingface_hub over 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Upload folder using huggingface_hub over 1 year ago
  • model.safetensors
    1.3 GB
    xet
    Upload folder using huggingface_hub over 1 year ago
  • modules.json
    229 Bytes
    Upload folder using huggingface_hub over 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Upload folder using huggingface_hub over 1 year ago
  • special_tokens_map.json
    695 Bytes
    Upload folder using huggingface_hub over 1 year ago
  • tokenizer.json
    529 kB
    Upload folder using huggingface_hub over 1 year ago
  • tokenizer_config.json
    85.9 kB
    Upload folder using huggingface_hub over 1 year ago
  • vocab.txt
    110 kB
    Upload folder using huggingface_hub over 1 year ago