forked from intel/llm-on-ray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Inference] Added Two Examples for GenAI Application (intel#164)
* added two example for genAI application * add the ci test for newly-added models * remove the sqlcoder CI tests * refine the sqlcoder file and test its with CI * remove the sqlcoder CI
- Loading branch information
Showing
3 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
port: 8000 | ||
name: neural-chat-7b-v3-3 | ||
route_prefix: /neural-chat-7b-v3-3 | ||
num_replicas: 1 | ||
cpus_per_worker: 0 | ||
gpus_per_worker: 0 | ||
hpus_per_worker: 1 | ||
deepspeed: false | ||
workers_per_group: 2 | ||
device: "hpu" | ||
ipex: | ||
enabled: false | ||
precision: bf16 | ||
model_description: | ||
model_id_or_path: Intel/neural-chat-7b-v3-3 | ||
tokenizer_name_or_path: Intel/neural-chat-7b-v3-3 | ||
chat_processor: ChatModelGptJ | ||
prompt: | ||
intro: '### System: | ||
You are a chatbot developed by Intel. Please answer all questions to the best of your ability.' | ||
human_id: ' | ||
### User' | ||
bot_id: ' | ||
### Assistant' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
port: 8000 | ||
name: sqlcoder-7b-2 | ||
route_prefix: /sqlcoder-7b-2 | ||
cpus_per_worker: 22 | ||
gpus_per_worker: 0 | ||
deepspeed: false | ||
workers_per_group: 2 | ||
device: "cpu" | ||
ipex: | ||
enabled: false | ||
precision: bf16 | ||
model_description: | ||
model_id_or_path: defog/sqlcoder-7b-2 | ||
tokenizer_name_or_path: defog/sqlcoder-7b-2 | ||
chat_processor: ChatModelLLama | ||
prompt: | ||
intro: '' | ||
human_id: '' | ||
bot_id: '' | ||
stop_words: ["```"] | ||
config: | ||
use_auth_token: '' |