mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-05 11:01:09 +00:00
add vicuna embedding
This commit is contained in:
@@ -14,7 +14,7 @@ vicuna_status_path = "worker_get_status"
|
||||
def generate(prompt):
|
||||
params = {
|
||||
"model": "vicuna-13b",
|
||||
"prompt": "给出一个查询用户的SQL",
|
||||
"prompt": prompt,
|
||||
"temperature": 0.7,
|
||||
"max_new_tokens": 512,
|
||||
"stop": "###"
|
||||
|
Reference in New Issue
Block a user