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

aysinghal
/
ide-code-retrieval-gpt2-large-llm2vec

Sentence Similarity
sentence-transformers
Safetensors
English
gpt2
feature-extraction
code-retrieval
embeddings
Model card Files Files and versions
xet
Community

Instructions to use aysinghal/ide-code-retrieval-gpt2-large-llm2vec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use aysinghal/ide-code-retrieval-gpt2-large-llm2vec with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("aysinghal/ide-code-retrieval-gpt2-large-llm2vec")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
ide-code-retrieval-gpt2-large-llm2vec
3.1 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
aysinghal's picture
aysinghal
Final model after 9150 steps
d2d6d69 verified 11 days ago
  • 1_Pooling
    Final model after 9150 steps 11 days ago
  • .gitattributes
    1.52 kB
    initial commit 13 days ago
  • README.md
    4.49 kB
    Final model after 9150 steps 11 days ago
  • config.json
    977 Bytes
    Final model after 9150 steps 11 days ago
  • config_sentence_transformers.json
    284 Bytes
    Final model after 9150 steps 11 days ago
  • merges.txt
    456 kB
    Final model after 9150 steps 11 days ago
  • model.safetensors
    3.1 GB
    xet
    Final model after 9150 steps 11 days ago
  • modules.json
    229 Bytes
    Final model after 9150 steps 11 days ago
  • sentence_bert_config.json
    57 Bytes
    Final model after 9150 steps 11 days ago
  • special_tokens_map.json
    583 Bytes
    Final model after 9150 steps 11 days ago
  • tokenizer.json
    2.11 MB
    Final model after 9150 steps 11 days ago
  • tokenizer_config.json
    666 Bytes
    Final model after 9150 steps 11 days ago
  • vocab.json
    798 kB
    Final model after 9150 steps 11 days ago