Text Generation
Transformers
PyTorch
code
gpt2
custom_code
Eval Results (legacy)
text-generation-inference

Run this model with HF Jobs

Run bigcode/santacoder 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 and TRL to fine-tune https://huggingface.co/bigcode/santacoder. 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/bigcode/santacoder 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.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/bigcode/santacoder. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/bigcode/santacoder. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

SantaCoder Hyperparameter Insights

#30
by nandovallec - opened

Hello everyone,
I'm currently in the process of doing my master's thesis about LLM applied to code. In my experiments, I am comparing the code summarization and code synthetization tasks in Java for multiple models. Since one of the models I will be using is InCoder, I thought the use of SantaCoder could be interesting to further prove the claim that they are comparable.

I would like to ask if you have some advice on the use of SantaCoder for these tasks. In the sense of hyperparameters or prompt engineering. I checked the SantaCoder demo where I realized that you set a low temperature for the infill tasks but not for the code generation one. Therefore, I was wondering if you have any other insights that may improve the performance of the model.

Best regards.

Sign up or log in to comment