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

AntoineGourru
/
FT_phi_cos

Sentence Similarity
sentence-transformers
Safetensors
phi3
feature-extraction
dense
Generated from Trainer
dataset_size:5749
loss:CosineSimilarityLoss
custom_code
Eval Results (legacy)
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use AntoineGourru/FT_phi_cos with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("AntoineGourru/FT_phi_cos", trust_remote_code=True)
    
    sentences = [
        "A man is playing the guitar.",
        "A man plays an acoustic guitar.",
        "Ryanair chief hails report findings",
        "2 British soldiers killed in Afghan insider attack"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
FT_phi_cos
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
AntoineGourru's picture
AntoineGourru
Add new SentenceTransformer model
1246bf6 verified 3 months ago
  • 1_Pooling
    Add new SentenceTransformer model 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    13.8 kB
    Add new SentenceTransformer model 3 months ago
  • chat_template.jinja
    407 Bytes
    Add new SentenceTransformer model 3 months ago
  • config.json
    1.01 kB
    Add new SentenceTransformer model 3 months ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model 3 months ago
  • model.safetensors
    14.9 GB
    xet
    Add new SentenceTransformer model 3 months ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model 3 months ago
  • sentence_bert_config.json
    57 Bytes
    Add new SentenceTransformer model 3 months ago
  • tokenizer.json
    3.62 MB
    Add new SentenceTransformer model 3 months ago
  • tokenizer_config.json
    379 Bytes
    Add new SentenceTransformer model 3 months ago