Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

dbourget
/
philai-embeddings-2.0

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

Instructions to use dbourget/philai-embeddings-2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use dbourget/philai-embeddings-2.0 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("dbourget/philai-embeddings-2.0")
    
    sentences = [
        "cap product",
        "method of adjoining a chain of degree p with a co-chain of degree q, where q is less than or equal to p, to form a composite chain of degree p-q",
        "Ontology ",
        "hat commodity"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
philai-embeddings-2.0
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
dbourget's picture
dbourget
Update README.md
d9add3b verified about 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    15.7 kB
    Update README.md about 2 years ago
  • config.json
    713 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • config_sentence_transformers.json
    202 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model. about 2 years ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • special_tokens_map.json
    798 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • tokenizer.json
    1.13 MB
    Add new SentenceTransformer model. about 2 years ago
  • tokenizer_config.json
    1.4 kB
    Add new SentenceTransformer model. about 2 years ago