Readme gallery (#834)

* More readme tweaks.

* Update README.md
This commit is contained in:
Laurent Mazare
2023-09-13 10:05:47 +02:00
committed by GitHub
parent cbd36157ac
commit e6f040d6e3
3 changed files with 41 additions and 21 deletions

View File

@ -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)
> }
> }
```