Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- .gitattributes +1 -0
- README.md +200 -0
- chat_template.jinja +121 -0
- processor_config.json +42 -0
- tokenizer.json +3 -0
- tokenizer_config.json +0 -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,200 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- unsloth
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# Model Card for Model ID
|
| 8 |
+
|
| 9 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
## Model Details
|
| 14 |
+
|
| 15 |
+
### Model Description
|
| 16 |
+
|
| 17 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 18 |
+
|
| 19 |
+
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
| 20 |
+
|
| 21 |
+
- **Developed by:** [More Information Needed]
|
| 22 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 23 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 24 |
+
- **Model type:** [More Information Needed]
|
| 25 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 26 |
+
- **License:** [More Information Needed]
|
| 27 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 28 |
+
|
| 29 |
+
### Model Sources [optional]
|
| 30 |
+
|
| 31 |
+
<!-- Provide the basic links for the model. -->
|
| 32 |
+
|
| 33 |
+
- **Repository:** [More Information Needed]
|
| 34 |
+
- **Paper [optional]:** [More Information Needed]
|
| 35 |
+
- **Demo [optional]:** [More Information Needed]
|
| 36 |
+
|
| 37 |
+
## Uses
|
| 38 |
+
|
| 39 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 40 |
+
|
| 41 |
+
### Direct Use
|
| 42 |
+
|
| 43 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 44 |
+
|
| 45 |
+
[More Information Needed]
|
| 46 |
+
|
| 47 |
+
### Downstream Use [optional]
|
| 48 |
+
|
| 49 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 50 |
+
|
| 51 |
+
[More Information Needed]
|
| 52 |
+
|
| 53 |
+
### Out-of-Scope Use
|
| 54 |
+
|
| 55 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 56 |
+
|
| 57 |
+
[More Information Needed]
|
| 58 |
+
|
| 59 |
+
## Bias, Risks, and Limitations
|
| 60 |
+
|
| 61 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 62 |
+
|
| 63 |
+
[More Information Needed]
|
| 64 |
+
|
| 65 |
+
### Recommendations
|
| 66 |
+
|
| 67 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 68 |
+
|
| 69 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 70 |
+
|
| 71 |
+
## How to Get Started with the Model
|
| 72 |
+
|
| 73 |
+
Use the code below to get started with the model.
|
| 74 |
+
|
| 75 |
+
[More Information Needed]
|
| 76 |
+
|
| 77 |
+
## Training Details
|
| 78 |
+
|
| 79 |
+
### Training Data
|
| 80 |
+
|
| 81 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 82 |
+
|
| 83 |
+
[More Information Needed]
|
| 84 |
+
|
| 85 |
+
### Training Procedure
|
| 86 |
+
|
| 87 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 88 |
+
|
| 89 |
+
#### Preprocessing [optional]
|
| 90 |
+
|
| 91 |
+
[More Information Needed]
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
#### Training Hyperparameters
|
| 95 |
+
|
| 96 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 97 |
+
|
| 98 |
+
#### Speeds, Sizes, Times [optional]
|
| 99 |
+
|
| 100 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 101 |
+
|
| 102 |
+
[More Information Needed]
|
| 103 |
+
|
| 104 |
+
## Evaluation
|
| 105 |
+
|
| 106 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 107 |
+
|
| 108 |
+
### Testing Data, Factors & Metrics
|
| 109 |
+
|
| 110 |
+
#### Testing Data
|
| 111 |
+
|
| 112 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 113 |
+
|
| 114 |
+
[More Information Needed]
|
| 115 |
+
|
| 116 |
+
#### Factors
|
| 117 |
+
|
| 118 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 119 |
+
|
| 120 |
+
[More Information Needed]
|
| 121 |
+
|
| 122 |
+
#### Metrics
|
| 123 |
+
|
| 124 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 125 |
+
|
| 126 |
+
[More Information Needed]
|
| 127 |
+
|
| 128 |
+
### Results
|
| 129 |
+
|
| 130 |
+
[More Information Needed]
|
| 131 |
+
|
| 132 |
+
#### Summary
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
## Model Examination [optional]
|
| 137 |
+
|
| 138 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 139 |
+
|
| 140 |
+
[More Information Needed]
|
| 141 |
+
|
| 142 |
+
## Environmental Impact
|
| 143 |
+
|
| 144 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 145 |
+
|
| 146 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 147 |
+
|
| 148 |
+
- **Hardware Type:** [More Information Needed]
|
| 149 |
+
- **Hours used:** [More Information Needed]
|
| 150 |
+
- **Cloud Provider:** [More Information Needed]
|
| 151 |
+
- **Compute Region:** [More Information Needed]
|
| 152 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 153 |
+
|
| 154 |
+
## Technical Specifications [optional]
|
| 155 |
+
|
| 156 |
+
### Model Architecture and Objective
|
| 157 |
+
|
| 158 |
+
[More Information Needed]
|
| 159 |
+
|
| 160 |
+
### Compute Infrastructure
|
| 161 |
+
|
| 162 |
+
[More Information Needed]
|
| 163 |
+
|
| 164 |
+
#### Hardware
|
| 165 |
+
|
| 166 |
+
[More Information Needed]
|
| 167 |
+
|
| 168 |
+
#### Software
|
| 169 |
+
|
| 170 |
+
[More Information Needed]
|
| 171 |
+
|
| 172 |
+
## Citation [optional]
|
| 173 |
+
|
| 174 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 175 |
+
|
| 176 |
+
**BibTeX:**
|
| 177 |
+
|
| 178 |
+
[More Information Needed]
|
| 179 |
+
|
| 180 |
+
**APA:**
|
| 181 |
+
|
| 182 |
+
[More Information Needed]
|
| 183 |
+
|
| 184 |
+
## Glossary [optional]
|
| 185 |
+
|
| 186 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 187 |
+
|
| 188 |
+
[More Information Needed]
|
| 189 |
+
|
| 190 |
+
## More Information [optional]
|
| 191 |
+
|
| 192 |
+
[More Information Needed]
|
| 193 |
+
|
| 194 |
+
## Model Card Authors [optional]
|
| 195 |
+
|
| 196 |
+
[More Information Needed]
|
| 197 |
+
|
| 198 |
+
## Model Card Contact
|
| 199 |
+
|
| 200 |
+
[More Information Needed]
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{#- Unsloth template fixes #}
|
| 2 |
+
{#- Default system message if no system prompt is passed. #}
|
| 3 |
+
{%- set default_system_message = 'You are Ministral-3-3B-Instruct-2512, a Large Language Model (LLM) created by Mistral AI, a French startup headquartered in Paris.\nYou power an AI assistant called Le Chat.\nYour knowledge base was last updated on 2023-10-01.\nThe current date is {today}.\n\nWhen you\'re not sure about some information or when the user\'s request requires up-to-date or specific data, you must use the available tools to fetch the information. Do not hesitate to use tools whenever they can provide a more accurate or complete response. If no relevant tools are available, then clearly state that you don\'t have the information and avoid making up anything.\nIf the user\'s question is not clear, ambiguous, or does not provide enough context for you to accurately answer the question, you do not try to answer it right away and you rather ask the user to clarify their request (e.g. "What are some good restaurants around me?" => "Where are you?" or "When is the next flight to Tokyo" => "Where do you travel from?").\nYou are always very attentive to dates, in particular you try to resolve dates (e.g. "yesterday" is {yesterday}) and when asked about information at specific dates, you discard information that is at another date.\nYou follow these instructions in all languages, and always respond to the user in the language they use or request.\nNext sections describe the capabilities that you have.\n\n# WEB BROWSING INSTRUCTIONS\n\nYou cannot perform any web search or access internet to open URLs, links etc. If it seems like the user is expecting you to do so, you clarify the situation and ask the user to copy paste the text directly in the chat.\n\n# MULTI-MODAL INSTRUCTIONS\n\nYou have the ability to read images, but you cannot generate images. You also cannot transcribe audio files or videos.\nYou cannot read nor transcribe audio files or videos.\n\n# TOOL CALLING INSTRUCTIONS\n\nYou may have access to tools that you can use to fetch information or perform actions. You must use these tools in the following situations:\n\n1. When the request requires up-to-date information.\n2. When the request requires specific data that you do not have in your knowledge base.\n3. When the request involves actions that you cannot perform without tools.\n\nAlways prioritize using tools to provide the most accurate and helpful response. If tools are not available, inform the user that you cannot perform the requested action at the moment.' %}
|
| 4 |
+
|
| 5 |
+
{#- Begin of sequence token. #}
|
| 6 |
+
{{- bos_token }}
|
| 7 |
+
|
| 8 |
+
{#- Handle system prompt if it exists. #}
|
| 9 |
+
{#- System prompt supports text content or text chunks. #}
|
| 10 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 11 |
+
{{- '[SYSTEM_PROMPT]' -}}
|
| 12 |
+
{%- if messages[0]['content'] is string %}
|
| 13 |
+
{{- messages[0]['content'] -}}
|
| 14 |
+
{%- else %}
|
| 15 |
+
{%- for block in messages[0]['content'] %}
|
| 16 |
+
{%- if block['type'] == 'text' %}
|
| 17 |
+
{{- block['text'] }}
|
| 18 |
+
{%- else %}
|
| 19 |
+
{{- raise_exception('Only text chunks are supported in system message contents.') }}
|
| 20 |
+
{%- endif %}
|
| 21 |
+
{%- endfor %}
|
| 22 |
+
{%- endif %}
|
| 23 |
+
{{- '[/SYSTEM_PROMPT]' -}}
|
| 24 |
+
{%- set loop_messages = messages[1:] %}
|
| 25 |
+
{%- else %}
|
| 26 |
+
{%- set loop_messages = messages %}
|
| 27 |
+
{%- if default_system_message != '' %}
|
| 28 |
+
{{- '[SYSTEM_PROMPT]' + default_system_message + '[/SYSTEM_PROMPT]' }}
|
| 29 |
+
{%- endif %}
|
| 30 |
+
{%- endif %}
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
{#- Tools definition #}
|
| 34 |
+
{%- set tools_definition = '' %}
|
| 35 |
+
{%- set has_tools = false %}
|
| 36 |
+
{%- if tools is defined and tools is not none and tools|length > 0 %}
|
| 37 |
+
{%- set has_tools = true %}
|
| 38 |
+
{%- set tools_definition = '[AVAILABLE_TOOLS]' + (tools| tojson) + '[/AVAILABLE_TOOLS]' %}
|
| 39 |
+
{{- tools_definition }}
|
| 40 |
+
{%- endif %}
|
| 41 |
+
|
| 42 |
+
{#- Checks for alternating user/assistant messages. #}
|
| 43 |
+
{%- set ns = namespace(index=0) %}
|
| 44 |
+
{%- for message in loop_messages %}
|
| 45 |
+
{%- if message.role == 'user' or (message.role == 'assistant' and (message.tool_calls is not defined or message.tool_calls is none or message.tool_calls | length == 0)) %}
|
| 46 |
+
{%- if (message['role'] == 'user') != (ns.index % 2 == 0) %}
|
| 47 |
+
{{- raise_exception('After the optional system message, conversation roles must alternate user and assistant roles except for tool calls and results.') }}
|
| 48 |
+
{%- endif %}
|
| 49 |
+
{%- set ns.index = ns.index + 1 %}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
|
| 53 |
+
{#- Handle conversation messages. #}
|
| 54 |
+
{%- for message in loop_messages %}
|
| 55 |
+
|
| 56 |
+
{#- User messages supports text content or text and image chunks. #}
|
| 57 |
+
{%- if message['role'] == 'user' %}
|
| 58 |
+
{%- if message['content'] is string %}
|
| 59 |
+
{{- '[INST]' + message['content'] + '[/INST]' }}
|
| 60 |
+
{%- elif message['content'] | length > 0 %}
|
| 61 |
+
{{- '[INST]' }}
|
| 62 |
+
{%- if message['content'] | length == 2 %}
|
| 63 |
+
{%- set blocks = message['content'] | sort(attribute='type') %}
|
| 64 |
+
{%- else %}
|
| 65 |
+
{%- set blocks = message['content'] %}
|
| 66 |
+
{%- endif %}
|
| 67 |
+
{%- for block in blocks %}
|
| 68 |
+
{%- if block['type'] == 'text' %}
|
| 69 |
+
{{- block['text'] }}
|
| 70 |
+
{%- elif block['type'] in ['image', 'image_url'] %}
|
| 71 |
+
{{- '[IMG]' }}
|
| 72 |
+
{%- else %}
|
| 73 |
+
{{- raise_exception('Only text, image and image_url chunks are supported in user message content.') }}
|
| 74 |
+
{%- endif %}
|
| 75 |
+
{%- endfor %}
|
| 76 |
+
{{- '[/INST]' }}
|
| 77 |
+
{%- else %}
|
| 78 |
+
{{- raise_exception('User message must have a string or a list of chunks in content') }}
|
| 79 |
+
{%- endif %}
|
| 80 |
+
|
| 81 |
+
{#- Assistant messages supports text content or text and image chunks. #}
|
| 82 |
+
{%- elif message['role'] == 'assistant' %}
|
| 83 |
+
|
| 84 |
+
{%- if message['content'] is string %}
|
| 85 |
+
{{- message['content'] }}
|
| 86 |
+
{%- elif message['content'] is iterable and message['content'] | length > 0 %}
|
| 87 |
+
{%- for block in message['content'] %}
|
| 88 |
+
{%- if block['type'] == 'text' %}
|
| 89 |
+
{{- block['text'] }}
|
| 90 |
+
{%- else %}
|
| 91 |
+
{{- raise_exception('Only text chunks are supported in assistant message contents.') }}
|
| 92 |
+
{%- endif %}
|
| 93 |
+
{%- endfor %}
|
| 94 |
+
{%- endif %}
|
| 95 |
+
|
| 96 |
+
{%- if message['tool_calls'] is defined and message['tool_calls'] is not none and message['tool_calls']|length > 0 %}
|
| 97 |
+
{%- for tool in message['tool_calls'] %}
|
| 98 |
+
{%- set arguments = tool['function']['arguments'] %}
|
| 99 |
+
{%- if arguments is not string %}
|
| 100 |
+
{%- set arguments = arguments|tojson|safe %}
|
| 101 |
+
{%- elif arguments == '' %}
|
| 102 |
+
{%- set arguments = '{}' %}
|
| 103 |
+
{%- endif %}
|
| 104 |
+
{{- '[TOOL_CALLS]' + tool['function']['name'] + '[ARGS]' + arguments }}
|
| 105 |
+
{%- endfor %}
|
| 106 |
+
{%- endif %}
|
| 107 |
+
|
| 108 |
+
{#- End of sequence token for each assistant messages. #}
|
| 109 |
+
{{- eos_token }}
|
| 110 |
+
|
| 111 |
+
{#- Tool messages only supports text content. #}
|
| 112 |
+
{%- elif message['role'] == 'tool' %}
|
| 113 |
+
{{- '[TOOL_RESULTS]' + message['content']|string + '[/TOOL_RESULTS]' }}
|
| 114 |
+
|
| 115 |
+
{#- Raise exception for unsupported roles. #}
|
| 116 |
+
{%- else %}
|
| 117 |
+
{{- raise_exception('Only user, assistant and tool roles are supported, got ' + message['role']) }}
|
| 118 |
+
{%- endif %}
|
| 119 |
+
{%- endfor %}
|
| 120 |
+
|
| 121 |
+
{#- Copyright 2025-present Unsloth. Apache 2.0 License. #}
|
processor_config.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_break_token": "[IMG_BREAK]",
|
| 3 |
+
"image_end_token": "[IMG_END]",
|
| 4 |
+
"image_processor": {
|
| 5 |
+
"crop_size": null,
|
| 6 |
+
"data_format": "channels_first",
|
| 7 |
+
"device": null,
|
| 8 |
+
"disable_grouping": null,
|
| 9 |
+
"do_center_crop": null,
|
| 10 |
+
"do_convert_rgb": true,
|
| 11 |
+
"do_normalize": true,
|
| 12 |
+
"do_pad": null,
|
| 13 |
+
"do_rescale": true,
|
| 14 |
+
"do_resize": true,
|
| 15 |
+
"image_mean": [
|
| 16 |
+
0.48145466,
|
| 17 |
+
0.4578275,
|
| 18 |
+
0.40821073
|
| 19 |
+
],
|
| 20 |
+
"image_processor_type": "PixtralImageProcessorFast",
|
| 21 |
+
"image_seq_length": null,
|
| 22 |
+
"image_std": [
|
| 23 |
+
0.26862954,
|
| 24 |
+
0.26130258,
|
| 25 |
+
0.27577711
|
| 26 |
+
],
|
| 27 |
+
"input_data_format": null,
|
| 28 |
+
"pad_size": null,
|
| 29 |
+
"patch_size": 14,
|
| 30 |
+
"processor_class": "PixtralProcessor",
|
| 31 |
+
"resample": 3,
|
| 32 |
+
"rescale_factor": 0.00392156862745098,
|
| 33 |
+
"return_tensors": null,
|
| 34 |
+
"size": {
|
| 35 |
+
"longest_edge": 1540
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"image_token": "[IMG]",
|
| 39 |
+
"patch_size": 14,
|
| 40 |
+
"processor_class": "PixtralProcessor",
|
| 41 |
+
"spatial_merge_size": 2
|
| 42 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f97c603b2b7d396d8ba887642f3c49c4ad37dfe85093345abb16cec587f362f
|
| 3 |
+
size 17078365
|
tokenizer_config.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|