mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 10:38:54 +00:00
Formatting tweak. (#1111)
This commit is contained in:
@ -44,7 +44,13 @@ def median(arr):
|
||||
|
||||
This also supports the [Puffin Phi v2
|
||||
model](https://huggingface.co/teknium/Puffin-Phi-v2) for human interaction.
|
||||
```bash
|
||||
$ cargo run --example phi --release -- --prompt "USER: What would you do on a sunny day in Paris?\nASSISTANT:" --sample-len 200 --model puffin-phi-v2 --quantized
|
||||
USER: What would you do on a sunny day in Paris?\nASSISTANT: On a sunny day in Paris, you could visit the Musée du Louvre to admire the famous painting "Mona Lisa" by Leonardo da Vinci. You might also want to stroll along the Champs-Élysées and enjoy the beautiful architecture of the buildings around you. Don't forget to stop by a café for a cup of coffee and to soak up the sun!"
|
||||
```
|
||||
$ cargo run --example phi --release -- \
|
||||
--prompt "USER: What would you do on a sunny day in Paris?\nASSISTANT:" \
|
||||
--sample-len 200 --model puffin-phi-v2 --quantized
|
||||
USER: What would you do on a sunny day in Paris?
|
||||
ASSISTANT: On a sunny day in Paris, you could visit the Musée du Louvre to admire the famous
|
||||
painting "Mona Lisa" by Leonardo da Vinci. You might also want to stroll along the Champs-Élysées
|
||||
and enjoy the beautiful architecture of the buildings around you. Don't forget to stop by a café
|
||||
for a cup of coffee and to soak up the sun!"
|
||||
```
|
||||
|
Reference in New Issue
Block a user