mirror of
https://github.com/hanzoai/ml.git
synced 2026-11-19 23:50:51 +00:00
446 B
446 B
hanzo-ml-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)
> }
> }