Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

sarthak1
/
codemalt

Feature Extraction
Safetensors
Model2Vec
sentence-transformers
code
distiller
code-search
code-embeddings
distillation
static-embeddings
tokenlearn
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Model2Vec

    How to use sarthak1/codemalt with Model2Vec:

    from model2vec import StaticModel
    
    model = StaticModel.from_pretrained("sarthak1/codemalt")
  • sentence-transformers

    How to use sarthak1/codemalt with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("sarthak1/codemalt")
    
    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
codemalt / src /distiller /model2vec
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
Sarthak
chore: moved model2vec as in internal package
473c3a0 12 months ago
  • distill
    chore: moved model2vec as in internal package 12 months ago
  • inference
    chore: moved model2vec as in internal package 12 months ago
  • modelcards
    chore: moved model2vec as in internal package 12 months ago
  • tokenizer
    chore: moved model2vec as in internal package 12 months ago
  • train
    chore: moved model2vec as in internal package 12 months ago
  • __init__.py
    106 Bytes
    chore: moved model2vec as in internal package 12 months ago
  • hf_utils.py
    8.73 kB
    chore: moved model2vec as in internal package 12 months ago
  • model.py
    16.3 kB
    chore: moved model2vec as in internal package 12 months ago
  • py.typed
    0 Bytes
    chore: moved model2vec as in internal package 12 months ago
  • quantization.py
    2.3 kB
    chore: moved model2vec as in internal package 12 months ago
  • utils.py
    4.12 kB
    chore: moved model2vec as in internal package 12 months ago
  • version.py
    84 Bytes
    chore: moved model2vec as in internal package 12 months ago