mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 18:48:51 +00:00
Readme fix. (#1961)
This commit is contained in:
@ -18,7 +18,7 @@ Various model sizes are available via the `--model` argument, including the MoE
|
|||||||
variant.
|
variant.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cargo run --example qwen --release -- --prompt "Hello there " --model moe-a2.7b --prompt 'def print_prime(n: int): '
|
$ cargo run --example qwen --release -- --model moe-a2.7b --prompt 'def print_prime(n: int): '
|
||||||
def print_prime(n: int): # n is the number of primes to be printed
|
def print_prime(n: int): # n is the number of primes to be printed
|
||||||
for i in range(2, n + 1):
|
for i in range(2, n + 1):
|
||||||
if all(i % j != 0 for j in range(2, i)):
|
if all(i % j != 0 for j in range(2, i)):
|
||||||
|
Reference in New Issue
Block a user