Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

Commit 1d9286d

Browse files
committed
Update 2026-06-10 06:07:23
1 parent f24f3de commit 1d9286d

194 files changed

Lines changed: 7622 additions & 7476 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
4040
<script src="_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
4141

42-
<script src="_static/documentation_options.js?v=1808b351"></script>
42+
<script src="_static/documentation_options.js?v=e28766f7"></script>
4343
<script src="_static/doctools.js?v=9bcbadda"></script>
4444
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
4545
<script src="_static/clipboard.min.js?v=a7894cd8"></script>

_sources/advanced_features/lora.ipynb

Lines changed: 383 additions & 240 deletions
Large diffs are not rendered by default.

_sources/advanced_features/separate_reasoning.ipynb

Lines changed: 249 additions & 467 deletions
Large diffs are not rendered by default.

_sources/advanced_features/structured_outputs.ipynb

Lines changed: 316 additions & 301 deletions
Large diffs are not rendered by default.

_sources/advanced_features/structured_outputs_for_reasoning_models.ipynb

Lines changed: 315 additions & 295 deletions
Large diffs are not rendered by default.

_sources/advanced_features/tool_parser.ipynb

Lines changed: 322 additions & 330 deletions
Large diffs are not rendered by default.

_sources/advanced_features/vlm_query.ipynb

Lines changed: 358 additions & 359 deletions
Large diffs are not rendered by default.

_sources/basic_usage/native_api.ipynb

Lines changed: 187 additions & 182 deletions
Large diffs are not rendered by default.

_sources/basic_usage/offline_engine_api.ipynb

Lines changed: 635 additions & 597 deletions
Large diffs are not rendered by default.

