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

hmm404
/
tmp_trainer

Sentence Similarity
sentence-transformers
TensorBoard
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:32351
loss:TripletLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Metrics Training metrics Community

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

  • Libraries
  • sentence-transformers

    How to use hmm404/tmp_trainer with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("hmm404/tmp_trainer")
    
    sentences = [
        "Genetic conditions that cause nutritional deficiencies can prevent a person from removing meat from their diet.",
        "Ante un estado que no quiere hablar del tema, para Cataluña, solo es posible seguir su propio camino por otras vías.",
        "Retinol deficiency is a genetically pre-disposed condition that prevents conversion beta-carotene to Vitamin A \\(retinol\\) in humans. Since plants have no retinol \\(only beta-carotene\\), humans with this condition cannot have a vegan diet, only one with animal products.",
        "People with hemochromatosis \\(a genetic condition\\) can benefit greatly from a vegan diet, due to the lower absorbing non-heme iron in plants \\(compared to heme iron in meat\\)."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
tmp_trainer / runs
37.5 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
hmm404's picture
hmm404
full_data
fbc4468 verified over 1 year ago
  • Feb18_06-37-18_9d18770862ef
    hmm404/triplet_728 over 1 year ago
  • Feb18_13-54-25_dacc3055ce59
    hmm404/triplet_728 over 1 year ago
  • Feb20_20-41-49_11b1a2b4f9ae
    End of training over 1 year ago
  • Feb20_23-57-10_c4d6b74f6ef5
    full_data over 1 year ago
  • Feb20_23-58-17_c4d6b74f6ef5
    full_data over 1 year ago