xulh
commited on
Commit
·
bb6cb61
1
Parent(s):
0abd45b
代码初始化
Browse files- inference/inference.py +1 -1
inference/inference.py
CHANGED
|
@@ -41,7 +41,7 @@ async def chat_completion(token: str = Body(...), messages: list = Body(...)):
|
|
| 41 |
|
| 42 |
# 使用 chat API 请求生成模型的回答
|
| 43 |
completion = client.chat.completions.create(
|
| 44 |
-
model="meta-llama/Llama-3.
|
| 45 |
messages=messages,
|
| 46 |
max_tokens=500
|
| 47 |
)
|
|
|
|
| 41 |
|
| 42 |
# 使用 chat API 请求生成模型的回答
|
| 43 |
completion = client.chat.completions.create(
|
| 44 |
+
model="meta-llama/Llama-3.3-70B-Instruct",
|
| 45 |
messages=messages,
|
| 46 |
max_tokens=500
|
| 47 |
)
|