diff options
author | Laurent Mazare <laurent.mazare@gmail.com> | 2023-10-16 21:02:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-16 21:02:53 +0100 |
commit | 00948eb656deeabda01fe7dc85a30452aaff757c (patch) | |
tree | df05e561919abea84f514606626881573521e658 | |
parent | af6767220711c32268fe1524896c261ce433e612 (diff) | |
download | candle-00948eb656deeabda01fe7dc85a30452aaff757c.tar.gz candle-00948eb656deeabda01fe7dc85a30452aaff757c.tar.bz2 candle-00948eb656deeabda01fe7dc85a30452aaff757c.zip |
Formatting tweak. (#1111)
-rw-r--r-- | candle-examples/examples/phi/README.md | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/candle-examples/examples/phi/README.md b/candle-examples/examples/phi/README.md index 20a1f3aa..566411d1 100644 --- a/candle-examples/examples/phi/README.md +++ b/candle-examples/examples/phi/README.md @@ -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!" ``` |