_sources/basic_usage/openai_api_completions.ipynb

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
"execution_count": 1,
3232
"metadata": {
3333
"execution": {
34-
"iopub.execute_input": "2026-06-10T05:04:00.549780Z",
35-
"iopub.status.busy": "2026-06-10T05:04:00.549700Z",
36-
"iopub.status.idle": "2026-06-10T05:04:36.146838Z",
37-
"shell.execute_reply": "2026-06-10T05:04:36.146065Z"
34+
"iopub.execute_input": "2026-06-10T06:03:52.933107Z",
35+
"iopub.status.busy": "2026-06-10T06:03:52.933026Z",
36+
"iopub.status.idle": "2026-06-10T06:04:23.324858Z",
37+
"shell.execute_reply": "2026-06-10T06:04:23.324019Z"
3838
}
3939
},
4040
"outputs": [
@@ -55,8 +55,8 @@
5555
"text": [
5656
"\r",
5757
"Multi-thread loading shards: 0% Completed | 0/1 [00:00<?, ?it/s]\r",
58-
"Multi-thread loading shards: 100% Completed | 1/1 [00:00<00:00, 6.35it/s]\r",
59-
"Multi-thread loading shards: 100% Completed | 1/1 [00:00<00:00, 6.34it/s]\n"
58+
"Multi-thread loading shards: 100% Completed | 1/1 [00:00<00:00, 6.63it/s]\r",
59+
"Multi-thread loading shards: 100% Completed | 1/1 [00:00<00:00, 6.62it/s]\n"
6060
]
6161
},
6262
{
@@ -83,7 +83,7 @@
8383
"name": "stdout",
8484
"output_type": "stream",
8585
"text": [
86-
"Server started on http://localhost:33716\n"
86+
"Server started on http://localhost:33777\n"
8787
]
8888
}
8989
],
@@ -117,17 +117,17 @@
117117
"execution_count": 2,
118118
"metadata": {
119119
"execution": {
120-
"iopub.execute_input": "2026-06-10T05:04:36.148972Z",
121-
"iopub.status.busy": "2026-06-10T05:04:36.148609Z",
122-
"iopub.status.idle": "2026-06-10T05:04:36.678266Z",
123-
"shell.execute_reply": "2026-06-10T05:04:36.677511Z"
120+
"iopub.execute_input": "2026-06-10T06:04:23.326883Z",
121+
"iopub.status.busy": "2026-06-10T06:04:23.326573Z",
122+
"iopub.status.idle": "2026-06-10T06:04:23.886954Z",
123+
"shell.execute_reply": "2026-06-10T06:04:23.886175Z"
124124
}
125125
},
126126
"outputs": [
127127
{
128128
"data": {
129129
"text/html": [
130-
"<strong style='color: #00008B;'>Response: ChatCompletion(id='0ed52113479741d4b21110afca4311eb', choices=[Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content='Sure, here are three countries and their respective capitals:\\n\\n1. **United States** - Washington D.C.\\n2. **Canada** - Ottawa\\n3. **Australia** - Canberra', refusal=None, role='assistant', annotations=None, audio=None, function_call=None, tool_calls=None, reasoning_content=None), matched_stop=151645)], created=1781067876, model='qwen/qwen2.5-0.5b-instruct', object='chat.completion', service_tier=None, system_fingerprint=None, usage=CompletionUsage(completion_tokens=38, prompt_tokens=37, total_tokens=75, completion_tokens_details=None, prompt_tokens_details=None, reasoning_tokens=0), metadata={'weight_version': 'default'})</strong>"
130+
"<strong style='color: #00008B;'>Response: ChatCompletion(id='fa235015836447c0b9c3f4d992531b5d', choices=[Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content='Sure, here are three countries and their respective capitals:\\n\\n1. **United States** - Washington D.C.\\n2. **Canada** - Ottawa\\n3. **Australia** - Canberra', refusal=None, role='assistant', annotations=None, audio=None, function_call=None, tool_calls=None, reasoning_content=None), matched_stop=151645)], created=1781071463, model='qwen/qwen2.5-0.5b-instruct', object='chat.completion', service_tier=None, system_fingerprint=None, usage=CompletionUsage(completion_tokens=38, prompt_tokens=37, total_tokens=75, completion_tokens_details=None, prompt_tokens_details=None, reasoning_tokens=0), metadata={'weight_version': 'default'})</strong>"
131131
],
132132
"text/plain": [
133133
"<IPython.core.display.HTML object>"
@@ -348,10 +348,10 @@
348348
"execution_count": 3,
349349
"metadata": {
350350
"execution": {
351-
"iopub.execute_input": "2026-06-10T05:04:36.680130Z",
352-
"iopub.status.busy": "2026-06-10T05:04:36.680030Z",
353-
"iopub.status.idle": "2026-06-10T05:04:36.883927Z",
354-
"shell.execute_reply": "2026-06-10T05:04:36.883221Z"
351+
"iopub.execute_input": "2026-06-10T06:04:23.888707Z",
352+
"iopub.status.busy": "2026-06-10T06:04:23.888602Z",
353+
"iopub.status.idle": "2026-06-10T06:04:24.133799Z",
354+
"shell.execute_reply": "2026-06-10T06:04:24.133197Z"
355355
}
356356
},
357357
"outputs": [
@@ -405,17 +405,17 @@
405405
"execution_count": 4,
406406
"metadata": {
407407
"execution": {
408-
"iopub.execute_input": "2026-06-10T05:04:36.885351Z",
409-
"iopub.status.busy": "2026-06-10T05:04:36.885254Z",
410-
"iopub.status.idle": "2026-06-10T05:04:37.668563Z",
411-
"shell.execute_reply": "2026-06-10T05:04:37.667725Z"
408+
"iopub.execute_input": "2026-06-10T06:04:24.135641Z",
409+
"iopub.status.busy": "2026-06-10T06:04:24.135535Z",
410+
"iopub.status.idle": "2026-06-10T06:04:25.280599Z",
411+
"shell.execute_reply": "2026-06-10T06:04:25.279888Z"
412412
}
413413
},
414414
"outputs": [
415415
{
416416
"data": {
417417
"text/html": [
418-
"<strong style='color: #00008B;'>The major achievements of ancient Rome include the construction of monumental architecture such as the Colosseum, Pantheon, and others. They also developed a complex legal system known as the Roman law, which was used for centuries to govern society. The Romans were skilled in agriculture, engineering, and military tactics. Additionally, they had an extensive network of roads that connected their vast territories across Europe, Africa, and Asia Minor. Their culture included art, literature, philosophy, and science.</strong>"
418+
"<strong style='color: #00008B;'>Ancient Rome was a major civilization that left an indelible mark on history. Some of their most significant achievements include:<br><br>1. **Founding of the Roman Empire**: The Romans founded what is now known as the Roman Empire, which stretched from modern-day Italy to Spain and beyond.<br><br>2. **Architecture**: They developed impressive structures such as the Colosseum in Rome, the Pantheon in Athens, and the Temple of Jupiter Optimus Maximus in Rome. These buildings were designed for religious or political purposes and are still admired today.<br><br>3. **Law**: The Romans established one of the oldest written legal systems in the world</strong>"
419419
],
420420
"text/plain": [
421421
"<IPython.core.display.HTML object>"
@@ -473,25 +473,25 @@
473473
"execution_count": 5,
474474
"metadata": {
475475
"execution": {
476-
"iopub.execute_input": "2026-06-10T05:04:37.670069Z",
477-
"iopub.status.busy": "2026-06-10T05:04:37.669958Z",
478-
"iopub.status.idle": "2026-06-10T05:04:37.989373Z",
479-
"shell.execute_reply": "2026-06-10T05:04:37.988664Z"
476+
"iopub.execute_input": "2026-06-10T06:04:25.282477Z",
477+
"iopub.status.busy": "2026-06-10T06:04:25.282373Z",
478+
"iopub.status.idle": "2026-06-10T06:04:25.727778Z",
479+
"shell.execute_reply": "2026-06-10T06:04:25.727075Z"
480480
}
481481
},
482482
"outputs": [
483483
{
484484
"name": "stdout",
485485
"output_type": "stream",
486486
"text": [
487-
"Yes, that is a test. I'm here to assist you with any questions or information you might need. Please feel free to ask me anything"
487+
"Yes, I am Qwen, a large language model created by Alibaba Cloud. My purpose is to assist you with any questions"
488488
]
489489
},
490490
{
491491
"name": "stdout",
492492
"output_type": "stream",
493493
"text": [
494-
", and I'll do my best to help you."
494+
" or tasks you may have regarding various topics and domains. Please let me know how I can be of assistance to you!"
495495
]
496496
}
497497
],
@@ -520,10 +520,10 @@
520520
"execution_count": 6,
521521
"metadata": {
522522
"execution": {
523-
"iopub.execute_input": "2026-06-10T05:04:37.990805Z",
524-
"iopub.status.busy": "2026-06-10T05:04:37.990692Z",
525-
"iopub.status.idle": "2026-06-10T05:04:38.304313Z",
526-
"shell.execute_reply": "2026-06-10T05:04:38.303787Z"
523+
"iopub.execute_input": "2026-06-10T06:04:25.729612Z",
524+
"iopub.status.busy": "2026-06-10T06:04:25.729505Z",
525+
"iopub.status.idle": "2026-06-10T06:04:26.027911Z",
526+
"shell.execute_reply": "2026-06-10T06:04:26.027221Z"
527527
}
528528
},
529529
"outputs": [
@@ -574,17 +574,17 @@
574574
"execution_count": 7,
575575
"metadata": {
576576
"execution": {
577-
"iopub.execute_input": "2026-06-10T05:04:38.305886Z",
578-
"iopub.status.busy": "2026-06-10T05:04:38.305789Z",
579-
"iopub.status.idle": "2026-06-10T05:04:38.789425Z",
580-
"shell.execute_reply": "2026-06-10T05:04:38.788782Z"
577+
"iopub.execute_input": "2026-06-10T06:04:26.029762Z",
578+
"iopub.status.busy": "2026-06-10T06:04:26.029661Z",
579+
"iopub.status.idle": "2026-06-10T06:04:26.512217Z",
580+
"shell.execute_reply": "2026-06-10T06:04:26.511433Z"
581581
}
582582
},
583583
"outputs": [
584584
{
585585
"data": {
586586
"text/html": [
587-
"<strong style='color: #00008B;'>Response: Completion(id='b3ed6b50c0024de98c6fb1e69ec343e0', choices=[CompletionChoice(finish_reason='length', index=0, logprobs=None, text=' 1. United States - Washington D.C.\\n2. United Kingdom - London\\n3. France - Paris\\n4. Germany - Berlin\\n5. Japan - Tokyo\\n6. Italy - Rome\\n7. Spain - Madrid\\n8. Australia - Canberra\\n9. Canada - Ottawa\\n10. Mexico -', matched_stop=None)], created=1781067878, model='qwen/qwen2.5-0.5b-instruct', object='text_completion', system_fingerprint=None, usage=CompletionUsage(completion_tokens=64, prompt_tokens=8, total_tokens=72, completion_tokens_details=None, prompt_tokens_details=None, reasoning_tokens=0), metadata={'weight_version': 'default'})</strong>"
587+
"<strong style='color: #00008B;'>Response: Completion(id='9b007e0090604df99e8cb3c469b0a242', choices=[CompletionChoice(finish_reason='length', index=0, logprobs=None, text=' 1. United States - Washington D.C.\\n2. United Kingdom - London\\n3. France - Paris\\n4. Germany - Berlin\\n5. Japan - Tokyo\\n6. Italy - Rome\\n7. Spain - Madrid\\n8. Australia - Canberra\\n9. Canada - Ottawa\\n10. Mexico -', matched_stop=None)], created=1781071466, model='qwen/qwen2.5-0.5b-instruct', object='text_completion', system_fingerprint=None, usage=CompletionUsage(completion_tokens=64, prompt_tokens=8, total_tokens=72, completion_tokens_details=None, prompt_tokens_details=None, reasoning_tokens=0), metadata={'weight_version': 'default'})</strong>"
588588
],
589589
"text/plain": [
590590
"<IPython.core.display.HTML object>"
@@ -623,17 +623,17 @@
623623
"execution_count": 8,
624624
"metadata": {
625625
"execution": {
626-
"iopub.execute_input": "2026-06-10T05:04:38.791152Z",
627-
"iopub.status.busy": "2026-06-10T05:04:38.791056Z",
628-
"iopub.status.idle": "2026-06-10T05:04:39.236098Z",
629-
"shell.execute_reply": "2026-06-10T05:04:39.235421Z"
626+
"iopub.execute_input": "2026-06-10T06:04:26.513793Z",
627+
"iopub.status.busy": "2026-06-10T06:04:26.513688Z",
628+
"iopub.status.idle": "2026-06-10T06:04:26.846483Z",
629+
"shell.execute_reply": "2026-06-10T06:04:26.845810Z"
630630
}
631631
},
632632
"outputs": [
633633
{
634634
"data": {
635635
"text/html": [
636-
"<strong style='color: #00008B;'>Response: Completion(id='77cc1bb57b9e44a396fd306a3aa63cdf', choices=[CompletionChoice(finish_reason='stop', index=0, logprobs=None, text=' Once upon a time, there was a space explorer named Alex who had always dreamed of exploring the stars. He had studied hard and had saved up enough money to buy his first spacecraft. With the help of his friends and family, he set off on his adventure.', matched_stop='\\n\\n')], created=1781067879, model='qwen/qwen2.5-0.5b-instruct', object='text_completion', system_fingerprint=None, usage=CompletionUsage(completion_tokens=53, prompt_tokens=9, total_tokens=62, completion_tokens_details=None, prompt_tokens_details=None, reasoning_tokens=0), metadata={'weight_version': 'default'})</strong>"
636+
"<strong style='color: #00008B;'>Response: Completion(id='d851ed084a114d288893fc4b69824c04', choices=[CompletionChoice(finish_reason='stop', index=0, logprobs=None, text=\" As an AI language model, I don't have personal experiences or emotions, but I can generate a story based on common human experiences. Here's a short story about a space explorer:\", matched_stop='\\n\\n')], created=1781071466, model='qwen/qwen2.5-0.5b-instruct', object='text_completion', system_fingerprint=None, usage=CompletionUsage(completion_tokens=37, prompt_tokens=9, total_tokens=46, completion_tokens_details=None, prompt_tokens_details=None, reasoning_tokens=0), metadata={'weight_version': 'default'})</strong>"
637637
],
638638
"text/plain": [
639639
"<IPython.core.display.HTML object>"
@@ -727,10 +727,10 @@
727727
"execution_count": 9,
728728
"metadata": {
729729
"execution": {
730-
"iopub.execute_input": "2026-06-10T05:04:39.238131Z",
731-
"iopub.status.busy": "2026-06-10T05:04:39.238009Z",
732-
"iopub.status.idle": "2026-06-10T05:04:39.259270Z",
733-
"shell.execute_reply": "2026-06-10T05:04:39.258355Z"
730+
"iopub.execute_input": "2026-06-10T06:04:26.848454Z",
731+
"iopub.status.busy": "2026-06-10T06:04:26.848339Z",
732+
"iopub.status.idle": "2026-06-10T06:04:26.870086Z",
733+
"shell.execute_reply": "2026-06-10T06:04:26.869402Z"
734734
}
735735
},
736736
"outputs": [],

0 commit comments

Comments
 (0)