mirror of
https://github.com/huggingface/candle.git
synced 2025-06-14 01:48:08 +00:00

* Simplify the safetensor usage. * Convert more examples. * Move more examples. * Adapt stable-diffusion.
candle-starcoder: code generation model
StarCoder/BigCode is a LLM model specialized to code generation. The initial model was trained on 80 programming languages.
Running some example
cargo run --example bigcode --release -- --prompt "fn fact(n: u64) -> u64 "
> fn fact(n: u64) -> u64 {
> if n == 0 {
> 1
> } else {
> n * fact(n - 1)
> }
> }