We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7b842f commit 45bb1b6Copy full SHA for 45bb1b6
cookbook/client/tinker/custom_service/self_congnition.py
@@ -25,6 +25,7 @@
25
# The base model to fine-tune / evaluate
26
base_model = 'Qwen/Qwen3-4B'
27
base_url = 'http://localhost:8000'
28
+api_key = 'EMPTY_API_KEY'
29
30
31
def train():
@@ -50,7 +51,7 @@ def train():
50
51
52
service_client = ServiceClient(
53
base_url=base_url,
- api_key=os.environ.get('MODELSCOPE_TOKEN')
54
+ api_key=api_key
55
)
56
57
# Create a LoRA training client for the base model (rank=16 for the LoRA adapter)
0 commit comments