Skip to content

Commit 45bb1b6

Browse files
committed
update doc
1 parent e7b842f commit 45bb1b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cookbook/client/tinker/custom_service/self_congnition.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
# The base model to fine-tune / evaluate
2626
base_model = 'Qwen/Qwen3-4B'
2727
base_url = 'http://localhost:8000'
28+
api_key = 'EMPTY_API_KEY'
2829

2930

3031
def train():
@@ -50,7 +51,7 @@ def train():
5051

5152
service_client = ServiceClient(
5253
base_url=base_url,
53-
api_key=os.environ.get('MODELSCOPE_TOKEN')
54+
api_key=api_key
5455
)
5556

5657
# Create a LoRA training client for the base model (rank=16 for the LoRA adapter)

0 commit comments

Comments
 (0)