File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
notebooks/tps/chatbot/.teacher Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -20,3 +20,22 @@ ollama pull gemma2:2b
2020ollama pull mistral:7b
2121ollama pull deepseek-r1:7b
2222```
23+
24+ ## testing
25+
26+ Using ` http ` (from ` pip install httpie ` ) you can reach both instances from the command line like so:
27+
28+ ``` bash
29+
30+ # the CPU
31+ http http://ollama.pl.sophia.inria.fr:8080/api/generate model=mistral:7b prompt=" Hey"
32+
33+ # the GPU
34+ http https://Bob:
[email protected] /api/generate model=mistral:7b prompt=
" Hey" 35+
36+ # in streaming mode: CPU
37+ http -S http://ollama.pl.sophia.inria.fr:8080/api/generate model=mistral:7b prompt=" Hey" stream:=true
38+
39+ # in streaming mode: GPU
40+ http -S https://Bob:
[email protected] /api/generate model=mistral:7b prompt=
" Hey" stream:=true
41+ ```
You can’t perform that action at this time.
0 commit comments