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

DannyAI
/
embedding_fine_tuning_with_prompts_bge_large_en_v1.5

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

Instructions to use DannyAI/embedding_fine_tuning_with_prompts_bge_large_en_v1.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use DannyAI/embedding_fine_tuning_with_prompts_bge_large_en_v1.5 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("DannyAI/embedding_fine_tuning_with_prompts_bge_large_en_v1.5")
    
    sentences = [
        "who is the second prime minister of india",
        "List of Prime Ministers of India Since 1947, India has had fourteen Prime Ministers, fifteen including Gulzarilal Nanda who twice acted in the role. The first was Jawaharlal Nehru of the Indian National Congress party, who was sworn-in on 15 August 1947, when India gained independence from the British. Serving until his death in May 1964, Nehru remains India's longest-serving prime minister. He was succeeded by fellow Congressman Lal Bahadur Shastri, whose 19-month term also ended in death. Indira Gandhi, Nehru's daughter, succeeded Shastri in 1966 to become the country's first woman premier. Eleven years later, she was voted out of power in favour of the Janata Party, whose leader Morarji Desai became the first non-Congress prime minister. After he resigned in 1979, his former deputy Charan Singh briefly held office until Indira Gandhi was voted back six months later. Indira Gandhi's second stint as Prime Minister ended five years later on the morning of 31 October 1984, when she was gunned down by her own bodyguards. That evening, her son Rajiv Gandhi was sworn-in as India's youngest premier, and the third from his family. Thus far, members of Nehru–Gandhi dynasty have been Prime Minister for a total of 37 years and 303 days.[1]",
        "Can You Feel the Love Tonight The song was performed in the film by Kristle Edwards, Joseph Williams, Sally Dworsky, Nathan Lane, and Ernie Sabella, while the end title version was performed by Elton John. It won the 1994 Academy Award for Best Original Song,[1] and the Golden Globe Award for Best Original Song. It also earned Elton John the Grammy Award for Best Male Pop Vocal Performance.",
        "Sam Worthington Samuel Henry John Worthington[1] (born 2 August 1976) is an English born, Australian actor and writer. He portrayed Jake Sully in the 2009 film Avatar, Marcus Wright in Terminator Salvation, and Perseus in Clash of the Titans as well as its sequel Wrath of the Titans before transitioning to more dramatic roles in Everest (2015), Hacksaw Ridge (2016), The Shack, and Manhunt: Unabomber (both in 2017). He also played the main protagonist, Captain Alex Mason, in Call of Duty: Black Ops."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
embedding_fine_tuning_with_prompts_bge_large_en_v1.5
1.34 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
DannyAI's picture
DannyAI
Add new SentenceTransformer model
0625858 verified 9 months ago
  • 1_Pooling
    Add new SentenceTransformer model 9 months ago
  • .gitattributes
    1.52 kB
    initial commit 9 months ago
  • README.md
    39.5 kB
    Add new SentenceTransformer model 9 months ago
  • config.json
    691 Bytes
    Add new SentenceTransformer model 9 months ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model 9 months ago
  • model.safetensors
    1.34 GB
    xet
    Add new SentenceTransformer model 9 months ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model 9 months ago
  • sentence_bert_config.json
    56 Bytes
    Add new SentenceTransformer model 9 months ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model 9 months ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model 9 months ago
  • tokenizer_config.json
    1.27 kB
    Add new SentenceTransformer model 9 months ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model 9 months ago