mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 10:38:54 +00:00
15 lines
400 B
Markdown
15 lines
400 B
Markdown
# candle-starcoder2
|
|
|
|
Candle implementation of Star Coder 2 family of code generation model from [StarCoder 2 and The Stack v2: The Next Generation](https://huggingface.co/papers/2402.19173).
|
|
|
|
## Running an example
|
|
|
|
```bash
|
|
$ cargo run --example starcoder2 -- --prompt "write a recursive fibonacci function in python "
|
|
|
|
> # that returns the nth number in the sequence.
|
|
>
|
|
> def fib(n):
|
|
> if n
|
|
|
|
``` |