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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

codeusmorbid
/
jina-v2-code-ft2

Feature Extraction
sentence-transformers
Safetensors
ONNX
code
bert
code-retrieval
issue-localization
custom_code
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use codeusmorbid/jina-v2-code-ft2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use codeusmorbid/jina-v2-code-ft2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("codeusmorbid/jina-v2-code-ft2", trust_remote_code=True)
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Notebooks
  • Google Colab
  • Kaggle
jina-v2-code-ft2
649 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
codeusmorbid's picture
codeusmorbid
model
ea09ded verified 1 day ago
  • 1_Pooling
    jina-v2-code-ft2: 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 1 day ago
  • README.md
    7.06 kB
    model 1 day ago
  • config.json
    1.12 kB
    jina-v2-code-ft2: 1 day ago
  • config_sentence_transformers.json
    284 Bytes
    jina-v2-code-ft2: 1 day ago
  • configuration_bert.py
    8.53 kB
    jina-v2-code-ft2: 1 day ago
  • merges.txt
    552 kB
    jina-v2-code-ft2: 1 day ago
  • model.safetensors
    644 MB
    xet
    jina-v2-code-ft2: 1 day ago
  • modeling_bert.py
    96 kB
    jina-v2-code-ft2: 1 day ago
  • modules.json
    277 Bytes
    jina-v2-code-ft2: 1 day ago
  • sentence_bert_config.json
    241 Bytes
    jina-v2-code-ft2: 1 day ago
  • special_tokens_map.json
    964 Bytes
    jina-v2-code-ft2: 1 day ago
  • tokenizer.json
    4.32 MB
    jina-v2-code-ft2: 1 day ago
  • tokenizer_config.json
    1.25 kB
    jina-v2-code-ft2: 1 day ago
  • vocab.json
    971 kB
    jina-v2-code-ft2: 1 day ago