Run this model with HF Jobs

Run bigcode/starcoder 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/starcoder. Ask me which dataset to train on, then push the LoRA adapter to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

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

Evaluate on a benchmark

Use HF Jobs and Lighteval to evaluate https://huggingface.co/bigcode/starcoder. 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/starcoder with Transformers and bitsandbytes. 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.

🚩 Report: Legal issue(s)

#116
by arborelia - opened

StarCoder is trained on The Stack v2.0, which is built illegally on copies of copyrighted code with no license. It does not honor opt-out requests that have been made in the last year, which is most of them.

Per https://huggingface.co/spaces/bigcode/in-the-stack, my copyrighted repositories such as https://github.com/arborelia/advent2020 are still being distributed as part of The Stack v2.0.1. It tells me that the code has been removed from The Stack v2.1, but:

  • HuggingFace is still distributing v2.0.1
  • StarCoder2 is trained on v2.0.1, not v2.1, despite the clause in The Stack requiring users to update
  • Both v2.0.1 and v2.1 still contain copyrighted code with no license, as well as code with attribution clauses that it does not attribute correctly. Copyright is not an "opt-out" system in the first place.

It appears that, between The Stack v1 and v2, HuggingFace chose to ignore the copyright status of code, including code I have written that HuggingFace has no license to use and that I have explicitly asked HuggingFace not to use.

HuggingFace must cease distributing The Stack v2 and StarCoder2.

Sign up or log in to comment