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

  • Log In
  • Sign Up

Alexhuou
/
embedder_model

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

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

  • Libraries
  • sentence-transformers

    How to use Alexhuou/embedder_model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Alexhuou/embedder_model")
    
    sentences = [
        "Statutes are often called ________ law.",
        "Calculate spin density on the central carbon atom of malonic acid radical (•CH(COOH)2) if the hyperfine value for the α-hydrogen atom is 21.9 G.",
        "Which of the following quotations best describes the central thesis of difference feminism?",
        "If a relevant variable is omitted from a regression equation, the consequences would be that:\n\ni) The standard errors would be biased\n\n\nii) If the excluded variable is uncorrelated with all of the included variables, all of\n\nthe slope coefficients will be inconsistent.\n\n\niii) If the excluded variable is uncorrelated with all of the included variables, the\n\nintercept coefficient will be inconsistent.\n\n\niv) If the excluded variable is uncorrelated with all of the included variables, all of\n\nthe slope and intercept coefficients will be consistent and unbiased but inefficient."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
embedder_model
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Alexhuou's picture
Alexhuou
Add new SentenceTransformer model
d79971d verified 11 months ago
  • 1_Pooling
    Add new SentenceTransformer model 11 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    28.5 kB
    Add new SentenceTransformer model 11 months ago
  • config.json
    583 Bytes
    Add new SentenceTransformer model 11 months ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model 11 months ago
  • model.safetensors
    133 MB
    xet
    Add new SentenceTransformer model 11 months ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model 11 months ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model 11 months ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model 11 months ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model 11 months ago
  • tokenizer_config.json
    1.49 kB
    Add new SentenceTransformer model 11 months ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model 11 months ago