Transformers
PyTorch
code
custom_code

Run this model with HF Jobs

Run codesage/codesage-small on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/codesage/codesage-small. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/codesage/codesage-small on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Update code snippet to use sentence-level embeddings

#2
by tomaarsen HF Staff - opened

Hello!

Pull Request overview

  • Use sentence level embeddings (pooler output) in code snippet

Details

Before, the snippet gave only token-level embeddings, which are not very useful in practice generally. I think the pooler output will be more useful.

  • Tom Aarsen
Cannot merge
This branch has merge conflicts in the following files:
  • README.md

Sign up or log in to comment