mirror of
https://github.com/huggingface/candle.git
synced 2025-06-20 04:00:28 +00:00
@ -1,7 +1,19 @@
|
||||
# candle-starcoder: code generation model
|
||||
|
||||
StarCoder/BigCode is a LLM model specialized to code generation.
|
||||
[StarCoder/BigCode](https://huggingface.co/bigcode/starcoderbase-1b) is a LLM
|
||||
model specialized to code generation. The initial model was trained on 80
|
||||
programming languages.
|
||||
|
||||
## Running some example
|
||||
|
||||
```bash
|
||||
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)
|
||||
> }
|
||||
> }
|
||||
```
|
||||
|
@ -13,7 +13,7 @@ Space](https://huggingface.co/spaces/lmz/candle-yolo). The model then fully runs
|
||||
in your browser using WebAssembly - if you use a custom image it will never
|
||||
leave your phone/computer!
|
||||
|
||||
## Running some example.
|
||||
## Running some example
|
||||
|
||||
### Object Detection
|
||||
```bash
|
||||
|
Reference in New Issue
Block a user