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 /tokenlearn
19.3 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
Sarthak
chore: moved tokenlearn as in internal package
4255a26 12 months ago
  • __init__.py
    0 Bytes
    chore: moved tokenlearn as in internal package 12 months ago
  • featurize.py
    5.1 kB
    chore: moved tokenlearn as in internal package 12 months ago
  • pretrain.py
    7.97 kB
    chore: moved tokenlearn as in internal package 12 months ago
  • train.py
    3.99 kB
    chore: moved tokenlearn as in internal package 12 months ago
  • utils.py
    2.19 kB
    chore: moved tokenlearn as in internal package 12 months ago
  • version.py
    84 Bytes
    chore: moved tokenlearn as in internal package 12 months ago