Text Generation
Transformers
code
Eval Results (legacy)

Run this model with HF Jobs

Run NeoDim/starcoderbase-GGML 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/NeoDim/starcoderbase-GGML. 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/NeoDim/starcoderbase-GGML 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/NeoDim/starcoderbase-GGML. 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/NeoDim/starcoderbase-GGML. 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.

missing tok_embeddings.weight error when trying to run with llama.cpp

#1
by ultra2mh - opened

i tryied to load the model with llama.cpp but i get this error, how can i fix it?:

my command:
./main -t 12 -m models/starcoderbase-ggml-q5_1.bin --color -c 2048 --temp 0.7 --top_k 40 --top_p 0.5 --repeat_penalty 1.17 -n -1 -r "### Human:" -i

output:
main: build = 588 (ac7876a)
main: seed = 1685012620
llama.cpp: loading model from models/starcoderbase-ggml-q5_1.bin
error loading model: missing tok_embeddings.weight
llama_init_from_file: failed to load model
llama_init_from_gpt_params: error: failed to load model 'models/starcoderbase-ggml-q5_1.bin'
main: error: unable to load model

llama.cpp not supported it - https://github.com/ggerganov/llama.cpp/issues/1441
There are starcoder.cpp, but there is another issue - https://github.com/bigcode-project/starcoder.cpp/issues/11
For now you can use example code from ggml main repo to inference - https://github.com/ggerganov/ggml/tree/master/examples/starcoder

For now koboldcpp supports starcoder gglm models.

Sign up or log in to comment