-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add link to online server api and move to instruct models
Signed-off-by: ismael-dm <[email protected]>
- Loading branch information
Showing
3 changed files
with
11 additions
and
9 deletions.
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
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
|
||
# Guided decoding by Choice (list of possible options) | ||
completion = client.chat.completions.create( | ||
model="Qwen/Qwen2.5-3B", | ||
model="Qwen/Qwen2.5-3B-Instruct", | ||
messages=[{ | ||
"role": "user", | ||
"content": "Classify this sentiment: vLLM is wonderful!" | ||
|
@@ -25,7 +25,7 @@ | |
"[email protected]\n") | ||
|
||
completion = client.chat.completions.create( | ||
model="Qwen/Qwen2.5-3B", | ||
model="Qwen/Qwen2.5-3B-Instruct", | ||
messages=[{ | ||
"role": "user", | ||
"content": prompt, | ||
|
@@ -57,7 +57,7 @@ class CarDescription(BaseModel): | |
prompt = ("Generate a JSON with the brand, model and car_type of" | ||
"the most iconic car from the 90's") | ||
completion = client.chat.completions.create( | ||
model="Qwen/Qwen2.5-3B", | ||
model="Qwen/Qwen2.5-3B-Instruct", | ||
messages=[{ | ||
"role": "user", | ||
"content": prompt, | ||
|
@@ -84,7 +84,7 @@ class CarDescription(BaseModel): | |
prompt = ("Generate an SQL query to show the 'username' and 'email'" | ||
"from the 'users' table.") | ||
completion = client.chat.completions.create( | ||
model="Qwen/Qwen2.5-3B", | ||
model="Qwen/Qwen2.5-3B-Instruct", | ||
messages=[{ | ||
"role": "user", | ||
"content": prompt, | ||
|