Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run chat in command line #2083

Open
Zibri opened this issue May 9, 2024 · 3 comments
Open

Run chat in command line #2083

Zibri opened this issue May 9, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@Zibri
Copy link

Zibri commented May 9, 2024

I wish to chat to tabby like in your demo page.
But from a bash command line..
At the moment I just used the docker container.. so I have /opt/tabby/bin/tabby and tabby-cpu

How to get a prompt?

@Zibri
Copy link
Author

Zibri commented May 9, 2024

In other words, I wish to setup up locally a similar or same model you have on your demo page. And test it out without an internet connection active

@Zibri
Copy link
Author

Zibri commented May 9, 2024

/opt/tabby/bin/tabby-cpu serve --model StarCoder-1B --chat-model StarCoder-3B 
Writing to new file.
🎯 Downloaded https://huggingface.co/TabbyML/models/resolve/main/starcoderbase-3B.Q8_0.gguf to /data/models/TabbyML/StarCoder-3B/ggml/q8_0.v2.gguf.tmp
   00:01:00 ▕████████████████████▏ 3.15 GiB/3.15 GiB  53.01 MiB/s  ETA 0s.                                                                                         2024-05-09T16:19:26.760612Z  INFO tabby::serve: crates/tabby/src/serve.rs:123: Starting server, this might take a few minutes...
2024-05-09T16:19:28.837563Z ERROR tabby::services::model: crates/tabby/src/services/model/mod.rs:32: Chat model requires specifying prompt template

@Zibri
Copy link
Author

Zibri commented May 9, 2024

Or in alternative I wish to have the same you have at https://demo.tabbyml.com/playground but locally.

@wsxiaoys wsxiaoys added the enhancement New feature or request label May 9, 2024
@wsxiaoys wsxiaoys changed the title How to run a chat from command line? Run chat in command line May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants