Abdulatef commited on
Commit
944f834
·
verified ·
1 Parent(s): c0f1e2a

Copy files from models/unsloth/gpt-oss-20b-GGUF

Browse files
.gitattributes CHANGED
@@ -35,3 +35,19 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
  models/dphn/Dolphin-Mistral-24B-Venice-Edition/tekken.json filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
  models/dphn/Dolphin-Mistral-24B-Venice-Edition/tekken.json filter=lfs diff=lfs merge=lfs -text
38
+ models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-F16.gguf filter=lfs diff=lfs merge=lfs -text
39
+ models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
40
+ models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q2_K_L.gguf filter=lfs diff=lfs merge=lfs -text
41
+ models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
45
+ models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
46
+ models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
47
+ models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
48
+ models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
49
+ models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
50
+ models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
51
+ models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-UD-Q4_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
52
+ models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-UD-Q6_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
53
+ models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-UD-Q8_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
models/unsloth/gpt-oss-20b-GGUF/.gitattributes ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ gpt-oss-20b-Q2_only.gguf filter=lfs diff=lfs merge=lfs -text
37
+ gpt-oss-20b-MXFP4.gguf filter=lfs diff=lfs merge=lfs -text
38
+ gpt-oss-20b-BF16.gguf filter=lfs diff=lfs merge=lfs -text
39
+ MXFP4.gguf filter=lfs diff=lfs merge=lfs -text
40
+ gpt-oss-20b-F16.gguf filter=lfs diff=lfs merge=lfs -text
41
+ gpt-oss-20b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ gpt-oss-20b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ gpt-oss-20b-UD-Q6_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
44
+ gpt-oss-20b-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
45
+ gpt-oss-20b-Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
46
+ gpt-oss-20b-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
47
+ gpt-oss-20b-UD-Q8_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
48
+ gpt-oss-20b-F32.gguf filter=lfs diff=lfs merge=lfs -text
49
+ gpt-oss-20b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
50
+ gpt-oss-20b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
51
+ gpt-oss-20b-UD-Q4_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
52
+ gpt-oss-20b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
53
+ gpt-oss-20b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ gpt-oss-20b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
55
+ gpt-oss-20b-Q2_K_L.gguf filter=lfs diff=lfs merge=lfs -text
56
+ gpt-oss-20b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
models/unsloth/gpt-oss-20b-GGUF/README.md ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - openai/gpt-oss-20b
4
+ license: apache-2.0
5
+ pipeline_tag: text-generation
6
+ library_name: transformers
7
+ tags:
8
+ - openai
9
+ - unsloth
10
+ ---
11
+ # Read our How to [Run gpt-oss Guide here!](https://docs.unsloth.ai/models/gpt-oss-how-to-run-and-fine-tune)
12
+
13
+ <div>
14
+ <p style="margin-bottom: 0; margin-top: 0;">
15
+ <strong>See <a href="https://huggingface.co/collections/unsloth/gpt-oss-6892433695ce0dee42f31681">our collection</a> for all versions of gpt-oss including GGUF, 4-bit & 16-bit formats.</strong>
16
+ </p>
17
+ <p style="margin-bottom: 0;">
18
+ <em>Learn to run gpt-oss correctly - <a href="https://docs.unsloth.ai/basics/gpt-oss">Read our Guide</a>.</em>
19
+ </p>
20
+ <p style="margin-top: 0;margin-bottom: 0;">
21
+ <em>See <a href="https://docs.unsloth.ai/basics/unsloth-dynamic-v2.0-gguf">Unsloth Dynamic 2.0 GGUFs</a> for our quantization benchmarks.</em>
22
+ </p>
23
+ <div style="display: flex; gap: 5px; align-items: center; ">
24
+ <a href="https://github.com/unslothai/unsloth/">
25
+ <img src="https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png" width="133">
26
+ </a>
27
+ <a href="https://discord.gg/unsloth">
28
+ <img src="https://github.com/unslothai/unsloth/raw/main/images/Discord%20button.png" width="173">
29
+ </a>
30
+ <a href="https://docs.unsloth.ai/basics/gpt-oss">
31
+ <img src="https://raw.githubusercontent.com/unslothai/unsloth/refs/heads/main/images/documentation%20green%20button.png" width="143">
32
+ </a>
33
+ </div>
34
+ <h1 style="margin-top: 0rem;">✨ Read our gpt-oss Guide <a href="https://docs.unsloth.ai/basics/gpt-oss">here</a>!</h1>
35
+ </div>
36
+
37
+ - Fine-tune gpt-oss-20b for free using our [Google Colab notebook](https://colab.research.google.com/github/unslothai/notebooks/blob/main/nb/gpt-oss-(20B)-Fine-tuning.ipynb)
38
+ - Read our Blog about gpt-oss support: [unsloth.ai/blog/gpt-oss](https://unsloth.ai/blog/gpt-oss)
39
+ - View the rest of our notebooks in our [docs here](https://docs.unsloth.ai/get-started/unsloth-notebooks).
40
+ - Thank you to the [llama.cpp](https://github.com/ggml-org/llama.cpp) team for their work on supporting this model. We wouldn't be able to release quants without them!
41
+
42
+ The F32 quant is MXFP4 upcasted to BF16 for every single layer and is unquantized.
43
+
44
+ # gpt-oss-20b Details
45
+
46
+ <p align="center">
47
+ <img alt="gpt-oss-20b" src="https://raw.githubusercontent.com/openai/gpt-oss/main/docs/gpt-oss-20b.svg">
48
+ </p>
49
+
50
+ <p align="center">
51
+ <a href="https://gpt-oss.com"><strong>Try gpt-oss</strong></a> ·
52
+ <a href="https://cookbook.openai.com/topic/gpt-oss"><strong>Guides</strong></a> ·
53
+ <a href="https://openai.com/index/gpt-oss-model-card"><strong>System card</strong></a> ·
54
+ <a href="https://openai.com/index/introducing-gpt-oss/"><strong>OpenAI blog</strong></a>
55
+ </p>
56
+
57
+ <br>
58
+
59
+ Welcome to the gpt-oss series, [OpenAI’s open-weight models](https://openai.com/open-models) designed for powerful reasoning, agentic tasks, and versatile developer use cases.
60
+
61
+ We’re releasing two flavors of the open models:
62
+ - `gpt-oss-120b` — for production, general purpose, high reasoning use cases that fits into a single H100 GPU (117B parameters with 5.1B active parameters)
63
+ - `gpt-oss-20b` — for lower latency, and local or specialized use cases (21B parameters with 3.6B active parameters)
64
+
65
+ Both models were trained on our [harmony response format](https://github.com/openai/harmony) and should only be used with the harmony format as it will not work correctly otherwise.
66
+
67
+
68
+ > [!NOTE]
69
+ > This model card is dedicated to the smaller `gpt-oss-20b` model. Check out [`gpt-oss-120b`](https://huggingface.co/openai/gpt-oss-120b) for the larger model.
70
+
71
+ # Highlights
72
+
73
+ * **Permissive Apache 2.0 license:** Build freely without copyleft restrictions or patent risk—ideal for experimentation, customization, and commercial deployment.
74
+ * **Configurable reasoning effort:** Easily adjust the reasoning effort (low, medium, high) based on your specific use case and latency needs.
75
+ * **Full chain-of-thought:** Gain complete access to the model’s reasoning process, facilitating easier debugging and increased trust in outputs. It’s not intended to be shown to end users.
76
+ * **Fine-tunable:** Fully customize models to your specific use case through parameter fine-tuning.
77
+ * **Agentic capabilities:** Use the models’ native capabilities for function calling, [web browsing](https://github.com/openai/gpt-oss/tree/main?tab=readme-ov-file#browser), [Python code execution](https://github.com/openai/gpt-oss/tree/main?tab=readme-ov-file#python), and Structured Outputs.
78
+ * **Native MXFP4 quantization:** The models are trained with native MXFP4 precision for the MoE layer, making `gpt-oss-120b` run on a single H100 GPU and the `gpt-oss-20b` model run within 16GB of memory.
79
+
80
+ ---
81
+
82
+ # Inference examples
83
+
84
+ ## Transformers
85
+
86
+ You can use `gpt-oss-120b` and `gpt-oss-20b` with Transformers. If you use the Transformers chat template, it will automatically apply the [harmony response format](https://github.com/openai/harmony). If you use `model.generate` directly, you need to apply the harmony format manually using the chat template or use our [openai-harmony](https://github.com/openai/harmony) package.
87
+
88
+ To get started, install the necessary dependencies to setup your environment:
89
+
90
+ ```
91
+ pip install -U transformers kernels torch
92
+ ```
93
+
94
+ Once, setup you can proceed to run the model by running the snippet below:
95
+
96
+ ```py
97
+ from transformers import pipeline
98
+ import torch
99
+
100
+ model_id = "openai/gpt-oss-20b"
101
+
102
+ pipe = pipeline(
103
+ "text-generation",
104
+ model=model_id,
105
+ torch_dtype="auto",
106
+ device_map="auto",
107
+ )
108
+
109
+ messages = [
110
+ {"role": "user", "content": "Explain quantum mechanics clearly and concisely."},
111
+ ]
112
+
113
+ outputs = pipe(
114
+ messages,
115
+ max_new_tokens=256,
116
+ )
117
+ print(outputs[0]["generated_text"][-1])
118
+ ```
119
+
120
+ Alternatively, you can run the model via [`Transformers Serve`](https://huggingface.co/docs/transformers/main/serving) to spin up a OpenAI-compatible webserver:
121
+
122
+ ```
123
+ transformers serve
124
+ transformers chat localhost:8000 --model-name-or-path openai/gpt-oss-20b
125
+ ```
126
+
127
+ [Learn more about how to use gpt-oss with Transformers.](https://cookbook.openai.com/articles/gpt-oss/run-transformers)
128
+
129
+ ## vLLM
130
+
131
+ vLLM recommends using [uv](https://docs.astral.sh/uv/) for Python dependency management. You can use vLLM to spin up an OpenAI-compatible webserver. The following command will automatically download the model and start the server.
132
+
133
+ ```bash
134
+ uv pip install --pre vllm==0.10.1+gptoss \
135
+ --extra-index-url https://wheels.vllm.ai/gpt-oss/ \
136
+ --extra-index-url https://download.pytorch.org/whl/nightly/cu128 \
137
+ --index-strategy unsafe-best-match
138
+
139
+ vllm serve openai/gpt-oss-20b
140
+ ```
141
+
142
+ [Learn more about how to use gpt-oss with vLLM.](https://cookbook.openai.com/articles/gpt-oss/run-vllm)
143
+
144
+ ## PyTorch / Triton
145
+
146
+ To learn about how to use this model with PyTorch and Triton, check out our [reference implementations in the gpt-oss repository](https://github.com/openai/gpt-oss?tab=readme-ov-file#reference-pytorch-implementation).
147
+
148
+ ## Ollama
149
+
150
+ If you are trying to run gpt-oss on consumer hardware, you can use Ollama by running the following commands after [installing Ollama](https://ollama.com/download).
151
+
152
+ ```bash
153
+ # gpt-oss-20b
154
+ ollama pull gpt-oss:20b
155
+ ollama run gpt-oss:20b
156
+ ```
157
+
158
+ [Learn more about how to use gpt-oss with Ollama.](https://cookbook.openai.com/articles/gpt-oss/run-locally-ollama)
159
+
160
+ #### LM Studio
161
+
162
+ If you are using [LM Studio](https://lmstudio.ai/) you can use the following commands to download.
163
+
164
+ ```bash
165
+ # gpt-oss-20b
166
+ lms get openai/gpt-oss-20b
167
+ ```
168
+
169
+ Check out our [awesome list](https://github.com/openai/gpt-oss/blob/main/awesome-gpt-oss.md) for a broader collection of gpt-oss resources and inference partners.
170
+
171
+ ---
172
+
173
+ # Download the model
174
+
175
+ You can download the model weights from the [Hugging Face Hub](https://huggingface.co/collections/openai/gpt-oss-68911959590a1634ba11c7a4) directly from Hugging Face CLI:
176
+
177
+ ```shell
178
+ # gpt-oss-20b
179
+ huggingface-cli download openai/gpt-oss-20b --include "original/*" --local-dir gpt-oss-20b/
180
+ pip install gpt-oss
181
+ python -m gpt_oss.chat model/
182
+ ```
183
+
184
+ # Reasoning levels
185
+
186
+ You can adjust the reasoning level that suits your task across three levels:
187
+
188
+ * **Low:** Fast responses for general dialogue.
189
+ * **Medium:** Balanced speed and detail.
190
+ * **High:** Deep and detailed analysis.
191
+
192
+ The reasoning level can be set in the system prompts, e.g., "Reasoning: high".
193
+
194
+ # Tool use
195
+
196
+ The gpt-oss models are excellent for:
197
+ * Web browsing (using built-in browsing tools)
198
+ * Function calling with defined schemas
199
+ * Agentic operations like browser tasks
200
+
201
+ # Fine-tuning
202
+
203
+ Both gpt-oss models can be fine-tuned for a variety of specialized use cases.
204
+
205
+ This smaller model `gpt-oss-20b` can be fine-tuned on consumer hardware, whereas the larger [`gpt-oss-120b`](https://huggingface.co/openai/gpt-oss-120b) can be fine-tuned on a single H100 node.
models/unsloth/gpt-oss-20b-GGUF/config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "GptOssForCausalLM"
4
+ ],
5
+ "attention_bias": true,
6
+ "attention_dropout": 0.0,
7
+ "eos_token_id": 200002,
8
+ "experts_per_token": 4,
9
+ "head_dim": 64,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 2880,
12
+ "initial_context_length": 4096,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 2880,
15
+ "layer_types": [
16
+ "sliding_attention",
17
+ "full_attention",
18
+ "sliding_attention",
19
+ "full_attention",
20
+ "sliding_attention",
21
+ "full_attention",
22
+ "sliding_attention",
23
+ "full_attention",
24
+ "sliding_attention",
25
+ "full_attention",
26
+ "sliding_attention",
27
+ "full_attention",
28
+ "sliding_attention",
29
+ "full_attention",
30
+ "sliding_attention",
31
+ "full_attention",
32
+ "sliding_attention",
33
+ "full_attention",
34
+ "sliding_attention",
35
+ "full_attention",
36
+ "sliding_attention",
37
+ "full_attention",
38
+ "sliding_attention",
39
+ "full_attention"
40
+ ],
41
+ "max_position_embeddings": 131072,
42
+ "model_type": "gpt_oss",
43
+ "num_attention_heads": 64,
44
+ "num_experts_per_tok": 4,
45
+ "num_hidden_layers": 24,
46
+ "num_key_value_heads": 8,
47
+ "num_local_experts": 32,
48
+ "output_router_logits": false,
49
+ "pad_token_id": 200017,
50
+ "rms_norm_eps": 1e-05,
51
+ "rope_scaling": {
52
+ "beta_fast": 32.0,
53
+ "beta_slow": 1.0,
54
+ "factor": 32.0,
55
+ "original_max_position_embeddings": 4096,
56
+ "rope_type": "yarn",
57
+ "truncate": false
58
+ },
59
+ "rope_theta": 150000,
60
+ "router_aux_loss_coef": 0.9,
61
+ "sliding_window": 128,
62
+ "swiglu_limit": 7.0,
63
+ "tie_word_embeddings": false,
64
+ "torch_dtype": "bfloat16",
65
+ "transformers_version": "4.55.0",
66
+ "unsloth_fixed": true,
67
+ "use_cache": true,
68
+ "vocab_size": 201088
69
+ }
models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-F16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e4f9cd88d6456e4f389e7262eca4a8d565211e2b22ece9ca7a8556168ff3c66
3
+ size 13792639168
models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:129b8e3865517cbba55bbb7d4f0cc2444a014e73a619eafbac247ef6573a19ee
3
+ size 11468317888
models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q2_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14de8eca18d52ae76449e0869bfb215686b212716787356b5bdd20793f82c6dc
3
+ size 11757884608
models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc02b57e05cfef36b1f6f4a952666a76b26838f8cf431412cb0cd19f41cf8040
3
+ size 11506103488
models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8deacd2c5ed46d1a62368c52e44abdb55e32a2aa0e5acea86d18d8258339f17d
3
+ size 11463894208
models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f5890ffd832518b1843b8e1b39125c70fb2c104a6e88613d70f45efa6aaba0e
3
+ size 11501495488
models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q4_1.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de7e287610b8d792090cc3b001fe91957d3738197e53af83f763810c06d519e0
3
+ size 11577504448
models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c27536640e410032865dc68781d80a08b98f8db5e93575919af8ccc0568aeb4f
3
+ size 11624759488
models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c5483e8749f4865f1aae2c36b796e7b8c43ec02c5a74d663a82a5fe916b2298
3
+ size 11618492608
models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c3814533c5b4c84d42b5dce4376bbdfd7227e990b8733a3a1c4f741355b3e75
3
+ size 11717357248
models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9a5c5312dcf63af3ab5a2a2aed6e3bc86d51d452bce364ff44f573a8b089141
3
+ size 11711827648
models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2ead52a7842a556ea10d5edd91a88e5af974856d2485ecaad3aade679832935
3
+ size 12041000128
models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcd455d4034ec02f71a875b46cb17df44a97911d7258291973be4d21f98329f3
3
+ size 12109567168
models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-UD-Q4_K_XL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10fe673de12c20b74b8d670a9fdf0fd36b43b0a86ffc04daeb175c0a2b98c4f9
3
+ size 11872347328
models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-UD-Q6_K_XL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2ead52a7842a556ea10d5edd91a88e5af974856d2485ecaad3aade679832935
3
+ size 12041000128
models/unsloth/gpt-oss-20b-GGUF/gpt-oss-20b-UD-Q8_K_XL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b97fa9f3efa642ef3abd599a170f0b26612e5179a4ef5c65fb8852fb974ec239
3
+ size 13195442368
models/unsloth/gpt-oss-20b-GGUF/notebook.ipynb ADDED
@@ -0,0 +1,2487 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "markdown",
5
+ "metadata": {},
6
+ "source": [
7
+ "To run this, press \"*Runtime*\" and press \"*Run all*\" on a **free** Tesla T4 Google Colab instance!\n",
8
+ "<div class=\"align-center\">\n",
9
+ "<a href=\"https://unsloth.ai/\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png\" width=\"115\"></a>\n",
10
+ "<a href=\"https://discord.gg/unsloth\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/Discord button.png\" width=\"145\"></a>\n",
11
+ "<a href=\"https://docs.unsloth.ai/\"><img src=\"https://github.com/unslothai/unsloth/blob/main/images/documentation%20green%20button.png?raw=true\" width=\"125\"></a></a> Join Discord if you need help + \u2b50 <i>Star us on <a href=\"https://github.com/unslothai/unsloth\">Github</a> </i> \u2b50\n",
12
+ "</div>\n",
13
+ "\n",
14
+ "To install Unsloth on your own computer, follow the installation instructions on our Github page [here](https://docs.unsloth.ai/get-started/installing-+-updating).\n",
15
+ "\n",
16
+ "You will learn how to do [data prep](#Data), how to [train](#Train), how to [run the model](#Inference), & [how to save it](#Save)\n"
17
+ ]
18
+ },
19
+ {
20
+ "cell_type": "markdown",
21
+ "metadata": {},
22
+ "source": [
23
+ "### News"
24
+ ]
25
+ },
26
+ {
27
+ "cell_type": "markdown",
28
+ "metadata": {},
29
+ "source": [
30
+ "\n",
31
+ "[Vision RL](https://docs.unsloth.ai/new/vision-reinforcement-learning-vlm-rl) is now supported! Train Qwen2.5-VL, Gemma 3 etc. with GSPO or GRPO.\n",
32
+ "\n",
33
+ "Introducing Unsloth [Standby for RL](https://docs.unsloth.ai/basics/memory-efficient-rl): GRPO is now faster, uses 30% less memory with 2x longer context.\n",
34
+ "\n",
35
+ "Gpt-oss fine-tuning now supports 8\u00d7 longer context with 0 accuracy loss. [Read more](https://docs.unsloth.ai/basics/long-context-gpt-oss-training)\n",
36
+ "\n",
37
+ "Unsloth now supports Text-to-Speech (TTS) models. Read our [guide here](https://docs.unsloth.ai/basics/text-to-speech-tts-fine-tuning).\n",
38
+ "\n",
39
+ "Visit our docs for all our [model uploads](https://docs.unsloth.ai/get-started/all-our-models) and [notebooks](https://docs.unsloth.ai/get-started/unsloth-notebooks).\n"
40
+ ]
41
+ },
42
+ {
43
+ "cell_type": "markdown",
44
+ "metadata": {},
45
+ "source": [
46
+ "### Installation"
47
+ ]
48
+ },
49
+ {
50
+ "cell_type": "code",
51
+ "execution_count": null,
52
+ "metadata": {},
53
+ "outputs": [],
54
+ "source": "%%capture\n# We're installing the latest Torch, Triton, OpenAI's Triton kernels, Transformers and Unsloth!\n!pip install --upgrade -qqq uv\ntry: import numpy; get_numpy = f\"numpy=={numpy.__version__}\"\nexcept: get_numpy = \"numpy\"\n!uv pip install -qqq \\\n \"torch>=2.8.0\" \"triton>=3.4.0\" {get_numpy} torchvision bitsandbytes \"transformers>=4.55.3\" \\\n \"unsloth_zoo[base] @ git+https://github.com/unslothai/unsloth-zoo\" \\\n \"unsloth[base] @ git+https://github.com/unslothai/unsloth\" \\\n git+https://github.com/triton-lang/triton.git@05b2c186c1b6c9a08375389d5efe9cb4c401c075#subdirectory=python/triton_kernels\n!uv pip install transformers==4.55.4\n!uv pip install --no-deps trl==0.22.2"
55
+ },
56
+ {
57
+ "cell_type": "code",
58
+ "execution_count": null,
59
+ "metadata": {},
60
+ "outputs": [],
61
+ "source": [
62
+ "%%capture\n",
63
+ "!uv pip install --force-reinstall --no-deps git+https://github.com/unslothai/unsloth-zoo\n",
64
+ "!uv pip install --force-reinstall --no-deps git+https://github.com/unslothai/unsloth"
65
+ ]
66
+ },
67
+ {
68
+ "cell_type": "markdown",
69
+ "metadata": {},
70
+ "source": [
71
+ "### Unsloth"
72
+ ]
73
+ },
74
+ {
75
+ "cell_type": "markdown",
76
+ "metadata": {
77
+ "id": "r2v_X2fA0Df5"
78
+ },
79
+ "source": [
80
+ "We're about to demonstrate the power of the new OpenAI GPT-OSS 20B model through an inference example. For our `MXFP4` version, use this [notebook](https://colab.research.google.com/github/unslothai/notebooks/blob/main/nb/GPT_OSS_MXFP4_(20B)-Inference.ipynb) instead."
81
+ ]
82
+ },
83
+ {
84
+ "cell_type": "code",
85
+ "execution_count": null,
86
+ "metadata": {
87
+ "colab": {
88
+ "base_uri": "https://localhost:8080/",
89
+ "height": 371,
90
+ "referenced_widgets": [
91
+ "7ca2facea2414549ab2a0a3fd07a0723",
92
+ "78676eb3a75f45ed860b488a42fb9bc5",
93
+ "b69b75dd3b5745f4a7f869f7ba6593d4",
94
+ "ea10da0d677849c28bfdfc9206ac1b73",
95
+ "493f6a1af5e94b5eb88a4935361a88c3",
96
+ "1a4ef35565f54388afdf1839055eb5c8",
97
+ "07ae7e9f6861403ea8064a98f4063754",
98
+ "fc2ce36bb32f4c648ccb06d65a4e2aea",
99
+ "bf44ec9413b24dda932f575ebe32b222",
100
+ "2ad28d8e556b4e17b0859aa3683d31c6",
101
+ "e32220b1d3f14386834bcd3736ac9888",
102
+ "d9c5466214ed4f06876a89c64c29048f",
103
+ "1e0c170f075b43ad9e2d39fcdbaa0a06",
104
+ "00abd0bd091f4258b7f61d80ecb3118e",
105
+ "0f2c8641a38043d2a218ec0809e7a7d3",
106
+ "948972fa1a2e400097b590ad47ff6f3d",
107
+ "47a13a9b02ad4181b74cc1f5ddeb3f3f",
108
+ "7c01111484b14a5999d48393085b0264",
109
+ "fb1a288281fc446788fdd0f432b4732c",
110
+ "2f026e4c1ff34aafbf7c5deff6c1e66f",
111
+ "acc52213c033476885ee30fb92f55e23",
112
+ "9caec4d2cb6e4a72b7155912787d3139",
113
+ "2abdab3fdd4f4a70a8faaa7b0e39f811",
114
+ "4d432e4349964027bae76c34f5734fcf",
115
+ "630c170c04494811b21992d6886a3015",
116
+ "cb9a92b76a1d4b189e7ed783bde524c9",
117
+ "ccc49354213c4c1394855986a0e07483",
118
+ "7bf239e457f04e15b4b0e458f0dd1e19",
119
+ "f5c6558ef929438eb117159de0285a58",
120
+ "447aa145c09c4c6f8bd9ce3ea8b5cd44",
121
+ "9c82690bd07346d1ab875bdf5ed80154",
122
+ "5200dae3ba2346c1bca27530b82b38b4",
123
+ "c7a3b0cba7ee49ba929e0038d9c03e98",
124
+ "36250ac65fcb4756a4368f98902a1617",
125
+ "705a1673de934cce8418f7893fbf780a",
126
+ "1f7ed3fc3a824e119cf559af8bc7c370",
127
+ "cafc86be3bd94bc79cb07bc94461ec5d",
128
+ "0c190d903a38402ab452de0a0100a8eb",
129
+ "b3362bda7942432692049558d0cdf14e",
130
+ "4afb54f2995447e68ae3a8129325ffdc",
131
+ "31c7337bfd504409992b7e04b713c243",
132
+ "9b5a45647bd74e8c878cf6ba43b27190",
133
+ "b9c9010af82b4678af43a20546f3ad49",
134
+ "9b818c8e8bac40edb97abf8a266ab28e",
135
+ "ebaa8d22074d495ea675f51dc2d5a4d6",
136
+ "8fecfa968d55466ba8f42730d32bd9b4",
137
+ "dd0e8e4cb46945df8dbec4fefd720358",
138
+ "60a80b3316c14ce79945e06cb190be39",
139
+ "4f0e06a2e2204dad9f29a1697edd4218",
140
+ "66527058da914c73b48221011a2b605a",
141
+ "58413234f68b484693f0719166942214",
142
+ "84b3814386ee4d04b9817f0da2108725",
143
+ "01ede422dc5f4d4da7f913880db4984d",
144
+ "2e9f87f895344785855cca39bb64d5e2",
145
+ "5512e17f3864445a875e640937f296ef",
146
+ "932920c0ee834e3e8ffe53ebf7833fa7",
147
+ "cb65c93ecef84c2c947c67481326691c",
148
+ "73c3f04df8044f34ab45b92c174e121e",
149
+ "13b8be4a5af14bfdbbce24d185187906",
150
+ "21d8ebf7cbfd4e2b9db111d163aad8b8",
151
+ "3122a97298124d0ab0e6297960c132e2",
152
+ "cc829a40832849f586b077f6d8e5795b",
153
+ "3f5a8b6d049244959c1558c56483f643",
154
+ "11fea1d7e4a8426d98165fa5ca7fc650",
155
+ "fc3715b03c5249438965886892ba07bb",
156
+ "05d6f6c3efed4ecf9893c8aa86fe4176"
157
+ ]
158
+ },
159
+ "id": "QmUBVEnvCDJv",
160
+ "outputId": "14ca09b9-e1ff-4f91-b98c-7a1ed22eef3a"
161
+ },
162
+ "outputs": [
163
+ {
164
+ "data": {
165
+ "application/vnd.jupyter.widget-view+json": {
166
+ "model_id": "7ca2facea2414549ab2a0a3fd07a0723",
167
+ "version_major": 2,
168
+ "version_minor": 0
169
+ },
170
+ "text/plain": [
171
+ "config.json: 0%| | 0.00/1.15k [00:00<?, ?B/s]"
172
+ ]
173
+ },
174
+ "metadata": {},
175
+ "output_type": "display_data"
176
+ },
177
+ {
178
+ "name": "stdout",
179
+ "output_type": "stream",
180
+ "text": [
181
+ "==((====))== Unsloth: Fast Llama patching release 2024.4\n",
182
+ " \\\\ /| GPU: Tesla T4. Max memory: 14.748 GB. Platform = Linux.\n",
183
+ "O^O/ \\_/ \\ Pytorch: 2.2.1+cu121. CUDA = 7.5. CUDA Toolkit = 12.1.\n",
184
+ "\\ / Bfloat16 = FALSE. Xformers = 0.0.25.post1. FA = False.\n",
185
+ " \"-____-\" Free Apache license: http://github.com/unslothai/unsloth\n"
186
+ ]
187
+ },
188
+ {
189
+ "name": "stderr",
190
+ "output_type": "stream",
191
+ "text": [
192
+ "Unused kwargs: ['_load_in_4bit', '_load_in_8bit', 'quant_method']. These kwargs are not used in <class 'transformers.utils.quantization_config.BitsAndBytesConfig'>.\n"
193
+ ]
194
+ },
195
+ {
196
+ "data": {
197
+ "application/vnd.jupyter.widget-view+json": {
198
+ "model_id": "d9c5466214ed4f06876a89c64c29048f",
199
+ "version_major": 2,
200
+ "version_minor": 0
201
+ },
202
+ "text/plain": [
203
+ "model.safetensors: 0%| | 0.00/5.70G [00:00<?, ?B/s]"
204
+ ]
205
+ },
206
+ "metadata": {},
207
+ "output_type": "display_data"
208
+ },
209
+ {
210
+ "data": {
211
+ "application/vnd.jupyter.widget-view+json": {
212
+ "model_id": "2abdab3fdd4f4a70a8faaa7b0e39f811",
213
+ "version_major": 2,
214
+ "version_minor": 0
215
+ },
216
+ "text/plain": [
217
+ "generation_config.json: 0%| | 0.00/131 [00:00<?, ?B/s]"
218
+ ]
219
+ },
220
+ "metadata": {},
221
+ "output_type": "display_data"
222
+ },
223
+ {
224
+ "data": {
225
+ "application/vnd.jupyter.widget-view+json": {
226
+ "model_id": "36250ac65fcb4756a4368f98902a1617",
227
+ "version_major": 2,
228
+ "version_minor": 0
229
+ },
230
+ "text/plain": [
231
+ "tokenizer_config.json: 0%| | 0.00/51.0k [00:00<?, ?B/s]"
232
+ ]
233
+ },
234
+ "metadata": {},
235
+ "output_type": "display_data"
236
+ },
237
+ {
238
+ "data": {
239
+ "application/vnd.jupyter.widget-view+json": {
240
+ "model_id": "ebaa8d22074d495ea675f51dc2d5a4d6",
241
+ "version_major": 2,
242
+ "version_minor": 0
243
+ },
244
+ "text/plain": [
245
+ "tokenizer.json: 0%| | 0.00/9.09M [00:00<?, ?B/s]"
246
+ ]
247
+ },
248
+ "metadata": {},
249
+ "output_type": "display_data"
250
+ },
251
+ {
252
+ "data": {
253
+ "application/vnd.jupyter.widget-view+json": {
254
+ "model_id": "932920c0ee834e3e8ffe53ebf7833fa7",
255
+ "version_major": 2,
256
+ "version_minor": 0
257
+ },
258
+ "text/plain": [
259
+ "special_tokens_map.json: 0%| | 0.00/449 [00:00<?, ?B/s]"
260
+ ]
261
+ },
262
+ "metadata": {},
263
+ "output_type": "display_data"
264
+ },
265
+ {
266
+ "name": "stderr",
267
+ "output_type": "stream",
268
+ "text": [
269
+ "Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.\n",
270
+ "Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.\n"
271
+ ]
272
+ }
273
+ ],
274
+ "source": [
275
+ "from unsloth import FastLanguageModel\n",
276
+ "import torch\n",
277
+ "\n",
278
+ "# 4bit pre quantized models we support for 4x faster downloading + no OOMs.\n",
279
+ "fourbit_models = [\n",
280
+ " \"unsloth/gpt-oss-20b-unsloth-bnb-4bit\", # 20B model using bitsandbytes 4bit quantization\n",
281
+ " \"unsloth/gpt-oss-120b-unsloth-bnb-4bit\",\n",
282
+ " \"unsloth/gpt-oss-20b\", # 20B model using MXFP4 format\n",
283
+ " \"unsloth/gpt-oss-120b\", \n",
284
+ "] # More models at https://huggingface.co/unsloth\n",
285
+ "\n",
286
+ "model, tokenizer = FastLanguageModel.from_pretrained(\n",
287
+ " model_name = \"unsloth/gpt-oss-20b-unsloth-bnb-4bit\",\n",
288
+ " dtype = None, # None for auto detection\n",
289
+ " max_seq_length = 4096, # Choose any for long context!\n",
290
+ " load_in_4bit = False, # 4 bit quantization to reduce memory\n",
291
+ " full_finetuning = False, # [NEW!] We have full finetuning now!\n",
292
+ " # token = \"hf_...\", # use one if using gated models\n",
293
+ ")"
294
+ ]
295
+ },
296
+ {
297
+ "cell_type": "markdown",
298
+ "metadata": {},
299
+ "source": [
300
+ "### Reasoning Effort\n",
301
+ "The `gpt-oss` models from OpenAI include a feature that allows users to adjust the model's \"reasoning effort.\" This gives you control over the trade-off between the model's performance and its response speed (latency) which by the amount of token the model will use to think.\n",
302
+ "\n",
303
+ "----\n",
304
+ "\n",
305
+ "The `gpt-oss` models offer three distinct levels of reasoning effort you can choose from:\n",
306
+ "\n",
307
+ "* **Low**: Optimized for tasks that need very fast responses and don't require complex, multi-step reasoning.\n",
308
+ "* **Medium**: A balance between performance and speed.\n",
309
+ "* **High**: Provides the strongest reasoning performance for tasks that require it, though this results in higher latency."
310
+ ]
311
+ },
312
+ {
313
+ "cell_type": "code",
314
+ "execution_count": null,
315
+ "metadata": {},
316
+ "outputs": [],
317
+ "source": [
318
+ "from transformers import TextStreamer\n",
319
+ "\n",
320
+ "messages = [\n",
321
+ " {\"role\": \"user\", \"content\": \"Solve x^5 + 3x^4 - 10 = 3.\"},\n",
322
+ "]\n",
323
+ "inputs = tokenizer.apply_chat_template(\n",
324
+ " messages,\n",
325
+ " add_generation_prompt = True,\n",
326
+ " return_tensors = \"pt\",\n",
327
+ " return_dict = True,\n",
328
+ " reasoning_effort = \"low\", # **NEW!** Set reasoning effort to low, medium or high\n",
329
+ ").to(model.device)\n",
330
+ "\n",
331
+ "_ = model.generate(**inputs, max_new_tokens = 512, streamer = TextStreamer(tokenizer))"
332
+ ]
333
+ },
334
+ {
335
+ "cell_type": "markdown",
336
+ "metadata": {},
337
+ "source": [
338
+ "Changing the `reasoning_effort` to `medium` will make the model think longer. We have to increase the `max_new_tokens` to occupy the amount of the generated tokens but it will give better and more correct answer"
339
+ ]
340
+ },
341
+ {
342
+ "cell_type": "code",
343
+ "execution_count": null,
344
+ "metadata": {},
345
+ "outputs": [],
346
+ "source": [
347
+ "from transformers import TextStreamer\n",
348
+ "\n",
349
+ "messages = [\n",
350
+ " {\"role\": \"user\", \"content\": \"Solve x^5 + 3x^4 - 10 = 3.\"},\n",
351
+ "]\n",
352
+ "inputs = tokenizer.apply_chat_template(\n",
353
+ " messages,\n",
354
+ " add_generation_prompt = True,\n",
355
+ " return_tensors = \"pt\",\n",
356
+ " return_dict = True,\n",
357
+ " reasoning_effort = \"medium\", # **NEW!** Set reasoning effort to low, medium or high\n",
358
+ ").to(model.device)\n",
359
+ "\n",
360
+ "_ = model.generate(**inputs, max_new_tokens = 1024, streamer = TextStreamer(tokenizer))"
361
+ ]
362
+ },
363
+ {
364
+ "cell_type": "markdown",
365
+ "metadata": {},
366
+ "source": [
367
+ "Lastly we will test it using `reasoning_effort` to `high`"
368
+ ]
369
+ },
370
+ {
371
+ "cell_type": "code",
372
+ "execution_count": null,
373
+ "metadata": {},
374
+ "outputs": [],
375
+ "source": [
376
+ "from transformers import TextStreamer\n",
377
+ "\n",
378
+ "messages = [\n",
379
+ " {\"role\": \"user\", \"content\": \"Solve x^5 + 3x^4 - 10 = 3.\"},\n",
380
+ "]\n",
381
+ "inputs = tokenizer.apply_chat_template(\n",
382
+ " messages,\n",
383
+ " add_generation_prompt = True,\n",
384
+ " return_tensors = \"pt\",\n",
385
+ " return_dict = True,\n",
386
+ " reasoning_effort = \"high\", # **NEW!** Set reasoning effort to low, medium or high\n",
387
+ ").to(model.device)\n",
388
+ "\n",
389
+ "_ = model.generate(**inputs, max_new_tokens = 2048, streamer = TextStreamer(tokenizer))"
390
+ ]
391
+ },
392
+ {
393
+ "cell_type": "markdown",
394
+ "metadata": {},
395
+ "source": [
396
+ "And we're done! If you have any questions on Unsloth, we have a [Discord](https://discord.gg/unsloth) channel! If you find any bugs or want to keep updated with the latest LLM stuff, or need help, join projects etc, feel free to join our Discord!\n",
397
+ "\n",
398
+ "Some other links:\n",
399
+ "1. Train your own reasoning model - Llama GRPO notebook [Free Colab](https://colab.research.google.com/github/unslothai/notebooks/blob/main/nb/Llama3.1_(8B)-GRPO.ipynb)\n",
400
+ "2. Saving finetunes to Ollama. [Free notebook](https://colab.research.google.com/github/unslothai/notebooks/blob/main/nb/Llama3_(8B)-Ollama.ipynb)\n",
401
+ "3. Llama 3.2 Vision finetuning - Radiography use case. [Free Colab](https://colab.research.google.com/github/unslothai/notebooks/blob/main/nb/Llama3.2_(11B)-Vision.ipynb)\n",
402
+ "6. See notebooks for DPO, ORPO, Continued pretraining, conversational finetuning and more on our [documentation](https://docs.unsloth.ai/get-started/unsloth-notebooks)!\n",
403
+ "\n",
404
+ "<div class=\"align-center\">\n",
405
+ " <a href=\"https://unsloth.ai\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png\" width=\"115\"></a>\n",
406
+ " <a href=\"https://discord.gg/unsloth\"><img src=\"https://github.com/unslothai/unsloth/raw/main/images/Discord.png\" width=\"145\"></a>\n",
407
+ " <a href=\"https://docs.unsloth.ai/\"><img src=\"https://github.com/unslothai/unsloth/blob/main/images/documentation%20green%20button.png?raw=true\" width=\"125\"></a>\n",
408
+ "\n",
409
+ " Join Discord if you need help + \u2b50\ufe0f <i>Star us on <a href=\"https://github.com/unslothai/unsloth\">Github</a> </i> \u2b50\ufe0f\n",
410
+ "</div>\n"
411
+ ]
412
+ }
413
+ ],
414
+ "metadata": {
415
+ "accelerator": "GPU",
416
+ "colab": {
417
+ "gpuType": "T4",
418
+ "provenance": []
419
+ },
420
+ "kernelspec": {
421
+ "display_name": "Python 3",
422
+ "name": "python3"
423
+ },
424
+ "language_info": {
425
+ "name": "python"
426
+ },
427
+ "widgets": {
428
+ "application/vnd.jupyter.widget-state+json": {
429
+ "00abd0bd091f4258b7f61d80ecb3118e": {
430
+ "model_module": "@jupyter-widgets/controls",
431
+ "model_module_version": "1.5.0",
432
+ "model_name": "FloatProgressModel",
433
+ "state": {
434
+ "_dom_classes": [],
435
+ "_model_module": "@jupyter-widgets/controls",
436
+ "_model_module_version": "1.5.0",
437
+ "_model_name": "FloatProgressModel",
438
+ "_view_count": null,
439
+ "_view_module": "@jupyter-widgets/controls",
440
+ "_view_module_version": "1.5.0",
441
+ "_view_name": "ProgressView",
442
+ "bar_style": "success",
443
+ "description": "",
444
+ "description_tooltip": null,
445
+ "layout": "IPY_MODEL_fb1a288281fc446788fdd0f432b4732c",
446
+ "max": 5702746403,
447
+ "min": 0,
448
+ "orientation": "horizontal",
449
+ "style": "IPY_MODEL_2f026e4c1ff34aafbf7c5deff6c1e66f",
450
+ "value": 5702746403
451
+ }
452
+ },
453
+ "01ede422dc5f4d4da7f913880db4984d": {
454
+ "model_module": "@jupyter-widgets/controls",
455
+ "model_module_version": "1.5.0",
456
+ "model_name": "ProgressStyleModel",
457
+ "state": {
458
+ "_model_module": "@jupyter-widgets/controls",
459
+ "_model_module_version": "1.5.0",
460
+ "_model_name": "ProgressStyleModel",
461
+ "_view_count": null,
462
+ "_view_module": "@jupyter-widgets/base",
463
+ "_view_module_version": "1.2.0",
464
+ "_view_name": "StyleView",
465
+ "bar_color": null,
466
+ "description_width": ""
467
+ }
468
+ },
469
+ "05d6f6c3efed4ecf9893c8aa86fe4176": {
470
+ "model_module": "@jupyter-widgets/controls",
471
+ "model_module_version": "1.5.0",
472
+ "model_name": "DescriptionStyleModel",
473
+ "state": {
474
+ "_model_module": "@jupyter-widgets/controls",
475
+ "_model_module_version": "1.5.0",
476
+ "_model_name": "DescriptionStyleModel",
477
+ "_view_count": null,
478
+ "_view_module": "@jupyter-widgets/base",
479
+ "_view_module_version": "1.2.0",
480
+ "_view_name": "StyleView",
481
+ "description_width": ""
482
+ }
483
+ },
484
+ "07ae7e9f6861403ea8064a98f4063754": {
485
+ "model_module": "@jupyter-widgets/controls",
486
+ "model_module_version": "1.5.0",
487
+ "model_name": "DescriptionStyleModel",
488
+ "state": {
489
+ "_model_module": "@jupyter-widgets/controls",
490
+ "_model_module_version": "1.5.0",
491
+ "_model_name": "DescriptionStyleModel",
492
+ "_view_count": null,
493
+ "_view_module": "@jupyter-widgets/base",
494
+ "_view_module_version": "1.2.0",
495
+ "_view_name": "StyleView",
496
+ "description_width": ""
497
+ }
498
+ },
499
+ "0c190d903a38402ab452de0a0100a8eb": {
500
+ "model_module": "@jupyter-widgets/base",
501
+ "model_module_version": "1.2.0",
502
+ "model_name": "LayoutModel",
503
+ "state": {
504
+ "_model_module": "@jupyter-widgets/base",
505
+ "_model_module_version": "1.2.0",
506
+ "_model_name": "LayoutModel",
507
+ "_view_count": null,
508
+ "_view_module": "@jupyter-widgets/base",
509
+ "_view_module_version": "1.2.0",
510
+ "_view_name": "LayoutView",
511
+ "align_content": null,
512
+ "align_items": null,
513
+ "align_self": null,
514
+ "border": null,
515
+ "bottom": null,
516
+ "display": null,
517
+ "flex": null,
518
+ "flex_flow": null,
519
+ "grid_area": null,
520
+ "grid_auto_columns": null,
521
+ "grid_auto_flow": null,
522
+ "grid_auto_rows": null,
523
+ "grid_column": null,
524
+ "grid_gap": null,
525
+ "grid_row": null,
526
+ "grid_template_areas": null,
527
+ "grid_template_columns": null,
528
+ "grid_template_rows": null,
529
+ "height": null,
530
+ "justify_content": null,
531
+ "justify_items": null,
532
+ "left": null,
533
+ "margin": null,
534
+ "max_height": null,
535
+ "max_width": null,
536
+ "min_height": null,
537
+ "min_width": null,
538
+ "object_fit": null,
539
+ "object_position": null,
540
+ "order": null,
541
+ "overflow": null,
542
+ "overflow_x": null,
543
+ "overflow_y": null,
544
+ "padding": null,
545
+ "right": null,
546
+ "top": null,
547
+ "visibility": null,
548
+ "width": null
549
+ }
550
+ },
551
+ "0f2c8641a38043d2a218ec0809e7a7d3": {
552
+ "model_module": "@jupyter-widgets/controls",
553
+ "model_module_version": "1.5.0",
554
+ "model_name": "HTMLModel",
555
+ "state": {
556
+ "_dom_classes": [],
557
+ "_model_module": "@jupyter-widgets/controls",
558
+ "_model_module_version": "1.5.0",
559
+ "_model_name": "HTMLModel",
560
+ "_view_count": null,
561
+ "_view_module": "@jupyter-widgets/controls",
562
+ "_view_module_version": "1.5.0",
563
+ "_view_name": "HTMLView",
564
+ "description": "",
565
+ "description_tooltip": null,
566
+ "layout": "IPY_MODEL_acc52213c033476885ee30fb92f55e23",
567
+ "placeholder": "\u200b",
568
+ "style": "IPY_MODEL_9caec4d2cb6e4a72b7155912787d3139",
569
+ "value": "\u20075.70G/5.70G\u2007[00:40&lt;00:00,\u2007158MB/s]"
570
+ }
571
+ },
572
+ "11fea1d7e4a8426d98165fa5ca7fc650": {
573
+ "model_module": "@jupyter-widgets/controls",
574
+ "model_module_version": "1.5.0",
575
+ "model_name": "ProgressStyleModel",
576
+ "state": {
577
+ "_model_module": "@jupyter-widgets/controls",
578
+ "_model_module_version": "1.5.0",
579
+ "_model_name": "ProgressStyleModel",
580
+ "_view_count": null,
581
+ "_view_module": "@jupyter-widgets/base",
582
+ "_view_module_version": "1.2.0",
583
+ "_view_name": "StyleView",
584
+ "bar_color": null,
585
+ "description_width": ""
586
+ }
587
+ },
588
+ "13b8be4a5af14bfdbbce24d185187906": {
589
+ "model_module": "@jupyter-widgets/controls",
590
+ "model_module_version": "1.5.0",
591
+ "model_name": "HTMLModel",
592
+ "state": {
593
+ "_dom_classes": [],
594
+ "_model_module": "@jupyter-widgets/controls",
595
+ "_model_module_version": "1.5.0",
596
+ "_model_name": "HTMLModel",
597
+ "_view_count": null,
598
+ "_view_module": "@jupyter-widgets/controls",
599
+ "_view_module_version": "1.5.0",
600
+ "_view_name": "HTMLView",
601
+ "description": "",
602
+ "description_tooltip": null,
603
+ "layout": "IPY_MODEL_fc3715b03c5249438965886892ba07bb",
604
+ "placeholder": "\u200b",
605
+ "style": "IPY_MODEL_05d6f6c3efed4ecf9893c8aa86fe4176",
606
+ "value": "\u2007449/449\u2007[00:00&lt;00:00,\u200727.4kB/s]"
607
+ }
608
+ },
609
+ "1a4ef35565f54388afdf1839055eb5c8": {
610
+ "model_module": "@jupyter-widgets/base",
611
+ "model_module_version": "1.2.0",
612
+ "model_name": "LayoutModel",
613
+ "state": {
614
+ "_model_module": "@jupyter-widgets/base",
615
+ "_model_module_version": "1.2.0",
616
+ "_model_name": "LayoutModel",
617
+ "_view_count": null,
618
+ "_view_module": "@jupyter-widgets/base",
619
+ "_view_module_version": "1.2.0",
620
+ "_view_name": "LayoutView",
621
+ "align_content": null,
622
+ "align_items": null,
623
+ "align_self": null,
624
+ "border": null,
625
+ "bottom": null,
626
+ "display": null,
627
+ "flex": null,
628
+ "flex_flow": null,
629
+ "grid_area": null,
630
+ "grid_auto_columns": null,
631
+ "grid_auto_flow": null,
632
+ "grid_auto_rows": null,
633
+ "grid_column": null,
634
+ "grid_gap": null,
635
+ "grid_row": null,
636
+ "grid_template_areas": null,
637
+ "grid_template_columns": null,
638
+ "grid_template_rows": null,
639
+ "height": null,
640
+ "justify_content": null,
641
+ "justify_items": null,
642
+ "left": null,
643
+ "margin": null,
644
+ "max_height": null,
645
+ "max_width": null,
646
+ "min_height": null,
647
+ "min_width": null,
648
+ "object_fit": null,
649
+ "object_position": null,
650
+ "order": null,
651
+ "overflow": null,
652
+ "overflow_x": null,
653
+ "overflow_y": null,
654
+ "padding": null,
655
+ "right": null,
656
+ "top": null,
657
+ "visibility": null,
658
+ "width": null
659
+ }
660
+ },
661
+ "1e0c170f075b43ad9e2d39fcdbaa0a06": {
662
+ "model_module": "@jupyter-widgets/controls",
663
+ "model_module_version": "1.5.0",
664
+ "model_name": "HTMLModel",
665
+ "state": {
666
+ "_dom_classes": [],
667
+ "_model_module": "@jupyter-widgets/controls",
668
+ "_model_module_version": "1.5.0",
669
+ "_model_name": "HTMLModel",
670
+ "_view_count": null,
671
+ "_view_module": "@jupyter-widgets/controls",
672
+ "_view_module_version": "1.5.0",
673
+ "_view_name": "HTMLView",
674
+ "description": "",
675
+ "description_tooltip": null,
676
+ "layout": "IPY_MODEL_47a13a9b02ad4181b74cc1f5ddeb3f3f",
677
+ "placeholder": "\u200b",
678
+ "style": "IPY_MODEL_7c01111484b14a5999d48393085b0264",
679
+ "value": "model.safetensors:\u2007100%"
680
+ }
681
+ },
682
+ "1f7ed3fc3a824e119cf559af8bc7c370": {
683
+ "model_module": "@jupyter-widgets/controls",
684
+ "model_module_version": "1.5.0",
685
+ "model_name": "FloatProgressModel",
686
+ "state": {
687
+ "_dom_classes": [],
688
+ "_model_module": "@jupyter-widgets/controls",
689
+ "_model_module_version": "1.5.0",
690
+ "_model_name": "FloatProgressModel",
691
+ "_view_count": null,
692
+ "_view_module": "@jupyter-widgets/controls",
693
+ "_view_module_version": "1.5.0",
694
+ "_view_name": "ProgressView",
695
+ "bar_style": "success",
696
+ "description": "",
697
+ "description_tooltip": null,
698
+ "layout": "IPY_MODEL_31c7337bfd504409992b7e04b713c243",
699
+ "max": 51015,
700
+ "min": 0,
701
+ "orientation": "horizontal",
702
+ "style": "IPY_MODEL_9b5a45647bd74e8c878cf6ba43b27190",
703
+ "value": 51015
704
+ }
705
+ },
706
+ "21d8ebf7cbfd4e2b9db111d163aad8b8": {
707
+ "model_module": "@jupyter-widgets/base",
708
+ "model_module_version": "1.2.0",
709
+ "model_name": "LayoutModel",
710
+ "state": {
711
+ "_model_module": "@jupyter-widgets/base",
712
+ "_model_module_version": "1.2.0",
713
+ "_model_name": "LayoutModel",
714
+ "_view_count": null,
715
+ "_view_module": "@jupyter-widgets/base",
716
+ "_view_module_version": "1.2.0",
717
+ "_view_name": "LayoutView",
718
+ "align_content": null,
719
+ "align_items": null,
720
+ "align_self": null,
721
+ "border": null,
722
+ "bottom": null,
723
+ "display": null,
724
+ "flex": null,
725
+ "flex_flow": null,
726
+ "grid_area": null,
727
+ "grid_auto_columns": null,
728
+ "grid_auto_flow": null,
729
+ "grid_auto_rows": null,
730
+ "grid_column": null,
731
+ "grid_gap": null,
732
+ "grid_row": null,
733
+ "grid_template_areas": null,
734
+ "grid_template_columns": null,
735
+ "grid_template_rows": null,
736
+ "height": null,
737
+ "justify_content": null,
738
+ "justify_items": null,
739
+ "left": null,
740
+ "margin": null,
741
+ "max_height": null,
742
+ "max_width": null,
743
+ "min_height": null,
744
+ "min_width": null,
745
+ "object_fit": null,
746
+ "object_position": null,
747
+ "order": null,
748
+ "overflow": null,
749
+ "overflow_x": null,
750
+ "overflow_y": null,
751
+ "padding": null,
752
+ "right": null,
753
+ "top": null,
754
+ "visibility": null,
755
+ "width": null
756
+ }
757
+ },
758
+ "2abdab3fdd4f4a70a8faaa7b0e39f811": {
759
+ "model_module": "@jupyter-widgets/controls",
760
+ "model_module_version": "1.5.0",
761
+ "model_name": "HBoxModel",
762
+ "state": {
763
+ "_dom_classes": [],
764
+ "_model_module": "@jupyter-widgets/controls",
765
+ "_model_module_version": "1.5.0",
766
+ "_model_name": "HBoxModel",
767
+ "_view_count": null,
768
+ "_view_module": "@jupyter-widgets/controls",
769
+ "_view_module_version": "1.5.0",
770
+ "_view_name": "HBoxView",
771
+ "box_style": "",
772
+ "children": [
773
+ "IPY_MODEL_4d432e4349964027bae76c34f5734fcf",
774
+ "IPY_MODEL_630c170c04494811b21992d6886a3015",
775
+ "IPY_MODEL_cb9a92b76a1d4b189e7ed783bde524c9"
776
+ ],
777
+ "layout": "IPY_MODEL_ccc49354213c4c1394855986a0e07483"
778
+ }
779
+ },
780
+ "2ad28d8e556b4e17b0859aa3683d31c6": {
781
+ "model_module": "@jupyter-widgets/base",
782
+ "model_module_version": "1.2.0",
783
+ "model_name": "LayoutModel",
784
+ "state": {
785
+ "_model_module": "@jupyter-widgets/base",
786
+ "_model_module_version": "1.2.0",
787
+ "_model_name": "LayoutModel",
788
+ "_view_count": null,
789
+ "_view_module": "@jupyter-widgets/base",
790
+ "_view_module_version": "1.2.0",
791
+ "_view_name": "LayoutView",
792
+ "align_content": null,
793
+ "align_items": null,
794
+ "align_self": null,
795
+ "border": null,
796
+ "bottom": null,
797
+ "display": null,
798
+ "flex": null,
799
+ "flex_flow": null,
800
+ "grid_area": null,
801
+ "grid_auto_columns": null,
802
+ "grid_auto_flow": null,
803
+ "grid_auto_rows": null,
804
+ "grid_column": null,
805
+ "grid_gap": null,
806
+ "grid_row": null,
807
+ "grid_template_areas": null,
808
+ "grid_template_columns": null,
809
+ "grid_template_rows": null,
810
+ "height": null,
811
+ "justify_content": null,
812
+ "justify_items": null,
813
+ "left": null,
814
+ "margin": null,
815
+ "max_height": null,
816
+ "max_width": null,
817
+ "min_height": null,
818
+ "min_width": null,
819
+ "object_fit": null,
820
+ "object_position": null,
821
+ "order": null,
822
+ "overflow": null,
823
+ "overflow_x": null,
824
+ "overflow_y": null,
825
+ "padding": null,
826
+ "right": null,
827
+ "top": null,
828
+ "visibility": null,
829
+ "width": null
830
+ }
831
+ },
832
+ "2e9f87f895344785855cca39bb64d5e2": {
833
+ "model_module": "@jupyter-widgets/base",
834
+ "model_module_version": "1.2.0",
835
+ "model_name": "LayoutModel",
836
+ "state": {
837
+ "_model_module": "@jupyter-widgets/base",
838
+ "_model_module_version": "1.2.0",
839
+ "_model_name": "LayoutModel",
840
+ "_view_count": null,
841
+ "_view_module": "@jupyter-widgets/base",
842
+ "_view_module_version": "1.2.0",
843
+ "_view_name": "LayoutView",
844
+ "align_content": null,
845
+ "align_items": null,
846
+ "align_self": null,
847
+ "border": null,
848
+ "bottom": null,
849
+ "display": null,
850
+ "flex": null,
851
+ "flex_flow": null,
852
+ "grid_area": null,
853
+ "grid_auto_columns": null,
854
+ "grid_auto_flow": null,
855
+ "grid_auto_rows": null,
856
+ "grid_column": null,
857
+ "grid_gap": null,
858
+ "grid_row": null,
859
+ "grid_template_areas": null,
860
+ "grid_template_columns": null,
861
+ "grid_template_rows": null,
862
+ "height": null,
863
+ "justify_content": null,
864
+ "justify_items": null,
865
+ "left": null,
866
+ "margin": null,
867
+ "max_height": null,
868
+ "max_width": null,
869
+ "min_height": null,
870
+ "min_width": null,
871
+ "object_fit": null,
872
+ "object_position": null,
873
+ "order": null,
874
+ "overflow": null,
875
+ "overflow_x": null,
876
+ "overflow_y": null,
877
+ "padding": null,
878
+ "right": null,
879
+ "top": null,
880
+ "visibility": null,
881
+ "width": null
882
+ }
883
+ },
884
+ "2f026e4c1ff34aafbf7c5deff6c1e66f": {
885
+ "model_module": "@jupyter-widgets/controls",
886
+ "model_module_version": "1.5.0",
887
+ "model_name": "ProgressStyleModel",
888
+ "state": {
889
+ "_model_module": "@jupyter-widgets/controls",
890
+ "_model_module_version": "1.5.0",
891
+ "_model_name": "ProgressStyleModel",
892
+ "_view_count": null,
893
+ "_view_module": "@jupyter-widgets/base",
894
+ "_view_module_version": "1.2.0",
895
+ "_view_name": "StyleView",
896
+ "bar_color": null,
897
+ "description_width": ""
898
+ }
899
+ },
900
+ "3122a97298124d0ab0e6297960c132e2": {
901
+ "model_module": "@jupyter-widgets/base",
902
+ "model_module_version": "1.2.0",
903
+ "model_name": "LayoutModel",
904
+ "state": {
905
+ "_model_module": "@jupyter-widgets/base",
906
+ "_model_module_version": "1.2.0",
907
+ "_model_name": "LayoutModel",
908
+ "_view_count": null,
909
+ "_view_module": "@jupyter-widgets/base",
910
+ "_view_module_version": "1.2.0",
911
+ "_view_name": "LayoutView",
912
+ "align_content": null,
913
+ "align_items": null,
914
+ "align_self": null,
915
+ "border": null,
916
+ "bottom": null,
917
+ "display": null,
918
+ "flex": null,
919
+ "flex_flow": null,
920
+ "grid_area": null,
921
+ "grid_auto_columns": null,
922
+ "grid_auto_flow": null,
923
+ "grid_auto_rows": null,
924
+ "grid_column": null,
925
+ "grid_gap": null,
926
+ "grid_row": null,
927
+ "grid_template_areas": null,
928
+ "grid_template_columns": null,
929
+ "grid_template_rows": null,
930
+ "height": null,
931
+ "justify_content": null,
932
+ "justify_items": null,
933
+ "left": null,
934
+ "margin": null,
935
+ "max_height": null,
936
+ "max_width": null,
937
+ "min_height": null,
938
+ "min_width": null,
939
+ "object_fit": null,
940
+ "object_position": null,
941
+ "order": null,
942
+ "overflow": null,
943
+ "overflow_x": null,
944
+ "overflow_y": null,
945
+ "padding": null,
946
+ "right": null,
947
+ "top": null,
948
+ "visibility": null,
949
+ "width": null
950
+ }
951
+ },
952
+ "31c7337bfd504409992b7e04b713c243": {
953
+ "model_module": "@jupyter-widgets/base",
954
+ "model_module_version": "1.2.0",
955
+ "model_name": "LayoutModel",
956
+ "state": {
957
+ "_model_module": "@jupyter-widgets/base",
958
+ "_model_module_version": "1.2.0",
959
+ "_model_name": "LayoutModel",
960
+ "_view_count": null,
961
+ "_view_module": "@jupyter-widgets/base",
962
+ "_view_module_version": "1.2.0",
963
+ "_view_name": "LayoutView",
964
+ "align_content": null,
965
+ "align_items": null,
966
+ "align_self": null,
967
+ "border": null,
968
+ "bottom": null,
969
+ "display": null,
970
+ "flex": null,
971
+ "flex_flow": null,
972
+ "grid_area": null,
973
+ "grid_auto_columns": null,
974
+ "grid_auto_flow": null,
975
+ "grid_auto_rows": null,
976
+ "grid_column": null,
977
+ "grid_gap": null,
978
+ "grid_row": null,
979
+ "grid_template_areas": null,
980
+ "grid_template_columns": null,
981
+ "grid_template_rows": null,
982
+ "height": null,
983
+ "justify_content": null,
984
+ "justify_items": null,
985
+ "left": null,
986
+ "margin": null,
987
+ "max_height": null,
988
+ "max_width": null,
989
+ "min_height": null,
990
+ "min_width": null,
991
+ "object_fit": null,
992
+ "object_position": null,
993
+ "order": null,
994
+ "overflow": null,
995
+ "overflow_x": null,
996
+ "overflow_y": null,
997
+ "padding": null,
998
+ "right": null,
999
+ "top": null,
1000
+ "visibility": null,
1001
+ "width": null
1002
+ }
1003
+ },
1004
+ "36250ac65fcb4756a4368f98902a1617": {
1005
+ "model_module": "@jupyter-widgets/controls",
1006
+ "model_module_version": "1.5.0",
1007
+ "model_name": "HBoxModel",
1008
+ "state": {
1009
+ "_dom_classes": [],
1010
+ "_model_module": "@jupyter-widgets/controls",
1011
+ "_model_module_version": "1.5.0",
1012
+ "_model_name": "HBoxModel",
1013
+ "_view_count": null,
1014
+ "_view_module": "@jupyter-widgets/controls",
1015
+ "_view_module_version": "1.5.0",
1016
+ "_view_name": "HBoxView",
1017
+ "box_style": "",
1018
+ "children": [
1019
+ "IPY_MODEL_705a1673de934cce8418f7893fbf780a",
1020
+ "IPY_MODEL_1f7ed3fc3a824e119cf559af8bc7c370",
1021
+ "IPY_MODEL_cafc86be3bd94bc79cb07bc94461ec5d"
1022
+ ],
1023
+ "layout": "IPY_MODEL_0c190d903a38402ab452de0a0100a8eb"
1024
+ }
1025
+ },
1026
+ "3f5a8b6d049244959c1558c56483f643": {
1027
+ "model_module": "@jupyter-widgets/base",
1028
+ "model_module_version": "1.2.0",
1029
+ "model_name": "LayoutModel",
1030
+ "state": {
1031
+ "_model_module": "@jupyter-widgets/base",
1032
+ "_model_module_version": "1.2.0",
1033
+ "_model_name": "LayoutModel",
1034
+ "_view_count": null,
1035
+ "_view_module": "@jupyter-widgets/base",
1036
+ "_view_module_version": "1.2.0",
1037
+ "_view_name": "LayoutView",
1038
+ "align_content": null,
1039
+ "align_items": null,
1040
+ "align_self": null,
1041
+ "border": null,
1042
+ "bottom": null,
1043
+ "display": null,
1044
+ "flex": null,
1045
+ "flex_flow": null,
1046
+ "grid_area": null,
1047
+ "grid_auto_columns": null,
1048
+ "grid_auto_flow": null,
1049
+ "grid_auto_rows": null,
1050
+ "grid_column": null,
1051
+ "grid_gap": null,
1052
+ "grid_row": null,
1053
+ "grid_template_areas": null,
1054
+ "grid_template_columns": null,
1055
+ "grid_template_rows": null,
1056
+ "height": null,
1057
+ "justify_content": null,
1058
+ "justify_items": null,
1059
+ "left": null,
1060
+ "margin": null,
1061
+ "max_height": null,
1062
+ "max_width": null,
1063
+ "min_height": null,
1064
+ "min_width": null,
1065
+ "object_fit": null,
1066
+ "object_position": null,
1067
+ "order": null,
1068
+ "overflow": null,
1069
+ "overflow_x": null,
1070
+ "overflow_y": null,
1071
+ "padding": null,
1072
+ "right": null,
1073
+ "top": null,
1074
+ "visibility": null,
1075
+ "width": null
1076
+ }
1077
+ },
1078
+ "447aa145c09c4c6f8bd9ce3ea8b5cd44": {
1079
+ "model_module": "@jupyter-widgets/base",
1080
+ "model_module_version": "1.2.0",
1081
+ "model_name": "LayoutModel",
1082
+ "state": {
1083
+ "_model_module": "@jupyter-widgets/base",
1084
+ "_model_module_version": "1.2.0",
1085
+ "_model_name": "LayoutModel",
1086
+ "_view_count": null,
1087
+ "_view_module": "@jupyter-widgets/base",
1088
+ "_view_module_version": "1.2.0",
1089
+ "_view_name": "LayoutView",
1090
+ "align_content": null,
1091
+ "align_items": null,
1092
+ "align_self": null,
1093
+ "border": null,
1094
+ "bottom": null,
1095
+ "display": null,
1096
+ "flex": null,
1097
+ "flex_flow": null,
1098
+ "grid_area": null,
1099
+ "grid_auto_columns": null,
1100
+ "grid_auto_flow": null,
1101
+ "grid_auto_rows": null,
1102
+ "grid_column": null,
1103
+ "grid_gap": null,
1104
+ "grid_row": null,
1105
+ "grid_template_areas": null,
1106
+ "grid_template_columns": null,
1107
+ "grid_template_rows": null,
1108
+ "height": null,
1109
+ "justify_content": null,
1110
+ "justify_items": null,
1111
+ "left": null,
1112
+ "margin": null,
1113
+ "max_height": null,
1114
+ "max_width": null,
1115
+ "min_height": null,
1116
+ "min_width": null,
1117
+ "object_fit": null,
1118
+ "object_position": null,
1119
+ "order": null,
1120
+ "overflow": null,
1121
+ "overflow_x": null,
1122
+ "overflow_y": null,
1123
+ "padding": null,
1124
+ "right": null,
1125
+ "top": null,
1126
+ "visibility": null,
1127
+ "width": null
1128
+ }
1129
+ },
1130
+ "47a13a9b02ad4181b74cc1f5ddeb3f3f": {
1131
+ "model_module": "@jupyter-widgets/base",
1132
+ "model_module_version": "1.2.0",
1133
+ "model_name": "LayoutModel",
1134
+ "state": {
1135
+ "_model_module": "@jupyter-widgets/base",
1136
+ "_model_module_version": "1.2.0",
1137
+ "_model_name": "LayoutModel",
1138
+ "_view_count": null,
1139
+ "_view_module": "@jupyter-widgets/base",
1140
+ "_view_module_version": "1.2.0",
1141
+ "_view_name": "LayoutView",
1142
+ "align_content": null,
1143
+ "align_items": null,
1144
+ "align_self": null,
1145
+ "border": null,
1146
+ "bottom": null,
1147
+ "display": null,
1148
+ "flex": null,
1149
+ "flex_flow": null,
1150
+ "grid_area": null,
1151
+ "grid_auto_columns": null,
1152
+ "grid_auto_flow": null,
1153
+ "grid_auto_rows": null,
1154
+ "grid_column": null,
1155
+ "grid_gap": null,
1156
+ "grid_row": null,
1157
+ "grid_template_areas": null,
1158
+ "grid_template_columns": null,
1159
+ "grid_template_rows": null,
1160
+ "height": null,
1161
+ "justify_content": null,
1162
+ "justify_items": null,
1163
+ "left": null,
1164
+ "margin": null,
1165
+ "max_height": null,
1166
+ "max_width": null,
1167
+ "min_height": null,
1168
+ "min_width": null,
1169
+ "object_fit": null,
1170
+ "object_position": null,
1171
+ "order": null,
1172
+ "overflow": null,
1173
+ "overflow_x": null,
1174
+ "overflow_y": null,
1175
+ "padding": null,
1176
+ "right": null,
1177
+ "top": null,
1178
+ "visibility": null,
1179
+ "width": null
1180
+ }
1181
+ },
1182
+ "493f6a1af5e94b5eb88a4935361a88c3": {
1183
+ "model_module": "@jupyter-widgets/base",
1184
+ "model_module_version": "1.2.0",
1185
+ "model_name": "LayoutModel",
1186
+ "state": {
1187
+ "_model_module": "@jupyter-widgets/base",
1188
+ "_model_module_version": "1.2.0",
1189
+ "_model_name": "LayoutModel",
1190
+ "_view_count": null,
1191
+ "_view_module": "@jupyter-widgets/base",
1192
+ "_view_module_version": "1.2.0",
1193
+ "_view_name": "LayoutView",
1194
+ "align_content": null,
1195
+ "align_items": null,
1196
+ "align_self": null,
1197
+ "border": null,
1198
+ "bottom": null,
1199
+ "display": null,
1200
+ "flex": null,
1201
+ "flex_flow": null,
1202
+ "grid_area": null,
1203
+ "grid_auto_columns": null,
1204
+ "grid_auto_flow": null,
1205
+ "grid_auto_rows": null,
1206
+ "grid_column": null,
1207
+ "grid_gap": null,
1208
+ "grid_row": null,
1209
+ "grid_template_areas": null,
1210
+ "grid_template_columns": null,
1211
+ "grid_template_rows": null,
1212
+ "height": null,
1213
+ "justify_content": null,
1214
+ "justify_items": null,
1215
+ "left": null,
1216
+ "margin": null,
1217
+ "max_height": null,
1218
+ "max_width": null,
1219
+ "min_height": null,
1220
+ "min_width": null,
1221
+ "object_fit": null,
1222
+ "object_position": null,
1223
+ "order": null,
1224
+ "overflow": null,
1225
+ "overflow_x": null,
1226
+ "overflow_y": null,
1227
+ "padding": null,
1228
+ "right": null,
1229
+ "top": null,
1230
+ "visibility": null,
1231
+ "width": null
1232
+ }
1233
+ },
1234
+ "4afb54f2995447e68ae3a8129325ffdc": {
1235
+ "model_module": "@jupyter-widgets/controls",
1236
+ "model_module_version": "1.5.0",
1237
+ "model_name": "DescriptionStyleModel",
1238
+ "state": {
1239
+ "_model_module": "@jupyter-widgets/controls",
1240
+ "_model_module_version": "1.5.0",
1241
+ "_model_name": "DescriptionStyleModel",
1242
+ "_view_count": null,
1243
+ "_view_module": "@jupyter-widgets/base",
1244
+ "_view_module_version": "1.2.0",
1245
+ "_view_name": "StyleView",
1246
+ "description_width": ""
1247
+ }
1248
+ },
1249
+ "4d432e4349964027bae76c34f5734fcf": {
1250
+ "model_module": "@jupyter-widgets/controls",
1251
+ "model_module_version": "1.5.0",
1252
+ "model_name": "HTMLModel",
1253
+ "state": {
1254
+ "_dom_classes": [],
1255
+ "_model_module": "@jupyter-widgets/controls",
1256
+ "_model_module_version": "1.5.0",
1257
+ "_model_name": "HTMLModel",
1258
+ "_view_count": null,
1259
+ "_view_module": "@jupyter-widgets/controls",
1260
+ "_view_module_version": "1.5.0",
1261
+ "_view_name": "HTMLView",
1262
+ "description": "",
1263
+ "description_tooltip": null,
1264
+ "layout": "IPY_MODEL_7bf239e457f04e15b4b0e458f0dd1e19",
1265
+ "placeholder": "\u200b",
1266
+ "style": "IPY_MODEL_f5c6558ef929438eb117159de0285a58",
1267
+ "value": "generation_config.json:\u2007100%"
1268
+ }
1269
+ },
1270
+ "4f0e06a2e2204dad9f29a1697edd4218": {
1271
+ "model_module": "@jupyter-widgets/base",
1272
+ "model_module_version": "1.2.0",
1273
+ "model_name": "LayoutModel",
1274
+ "state": {
1275
+ "_model_module": "@jupyter-widgets/base",
1276
+ "_model_module_version": "1.2.0",
1277
+ "_model_name": "LayoutModel",
1278
+ "_view_count": null,
1279
+ "_view_module": "@jupyter-widgets/base",
1280
+ "_view_module_version": "1.2.0",
1281
+ "_view_name": "LayoutView",
1282
+ "align_content": null,
1283
+ "align_items": null,
1284
+ "align_self": null,
1285
+ "border": null,
1286
+ "bottom": null,
1287
+ "display": null,
1288
+ "flex": null,
1289
+ "flex_flow": null,
1290
+ "grid_area": null,
1291
+ "grid_auto_columns": null,
1292
+ "grid_auto_flow": null,
1293
+ "grid_auto_rows": null,
1294
+ "grid_column": null,
1295
+ "grid_gap": null,
1296
+ "grid_row": null,
1297
+ "grid_template_areas": null,
1298
+ "grid_template_columns": null,
1299
+ "grid_template_rows": null,
1300
+ "height": null,
1301
+ "justify_content": null,
1302
+ "justify_items": null,
1303
+ "left": null,
1304
+ "margin": null,
1305
+ "max_height": null,
1306
+ "max_width": null,
1307
+ "min_height": null,
1308
+ "min_width": null,
1309
+ "object_fit": null,
1310
+ "object_position": null,
1311
+ "order": null,
1312
+ "overflow": null,
1313
+ "overflow_x": null,
1314
+ "overflow_y": null,
1315
+ "padding": null,
1316
+ "right": null,
1317
+ "top": null,
1318
+ "visibility": null,
1319
+ "width": null
1320
+ }
1321
+ },
1322
+ "5200dae3ba2346c1bca27530b82b38b4": {
1323
+ "model_module": "@jupyter-widgets/base",
1324
+ "model_module_version": "1.2.0",
1325
+ "model_name": "LayoutModel",
1326
+ "state": {
1327
+ "_model_module": "@jupyter-widgets/base",
1328
+ "_model_module_version": "1.2.0",
1329
+ "_model_name": "LayoutModel",
1330
+ "_view_count": null,
1331
+ "_view_module": "@jupyter-widgets/base",
1332
+ "_view_module_version": "1.2.0",
1333
+ "_view_name": "LayoutView",
1334
+ "align_content": null,
1335
+ "align_items": null,
1336
+ "align_self": null,
1337
+ "border": null,
1338
+ "bottom": null,
1339
+ "display": null,
1340
+ "flex": null,
1341
+ "flex_flow": null,
1342
+ "grid_area": null,
1343
+ "grid_auto_columns": null,
1344
+ "grid_auto_flow": null,
1345
+ "grid_auto_rows": null,
1346
+ "grid_column": null,
1347
+ "grid_gap": null,
1348
+ "grid_row": null,
1349
+ "grid_template_areas": null,
1350
+ "grid_template_columns": null,
1351
+ "grid_template_rows": null,
1352
+ "height": null,
1353
+ "justify_content": null,
1354
+ "justify_items": null,
1355
+ "left": null,
1356
+ "margin": null,
1357
+ "max_height": null,
1358
+ "max_width": null,
1359
+ "min_height": null,
1360
+ "min_width": null,
1361
+ "object_fit": null,
1362
+ "object_position": null,
1363
+ "order": null,
1364
+ "overflow": null,
1365
+ "overflow_x": null,
1366
+ "overflow_y": null,
1367
+ "padding": null,
1368
+ "right": null,
1369
+ "top": null,
1370
+ "visibility": null,
1371
+ "width": null
1372
+ }
1373
+ },
1374
+ "5512e17f3864445a875e640937f296ef": {
1375
+ "model_module": "@jupyter-widgets/controls",
1376
+ "model_module_version": "1.5.0",
1377
+ "model_name": "DescriptionStyleModel",
1378
+ "state": {
1379
+ "_model_module": "@jupyter-widgets/controls",
1380
+ "_model_module_version": "1.5.0",
1381
+ "_model_name": "DescriptionStyleModel",
1382
+ "_view_count": null,
1383
+ "_view_module": "@jupyter-widgets/base",
1384
+ "_view_module_version": "1.2.0",
1385
+ "_view_name": "StyleView",
1386
+ "description_width": ""
1387
+ }
1388
+ },
1389
+ "58413234f68b484693f0719166942214": {
1390
+ "model_module": "@jupyter-widgets/controls",
1391
+ "model_module_version": "1.5.0",
1392
+ "model_name": "DescriptionStyleModel",
1393
+ "state": {
1394
+ "_model_module": "@jupyter-widgets/controls",
1395
+ "_model_module_version": "1.5.0",
1396
+ "_model_name": "DescriptionStyleModel",
1397
+ "_view_count": null,
1398
+ "_view_module": "@jupyter-widgets/base",
1399
+ "_view_module_version": "1.2.0",
1400
+ "_view_name": "StyleView",
1401
+ "description_width": ""
1402
+ }
1403
+ },
1404
+ "60a80b3316c14ce79945e06cb190be39": {
1405
+ "model_module": "@jupyter-widgets/controls",
1406
+ "model_module_version": "1.5.0",
1407
+ "model_name": "HTMLModel",
1408
+ "state": {
1409
+ "_dom_classes": [],
1410
+ "_model_module": "@jupyter-widgets/controls",
1411
+ "_model_module_version": "1.5.0",
1412
+ "_model_name": "HTMLModel",
1413
+ "_view_count": null,
1414
+ "_view_module": "@jupyter-widgets/controls",
1415
+ "_view_module_version": "1.5.0",
1416
+ "_view_name": "HTMLView",
1417
+ "description": "",
1418
+ "description_tooltip": null,
1419
+ "layout": "IPY_MODEL_2e9f87f895344785855cca39bb64d5e2",
1420
+ "placeholder": "\u200b",
1421
+ "style": "IPY_MODEL_5512e17f3864445a875e640937f296ef",
1422
+ "value": "\u20079.09M/9.09M\u2007[00:00&lt;00:00,\u200715.6MB/s]"
1423
+ }
1424
+ },
1425
+ "630c170c04494811b21992d6886a3015": {
1426
+ "model_module": "@jupyter-widgets/controls",
1427
+ "model_module_version": "1.5.0",
1428
+ "model_name": "FloatProgressModel",
1429
+ "state": {
1430
+ "_dom_classes": [],
1431
+ "_model_module": "@jupyter-widgets/controls",
1432
+ "_model_module_version": "1.5.0",
1433
+ "_model_name": "FloatProgressModel",
1434
+ "_view_count": null,
1435
+ "_view_module": "@jupyter-widgets/controls",
1436
+ "_view_module_version": "1.5.0",
1437
+ "_view_name": "ProgressView",
1438
+ "bar_style": "success",
1439
+ "description": "",
1440
+ "description_tooltip": null,
1441
+ "layout": "IPY_MODEL_447aa145c09c4c6f8bd9ce3ea8b5cd44",
1442
+ "max": 131,
1443
+ "min": 0,
1444
+ "orientation": "horizontal",
1445
+ "style": "IPY_MODEL_9c82690bd07346d1ab875bdf5ed80154",
1446
+ "value": 131
1447
+ }
1448
+ },
1449
+ "66527058da914c73b48221011a2b605a": {
1450
+ "model_module": "@jupyter-widgets/base",
1451
+ "model_module_version": "1.2.0",
1452
+ "model_name": "LayoutModel",
1453
+ "state": {
1454
+ "_model_module": "@jupyter-widgets/base",
1455
+ "_model_module_version": "1.2.0",
1456
+ "_model_name": "LayoutModel",
1457
+ "_view_count": null,
1458
+ "_view_module": "@jupyter-widgets/base",
1459
+ "_view_module_version": "1.2.0",
1460
+ "_view_name": "LayoutView",
1461
+ "align_content": null,
1462
+ "align_items": null,
1463
+ "align_self": null,
1464
+ "border": null,
1465
+ "bottom": null,
1466
+ "display": null,
1467
+ "flex": null,
1468
+ "flex_flow": null,
1469
+ "grid_area": null,
1470
+ "grid_auto_columns": null,
1471
+ "grid_auto_flow": null,
1472
+ "grid_auto_rows": null,
1473
+ "grid_column": null,
1474
+ "grid_gap": null,
1475
+ "grid_row": null,
1476
+ "grid_template_areas": null,
1477
+ "grid_template_columns": null,
1478
+ "grid_template_rows": null,
1479
+ "height": null,
1480
+ "justify_content": null,
1481
+ "justify_items": null,
1482
+ "left": null,
1483
+ "margin": null,
1484
+ "max_height": null,
1485
+ "max_width": null,
1486
+ "min_height": null,
1487
+ "min_width": null,
1488
+ "object_fit": null,
1489
+ "object_position": null,
1490
+ "order": null,
1491
+ "overflow": null,
1492
+ "overflow_x": null,
1493
+ "overflow_y": null,
1494
+ "padding": null,
1495
+ "right": null,
1496
+ "top": null,
1497
+ "visibility": null,
1498
+ "width": null
1499
+ }
1500
+ },
1501
+ "705a1673de934cce8418f7893fbf780a": {
1502
+ "model_module": "@jupyter-widgets/controls",
1503
+ "model_module_version": "1.5.0",
1504
+ "model_name": "HTMLModel",
1505
+ "state": {
1506
+ "_dom_classes": [],
1507
+ "_model_module": "@jupyter-widgets/controls",
1508
+ "_model_module_version": "1.5.0",
1509
+ "_model_name": "HTMLModel",
1510
+ "_view_count": null,
1511
+ "_view_module": "@jupyter-widgets/controls",
1512
+ "_view_module_version": "1.5.0",
1513
+ "_view_name": "HTMLView",
1514
+ "description": "",
1515
+ "description_tooltip": null,
1516
+ "layout": "IPY_MODEL_b3362bda7942432692049558d0cdf14e",
1517
+ "placeholder": "\u200b",
1518
+ "style": "IPY_MODEL_4afb54f2995447e68ae3a8129325ffdc",
1519
+ "value": "tokenizer_config.json:\u2007100%"
1520
+ }
1521
+ },
1522
+ "73c3f04df8044f34ab45b92c174e121e": {
1523
+ "model_module": "@jupyter-widgets/controls",
1524
+ "model_module_version": "1.5.0",
1525
+ "model_name": "FloatProgressModel",
1526
+ "state": {
1527
+ "_dom_classes": [],
1528
+ "_model_module": "@jupyter-widgets/controls",
1529
+ "_model_module_version": "1.5.0",
1530
+ "_model_name": "FloatProgressModel",
1531
+ "_view_count": null,
1532
+ "_view_module": "@jupyter-widgets/controls",
1533
+ "_view_module_version": "1.5.0",
1534
+ "_view_name": "ProgressView",
1535
+ "bar_style": "success",
1536
+ "description": "",
1537
+ "description_tooltip": null,
1538
+ "layout": "IPY_MODEL_3f5a8b6d049244959c1558c56483f643",
1539
+ "max": 449,
1540
+ "min": 0,
1541
+ "orientation": "horizontal",
1542
+ "style": "IPY_MODEL_11fea1d7e4a8426d98165fa5ca7fc650",
1543
+ "value": 449
1544
+ }
1545
+ },
1546
+ "78676eb3a75f45ed860b488a42fb9bc5": {
1547
+ "model_module": "@jupyter-widgets/controls",
1548
+ "model_module_version": "1.5.0",
1549
+ "model_name": "HTMLModel",
1550
+ "state": {
1551
+ "_dom_classes": [],
1552
+ "_model_module": "@jupyter-widgets/controls",
1553
+ "_model_module_version": "1.5.0",
1554
+ "_model_name": "HTMLModel",
1555
+ "_view_count": null,
1556
+ "_view_module": "@jupyter-widgets/controls",
1557
+ "_view_module_version": "1.5.0",
1558
+ "_view_name": "HTMLView",
1559
+ "description": "",
1560
+ "description_tooltip": null,
1561
+ "layout": "IPY_MODEL_1a4ef35565f54388afdf1839055eb5c8",
1562
+ "placeholder": "\u200b",
1563
+ "style": "IPY_MODEL_07ae7e9f6861403ea8064a98f4063754",
1564
+ "value": "config.json:\u2007100%"
1565
+ }
1566
+ },
1567
+ "7bf239e457f04e15b4b0e458f0dd1e19": {
1568
+ "model_module": "@jupyter-widgets/base",
1569
+ "model_module_version": "1.2.0",
1570
+ "model_name": "LayoutModel",
1571
+ "state": {
1572
+ "_model_module": "@jupyter-widgets/base",
1573
+ "_model_module_version": "1.2.0",
1574
+ "_model_name": "LayoutModel",
1575
+ "_view_count": null,
1576
+ "_view_module": "@jupyter-widgets/base",
1577
+ "_view_module_version": "1.2.0",
1578
+ "_view_name": "LayoutView",
1579
+ "align_content": null,
1580
+ "align_items": null,
1581
+ "align_self": null,
1582
+ "border": null,
1583
+ "bottom": null,
1584
+ "display": null,
1585
+ "flex": null,
1586
+ "flex_flow": null,
1587
+ "grid_area": null,
1588
+ "grid_auto_columns": null,
1589
+ "grid_auto_flow": null,
1590
+ "grid_auto_rows": null,
1591
+ "grid_column": null,
1592
+ "grid_gap": null,
1593
+ "grid_row": null,
1594
+ "grid_template_areas": null,
1595
+ "grid_template_columns": null,
1596
+ "grid_template_rows": null,
1597
+ "height": null,
1598
+ "justify_content": null,
1599
+ "justify_items": null,
1600
+ "left": null,
1601
+ "margin": null,
1602
+ "max_height": null,
1603
+ "max_width": null,
1604
+ "min_height": null,
1605
+ "min_width": null,
1606
+ "object_fit": null,
1607
+ "object_position": null,
1608
+ "order": null,
1609
+ "overflow": null,
1610
+ "overflow_x": null,
1611
+ "overflow_y": null,
1612
+ "padding": null,
1613
+ "right": null,
1614
+ "top": null,
1615
+ "visibility": null,
1616
+ "width": null
1617
+ }
1618
+ },
1619
+ "7c01111484b14a5999d48393085b0264": {
1620
+ "model_module": "@jupyter-widgets/controls",
1621
+ "model_module_version": "1.5.0",
1622
+ "model_name": "DescriptionStyleModel",
1623
+ "state": {
1624
+ "_model_module": "@jupyter-widgets/controls",
1625
+ "_model_module_version": "1.5.0",
1626
+ "_model_name": "DescriptionStyleModel",
1627
+ "_view_count": null,
1628
+ "_view_module": "@jupyter-widgets/base",
1629
+ "_view_module_version": "1.2.0",
1630
+ "_view_name": "StyleView",
1631
+ "description_width": ""
1632
+ }
1633
+ },
1634
+ "7ca2facea2414549ab2a0a3fd07a0723": {
1635
+ "model_module": "@jupyter-widgets/controls",
1636
+ "model_module_version": "1.5.0",
1637
+ "model_name": "HBoxModel",
1638
+ "state": {
1639
+ "_dom_classes": [],
1640
+ "_model_module": "@jupyter-widgets/controls",
1641
+ "_model_module_version": "1.5.0",
1642
+ "_model_name": "HBoxModel",
1643
+ "_view_count": null,
1644
+ "_view_module": "@jupyter-widgets/controls",
1645
+ "_view_module_version": "1.5.0",
1646
+ "_view_name": "HBoxView",
1647
+ "box_style": "",
1648
+ "children": [
1649
+ "IPY_MODEL_78676eb3a75f45ed860b488a42fb9bc5",
1650
+ "IPY_MODEL_b69b75dd3b5745f4a7f869f7ba6593d4",
1651
+ "IPY_MODEL_ea10da0d677849c28bfdfc9206ac1b73"
1652
+ ],
1653
+ "layout": "IPY_MODEL_493f6a1af5e94b5eb88a4935361a88c3"
1654
+ }
1655
+ },
1656
+ "84b3814386ee4d04b9817f0da2108725": {
1657
+ "model_module": "@jupyter-widgets/base",
1658
+ "model_module_version": "1.2.0",
1659
+ "model_name": "LayoutModel",
1660
+ "state": {
1661
+ "_model_module": "@jupyter-widgets/base",
1662
+ "_model_module_version": "1.2.0",
1663
+ "_model_name": "LayoutModel",
1664
+ "_view_count": null,
1665
+ "_view_module": "@jupyter-widgets/base",
1666
+ "_view_module_version": "1.2.0",
1667
+ "_view_name": "LayoutView",
1668
+ "align_content": null,
1669
+ "align_items": null,
1670
+ "align_self": null,
1671
+ "border": null,
1672
+ "bottom": null,
1673
+ "display": null,
1674
+ "flex": null,
1675
+ "flex_flow": null,
1676
+ "grid_area": null,
1677
+ "grid_auto_columns": null,
1678
+ "grid_auto_flow": null,
1679
+ "grid_auto_rows": null,
1680
+ "grid_column": null,
1681
+ "grid_gap": null,
1682
+ "grid_row": null,
1683
+ "grid_template_areas": null,
1684
+ "grid_template_columns": null,
1685
+ "grid_template_rows": null,
1686
+ "height": null,
1687
+ "justify_content": null,
1688
+ "justify_items": null,
1689
+ "left": null,
1690
+ "margin": null,
1691
+ "max_height": null,
1692
+ "max_width": null,
1693
+ "min_height": null,
1694
+ "min_width": null,
1695
+ "object_fit": null,
1696
+ "object_position": null,
1697
+ "order": null,
1698
+ "overflow": null,
1699
+ "overflow_x": null,
1700
+ "overflow_y": null,
1701
+ "padding": null,
1702
+ "right": null,
1703
+ "top": null,
1704
+ "visibility": null,
1705
+ "width": null
1706
+ }
1707
+ },
1708
+ "8fecfa968d55466ba8f42730d32bd9b4": {
1709
+ "model_module": "@jupyter-widgets/controls",
1710
+ "model_module_version": "1.5.0",
1711
+ "model_name": "HTMLModel",
1712
+ "state": {
1713
+ "_dom_classes": [],
1714
+ "_model_module": "@jupyter-widgets/controls",
1715
+ "_model_module_version": "1.5.0",
1716
+ "_model_name": "HTMLModel",
1717
+ "_view_count": null,
1718
+ "_view_module": "@jupyter-widgets/controls",
1719
+ "_view_module_version": "1.5.0",
1720
+ "_view_name": "HTMLView",
1721
+ "description": "",
1722
+ "description_tooltip": null,
1723
+ "layout": "IPY_MODEL_66527058da914c73b48221011a2b605a",
1724
+ "placeholder": "\u200b",
1725
+ "style": "IPY_MODEL_58413234f68b484693f0719166942214",
1726
+ "value": "tokenizer.json:\u2007100%"
1727
+ }
1728
+ },
1729
+ "932920c0ee834e3e8ffe53ebf7833fa7": {
1730
+ "model_module": "@jupyter-widgets/controls",
1731
+ "model_module_version": "1.5.0",
1732
+ "model_name": "HBoxModel",
1733
+ "state": {
1734
+ "_dom_classes": [],
1735
+ "_model_module": "@jupyter-widgets/controls",
1736
+ "_model_module_version": "1.5.0",
1737
+ "_model_name": "HBoxModel",
1738
+ "_view_count": null,
1739
+ "_view_module": "@jupyter-widgets/controls",
1740
+ "_view_module_version": "1.5.0",
1741
+ "_view_name": "HBoxView",
1742
+ "box_style": "",
1743
+ "children": [
1744
+ "IPY_MODEL_cb65c93ecef84c2c947c67481326691c",
1745
+ "IPY_MODEL_73c3f04df8044f34ab45b92c174e121e",
1746
+ "IPY_MODEL_13b8be4a5af14bfdbbce24d185187906"
1747
+ ],
1748
+ "layout": "IPY_MODEL_21d8ebf7cbfd4e2b9db111d163aad8b8"
1749
+ }
1750
+ },
1751
+ "948972fa1a2e400097b590ad47ff6f3d": {
1752
+ "model_module": "@jupyter-widgets/base",
1753
+ "model_module_version": "1.2.0",
1754
+ "model_name": "LayoutModel",
1755
+ "state": {
1756
+ "_model_module": "@jupyter-widgets/base",
1757
+ "_model_module_version": "1.2.0",
1758
+ "_model_name": "LayoutModel",
1759
+ "_view_count": null,
1760
+ "_view_module": "@jupyter-widgets/base",
1761
+ "_view_module_version": "1.2.0",
1762
+ "_view_name": "LayoutView",
1763
+ "align_content": null,
1764
+ "align_items": null,
1765
+ "align_self": null,
1766
+ "border": null,
1767
+ "bottom": null,
1768
+ "display": null,
1769
+ "flex": null,
1770
+ "flex_flow": null,
1771
+ "grid_area": null,
1772
+ "grid_auto_columns": null,
1773
+ "grid_auto_flow": null,
1774
+ "grid_auto_rows": null,
1775
+ "grid_column": null,
1776
+ "grid_gap": null,
1777
+ "grid_row": null,
1778
+ "grid_template_areas": null,
1779
+ "grid_template_columns": null,
1780
+ "grid_template_rows": null,
1781
+ "height": null,
1782
+ "justify_content": null,
1783
+ "justify_items": null,
1784
+ "left": null,
1785
+ "margin": null,
1786
+ "max_height": null,
1787
+ "max_width": null,
1788
+ "min_height": null,
1789
+ "min_width": null,
1790
+ "object_fit": null,
1791
+ "object_position": null,
1792
+ "order": null,
1793
+ "overflow": null,
1794
+ "overflow_x": null,
1795
+ "overflow_y": null,
1796
+ "padding": null,
1797
+ "right": null,
1798
+ "top": null,
1799
+ "visibility": null,
1800
+ "width": null
1801
+ }
1802
+ },
1803
+ "9b5a45647bd74e8c878cf6ba43b27190": {
1804
+ "model_module": "@jupyter-widgets/controls",
1805
+ "model_module_version": "1.5.0",
1806
+ "model_name": "ProgressStyleModel",
1807
+ "state": {
1808
+ "_model_module": "@jupyter-widgets/controls",
1809
+ "_model_module_version": "1.5.0",
1810
+ "_model_name": "ProgressStyleModel",
1811
+ "_view_count": null,
1812
+ "_view_module": "@jupyter-widgets/base",
1813
+ "_view_module_version": "1.2.0",
1814
+ "_view_name": "StyleView",
1815
+ "bar_color": null,
1816
+ "description_width": ""
1817
+ }
1818
+ },
1819
+ "9b818c8e8bac40edb97abf8a266ab28e": {
1820
+ "model_module": "@jupyter-widgets/controls",
1821
+ "model_module_version": "1.5.0",
1822
+ "model_name": "DescriptionStyleModel",
1823
+ "state": {
1824
+ "_model_module": "@jupyter-widgets/controls",
1825
+ "_model_module_version": "1.5.0",
1826
+ "_model_name": "DescriptionStyleModel",
1827
+ "_view_count": null,
1828
+ "_view_module": "@jupyter-widgets/base",
1829
+ "_view_module_version": "1.2.0",
1830
+ "_view_name": "StyleView",
1831
+ "description_width": ""
1832
+ }
1833
+ },
1834
+ "9c82690bd07346d1ab875bdf5ed80154": {
1835
+ "model_module": "@jupyter-widgets/controls",
1836
+ "model_module_version": "1.5.0",
1837
+ "model_name": "ProgressStyleModel",
1838
+ "state": {
1839
+ "_model_module": "@jupyter-widgets/controls",
1840
+ "_model_module_version": "1.5.0",
1841
+ "_model_name": "ProgressStyleModel",
1842
+ "_view_count": null,
1843
+ "_view_module": "@jupyter-widgets/base",
1844
+ "_view_module_version": "1.2.0",
1845
+ "_view_name": "StyleView",
1846
+ "bar_color": null,
1847
+ "description_width": ""
1848
+ }
1849
+ },
1850
+ "9caec4d2cb6e4a72b7155912787d3139": {
1851
+ "model_module": "@jupyter-widgets/controls",
1852
+ "model_module_version": "1.5.0",
1853
+ "model_name": "DescriptionStyleModel",
1854
+ "state": {
1855
+ "_model_module": "@jupyter-widgets/controls",
1856
+ "_model_module_version": "1.5.0",
1857
+ "_model_name": "DescriptionStyleModel",
1858
+ "_view_count": null,
1859
+ "_view_module": "@jupyter-widgets/base",
1860
+ "_view_module_version": "1.2.0",
1861
+ "_view_name": "StyleView",
1862
+ "description_width": ""
1863
+ }
1864
+ },
1865
+ "acc52213c033476885ee30fb92f55e23": {
1866
+ "model_module": "@jupyter-widgets/base",
1867
+ "model_module_version": "1.2.0",
1868
+ "model_name": "LayoutModel",
1869
+ "state": {
1870
+ "_model_module": "@jupyter-widgets/base",
1871
+ "_model_module_version": "1.2.0",
1872
+ "_model_name": "LayoutModel",
1873
+ "_view_count": null,
1874
+ "_view_module": "@jupyter-widgets/base",
1875
+ "_view_module_version": "1.2.0",
1876
+ "_view_name": "LayoutView",
1877
+ "align_content": null,
1878
+ "align_items": null,
1879
+ "align_self": null,
1880
+ "border": null,
1881
+ "bottom": null,
1882
+ "display": null,
1883
+ "flex": null,
1884
+ "flex_flow": null,
1885
+ "grid_area": null,
1886
+ "grid_auto_columns": null,
1887
+ "grid_auto_flow": null,
1888
+ "grid_auto_rows": null,
1889
+ "grid_column": null,
1890
+ "grid_gap": null,
1891
+ "grid_row": null,
1892
+ "grid_template_areas": null,
1893
+ "grid_template_columns": null,
1894
+ "grid_template_rows": null,
1895
+ "height": null,
1896
+ "justify_content": null,
1897
+ "justify_items": null,
1898
+ "left": null,
1899
+ "margin": null,
1900
+ "max_height": null,
1901
+ "max_width": null,
1902
+ "min_height": null,
1903
+ "min_width": null,
1904
+ "object_fit": null,
1905
+ "object_position": null,
1906
+ "order": null,
1907
+ "overflow": null,
1908
+ "overflow_x": null,
1909
+ "overflow_y": null,
1910
+ "padding": null,
1911
+ "right": null,
1912
+ "top": null,
1913
+ "visibility": null,
1914
+ "width": null
1915
+ }
1916
+ },
1917
+ "b3362bda7942432692049558d0cdf14e": {
1918
+ "model_module": "@jupyter-widgets/base",
1919
+ "model_module_version": "1.2.0",
1920
+ "model_name": "LayoutModel",
1921
+ "state": {
1922
+ "_model_module": "@jupyter-widgets/base",
1923
+ "_model_module_version": "1.2.0",
1924
+ "_model_name": "LayoutModel",
1925
+ "_view_count": null,
1926
+ "_view_module": "@jupyter-widgets/base",
1927
+ "_view_module_version": "1.2.0",
1928
+ "_view_name": "LayoutView",
1929
+ "align_content": null,
1930
+ "align_items": null,
1931
+ "align_self": null,
1932
+ "border": null,
1933
+ "bottom": null,
1934
+ "display": null,
1935
+ "flex": null,
1936
+ "flex_flow": null,
1937
+ "grid_area": null,
1938
+ "grid_auto_columns": null,
1939
+ "grid_auto_flow": null,
1940
+ "grid_auto_rows": null,
1941
+ "grid_column": null,
1942
+ "grid_gap": null,
1943
+ "grid_row": null,
1944
+ "grid_template_areas": null,
1945
+ "grid_template_columns": null,
1946
+ "grid_template_rows": null,
1947
+ "height": null,
1948
+ "justify_content": null,
1949
+ "justify_items": null,
1950
+ "left": null,
1951
+ "margin": null,
1952
+ "max_height": null,
1953
+ "max_width": null,
1954
+ "min_height": null,
1955
+ "min_width": null,
1956
+ "object_fit": null,
1957
+ "object_position": null,
1958
+ "order": null,
1959
+ "overflow": null,
1960
+ "overflow_x": null,
1961
+ "overflow_y": null,
1962
+ "padding": null,
1963
+ "right": null,
1964
+ "top": null,
1965
+ "visibility": null,
1966
+ "width": null
1967
+ }
1968
+ },
1969
+ "b69b75dd3b5745f4a7f869f7ba6593d4": {
1970
+ "model_module": "@jupyter-widgets/controls",
1971
+ "model_module_version": "1.5.0",
1972
+ "model_name": "FloatProgressModel",
1973
+ "state": {
1974
+ "_dom_classes": [],
1975
+ "_model_module": "@jupyter-widgets/controls",
1976
+ "_model_module_version": "1.5.0",
1977
+ "_model_name": "FloatProgressModel",
1978
+ "_view_count": null,
1979
+ "_view_module": "@jupyter-widgets/controls",
1980
+ "_view_module_version": "1.5.0",
1981
+ "_view_name": "ProgressView",
1982
+ "bar_style": "success",
1983
+ "description": "",
1984
+ "description_tooltip": null,
1985
+ "layout": "IPY_MODEL_fc2ce36bb32f4c648ccb06d65a4e2aea",
1986
+ "max": 1149,
1987
+ "min": 0,
1988
+ "orientation": "horizontal",
1989
+ "style": "IPY_MODEL_bf44ec9413b24dda932f575ebe32b222",
1990
+ "value": 1149
1991
+ }
1992
+ },
1993
+ "b9c9010af82b4678af43a20546f3ad49": {
1994
+ "model_module": "@jupyter-widgets/base",
1995
+ "model_module_version": "1.2.0",
1996
+ "model_name": "LayoutModel",
1997
+ "state": {
1998
+ "_model_module": "@jupyter-widgets/base",
1999
+ "_model_module_version": "1.2.0",
2000
+ "_model_name": "LayoutModel",
2001
+ "_view_count": null,
2002
+ "_view_module": "@jupyter-widgets/base",
2003
+ "_view_module_version": "1.2.0",
2004
+ "_view_name": "LayoutView",
2005
+ "align_content": null,
2006
+ "align_items": null,
2007
+ "align_self": null,
2008
+ "border": null,
2009
+ "bottom": null,
2010
+ "display": null,
2011
+ "flex": null,
2012
+ "flex_flow": null,
2013
+ "grid_area": null,
2014
+ "grid_auto_columns": null,
2015
+ "grid_auto_flow": null,
2016
+ "grid_auto_rows": null,
2017
+ "grid_column": null,
2018
+ "grid_gap": null,
2019
+ "grid_row": null,
2020
+ "grid_template_areas": null,
2021
+ "grid_template_columns": null,
2022
+ "grid_template_rows": null,
2023
+ "height": null,
2024
+ "justify_content": null,
2025
+ "justify_items": null,
2026
+ "left": null,
2027
+ "margin": null,
2028
+ "max_height": null,
2029
+ "max_width": null,
2030
+ "min_height": null,
2031
+ "min_width": null,
2032
+ "object_fit": null,
2033
+ "object_position": null,
2034
+ "order": null,
2035
+ "overflow": null,
2036
+ "overflow_x": null,
2037
+ "overflow_y": null,
2038
+ "padding": null,
2039
+ "right": null,
2040
+ "top": null,
2041
+ "visibility": null,
2042
+ "width": null
2043
+ }
2044
+ },
2045
+ "bf44ec9413b24dda932f575ebe32b222": {
2046
+ "model_module": "@jupyter-widgets/controls",
2047
+ "model_module_version": "1.5.0",
2048
+ "model_name": "ProgressStyleModel",
2049
+ "state": {
2050
+ "_model_module": "@jupyter-widgets/controls",
2051
+ "_model_module_version": "1.5.0",
2052
+ "_model_name": "ProgressStyleModel",
2053
+ "_view_count": null,
2054
+ "_view_module": "@jupyter-widgets/base",
2055
+ "_view_module_version": "1.2.0",
2056
+ "_view_name": "StyleView",
2057
+ "bar_color": null,
2058
+ "description_width": ""
2059
+ }
2060
+ },
2061
+ "c7a3b0cba7ee49ba929e0038d9c03e98": {
2062
+ "model_module": "@jupyter-widgets/controls",
2063
+ "model_module_version": "1.5.0",
2064
+ "model_name": "DescriptionStyleModel",
2065
+ "state": {
2066
+ "_model_module": "@jupyter-widgets/controls",
2067
+ "_model_module_version": "1.5.0",
2068
+ "_model_name": "DescriptionStyleModel",
2069
+ "_view_count": null,
2070
+ "_view_module": "@jupyter-widgets/base",
2071
+ "_view_module_version": "1.2.0",
2072
+ "_view_name": "StyleView",
2073
+ "description_width": ""
2074
+ }
2075
+ },
2076
+ "cafc86be3bd94bc79cb07bc94461ec5d": {
2077
+ "model_module": "@jupyter-widgets/controls",
2078
+ "model_module_version": "1.5.0",
2079
+ "model_name": "HTMLModel",
2080
+ "state": {
2081
+ "_dom_classes": [],
2082
+ "_model_module": "@jupyter-widgets/controls",
2083
+ "_model_module_version": "1.5.0",
2084
+ "_model_name": "HTMLModel",
2085
+ "_view_count": null,
2086
+ "_view_module": "@jupyter-widgets/controls",
2087
+ "_view_module_version": "1.5.0",
2088
+ "_view_name": "HTMLView",
2089
+ "description": "",
2090
+ "description_tooltip": null,
2091
+ "layout": "IPY_MODEL_b9c9010af82b4678af43a20546f3ad49",
2092
+ "placeholder": "\u200b",
2093
+ "style": "IPY_MODEL_9b818c8e8bac40edb97abf8a266ab28e",
2094
+ "value": "\u200751.0k/51.0k\u2007[00:00&lt;00:00,\u2007623kB/s]"
2095
+ }
2096
+ },
2097
+ "cb65c93ecef84c2c947c67481326691c": {
2098
+ "model_module": "@jupyter-widgets/controls",
2099
+ "model_module_version": "1.5.0",
2100
+ "model_name": "HTMLModel",
2101
+ "state": {
2102
+ "_dom_classes": [],
2103
+ "_model_module": "@jupyter-widgets/controls",
2104
+ "_model_module_version": "1.5.0",
2105
+ "_model_name": "HTMLModel",
2106
+ "_view_count": null,
2107
+ "_view_module": "@jupyter-widgets/controls",
2108
+ "_view_module_version": "1.5.0",
2109
+ "_view_name": "HTMLView",
2110
+ "description": "",
2111
+ "description_tooltip": null,
2112
+ "layout": "IPY_MODEL_3122a97298124d0ab0e6297960c132e2",
2113
+ "placeholder": "\u200b",
2114
+ "style": "IPY_MODEL_cc829a40832849f586b077f6d8e5795b",
2115
+ "value": "special_tokens_map.json:\u2007100%"
2116
+ }
2117
+ },
2118
+ "cb9a92b76a1d4b189e7ed783bde524c9": {
2119
+ "model_module": "@jupyter-widgets/controls",
2120
+ "model_module_version": "1.5.0",
2121
+ "model_name": "HTMLModel",
2122
+ "state": {
2123
+ "_dom_classes": [],
2124
+ "_model_module": "@jupyter-widgets/controls",
2125
+ "_model_module_version": "1.5.0",
2126
+ "_model_name": "HTMLModel",
2127
+ "_view_count": null,
2128
+ "_view_module": "@jupyter-widgets/controls",
2129
+ "_view_module_version": "1.5.0",
2130
+ "_view_name": "HTMLView",
2131
+ "description": "",
2132
+ "description_tooltip": null,
2133
+ "layout": "IPY_MODEL_5200dae3ba2346c1bca27530b82b38b4",
2134
+ "placeholder": "\u200b",
2135
+ "style": "IPY_MODEL_c7a3b0cba7ee49ba929e0038d9c03e98",
2136
+ "value": "\u2007131/131\u2007[00:00&lt;00:00,\u20075.52kB/s]"
2137
+ }
2138
+ },
2139
+ "cc829a40832849f586b077f6d8e5795b": {
2140
+ "model_module": "@jupyter-widgets/controls",
2141
+ "model_module_version": "1.5.0",
2142
+ "model_name": "DescriptionStyleModel",
2143
+ "state": {
2144
+ "_model_module": "@jupyter-widgets/controls",
2145
+ "_model_module_version": "1.5.0",
2146
+ "_model_name": "DescriptionStyleModel",
2147
+ "_view_count": null,
2148
+ "_view_module": "@jupyter-widgets/base",
2149
+ "_view_module_version": "1.2.0",
2150
+ "_view_name": "StyleView",
2151
+ "description_width": ""
2152
+ }
2153
+ },
2154
+ "ccc49354213c4c1394855986a0e07483": {
2155
+ "model_module": "@jupyter-widgets/base",
2156
+ "model_module_version": "1.2.0",
2157
+ "model_name": "LayoutModel",
2158
+ "state": {
2159
+ "_model_module": "@jupyter-widgets/base",
2160
+ "_model_module_version": "1.2.0",
2161
+ "_model_name": "LayoutModel",
2162
+ "_view_count": null,
2163
+ "_view_module": "@jupyter-widgets/base",
2164
+ "_view_module_version": "1.2.0",
2165
+ "_view_name": "LayoutView",
2166
+ "align_content": null,
2167
+ "align_items": null,
2168
+ "align_self": null,
2169
+ "border": null,
2170
+ "bottom": null,
2171
+ "display": null,
2172
+ "flex": null,
2173
+ "flex_flow": null,
2174
+ "grid_area": null,
2175
+ "grid_auto_columns": null,
2176
+ "grid_auto_flow": null,
2177
+ "grid_auto_rows": null,
2178
+ "grid_column": null,
2179
+ "grid_gap": null,
2180
+ "grid_row": null,
2181
+ "grid_template_areas": null,
2182
+ "grid_template_columns": null,
2183
+ "grid_template_rows": null,
2184
+ "height": null,
2185
+ "justify_content": null,
2186
+ "justify_items": null,
2187
+ "left": null,
2188
+ "margin": null,
2189
+ "max_height": null,
2190
+ "max_width": null,
2191
+ "min_height": null,
2192
+ "min_width": null,
2193
+ "object_fit": null,
2194
+ "object_position": null,
2195
+ "order": null,
2196
+ "overflow": null,
2197
+ "overflow_x": null,
2198
+ "overflow_y": null,
2199
+ "padding": null,
2200
+ "right": null,
2201
+ "top": null,
2202
+ "visibility": null,
2203
+ "width": null
2204
+ }
2205
+ },
2206
+ "d9c5466214ed4f06876a89c64c29048f": {
2207
+ "model_module": "@jupyter-widgets/controls",
2208
+ "model_module_version": "1.5.0",
2209
+ "model_name": "HBoxModel",
2210
+ "state": {
2211
+ "_dom_classes": [],
2212
+ "_model_module": "@jupyter-widgets/controls",
2213
+ "_model_module_version": "1.5.0",
2214
+ "_model_name": "HBoxModel",
2215
+ "_view_count": null,
2216
+ "_view_module": "@jupyter-widgets/controls",
2217
+ "_view_module_version": "1.5.0",
2218
+ "_view_name": "HBoxView",
2219
+ "box_style": "",
2220
+ "children": [
2221
+ "IPY_MODEL_1e0c170f075b43ad9e2d39fcdbaa0a06",
2222
+ "IPY_MODEL_00abd0bd091f4258b7f61d80ecb3118e",
2223
+ "IPY_MODEL_0f2c8641a38043d2a218ec0809e7a7d3"
2224
+ ],
2225
+ "layout": "IPY_MODEL_948972fa1a2e400097b590ad47ff6f3d"
2226
+ }
2227
+ },
2228
+ "dd0e8e4cb46945df8dbec4fefd720358": {
2229
+ "model_module": "@jupyter-widgets/controls",
2230
+ "model_module_version": "1.5.0",
2231
+ "model_name": "FloatProgressModel",
2232
+ "state": {
2233
+ "_dom_classes": [],
2234
+ "_model_module": "@jupyter-widgets/controls",
2235
+ "_model_module_version": "1.5.0",
2236
+ "_model_name": "FloatProgressModel",
2237
+ "_view_count": null,
2238
+ "_view_module": "@jupyter-widgets/controls",
2239
+ "_view_module_version": "1.5.0",
2240
+ "_view_name": "ProgressView",
2241
+ "bar_style": "success",
2242
+ "description": "",
2243
+ "description_tooltip": null,
2244
+ "layout": "IPY_MODEL_84b3814386ee4d04b9817f0da2108725",
2245
+ "max": 9085698,
2246
+ "min": 0,
2247
+ "orientation": "horizontal",
2248
+ "style": "IPY_MODEL_01ede422dc5f4d4da7f913880db4984d",
2249
+ "value": 9085698
2250
+ }
2251
+ },
2252
+ "e32220b1d3f14386834bcd3736ac9888": {
2253
+ "model_module": "@jupyter-widgets/controls",
2254
+ "model_module_version": "1.5.0",
2255
+ "model_name": "DescriptionStyleModel",
2256
+ "state": {
2257
+ "_model_module": "@jupyter-widgets/controls",
2258
+ "_model_module_version": "1.5.0",
2259
+ "_model_name": "DescriptionStyleModel",
2260
+ "_view_count": null,
2261
+ "_view_module": "@jupyter-widgets/base",
2262
+ "_view_module_version": "1.2.0",
2263
+ "_view_name": "StyleView",
2264
+ "description_width": ""
2265
+ }
2266
+ },
2267
+ "ea10da0d677849c28bfdfc9206ac1b73": {
2268
+ "model_module": "@jupyter-widgets/controls",
2269
+ "model_module_version": "1.5.0",
2270
+ "model_name": "HTMLModel",
2271
+ "state": {
2272
+ "_dom_classes": [],
2273
+ "_model_module": "@jupyter-widgets/controls",
2274
+ "_model_module_version": "1.5.0",
2275
+ "_model_name": "HTMLModel",
2276
+ "_view_count": null,
2277
+ "_view_module": "@jupyter-widgets/controls",
2278
+ "_view_module_version": "1.5.0",
2279
+ "_view_name": "HTMLView",
2280
+ "description": "",
2281
+ "description_tooltip": null,
2282
+ "layout": "IPY_MODEL_2ad28d8e556b4e17b0859aa3683d31c6",
2283
+ "placeholder": "\u200b",
2284
+ "style": "IPY_MODEL_e32220b1d3f14386834bcd3736ac9888",
2285
+ "value": "\u20071.15k/1.15k\u2007[00:00&lt;00:00,\u200749.9kB/s]"
2286
+ }
2287
+ },
2288
+ "ebaa8d22074d495ea675f51dc2d5a4d6": {
2289
+ "model_module": "@jupyter-widgets/controls",
2290
+ "model_module_version": "1.5.0",
2291
+ "model_name": "HBoxModel",
2292
+ "state": {
2293
+ "_dom_classes": [],
2294
+ "_model_module": "@jupyter-widgets/controls",
2295
+ "_model_module_version": "1.5.0",
2296
+ "_model_name": "HBoxModel",
2297
+ "_view_count": null,
2298
+ "_view_module": "@jupyter-widgets/controls",
2299
+ "_view_module_version": "1.5.0",
2300
+ "_view_name": "HBoxView",
2301
+ "box_style": "",
2302
+ "children": [
2303
+ "IPY_MODEL_8fecfa968d55466ba8f42730d32bd9b4",
2304
+ "IPY_MODEL_dd0e8e4cb46945df8dbec4fefd720358",
2305
+ "IPY_MODEL_60a80b3316c14ce79945e06cb190be39"
2306
+ ],
2307
+ "layout": "IPY_MODEL_4f0e06a2e2204dad9f29a1697edd4218"
2308
+ }
2309
+ },
2310
+ "f5c6558ef929438eb117159de0285a58": {
2311
+ "model_module": "@jupyter-widgets/controls",
2312
+ "model_module_version": "1.5.0",
2313
+ "model_name": "DescriptionStyleModel",
2314
+ "state": {
2315
+ "_model_module": "@jupyter-widgets/controls",
2316
+ "_model_module_version": "1.5.0",
2317
+ "_model_name": "DescriptionStyleModel",
2318
+ "_view_count": null,
2319
+ "_view_module": "@jupyter-widgets/base",
2320
+ "_view_module_version": "1.2.0",
2321
+ "_view_name": "StyleView",
2322
+ "description_width": ""
2323
+ }
2324
+ },
2325
+ "fb1a288281fc446788fdd0f432b4732c": {
2326
+ "model_module": "@jupyter-widgets/base",
2327
+ "model_module_version": "1.2.0",
2328
+ "model_name": "LayoutModel",
2329
+ "state": {
2330
+ "_model_module": "@jupyter-widgets/base",
2331
+ "_model_module_version": "1.2.0",
2332
+ "_model_name": "LayoutModel",
2333
+ "_view_count": null,
2334
+ "_view_module": "@jupyter-widgets/base",
2335
+ "_view_module_version": "1.2.0",
2336
+ "_view_name": "LayoutView",
2337
+ "align_content": null,
2338
+ "align_items": null,
2339
+ "align_self": null,
2340
+ "border": null,
2341
+ "bottom": null,
2342
+ "display": null,
2343
+ "flex": null,
2344
+ "flex_flow": null,
2345
+ "grid_area": null,
2346
+ "grid_auto_columns": null,
2347
+ "grid_auto_flow": null,
2348
+ "grid_auto_rows": null,
2349
+ "grid_column": null,
2350
+ "grid_gap": null,
2351
+ "grid_row": null,
2352
+ "grid_template_areas": null,
2353
+ "grid_template_columns": null,
2354
+ "grid_template_rows": null,
2355
+ "height": null,
2356
+ "justify_content": null,
2357
+ "justify_items": null,
2358
+ "left": null,
2359
+ "margin": null,
2360
+ "max_height": null,
2361
+ "max_width": null,
2362
+ "min_height": null,
2363
+ "min_width": null,
2364
+ "object_fit": null,
2365
+ "object_position": null,
2366
+ "order": null,
2367
+ "overflow": null,
2368
+ "overflow_x": null,
2369
+ "overflow_y": null,
2370
+ "padding": null,
2371
+ "right": null,
2372
+ "top": null,
2373
+ "visibility": null,
2374
+ "width": null
2375
+ }
2376
+ },
2377
+ "fc2ce36bb32f4c648ccb06d65a4e2aea": {
2378
+ "model_module": "@jupyter-widgets/base",
2379
+ "model_module_version": "1.2.0",
2380
+ "model_name": "LayoutModel",
2381
+ "state": {
2382
+ "_model_module": "@jupyter-widgets/base",
2383
+ "_model_module_version": "1.2.0",
2384
+ "_model_name": "LayoutModel",
2385
+ "_view_count": null,
2386
+ "_view_module": "@jupyter-widgets/base",
2387
+ "_view_module_version": "1.2.0",
2388
+ "_view_name": "LayoutView",
2389
+ "align_content": null,
2390
+ "align_items": null,
2391
+ "align_self": null,
2392
+ "border": null,
2393
+ "bottom": null,
2394
+ "display": null,
2395
+ "flex": null,
2396
+ "flex_flow": null,
2397
+ "grid_area": null,
2398
+ "grid_auto_columns": null,
2399
+ "grid_auto_flow": null,
2400
+ "grid_auto_rows": null,
2401
+ "grid_column": null,
2402
+ "grid_gap": null,
2403
+ "grid_row": null,
2404
+ "grid_template_areas": null,
2405
+ "grid_template_columns": null,
2406
+ "grid_template_rows": null,
2407
+ "height": null,
2408
+ "justify_content": null,
2409
+ "justify_items": null,
2410
+ "left": null,
2411
+ "margin": null,
2412
+ "max_height": null,
2413
+ "max_width": null,
2414
+ "min_height": null,
2415
+ "min_width": null,
2416
+ "object_fit": null,
2417
+ "object_position": null,
2418
+ "order": null,
2419
+ "overflow": null,
2420
+ "overflow_x": null,
2421
+ "overflow_y": null,
2422
+ "padding": null,
2423
+ "right": null,
2424
+ "top": null,
2425
+ "visibility": null,
2426
+ "width": null
2427
+ }
2428
+ },
2429
+ "fc3715b03c5249438965886892ba07bb": {
2430
+ "model_module": "@jupyter-widgets/base",
2431
+ "model_module_version": "1.2.0",
2432
+ "model_name": "LayoutModel",
2433
+ "state": {
2434
+ "_model_module": "@jupyter-widgets/base",
2435
+ "_model_module_version": "1.2.0",
2436
+ "_model_name": "LayoutModel",
2437
+ "_view_count": null,
2438
+ "_view_module": "@jupyter-widgets/base",
2439
+ "_view_module_version": "1.2.0",
2440
+ "_view_name": "LayoutView",
2441
+ "align_content": null,
2442
+ "align_items": null,
2443
+ "align_self": null,
2444
+ "border": null,
2445
+ "bottom": null,
2446
+ "display": null,
2447
+ "flex": null,
2448
+ "flex_flow": null,
2449
+ "grid_area": null,
2450
+ "grid_auto_columns": null,
2451
+ "grid_auto_flow": null,
2452
+ "grid_auto_rows": null,
2453
+ "grid_column": null,
2454
+ "grid_gap": null,
2455
+ "grid_row": null,
2456
+ "grid_template_areas": null,
2457
+ "grid_template_columns": null,
2458
+ "grid_template_rows": null,
2459
+ "height": null,
2460
+ "justify_content": null,
2461
+ "justify_items": null,
2462
+ "left": null,
2463
+ "margin": null,
2464
+ "max_height": null,
2465
+ "max_width": null,
2466
+ "min_height": null,
2467
+ "min_width": null,
2468
+ "object_fit": null,
2469
+ "object_position": null,
2470
+ "order": null,
2471
+ "overflow": null,
2472
+ "overflow_x": null,
2473
+ "overflow_y": null,
2474
+ "padding": null,
2475
+ "right": null,
2476
+ "top": null,
2477
+ "visibility": null,
2478
+ "width": null
2479
+ }
2480
+ },
2481
+ "state": {}
2482
+ }
2483
+ }
2484
+ },
2485
+ "nbformat": 4,
2486
+ "nbformat_minor": 0
2487
+ }
models/unsloth/gpt-oss-20b-GGUF/params ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "stop": [
3
+ "<|endoftext|>",
4
+ "<|return|>"
5
+ ],
6
+ "temperature": 1.0,
7
+ "min_p" : 0.00,
8
+ "top_k" : 0,
9
+ "top_p" : 1.0
10
+ }
models/unsloth/gpt-oss-20b-GGUF/template ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <|start|>system<|message|>You are ChatGPT, a large language model trained by OpenAI.
2
+ Knowledge cutoff: 2024-06
3
+ Current date: {{ currentDate }}
4
+ {{- if and .IsThinkSet .Think (ne .ThinkLevel "") }}
5
+
6
+ Reasoning: {{ .ThinkLevel }}
7
+ {{- else if or (not .IsThinkSet) (and .IsThinkSet .Think) }}
8
+
9
+ Reasoning: medium
10
+ {{- end }}
11
+
12
+ {{- $hasNonBuiltinTools := false }}
13
+ {{- if .Tools -}}
14
+ {{- $hasBrowserSearch := false }}
15
+ {{- $hasBrowserOpen := false }}
16
+ {{- $hasBrowserFind := false }}
17
+ {{- $hasPython := false }}
18
+ {{- range .Tools }}
19
+ {{- if eq .Function.Name "browser.search" -}}{{- $hasBrowserSearch = true -}}
20
+ {{- else if eq .Function.Name "browser.open" -}}{{- $hasBrowserOpen = true -}}
21
+ {{- else if eq .Function.Name "browser.find" -}}{{- $hasBrowserFind = true -}}
22
+ {{- else if eq .Function.Name "python" -}}{{- $hasPython = true -}}
23
+ {{- else }}{{ $hasNonBuiltinTools = true -}}
24
+ {{- end }}
25
+ {{- end }}
26
+ {{- if or $hasBrowserSearch $hasBrowserOpen $hasBrowserFind $hasPython }}
27
+
28
+ # Tools
29
+ {{- if or $hasBrowserSearch $hasBrowserOpen $hasBrowserFind }}
30
+
31
+ ## browser
32
+
33
+ // Tool for browsing.
34
+ // The `cursor` appears in brackets before each browsing display: `[{cursor}]`.
35
+ // Cite information from the tool using the following format:
36
+ // `【{cursor}†L{line_start}(-L{line_end})?】`, for example: `【6†L9-L11】` or `【8†L3】`.
37
+ // Do not quote more than 10 words directly from the tool output.
38
+ // sources=web (default: web)
39
+ namespace browser {
40
+ {{- if $hasBrowserSearch }}
41
+
42
+ // Searches for information related to `query` and displays `topn` results.
43
+ type search = (_: {
44
+ query: string,
45
+ topn?: number, // default: 10
46
+ source?: string,
47
+ }) => any;
48
+ {{- end }}
49
+ {{- if $hasBrowserOpen }}
50
+
51
+ // Opens the link `id` from the page indicated by `cursor` starting at line number `loc`, showing `num_lines` lines.
52
+ // Valid link ids are displayed with the formatting: `【{id}†.*】`.
53
+ // If `cursor` is not provided, the most recent page is implied.
54
+ // If `id` is a string, it is treated as a fully qualified URL associated with `source`.
55
+ // If `loc` is not provided, the viewport will be positioned at the beginning of the document or centered on the most relevant passage, if available.
56
+ // Use this function without `id` to scroll to a new location of an opened page.
57
+ type open = (_: {
58
+ id?: number | string, // default: -1
59
+ cursor?: number, // default: -1
60
+ loc?: number, // default: -1
61
+ num_lines?: number, // default: -1
62
+ view_source?: boolean, // default: false
63
+ source?: string,
64
+ }) => any;
65
+ {{- end }}
66
+ {{- if $hasBrowserFind }}
67
+
68
+ // Finds exact matches of `pattern` in the current page, or the page given by `cursor`.
69
+ type find = (_: {
70
+ pattern: string,
71
+ cursor?: number, // default: -1
72
+ }) => any;
73
+ {{- end }}
74
+
75
+ } // namespace browser
76
+ {{- end }}{{/* end if has browser tools */}}
77
+ {{- if $hasPython }}
78
+
79
+ ## python
80
+
81
+ Use this tool to execute Python code in your chain of thought. The code will not be shown to the user. This tool should be used for internal reasoning, but not for code that is intended to be visible to the user (e.g. when creating plots, tables, or files).
82
+
83
+ When you send a message containing Python code to python, it will be executed in a stateful Jupyter notebook environment. python will respond with the output of the execution or time out after 120.0 seconds. The drive at '/mnt/data' can be used to save and persist user files. Internet access for this session is UNKNOWN. Depends on the cluster.
84
+ {{- end }}{{/* end if hasPython */}}
85
+ {{- end }}{{/* end if has any built-in tools */}}
86
+ {{- end }}{{/* end if .Tools */}}
87
+
88
+ # Valid channels: analysis, commentary, final. Channel must be included for every message.{{ if $hasNonBuiltinTools }}
89
+ Calls to these tools must go to the commentary channel: 'functions'.
90
+ {{- end -}}<|end|>{{/* end of system */ -}}
91
+ {{- if or $hasNonBuiltinTools .System -}}
92
+ <|start|>developer<|message|>{{- if $hasNonBuiltinTools }}# Tools
93
+
94
+ ## functions
95
+
96
+ namespace functions {
97
+ {{- range .Tools }}
98
+ {{- if not (or (eq .Function.Name "browser.search") (eq .Function.Name "browser.open") (eq .Function.Name "browser.find") (eq .Function.Name "python")) }}
99
+ {{if .Function.Description }}
100
+ // {{ .Function.Description }}
101
+ {{- end }}
102
+ {{- if and .Function.Parameters.Properties (gt (len .Function.Parameters.Properties) 0) }}
103
+ type {{ .Function.Name }} = (_: {
104
+ {{- range $name, $prop := .Function.Parameters.Properties }}
105
+ {{- if $prop.Description }}
106
+ // {{ $prop.Description }}
107
+ {{- end }}
108
+ {{ $name }}: {{ if gt (len $prop.Type) 1 }}{{ range $i, $t := $prop.Type }}{{ if $i }} | {{ end }}{{ $t }}{{ end }}{{ else }}{{ index $prop.Type 0 }}{{ end }},
109
+ {{- end }}
110
+ }) => any;
111
+ {{- else }}
112
+ type {{ .Function.Name }} = () => any;
113
+ {{- end }}
114
+ {{- end }}{{/* end if not browser tool */}}
115
+ {{- end }}{{/* end of range .Tools */}}
116
+
117
+ } // namespace functions
118
+ {{- end }}{{/* end if hasNonBuiltinTools */}}
119
+ {{- if .System}}
120
+
121
+ # Instructions
122
+
123
+ {{ .System }}
124
+ {{- end -}}
125
+ <|end|>
126
+ {{- end -}}
127
+ {{- /* Find the index of the last user message */ -}}
128
+ {{- $lastUserIdx := -1 }}
129
+ {{- $prefillingContent := false }}
130
+ {{- $prefillingThinkingOnly := false }}
131
+ {{- range $i, $msg := .Messages }}
132
+ {{- $last := eq (len (slice $.Messages $i)) 1 -}}
133
+ {{- if eq $msg.Role "user" }}
134
+ {{- $lastUserIdx = $i }}
135
+ {{- end -}}
136
+ {{- if and $last (eq $msg.Role "assistant") (gt (len $msg.Content) 0) }}
137
+ {{- $prefillingContent = true }}
138
+ {{- else if and $last (eq $msg.Role "assistant") (gt (len $msg.Thinking) 0) }}
139
+ {{- $prefillingThinkingOnly = true }}
140
+ {{- end }}
141
+ {{- end -}}
142
+ {{- /* Now render messages */ -}}
143
+ {{- range $i, $msg := .Messages }}
144
+ {{- $last := eq (len (slice $.Messages $i)) 1 -}}
145
+ {{- if (ne $msg.Role "system") -}}
146
+ {{- if eq $msg.Role "tool" -}}
147
+ {{- if or (eq $msg.ToolName "python") (eq $msg.ToolName "browser.search") (eq $msg.ToolName "browser.open") (eq $msg.ToolName "browser.find") -}}
148
+ <|start|>{{ $msg.ToolName }} to=assistant<|message|>{{ $msg.Content }}<|end|>
149
+ {{- else -}}
150
+ <|start|>functions.{{ $msg.ToolName }} to=assistant<|message|>{{ $msg.Content }}<|end|>
151
+ {{- end -}}
152
+ {{- else if eq $msg.Role "assistant" -}}
153
+ {{- if and $msg.Thinking (gt $i $lastUserIdx) -}}{{- /* Show thinking only after last user message */ -}}
154
+ <|start|>assistant<|channel|>analysis<|message|>{{ $msg.Thinking }}{{- if not $prefillingThinkingOnly -}}<|end|>{{- end -}}
155
+ {{- end -}}
156
+ {{- if gt (len $msg.Content) 0 -}}
157
+ <|start|>assistant<|channel|>final<|message|>{{ $msg.Content }}{{- if not $prefillingContent -}}<|end|>{{- end -}}
158
+ {{- end -}}
159
+ {{- if gt (len $msg.ToolCalls) 0 -}}
160
+ {{- range $j, $toolCall := $msg.ToolCalls -}}
161
+ {{- $isBuiltin := or (eq $toolCall.Function.Name "python") (eq $toolCall.Function.Name "browser.search") (eq $toolCall.Function.Name "browser.open") (eq $toolCall.Function.Name "browser.find") -}}
162
+ <|start|>assistant<|channel|>{{ if $isBuiltin }}analysis{{ else }}commentary{{ end }} to={{ if not $isBuiltin}}functions.{{end}}{{ $toolCall.Function.Name }} <|constrain|>json<|message|>{{ $toolCall.Function.Arguments }}<|call|>
163
+ {{- end -}}
164
+ {{- end -}}
165
+ {{- else if eq $msg.Role "user" -}}
166
+ <|start|>{{ $msg.Role }}<|message|>{{ $msg.Content }}<|end|>
167
+ {{- end }}
168
+ {{- else }}
169
+ {{- end }}
170
+ {{- end -}}
171
+ {{- if not (or $prefillingContent $prefillingThinkingOnly) -}}
172
+ <|start|>assistant
173
+ {{- end -}}