Training in progress, step 4
Browse files- .gitattributes +1 -0
- README.md +58 -0
- adapter_config.json +49 -0
- adapter_model.safetensors +3 -0
- chat_template.jinja +397 -0
- special_tokens_map.json +23 -0
- tokenizer.json +3 -0
- tokenizer_config.json +183 -0
- training_args.bin +3 -0
    	
        .gitattributes
    CHANGED
    
    | @@ -33,3 +33,4 @@ saved_model/**/* 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
         | 
|  | 
|  | |
| 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 | 
            +
            tokenizer.json filter=lfs diff=lfs merge=lfs -text
         | 
    	
        README.md
    ADDED
    
    | @@ -0,0 +1,58 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            base_model: openai/gpt-oss-20b
         | 
| 3 | 
            +
            library_name: transformers
         | 
| 4 | 
            +
            model_name: oss-multi-lingual
         | 
| 5 | 
            +
            tags:
         | 
| 6 | 
            +
            - generated_from_trainer
         | 
| 7 | 
            +
            - sft
         | 
| 8 | 
            +
            - trl
         | 
| 9 | 
            +
            licence: license
         | 
| 10 | 
            +
            ---
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            # Model Card for oss-multi-lingual
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            This model is a fine-tuned version of [openai/gpt-oss-20b](https://huggingface.co/openai/gpt-oss-20b).
         | 
| 15 | 
            +
            It has been trained using [TRL](https://github.com/huggingface/trl).
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            ## Quick start
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            ```python
         | 
| 20 | 
            +
            from transformers import pipeline
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
         | 
| 23 | 
            +
            generator = pipeline("text-generation", model="Trelis/oss-multi-lingual", device="cuda")
         | 
| 24 | 
            +
            output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
         | 
| 25 | 
            +
            print(output["generated_text"])
         | 
| 26 | 
            +
            ```
         | 
| 27 | 
            +
             | 
| 28 | 
            +
            ## Training procedure
         | 
| 29 | 
            +
             | 
| 30 | 
            +
             
         | 
| 31 | 
            +
             | 
| 32 | 
            +
             | 
| 33 | 
            +
            This model was trained with SFT.
         | 
| 34 | 
            +
             | 
| 35 | 
            +
            ### Framework versions
         | 
| 36 | 
            +
             | 
| 37 | 
            +
            - TRL: 0.21.0
         | 
| 38 | 
            +
            - Transformers: 4.55.0
         | 
| 39 | 
            +
            - Pytorch: 2.8.0.dev20250319+cu128
         | 
| 40 | 
            +
            - Datasets: 4.0.0
         | 
| 41 | 
            +
            - Tokenizers: 0.21.4
         | 
| 42 | 
            +
             | 
| 43 | 
            +
            ## Citations
         | 
| 44 | 
            +
             | 
| 45 | 
            +
             | 
| 46 | 
            +
             | 
| 47 | 
            +
            Cite TRL as:
         | 
| 48 | 
            +
                
         | 
| 49 | 
            +
            ```bibtex
         | 
| 50 | 
            +
            @misc{vonwerra2022trl,
         | 
| 51 | 
            +
            	title        = {{TRL: Transformer Reinforcement Learning}},
         | 
| 52 | 
            +
            	author       = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
         | 
| 53 | 
            +
            	year         = 2020,
         | 
| 54 | 
            +
            	journal      = {GitHub repository},
         | 
| 55 | 
            +
            	publisher    = {GitHub},
         | 
| 56 | 
            +
            	howpublished = {\url{https://github.com/huggingface/trl}}
         | 
| 57 | 
            +
            }
         | 
| 58 | 
            +
            ```
         | 
    	
        adapter_config.json
    ADDED
    
    | @@ -0,0 +1,49 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "alpha_pattern": {},
         | 
| 3 | 
            +
              "auto_mapping": {
         | 
| 4 | 
            +
                "base_model_class": "GptOssForCausalLM",
         | 
| 5 | 
            +
                "parent_library": "transformers.models.gpt_oss.modeling_gpt_oss"
         | 
| 6 | 
            +
              },
         | 
| 7 | 
            +
              "base_model_name_or_path": "openai/gpt-oss-20b",
         | 
| 8 | 
            +
              "bias": "none",
         | 
| 9 | 
            +
              "corda_config": null,
         | 
| 10 | 
            +
              "eva_config": null,
         | 
| 11 | 
            +
              "exclude_modules": null,
         | 
| 12 | 
            +
              "fan_in_fan_out": false,
         | 
| 13 | 
            +
              "inference_mode": true,
         | 
| 14 | 
            +
              "init_lora_weights": true,
         | 
| 15 | 
            +
              "layer_replication": null,
         | 
| 16 | 
            +
              "layers_pattern": null,
         | 
| 17 | 
            +
              "layers_to_transform": null,
         | 
| 18 | 
            +
              "loftq_config": {},
         | 
| 19 | 
            +
              "lora_alpha": 16,
         | 
| 20 | 
            +
              "lora_bias": false,
         | 
| 21 | 
            +
              "lora_dropout": 0.0,
         | 
| 22 | 
            +
              "megatron_config": null,
         | 
| 23 | 
            +
              "megatron_core": "megatron.core",
         | 
| 24 | 
            +
              "modules_to_save": null,
         | 
| 25 | 
            +
              "peft_type": "LORA",
         | 
| 26 | 
            +
              "qalora_group_size": 16,
         | 
| 27 | 
            +
              "r": 8,
         | 
| 28 | 
            +
              "rank_pattern": {},
         | 
| 29 | 
            +
              "revision": null,
         | 
| 30 | 
            +
              "target_modules": [
         | 
| 31 | 
            +
                "o_proj",
         | 
| 32 | 
            +
                "k_proj",
         | 
| 33 | 
            +
                "v_proj",
         | 
| 34 | 
            +
                "q_proj"
         | 
| 35 | 
            +
              ],
         | 
| 36 | 
            +
              "target_parameters": [
         | 
| 37 | 
            +
                "7.mlp.experts.gate_up_proj",
         | 
| 38 | 
            +
                "7.mlp.experts.down_proj",
         | 
| 39 | 
            +
                "15.mlp.experts.gate_up_proj",
         | 
| 40 | 
            +
                "15.mlp.experts.down_proj",
         | 
| 41 | 
            +
                "23.mlp.experts.gate_up_proj",
         | 
| 42 | 
            +
                "23.mlp.experts.down_proj"
         | 
| 43 | 
            +
              ],
         | 
| 44 | 
            +
              "task_type": null,
         | 
| 45 | 
            +
              "trainable_token_indices": null,
         | 
| 46 | 
            +
              "use_dora": false,
         | 
| 47 | 
            +
              "use_qalora": false,
         | 
| 48 | 
            +
              "use_rslora": false
         | 
| 49 | 
            +
            }
         | 
    	
        adapter_model.safetensors
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:6d377d861dda0cbfdd32c14fa3cb302979dec05c7a7e7de451b36b4e8510e4ed
         | 
| 3 | 
            +
            size 60189176
         | 
    	
        chat_template.jinja
    ADDED
    
    | @@ -0,0 +1,397 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {#-
         | 
| 2 | 
            +
              In addition to the normal inputs of `messages` and `tools`, this template also accepts the
         | 
| 3 | 
            +
              following kwargs:
         | 
| 4 | 
            +
              - "builtin_tools": A list, can contain "browser" and/or "python".
         | 
| 5 | 
            +
              - "model_identity": A string that optionally describes the model identity.
         | 
| 6 | 
            +
              - "reasoning_effort": A string that describes the reasoning effort, defaults to "medium".
         | 
| 7 | 
            +
             #}
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            {#- Tool Definition Rendering ============================================== #}
         | 
| 10 | 
            +
            {%- macro render_typescript_type(param_spec, required_params, is_nullable=false) -%}
         | 
| 11 | 
            +
                {%- if param_spec.type == "array" -%}
         | 
| 12 | 
            +
                    {%- if param_spec['items'] -%}
         | 
| 13 | 
            +
                        {%- if param_spec['items']['type'] == "string" -%}
         | 
| 14 | 
            +
                            {{- "string[]" }}
         | 
| 15 | 
            +
                        {%- elif param_spec['items']['type'] == "number" -%}
         | 
| 16 | 
            +
                            {{- "number[]" }}
         | 
| 17 | 
            +
                        {%- elif param_spec['items']['type'] == "integer" -%}
         | 
| 18 | 
            +
                            {{- "number[]" }}
         | 
| 19 | 
            +
                        {%- elif param_spec['items']['type'] == "boolean" -%}
         | 
| 20 | 
            +
                            {{- "boolean[]" }}
         | 
| 21 | 
            +
                        {%- else -%}
         | 
| 22 | 
            +
                            {%- set inner_type = render_typescript_type(param_spec['items'], required_params) -%}
         | 
| 23 | 
            +
                            {%- if inner_type == "object | object" or inner_type|length > 50 -%}
         | 
| 24 | 
            +
                                {{- "any[]" }}
         | 
| 25 | 
            +
                            {%- else -%}
         | 
| 26 | 
            +
                                {{- inner_type + "[]" }}
         | 
| 27 | 
            +
                            {%- endif -%}
         | 
| 28 | 
            +
                        {%- endif -%}
         | 
| 29 | 
            +
                        {%- if param_spec.nullable -%}
         | 
| 30 | 
            +
                            {{- " | null" }}
         | 
| 31 | 
            +
                        {%- endif -%}
         | 
| 32 | 
            +
                    {%- else -%}
         | 
| 33 | 
            +
                        {{- "any[]" }}
         | 
| 34 | 
            +
                        {%- if param_spec.nullable -%}
         | 
| 35 | 
            +
                            {{- " | null" }}
         | 
| 36 | 
            +
                        {%- endif -%}
         | 
| 37 | 
            +
                    {%- endif -%}
         | 
| 38 | 
            +
                {%- elif param_spec.type is defined and param_spec.type is iterable and param_spec.type is not string and param_spec.type is not mapping and param_spec.type[0] is defined -%}
         | 
| 39 | 
            +
                    {#- Handle array of types like ["object", "object"] from Union[dict, list] #}
         | 
| 40 | 
            +
                    {%- if param_spec.type | length > 1 -%}
         | 
| 41 | 
            +
                        {{- param_spec.type | join(" | ") }}
         | 
| 42 | 
            +
                    {%- else -%}
         | 
| 43 | 
            +
                        {{- param_spec.type[0] }}
         | 
| 44 | 
            +
                    {%- endif -%}
         | 
| 45 | 
            +
                {%- elif param_spec.oneOf -%}
         | 
| 46 | 
            +
                    {#- Handle oneOf schemas - check for complex unions and fallback to any #}
         | 
| 47 | 
            +
                    {%- set has_object_variants = false -%}
         | 
| 48 | 
            +
                    {%- for variant in param_spec.oneOf -%}
         | 
| 49 | 
            +
                        {%- if variant.type == "object" -%}
         | 
| 50 | 
            +
                            {%- set has_object_variants = true -%}
         | 
| 51 | 
            +
                        {%- endif -%}
         | 
| 52 | 
            +
                    {%- endfor -%}
         | 
| 53 | 
            +
                    {%- if has_object_variants and param_spec.oneOf|length > 1 -%}
         | 
| 54 | 
            +
                        {{- "any" }}
         | 
| 55 | 
            +
                    {%- else -%}
         | 
| 56 | 
            +
                        {%- for variant in param_spec.oneOf -%}
         | 
| 57 | 
            +
                            {{- render_typescript_type(variant, required_params) -}}
         | 
| 58 | 
            +
                            {%- if variant.description %}
         | 
| 59 | 
            +
                                {{- "// " + variant.description }}
         | 
| 60 | 
            +
                            {%- endif -%}
         | 
| 61 | 
            +
                            {%- if variant.default is defined %}
         | 
| 62 | 
            +
                                {{ "// default: " + variant.default|tojson }}
         | 
| 63 | 
            +
                            {%- endif -%}
         | 
| 64 | 
            +
                            {%- if not loop.last %}
         | 
| 65 | 
            +
                                {{- " | " }}
         | 
| 66 | 
            +
                            {% endif -%}
         | 
| 67 | 
            +
                        {%- endfor -%}
         | 
| 68 | 
            +
                    {%- endif -%}
         | 
| 69 | 
            +
                {%- elif param_spec.type == "string" -%}
         | 
| 70 | 
            +
                    {%- if param_spec.enum -%}
         | 
| 71 | 
            +
                        {{- '"' + param_spec.enum|join('" | "') + '"' -}}
         | 
| 72 | 
            +
                    {%- else -%}
         | 
| 73 | 
            +
                        {{- "string" }}
         | 
| 74 | 
            +
                        {%- if param_spec.nullable %}
         | 
| 75 | 
            +
                            {{- " | null" }}
         | 
| 76 | 
            +
                        {%- endif -%}
         | 
| 77 | 
            +
                    {%- endif -%}
         | 
| 78 | 
            +
                {%- elif param_spec.type == "number" -%}
         | 
| 79 | 
            +
                    {{- "number" }}
         | 
| 80 | 
            +
                {%- elif param_spec.type == "integer" -%}
         | 
| 81 | 
            +
                    {{- "number" }}
         | 
| 82 | 
            +
                {%- elif param_spec.type == "boolean" -%}
         | 
| 83 | 
            +
                    {{- "boolean" }}
         | 
| 84 | 
            +
             | 
| 85 | 
            +
                {%- elif param_spec.type == "object" -%}
         | 
| 86 | 
            +
                    {%- if param_spec.properties -%}
         | 
| 87 | 
            +
                        {{- "{
         | 
| 88 | 
            +
            " }}
         | 
| 89 | 
            +
                        {%- for prop_name, prop_spec in param_spec.properties.items() -%}
         | 
| 90 | 
            +
                            {{- prop_name -}}
         | 
| 91 | 
            +
                            {%- if prop_name not in (param_spec.required or []) -%}
         | 
| 92 | 
            +
                                {{- "?" }}
         | 
| 93 | 
            +
                            {%- endif -%}
         | 
| 94 | 
            +
                            {{- ": " }}
         | 
| 95 | 
            +
                            {{ render_typescript_type(prop_spec, param_spec.required or []) }}
         | 
| 96 | 
            +
                            {%- if not loop.last -%}
         | 
| 97 | 
            +
                                {{-", " }}
         | 
| 98 | 
            +
                            {%- endif -%}
         | 
| 99 | 
            +
                        {%- endfor -%}
         | 
| 100 | 
            +
                        {{- "}" }}
         | 
| 101 | 
            +
                    {%- else -%}
         | 
| 102 | 
            +
                        {{- "object" }}
         | 
| 103 | 
            +
                    {%- endif -%}
         | 
| 104 | 
            +
                {%- else -%}
         | 
| 105 | 
            +
                    {{- "any" }}
         | 
| 106 | 
            +
                {%- endif -%}
         | 
| 107 | 
            +
            {%- endmacro -%}
         | 
| 108 | 
            +
             | 
| 109 | 
            +
            {%- macro render_tool_namespace(namespace_name, tools) -%}
         | 
| 110 | 
            +
                {{- "## " + namespace_name + "
         | 
| 111 | 
            +
             | 
| 112 | 
            +
            " }}
         | 
| 113 | 
            +
                {{- "namespace " + namespace_name + " {
         | 
| 114 | 
            +
             | 
| 115 | 
            +
            " }}
         | 
| 116 | 
            +
                {%- for tool in tools %}
         | 
| 117 | 
            +
                    {%- set tool = tool.function %}
         | 
| 118 | 
            +
                    {{- "// " + tool.description + "
         | 
| 119 | 
            +
            " }}
         | 
| 120 | 
            +
                    {{- "type "+ tool.name + " = " }}
         | 
| 121 | 
            +
                    {%- if tool.parameters and tool.parameters.properties %}
         | 
| 122 | 
            +
                        {{- "(_: {
         | 
| 123 | 
            +
            " }}
         | 
| 124 | 
            +
                        {%- for param_name, param_spec in tool.parameters.properties.items() %}
         | 
| 125 | 
            +
                            {%- if param_spec.description %}
         | 
| 126 | 
            +
                                {{- "// " + param_spec.description + "
         | 
| 127 | 
            +
            " }}
         | 
| 128 | 
            +
                            {%- endif %}
         | 
| 129 | 
            +
                            {{- param_name }}
         | 
| 130 | 
            +
                            {%- if param_name not in (tool.parameters.required or []) -%}
         | 
| 131 | 
            +
                                {{- "?" }}
         | 
| 132 | 
            +
                            {%- endif -%}
         | 
| 133 | 
            +
                            {{- ": " }}
         | 
| 134 | 
            +
                            {{- render_typescript_type(param_spec, tool.parameters.required or []) }}
         | 
| 135 | 
            +
                            {%- if param_spec.default is defined -%}
         | 
| 136 | 
            +
                                {%- if param_spec.enum %}
         | 
| 137 | 
            +
                                    {{- ", // default: " + param_spec.default }}
         | 
| 138 | 
            +
                                {%- elif param_spec.oneOf %}
         | 
| 139 | 
            +
                                    {{- "// default: " + param_spec.default }}
         | 
| 140 | 
            +
                                {%- else %}
         | 
| 141 | 
            +
                                    {{- ", // default: " + param_spec.default|tojson }}
         | 
| 142 | 
            +
                                {%- endif -%}
         | 
| 143 | 
            +
                            {%- endif -%}
         | 
| 144 | 
            +
                            {%- if not loop.last %}
         | 
| 145 | 
            +
                                {{- ",
         | 
| 146 | 
            +
            " }}
         | 
| 147 | 
            +
                            {%- else %}
         | 
| 148 | 
            +
                                {{- "
         | 
| 149 | 
            +
            " }}
         | 
| 150 | 
            +
                            {%- endif -%}
         | 
| 151 | 
            +
                        {%- endfor %}
         | 
| 152 | 
            +
                        {{- "}) => any;
         | 
| 153 | 
            +
             | 
| 154 | 
            +
            " }}
         | 
| 155 | 
            +
                    {%- else -%}
         | 
| 156 | 
            +
                        {{- "() => any;
         | 
| 157 | 
            +
             | 
| 158 | 
            +
            " }}
         | 
| 159 | 
            +
                    {%- endif -%}
         | 
| 160 | 
            +
                {%- endfor %}
         | 
| 161 | 
            +
                {{- "} // namespace " + namespace_name }}
         | 
| 162 | 
            +
            {%- endmacro -%}
         | 
| 163 | 
            +
             | 
| 164 | 
            +
            {%- macro render_builtin_tools(browser_tool, python_tool) -%}
         | 
| 165 | 
            +
                {%- if browser_tool %}
         | 
| 166 | 
            +
                    {{- "## browser
         | 
| 167 | 
            +
             | 
| 168 | 
            +
            " }}
         | 
| 169 | 
            +
                    {{- "// Tool for browsing.
         | 
| 170 | 
            +
            " }}
         | 
| 171 | 
            +
                    {{- "// The `cursor` appears in brackets before each browsing display: `[{cursor}]`.
         | 
| 172 | 
            +
            " }}
         | 
| 173 | 
            +
                    {{- "// Cite information from the tool using the following format:
         | 
| 174 | 
            +
            " }}
         | 
| 175 | 
            +
                    {{- "// `【{cursor}†L{line_start}(-L{line_end})?】`, for example: `【6†L9-L11】` or `【8†L3】`.
         | 
| 176 | 
            +
            " }}
         | 
| 177 | 
            +
                    {{- "// Do not quote more than 10 words directly from the tool output.
         | 
| 178 | 
            +
            " }}
         | 
| 179 | 
            +
                    {{- "// sources=web (default: web)
         | 
| 180 | 
            +
            " }}
         | 
| 181 | 
            +
                    {{- "namespace browser {
         | 
| 182 | 
            +
             | 
| 183 | 
            +
            " }}
         | 
| 184 | 
            +
                    {{- "// Searches for information related to `query` and displays `topn` results.
         | 
| 185 | 
            +
            " }}
         | 
| 186 | 
            +
                    {{- "type search = (_: {
         | 
| 187 | 
            +
            " }}
         | 
| 188 | 
            +
                    {{- "query: string,
         | 
| 189 | 
            +
            " }}
         | 
| 190 | 
            +
                    {{- "topn?: number, // default: 10
         | 
| 191 | 
            +
            " }}
         | 
| 192 | 
            +
                    {{- "source?: string,
         | 
| 193 | 
            +
            " }}
         | 
| 194 | 
            +
                    {{- "}) => any;
         | 
| 195 | 
            +
             | 
| 196 | 
            +
            " }}
         | 
| 197 | 
            +
                    {{- "// Opens the link `id` from the page indicated by `cursor` starting at line number `loc`, showing `num_lines` lines.
         | 
| 198 | 
            +
            " }}
         | 
| 199 | 
            +
                    {{- "// Valid link ids are displayed with the formatting: `【{id}†.*】`.
         | 
| 200 | 
            +
            " }}
         | 
| 201 | 
            +
                    {{- "// If `cursor` is not provided, the most recent page is implied.
         | 
| 202 | 
            +
            " }}
         | 
| 203 | 
            +
                    {{- "// If `id` is a string, it is treated as a fully qualified URL associated with `source`.
         | 
| 204 | 
            +
            " }}
         | 
| 205 | 
            +
                    {{- "// 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.
         | 
| 206 | 
            +
            " }}
         | 
| 207 | 
            +
                    {{- "// Use this function without `id` to scroll to a new location of an opened page.
         | 
| 208 | 
            +
            " }}
         | 
| 209 | 
            +
                    {{- "type open = (_: {
         | 
| 210 | 
            +
            " }}
         | 
| 211 | 
            +
                    {{- "id?: number | string, // default: -1
         | 
| 212 | 
            +
            " }}
         | 
| 213 | 
            +
                    {{- "cursor?: number, // default: -1
         | 
| 214 | 
            +
            " }}
         | 
| 215 | 
            +
                    {{- "loc?: number, // default: -1
         | 
| 216 | 
            +
            " }}
         | 
| 217 | 
            +
                    {{- "num_lines?: number, // default: -1
         | 
| 218 | 
            +
            " }}
         | 
| 219 | 
            +
                    {{- "view_source?: boolean, // default: false
         | 
| 220 | 
            +
            " }}
         | 
| 221 | 
            +
                    {{- "source?: string,
         | 
| 222 | 
            +
            " }}
         | 
| 223 | 
            +
                    {{- "}) => any;
         | 
| 224 | 
            +
             | 
| 225 | 
            +
            " }}
         | 
| 226 | 
            +
                    {{- "// Finds exact matches of `pattern` in the current page, or the page given by `cursor`.
         | 
| 227 | 
            +
            " }}
         | 
| 228 | 
            +
                    {{- "type find = (_: {
         | 
| 229 | 
            +
            " }}
         | 
| 230 | 
            +
                    {{- "pattern: string,
         | 
| 231 | 
            +
            " }}
         | 
| 232 | 
            +
                    {{- "cursor?: number, // default: -1
         | 
| 233 | 
            +
            " }}
         | 
| 234 | 
            +
                    {{- "}) => any;
         | 
| 235 | 
            +
             | 
| 236 | 
            +
            " }}
         | 
| 237 | 
            +
                    {{- "} // namespace browser
         | 
| 238 | 
            +
             | 
| 239 | 
            +
            " }}
         | 
| 240 | 
            +
                {%- endif -%}
         | 
| 241 | 
            +
             | 
| 242 | 
            +
                {%- if python_tool %}
         | 
| 243 | 
            +
                    {{- "## python
         | 
| 244 | 
            +
             | 
| 245 | 
            +
            " }}
         | 
| 246 | 
            +
                    {{- "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).
         | 
| 247 | 
            +
             | 
| 248 | 
            +
            " }}
         | 
| 249 | 
            +
                    {{- "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.
         | 
| 250 | 
            +
             | 
| 251 | 
            +
            " }}
         | 
| 252 | 
            +
                {%- endif -%}
         | 
| 253 | 
            +
            {%- endmacro -%}
         | 
| 254 | 
            +
             | 
| 255 | 
            +
            {#- System Message Construction ============================================ #}
         | 
| 256 | 
            +
            {%- macro build_system_message() -%}
         | 
| 257 | 
            +
                {%- if model_identity is not defined %}
         | 
| 258 | 
            +
                    {%- set model_identity = "You are ChatGPT, a large language model trained by OpenAI." %}
         | 
| 259 | 
            +
                {%- endif %}
         | 
| 260 | 
            +
                {{- model_identity + "
         | 
| 261 | 
            +
            " }}
         | 
| 262 | 
            +
                {{- "Knowledge cutoff: 2024-06
         | 
| 263 | 
            +
            " }}
         | 
| 264 | 
            +
                {{- "Current date: " + strftime_now("%Y-%m-%d") + "
         | 
| 265 | 
            +
             | 
| 266 | 
            +
            " }}
         | 
| 267 | 
            +
                {%- if reasoning_effort is not defined %}
         | 
| 268 | 
            +
                    {%- set reasoning_effort = "medium" %}
         | 
| 269 | 
            +
                {%- endif %}
         | 
| 270 | 
            +
                {{- "Reasoning: " + reasoning_effort + "
         | 
| 271 | 
            +
             | 
| 272 | 
            +
            " }}
         | 
| 273 | 
            +
                {%- if builtin_tools %}
         | 
| 274 | 
            +
                    {{- "# Tools
         | 
| 275 | 
            +
             | 
| 276 | 
            +
            " }}
         | 
| 277 | 
            +
                    {%- set available_builtin_tools = namespace(browser=false, python=false) %}
         | 
| 278 | 
            +
                    {%- for tool in builtin_tools %}
         | 
| 279 | 
            +
                        {%- if tool == "browser" %}
         | 
| 280 | 
            +
                            {%- set available_builtin_tools.browser = true %}
         | 
| 281 | 
            +
                        {%- elif tool == "python" %}
         | 
| 282 | 
            +
                            {%- set available_builtin_tools.python = true %}
         | 
| 283 | 
            +
                        {%- endif %}
         | 
| 284 | 
            +
                    {%- endfor %}
         | 
| 285 | 
            +
                    {{- render_builtin_tools(available_builtin_tools.browser, available_builtin_tools.python) }}
         | 
| 286 | 
            +
                {%- endif -%}
         | 
| 287 | 
            +
                {{- "# Valid channels: analysis, commentary, final. Channel must be included for every message." }}
         | 
| 288 | 
            +
                {%- if tools -%}
         | 
| 289 | 
            +
                    {{- "
         | 
| 290 | 
            +
            Calls to these tools must go to the commentary channel: 'functions'." }}
         | 
| 291 | 
            +
                {%- endif -%}
         | 
| 292 | 
            +
            {%- endmacro -%}
         | 
| 293 | 
            +
             | 
| 294 | 
            +
            {#- Main Template Logic ================================================= #}
         | 
| 295 | 
            +
            {#- Set defaults #}
         | 
| 296 | 
            +
             | 
| 297 | 
            +
            {#- Render system message #}
         | 
| 298 | 
            +
            {{- "<|start|>system<|message|>" }}
         | 
| 299 | 
            +
            {{- build_system_message() }}
         | 
| 300 | 
            +
            {{- "<|end|>" }}
         | 
| 301 | 
            +
             | 
| 302 | 
            +
            {#- Extract developer message #}
         | 
| 303 | 
            +
            {%- if messages[0].role == "developer" or messages[0].role == "system" %}
         | 
| 304 | 
            +
                {%- set developer_message = messages[0].content %}
         | 
| 305 | 
            +
                {%- set loop_messages = messages[1:] %}
         | 
| 306 | 
            +
            {%- else %}
         | 
| 307 | 
            +
                {%- set developer_message = "" %}
         | 
| 308 | 
            +
                {%- set loop_messages = messages %}
         | 
| 309 | 
            +
            {%- endif %}
         | 
| 310 | 
            +
             | 
| 311 | 
            +
            {#- Render developer message #}
         | 
| 312 | 
            +
            {%- if developer_message or tools %}
         | 
| 313 | 
            +
                {{- "<|start|>developer<|message|>" }}
         | 
| 314 | 
            +
                {%- if developer_message %}
         | 
| 315 | 
            +
                    {{- "# Instructions
         | 
| 316 | 
            +
             | 
| 317 | 
            +
            " }}
         | 
| 318 | 
            +
                    {{- developer_message }}
         | 
| 319 | 
            +
                {%- endif %}
         | 
| 320 | 
            +
                {%- if tools -%}
         | 
| 321 | 
            +
                    {{- "
         | 
| 322 | 
            +
             | 
| 323 | 
            +
            " }}
         | 
| 324 | 
            +
                    {{- "# Tools
         | 
| 325 | 
            +
             | 
| 326 | 
            +
            " }}
         | 
| 327 | 
            +
                    {{- render_tool_namespace("functions", tools) }}
         | 
| 328 | 
            +
                {%- endif -%}
         | 
| 329 | 
            +
                {{- "<|end|>" }}
         | 
| 330 | 
            +
            {%- endif %}
         | 
| 331 | 
            +
             | 
| 332 | 
            +
            {#- Render messages #}
         | 
| 333 | 
            +
            {%- set last_tool_call = namespace(name=none) %}
         | 
| 334 | 
            +
            {%- for message in loop_messages -%}
         | 
| 335 | 
            +
                {#- At this point only assistant/user/tool messages should remain #}
         | 
| 336 | 
            +
                {%- if message.role == 'assistant' -%}
         | 
| 337 | 
            +
                    {#- Checks to ensure the messages are being passed in the format we expect #}
         | 
| 338 | 
            +
                    {%- if "content" in message %}
         | 
| 339 | 
            +
                        {%- if "<|channel|>analysis<|message|>" in message.content or "<|channel|>final<|message|>" in message.content %}
         | 
| 340 | 
            +
                            {{- raise_exception("You have passed a message containing <|channel|> tags in the content field. Instead of doing this, you should pass analysis messages (the string between '<|message|>' and '<|end|>') in the 'thinking' field, and final messages (the string between '<|message|>' and '<|end|>') in the 'content' field.") }}
         | 
| 341 | 
            +
                        {%- endif %}
         | 
| 342 | 
            +
                    {%- endif %}
         | 
| 343 | 
            +
                    {%- if "thinking" in message %}
         | 
| 344 | 
            +
                        {%- if "<|channel|>analysis<|message|>" in message.thinking or "<|channel|>final<|message|>" in message.thinking %}
         | 
| 345 | 
            +
                            {{- raise_exception("You have passed a message containing <|channel|> tags in the thinking field. Instead of doing this, you should pass analysis messages (the string between '<|message|>' and '<|end|>') in the 'thinking' field, and final messages (the string between '<|message|>' and '<|end|>') in the 'content' field.") }}
         | 
| 346 | 
            +
                        {%- endif %}
         | 
| 347 | 
            +
                    {%- endif %}
         | 
| 348 | 
            +
                    {%- if "tool_calls" in message %}
         | 
| 349 | 
            +
                        {#- We assume max 1 tool call per message, and so we infer the tool call name #}
         | 
| 350 | 
            +
                        {#- in "tool" messages from the most recent assistant tool call name #}
         | 
| 351 | 
            +
                        {%- set tool_call = message.tool_calls[0] %}
         | 
| 352 | 
            +
                        {%- if tool_call.function %}
         | 
| 353 | 
            +
                            {%- set tool_call = tool_call.function %}
         | 
| 354 | 
            +
                        {%- endif %}
         | 
| 355 | 
            +
                        {%- if message.content and message.thinking %}
         | 
| 356 | 
            +
                            {{- raise_exception("Cannot pass both content and thinking in an assistant message with tool calls! Put the analysis message in one or the other, but not both.") }}
         | 
| 357 | 
            +
                        {%- elif message.content %}
         | 
| 358 | 
            +
                            {{- "<|start|>assistant<|channel|>analysis<|message|>" + message.content + "<|end|>" }}
         | 
| 359 | 
            +
                        {%- elif message.thinking %}
         | 
| 360 | 
            +
                            {{- "<|start|>assistant<|channel|>analysis<|message|>" + message.thinking + "<|end|>" }}
         | 
| 361 | 
            +
                        {%- endif %}
         | 
| 362 | 
            +
                        {{- "<|start|>assistant to=" }}
         | 
| 363 | 
            +
                        {{- "functions." + tool_call.name + "<|channel|>commentary " }}
         | 
| 364 | 
            +
                        {{- (tool_call.content_type if tool_call.content_type is defined else "json") + "<|message|>" }}
         | 
| 365 | 
            +
                        {{- tool_call.arguments|tojson }}
         | 
| 366 | 
            +
                        {{- "<|call|>" }}
         | 
| 367 | 
            +
                        {%- set last_tool_call.name = tool_call.name %}
         | 
| 368 | 
            +
                    {%- elif loop.last and not add_generation_prompt %}
         | 
| 369 | 
            +
                        {#- Only render the CoT if the final turn is an assistant turn and add_generation_prompt is false #}
         | 
| 370 | 
            +
                        {#- This is a situation that should only occur in training, never in inference. #}
         | 
| 371 | 
            +
                        {%- if "thinking" in message %}
         | 
| 372 | 
            +
                            {{- "<|start|>assistant<|channel|>analysis<|message|>" + message.thinking + "<|end|>" }}
         | 
| 373 | 
            +
                        {%- endif %}
         | 
| 374 | 
            +
                        {#- <|return|> indicates the end of generation, but <|end|> does not #}
         | 
| 375 | 
            +
                        {#- <|return|> should never be an input to the model, but we include it as the final token #}
         | 
| 376 | 
            +
                        {#- when training, so the model learns to emit it. #}
         | 
| 377 | 
            +
                        {{- "<|start|>assistant<|channel|>final<|message|>" + message.content + "<|return|>" }}
         | 
| 378 | 
            +
                    {%- else %}
         | 
| 379 | 
            +
                        {#- CoT is dropped during all previous turns, so we never render it for inference #}
         | 
| 380 | 
            +
                        {{- "<|start|>assistant<|channel|>final<|message|>" + message.content + "<|end|>" }}
         | 
| 381 | 
            +
                        {%- set last_tool_call.name = none %}
         | 
| 382 | 
            +
                    {%- endif %}
         | 
| 383 | 
            +
                {%- elif message.role == 'tool' -%}
         | 
| 384 | 
            +
                    {%- if last_tool_call.name is none %}
         | 
| 385 | 
            +
                        {{- raise_exception("Message has tool role, but there was no previous assistant message with a tool call!") }}
         | 
| 386 | 
            +
                    {%- endif %}
         | 
| 387 | 
            +
                    {{- "<|start|>functions." + last_tool_call.name }}
         | 
| 388 | 
            +
                    {{- " to=assistant<|channel|>commentary<|message|>" + message.content|tojson + "<|end|>" }}
         | 
| 389 | 
            +
                {%- elif message.role == 'user' -%}
         | 
| 390 | 
            +
                    {{- "<|start|>user<|message|>" + message.content + "<|end|>" }}
         | 
| 391 | 
            +
                {%- endif -%}
         | 
| 392 | 
            +
            {%- endfor -%}
         | 
| 393 | 
            +
             | 
| 394 | 
            +
            {#- Generation prompt #}
         | 
| 395 | 
            +
            {%- if add_generation_prompt -%}
         | 
| 396 | 
            +
            <|start|>assistant
         | 
| 397 | 
            +
            {%- endif -%}
         | 
    	
        special_tokens_map.json
    ADDED
    
    | @@ -0,0 +1,23 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "bos_token": {
         | 
| 3 | 
            +
                "content": "<|startoftext|>",
         | 
| 4 | 
            +
                "lstrip": false,
         | 
| 5 | 
            +
                "normalized": false,
         | 
| 6 | 
            +
                "rstrip": false,
         | 
| 7 | 
            +
                "single_word": false
         | 
| 8 | 
            +
              },
         | 
| 9 | 
            +
              "eos_token": {
         | 
| 10 | 
            +
                "content": "<|return|>",
         | 
| 11 | 
            +
                "lstrip": false,
         | 
| 12 | 
            +
                "normalized": false,
         | 
| 13 | 
            +
                "rstrip": false,
         | 
| 14 | 
            +
                "single_word": false
         | 
| 15 | 
            +
              },
         | 
| 16 | 
            +
              "pad_token": {
         | 
| 17 | 
            +
                "content": "<|endoftext|>",
         | 
| 18 | 
            +
                "lstrip": false,
         | 
| 19 | 
            +
                "normalized": false,
         | 
| 20 | 
            +
                "rstrip": false,
         | 
| 21 | 
            +
                "single_word": false
         | 
| 22 | 
            +
              }
         | 
| 23 | 
            +
            }
         | 
    	
        tokenizer.json
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:0614fe83cadab421296e664e1f48f4261fa8fef6e03e63bb75c20f38e37d07d3
         | 
| 3 | 
            +
            size 27868174
         | 
    	
        tokenizer_config.json
    ADDED
    
    | @@ -0,0 +1,183 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "added_tokens_decoder": {
         | 
| 3 | 
            +
                "199998": {
         | 
| 4 | 
            +
                  "content": "<|startoftext|>",
         | 
| 5 | 
            +
                  "lstrip": false,
         | 
| 6 | 
            +
                  "normalized": false,
         | 
| 7 | 
            +
                  "rstrip": false,
         | 
| 8 | 
            +
                  "single_word": false,
         | 
| 9 | 
            +
                  "special": true
         | 
| 10 | 
            +
                },
         | 
| 11 | 
            +
                "199999": {
         | 
| 12 | 
            +
                  "content": "<|endoftext|>",
         | 
| 13 | 
            +
                  "lstrip": false,
         | 
| 14 | 
            +
                  "normalized": false,
         | 
| 15 | 
            +
                  "rstrip": false,
         | 
| 16 | 
            +
                  "single_word": false,
         | 
| 17 | 
            +
                  "special": true
         | 
| 18 | 
            +
                },
         | 
| 19 | 
            +
                "200000": {
         | 
| 20 | 
            +
                  "content": "<|reserved_200000|>",
         | 
| 21 | 
            +
                  "lstrip": false,
         | 
| 22 | 
            +
                  "normalized": false,
         | 
| 23 | 
            +
                  "rstrip": false,
         | 
| 24 | 
            +
                  "single_word": false,
         | 
| 25 | 
            +
                  "special": true
         | 
| 26 | 
            +
                },
         | 
| 27 | 
            +
                "200001": {
         | 
| 28 | 
            +
                  "content": "<|reserved_200001|>",
         | 
| 29 | 
            +
                  "lstrip": false,
         | 
| 30 | 
            +
                  "normalized": false,
         | 
| 31 | 
            +
                  "rstrip": false,
         | 
| 32 | 
            +
                  "single_word": false,
         | 
| 33 | 
            +
                  "special": true
         | 
| 34 | 
            +
                },
         | 
| 35 | 
            +
                "200002": {
         | 
| 36 | 
            +
                  "content": "<|return|>",
         | 
| 37 | 
            +
                  "lstrip": false,
         | 
| 38 | 
            +
                  "normalized": false,
         | 
| 39 | 
            +
                  "rstrip": false,
         | 
| 40 | 
            +
                  "single_word": false,
         | 
| 41 | 
            +
                  "special": true
         | 
| 42 | 
            +
                },
         | 
| 43 | 
            +
                "200003": {
         | 
| 44 | 
            +
                  "content": "<|constrain|>",
         | 
| 45 | 
            +
                  "lstrip": false,
         | 
| 46 | 
            +
                  "normalized": false,
         | 
| 47 | 
            +
                  "rstrip": false,
         | 
| 48 | 
            +
                  "single_word": false,
         | 
| 49 | 
            +
                  "special": true
         | 
| 50 | 
            +
                },
         | 
| 51 | 
            +
                "200004": {
         | 
| 52 | 
            +
                  "content": "<|reserved_200004|>",
         | 
| 53 | 
            +
                  "lstrip": false,
         | 
| 54 | 
            +
                  "normalized": false,
         | 
| 55 | 
            +
                  "rstrip": false,
         | 
| 56 | 
            +
                  "single_word": false,
         | 
| 57 | 
            +
                  "special": true
         | 
| 58 | 
            +
                },
         | 
| 59 | 
            +
                "200005": {
         | 
| 60 | 
            +
                  "content": "<|channel|>",
         | 
| 61 | 
            +
                  "lstrip": false,
         | 
| 62 | 
            +
                  "normalized": false,
         | 
| 63 | 
            +
                  "rstrip": false,
         | 
| 64 | 
            +
                  "single_word": false,
         | 
| 65 | 
            +
                  "special": true
         | 
| 66 | 
            +
                },
         | 
| 67 | 
            +
                "200006": {
         | 
| 68 | 
            +
                  "content": "<|start|>",
         | 
| 69 | 
            +
                  "lstrip": false,
         | 
| 70 | 
            +
                  "normalized": false,
         | 
| 71 | 
            +
                  "rstrip": false,
         | 
| 72 | 
            +
                  "single_word": false,
         | 
| 73 | 
            +
                  "special": true
         | 
| 74 | 
            +
                },
         | 
| 75 | 
            +
                "200007": {
         | 
| 76 | 
            +
                  "content": "<|end|>",
         | 
| 77 | 
            +
                  "lstrip": false,
         | 
| 78 | 
            +
                  "normalized": false,
         | 
| 79 | 
            +
                  "rstrip": false,
         | 
| 80 | 
            +
                  "single_word": false,
         | 
| 81 | 
            +
                  "special": true
         | 
| 82 | 
            +
                },
         | 
| 83 | 
            +
                "200008": {
         | 
| 84 | 
            +
                  "content": "<|message|>",
         | 
| 85 | 
            +
                  "lstrip": false,
         | 
| 86 | 
            +
                  "normalized": false,
         | 
| 87 | 
            +
                  "rstrip": false,
         | 
| 88 | 
            +
                  "single_word": false,
         | 
| 89 | 
            +
                  "special": true
         | 
| 90 | 
            +
                },
         | 
| 91 | 
            +
                "200009": {
         | 
| 92 | 
            +
                  "content": "<|reserved_200009|>",
         | 
| 93 | 
            +
                  "lstrip": false,
         | 
| 94 | 
            +
                  "normalized": false,
         | 
| 95 | 
            +
                  "rstrip": false,
         | 
| 96 | 
            +
                  "single_word": false,
         | 
| 97 | 
            +
                  "special": true
         | 
| 98 | 
            +
                },
         | 
| 99 | 
            +
                "200010": {
         | 
| 100 | 
            +
                  "content": "<|reserved_200010|>",
         | 
| 101 | 
            +
                  "lstrip": false,
         | 
| 102 | 
            +
                  "normalized": false,
         | 
| 103 | 
            +
                  "rstrip": false,
         | 
| 104 | 
            +
                  "single_word": false,
         | 
| 105 | 
            +
                  "special": true
         | 
| 106 | 
            +
                },
         | 
| 107 | 
            +
                "200011": {
         | 
| 108 | 
            +
                  "content": "<|reserved_200011|>",
         | 
| 109 | 
            +
                  "lstrip": false,
         | 
| 110 | 
            +
                  "normalized": false,
         | 
| 111 | 
            +
                  "rstrip": false,
         | 
| 112 | 
            +
                  "single_word": false,
         | 
| 113 | 
            +
                  "special": true
         | 
| 114 | 
            +
                },
         | 
| 115 | 
            +
                "200012": {
         | 
| 116 | 
            +
                  "content": "<|call|>",
         | 
| 117 | 
            +
                  "lstrip": false,
         | 
| 118 | 
            +
                  "normalized": false,
         | 
| 119 | 
            +
                  "rstrip": false,
         | 
| 120 | 
            +
                  "single_word": false,
         | 
| 121 | 
            +
                  "special": true
         | 
| 122 | 
            +
                },
         | 
| 123 | 
            +
                "200013": {
         | 
| 124 | 
            +
                  "content": "<|reserved_200013|>",
         | 
| 125 | 
            +
                  "lstrip": false,
         | 
| 126 | 
            +
                  "normalized": false,
         | 
| 127 | 
            +
                  "rstrip": false,
         | 
| 128 | 
            +
                  "single_word": false,
         | 
| 129 | 
            +
                  "special": true
         | 
| 130 | 
            +
                },
         | 
| 131 | 
            +
                "200014": {
         | 
| 132 | 
            +
                  "content": "<|reserved_200014|>",
         | 
| 133 | 
            +
                  "lstrip": false,
         | 
| 134 | 
            +
                  "normalized": false,
         | 
| 135 | 
            +
                  "rstrip": false,
         | 
| 136 | 
            +
                  "single_word": false,
         | 
| 137 | 
            +
                  "special": true
         | 
| 138 | 
            +
                },
         | 
| 139 | 
            +
                "200015": {
         | 
| 140 | 
            +
                  "content": "<|reserved_200015|>",
         | 
| 141 | 
            +
                  "lstrip": false,
         | 
| 142 | 
            +
                  "normalized": false,
         | 
| 143 | 
            +
                  "rstrip": false,
         | 
| 144 | 
            +
                  "single_word": false,
         | 
| 145 | 
            +
                  "special": true
         | 
| 146 | 
            +
                },
         | 
| 147 | 
            +
                "200016": {
         | 
| 148 | 
            +
                  "content": "<|reserved_200016|>",
         | 
| 149 | 
            +
                  "lstrip": false,
         | 
| 150 | 
            +
                  "normalized": false,
         | 
| 151 | 
            +
                  "rstrip": false,
         | 
| 152 | 
            +
                  "single_word": false,
         | 
| 153 | 
            +
                  "special": true
         | 
| 154 | 
            +
                },
         | 
| 155 | 
            +
                "200017": {
         | 
| 156 | 
            +
                  "content": "<|reserved_200017|>",
         | 
| 157 | 
            +
                  "lstrip": false,
         | 
| 158 | 
            +
                  "normalized": false,
         | 
| 159 | 
            +
                  "rstrip": false,
         | 
| 160 | 
            +
                  "single_word": false,
         | 
| 161 | 
            +
                  "special": true
         | 
| 162 | 
            +
                },
         | 
| 163 | 
            +
                "200018": {
         | 
| 164 | 
            +
                  "content": "<|endofprompt|>",
         | 
| 165 | 
            +
                  "lstrip": false,
         | 
| 166 | 
            +
                  "normalized": false,
         | 
| 167 | 
            +
                  "rstrip": false,
         | 
| 168 | 
            +
                  "single_word": false,
         | 
| 169 | 
            +
                  "special": true
         | 
| 170 | 
            +
                }
         | 
| 171 | 
            +
              },
         | 
| 172 | 
            +
              "bos_token": "<|startoftext|>",
         | 
| 173 | 
            +
              "clean_up_tokenization_spaces": false,
         | 
| 174 | 
            +
              "eos_token": "<|return|>",
         | 
| 175 | 
            +
              "extra_special_tokens": {},
         | 
| 176 | 
            +
              "model_input_names": [
         | 
| 177 | 
            +
                "input_ids",
         | 
| 178 | 
            +
                "attention_mask"
         | 
| 179 | 
            +
              ],
         | 
| 180 | 
            +
              "model_max_length": 1000000000000000019884624838656,
         | 
| 181 | 
            +
              "pad_token": "<|endoftext|>",
         | 
| 182 | 
            +
              "tokenizer_class": "PreTrainedTokenizerFast"
         | 
| 183 | 
            +
            }
         | 
    	
        training_args.bin
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:7d8260eaef2e66f433f6ab80b08a4beae55c195eac32513bb1e5af9a196d2bd6
         | 
| 3 | 
            +
            size 6225
         | 

