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

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 /tokenizer
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
Sarthak
chore: moved model2vec as in internal package
473c3a0 12 months ago
  • __init__.py
    361 Bytes
    chore: moved model2vec as in internal package 12 months ago
  • datamodels.py
    337 Bytes
    chore: moved model2vec as in internal package 12 months ago
  • model.py
    1.74 kB
    chore: moved model2vec as in internal package 12 months ago
  • normalizer.py
    1.24 kB
    chore: moved model2vec as in internal package 12 months ago
  • pretokenizer.py
    1.99 kB
    chore: moved model2vec as in internal package 12 months ago
  • tokenizer.py
    16.6 kB
    chore: moved model2vec as in internal package 12 months ago