Skip to content

Commit 62de815

Browse files
committed
Adjust Qwen model ID in examples
1 parent f78f2c9 commit 62de815

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/tool-use-multiple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def is_prime(n: int) -> bool:
1818
return False
1919
return True
2020

21-
model = lms.llm("qwen2.5-7b-instruct")
21+
model = lms.llm("qwen2.5-7b-instruct-1m")
2222
model.act(
2323
"Is the result of 12345 + 45668 a prime? Think step by step.",
2424
[add, is_prime],

examples/tool-use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def multiply(a: float, b: float) -> float:
77
"""Given two numbers a and b. Returns the product of them."""
88
return a * b
99

10-
model = lms.llm("qwen2.5-7b-instruct")
10+
model = lms.llm("qwen2.5-7b-instruct-1m")
1111
model.act(
1212
"What is the result of 12345 multiplied by 54321?",
1313
[multiply],

0 commit comments

Comments
 (0)