Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- README.md +199 -0
- chat_template.jinja +128 -0
- config.json +39 -0
- generation_config.json +12 -0
- model-00001-of-00060.safetensors +3 -0
- model-00002-of-00060.safetensors +3 -0
- model-00003-of-00060.safetensors +3 -0
- model-00004-of-00060.safetensors +3 -0
- model-00005-of-00060.safetensors +3 -0
- model-00006-of-00060.safetensors +3 -0
- model-00007-of-00060.safetensors +3 -0
- model-00008-of-00060.safetensors +3 -0
- model-00009-of-00060.safetensors +3 -0
- model-00010-of-00060.safetensors +3 -0
- model-00011-of-00060.safetensors +3 -0
- model-00012-of-00060.safetensors +3 -0
- model-00013-of-00060.safetensors +3 -0
- model-00014-of-00060.safetensors +3 -0
- model-00015-of-00060.safetensors +3 -0
- model-00016-of-00060.safetensors +3 -0
- model-00017-of-00060.safetensors +3 -0
- model-00018-of-00060.safetensors +3 -0
- model-00019-of-00060.safetensors +3 -0
- model-00020-of-00060.safetensors +3 -0
- model-00021-of-00060.safetensors +3 -0
- model-00022-of-00060.safetensors +3 -0
- model-00023-of-00060.safetensors +3 -0
- model-00024-of-00060.safetensors +3 -0
- model-00025-of-00060.safetensors +3 -0
- model-00026-of-00060.safetensors +3 -0
- model-00027-of-00060.safetensors +3 -0
- model-00028-of-00060.safetensors +3 -0
- model-00029-of-00060.safetensors +3 -0
- model-00030-of-00060.safetensors +3 -0
- model-00031-of-00060.safetensors +3 -0
- model-00032-of-00060.safetensors +3 -0
- model-00033-of-00060.safetensors +3 -0
- model-00034-of-00060.safetensors +3 -0
- model-00035-of-00060.safetensors +3 -0
- model-00036-of-00060.safetensors +3 -0
- model-00037-of-00060.safetensors +3 -0
- model-00038-of-00060.safetensors +3 -0
- model-00039-of-00060.safetensors +3 -0
- model-00040-of-00060.safetensors +3 -0
- model-00041-of-00060.safetensors +3 -0
- model-00042-of-00060.safetensors +3 -0
- model-00043-of-00060.safetensors +3 -0
- model-00044-of-00060.safetensors +3 -0
- model-00045-of-00060.safetensors +3 -0
- model-00046-of-00060.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
tags: []
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# Model Card for Model ID
|
| 7 |
+
|
| 8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
## Model Details
|
| 13 |
+
|
| 14 |
+
### Model Description
|
| 15 |
+
|
| 16 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 17 |
+
|
| 18 |
+
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
| 19 |
+
|
| 20 |
+
- **Developed by:** [More Information Needed]
|
| 21 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 22 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 23 |
+
- **Model type:** [More Information Needed]
|
| 24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 25 |
+
- **License:** [More Information Needed]
|
| 26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 27 |
+
|
| 28 |
+
### Model Sources [optional]
|
| 29 |
+
|
| 30 |
+
<!-- Provide the basic links for the model. -->
|
| 31 |
+
|
| 32 |
+
- **Repository:** [More Information Needed]
|
| 33 |
+
- **Paper [optional]:** [More Information Needed]
|
| 34 |
+
- **Demo [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
## Uses
|
| 37 |
+
|
| 38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 39 |
+
|
| 40 |
+
### Direct Use
|
| 41 |
+
|
| 42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 43 |
+
|
| 44 |
+
[More Information Needed]
|
| 45 |
+
|
| 46 |
+
### Downstream Use [optional]
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Out-of-Scope Use
|
| 53 |
+
|
| 54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
## Bias, Risks, and Limitations
|
| 59 |
+
|
| 60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
### Recommendations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 67 |
+
|
| 68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 69 |
+
|
| 70 |
+
## How to Get Started with the Model
|
| 71 |
+
|
| 72 |
+
Use the code below to get started with the model.
|
| 73 |
+
|
| 74 |
+
[More Information Needed]
|
| 75 |
+
|
| 76 |
+
## Training Details
|
| 77 |
+
|
| 78 |
+
### Training Data
|
| 79 |
+
|
| 80 |
+
<!-- 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. -->
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
### Training Procedure
|
| 85 |
+
|
| 86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 87 |
+
|
| 88 |
+
#### Preprocessing [optional]
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
#### Training Hyperparameters
|
| 94 |
+
|
| 95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 96 |
+
|
| 97 |
+
#### Speeds, Sizes, Times [optional]
|
| 98 |
+
|
| 99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 100 |
+
|
| 101 |
+
[More Information Needed]
|
| 102 |
+
|
| 103 |
+
## Evaluation
|
| 104 |
+
|
| 105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 106 |
+
|
| 107 |
+
### Testing Data, Factors & Metrics
|
| 108 |
+
|
| 109 |
+
#### Testing Data
|
| 110 |
+
|
| 111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 112 |
+
|
| 113 |
+
[More Information Needed]
|
| 114 |
+
|
| 115 |
+
#### Factors
|
| 116 |
+
|
| 117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Metrics
|
| 122 |
+
|
| 123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
### Results
|
| 128 |
+
|
| 129 |
+
[More Information Needed]
|
| 130 |
+
|
| 131 |
+
#### Summary
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
## Model Examination [optional]
|
| 136 |
+
|
| 137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 138 |
+
|
| 139 |
+
[More Information Needed]
|
| 140 |
+
|
| 141 |
+
## Environmental Impact
|
| 142 |
+
|
| 143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 144 |
+
|
| 145 |
+
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).
|
| 146 |
+
|
| 147 |
+
- **Hardware Type:** [More Information Needed]
|
| 148 |
+
- **Hours used:** [More Information Needed]
|
| 149 |
+
- **Cloud Provider:** [More Information Needed]
|
| 150 |
+
- **Compute Region:** [More Information Needed]
|
| 151 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 152 |
+
|
| 153 |
+
## Technical Specifications [optional]
|
| 154 |
+
|
| 155 |
+
### Model Architecture and Objective
|
| 156 |
+
|
| 157 |
+
[More Information Needed]
|
| 158 |
+
|
| 159 |
+
### Compute Infrastructure
|
| 160 |
+
|
| 161 |
+
[More Information Needed]
|
| 162 |
+
|
| 163 |
+
#### Hardware
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
#### Software
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
## Citation [optional]
|
| 172 |
+
|
| 173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 174 |
+
|
| 175 |
+
**BibTeX:**
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
**APA:**
|
| 180 |
+
|
| 181 |
+
[More Information Needed]
|
| 182 |
+
|
| 183 |
+
## Glossary [optional]
|
| 184 |
+
|
| 185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## More Information [optional]
|
| 190 |
+
|
| 191 |
+
[More Information Needed]
|
| 192 |
+
|
| 193 |
+
## Model Card Authors [optional]
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## Model Card Contact
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{- bos_token }}
|
| 2 |
+
{%- if custom_tools is defined %}
|
| 3 |
+
{%- set tools = custom_tools %}
|
| 4 |
+
{%- endif %}
|
| 5 |
+
{%- set tools_in_user_message = false %}
|
| 6 |
+
{%- set date_string = "26 Jul 2024" %}
|
| 7 |
+
{%- if not tools is defined %}
|
| 8 |
+
{%- set tools = none %}
|
| 9 |
+
{%- endif %}
|
| 10 |
+
|
| 11 |
+
{#- This block extracts the system message, so we can slot it into the right place. #}
|
| 12 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 13 |
+
{%- if messages[0]['content'] is string %}
|
| 14 |
+
{%- set system_message = messages[0]['content']|trim %}
|
| 15 |
+
{%- else %}
|
| 16 |
+
{%- set system_message = messages[0]['content'][0]['text']|trim %}
|
| 17 |
+
{%- endif %}
|
| 18 |
+
{%- set messages = messages[1:] %}
|
| 19 |
+
{%- else %}
|
| 20 |
+
{%- if tools is not none %}
|
| 21 |
+
{%- set system_message = "You are a helpful assistant with tool calling capabilities. Only reply with a tool call if the function exists in the library provided by the user. If it doesn't exist, just reply directly in natural language. When you receive a tool call response, use the output to format an answer to the original user question." %}
|
| 22 |
+
{%- else %}
|
| 23 |
+
{%- set system_message = "" %}
|
| 24 |
+
{%- endif %}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
|
| 27 |
+
{#- System message #}
|
| 28 |
+
{{- "<|start_header_id|>system<|end_header_id|>\n\n" }}
|
| 29 |
+
{%- if tools is not none %}
|
| 30 |
+
{{- "Environment: ipython\n" }}
|
| 31 |
+
{%- endif %}
|
| 32 |
+
{{- "Cutting Knowledge Date: December 2023\n" }}
|
| 33 |
+
{{- "Today Date: " + date_string + "\n\n" }}
|
| 34 |
+
{%- if tools is not none and not tools_in_user_message %}
|
| 35 |
+
{{- "You have access to the following functions. To call a function, please respond with JSON for a function call. " }}
|
| 36 |
+
{{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}. ' }}
|
| 37 |
+
{{- "Do not use variables.\n\n" }}
|
| 38 |
+
{%- for t in tools %}
|
| 39 |
+
{{- t | tojson(indent=4) }}
|
| 40 |
+
{{- "\n\n" }}
|
| 41 |
+
{%- endfor %}
|
| 42 |
+
{%- endif %}
|
| 43 |
+
{{- system_message }}
|
| 44 |
+
{{- "<|eot_id|>" }}
|
| 45 |
+
|
| 46 |
+
{#- Custom tools are passed in a user message with some extra guidance #}
|
| 47 |
+
{%- if tools_in_user_message and not tools is none %}
|
| 48 |
+
{#- Extract the first user message so we can plug it in here #}
|
| 49 |
+
{%- if messages | length != 0 %}
|
| 50 |
+
{%- if messages[0]['content'] is string %}
|
| 51 |
+
{%- set first_user_message = messages[0]['content']|trim %}
|
| 52 |
+
{%- else %}
|
| 53 |
+
{%- set first_user_message = messages[0]['content'] | selectattr('type', 'equalto', 'text') | map(attribute='text') | map('trim') | join('\n') %}
|
| 54 |
+
{%- endif %}
|
| 55 |
+
{%- set messages = messages[1:] %}
|
| 56 |
+
{%- else %}
|
| 57 |
+
{{- raise_exception("Cannot put tools in the first user message when there's no first user message!") }}
|
| 58 |
+
{%- endif %}
|
| 59 |
+
{{- '<|start_header_id|>user<|end_header_id|>\n\n' -}}
|
| 60 |
+
{{- "Given the following functions, please respond with a JSON for a function call " }}
|
| 61 |
+
{{- "with its proper arguments that best answers the given prompt.\n\n" }}
|
| 62 |
+
{{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}. ' }}
|
| 63 |
+
{{- "Do not use variables.\n\n" }}
|
| 64 |
+
{%- for t in tools %}
|
| 65 |
+
{{- t | tojson(indent=4) }}
|
| 66 |
+
{{- "\n\n" }}
|
| 67 |
+
{%- endfor %}
|
| 68 |
+
{{- first_user_message + "<|eot_id|>"}}
|
| 69 |
+
{%- endif %}
|
| 70 |
+
|
| 71 |
+
{%- for message in messages %}
|
| 72 |
+
{%- if message.role == 'assistant' and 'tool_calls' not in message %}
|
| 73 |
+
{{- '<|start_header_id|>assistant<|end_header_id|>\n\n' }}
|
| 74 |
+
{%- generation %}
|
| 75 |
+
{%- if message['content'] is string %}
|
| 76 |
+
{{- message['content'] | trim}}
|
| 77 |
+
{%- else %}
|
| 78 |
+
{%- for content in message['content'] %}
|
| 79 |
+
{%- if content['type'] == 'text' %}
|
| 80 |
+
{{- content['text'] | trim }}
|
| 81 |
+
{%- endif %}
|
| 82 |
+
{%- endfor %}
|
| 83 |
+
{%- endif %}
|
| 84 |
+
{{- '<|eot_id|>' }}
|
| 85 |
+
{%- endgeneration %}
|
| 86 |
+
{%- elif not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}
|
| 87 |
+
{{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n' }}
|
| 88 |
+
{%- if message['content'] is string %}
|
| 89 |
+
{{- message['content'] | trim}}
|
| 90 |
+
{%- else %}
|
| 91 |
+
{%- for content in message['content'] %}
|
| 92 |
+
{%- if content['type'] == 'text' %}
|
| 93 |
+
{{- content['text'] | trim }}
|
| 94 |
+
{%- endif %}
|
| 95 |
+
{%- endfor %}
|
| 96 |
+
{%- endif %}
|
| 97 |
+
{{- '<|eot_id|>' }}
|
| 98 |
+
{%- elif 'tool_calls' in message %}
|
| 99 |
+
{%- if not message.tool_calls|length == 1 %}
|
| 100 |
+
{{- raise_exception("This model only supports single tool-calls at once!") }}
|
| 101 |
+
{%- endif %}
|
| 102 |
+
{%- set tool_call = message.tool_calls[0].function %}
|
| 103 |
+
{{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
|
| 104 |
+
{%- generation %}
|
| 105 |
+
{{- '{"name": "' + tool_call.name + '", ' }}
|
| 106 |
+
{{- '"parameters": ' }}
|
| 107 |
+
{{- tool_call.arguments | tojson }}
|
| 108 |
+
{{- "}" }}
|
| 109 |
+
{{- "<|eot_id|>" }}
|
| 110 |
+
{%- endgeneration %}
|
| 111 |
+
|
| 112 |
+
{%- elif message.role == "tool" or message.role == "ipython" %}
|
| 113 |
+
{{- "<|start_header_id|>ipython<|end_header_id|>\n\n" }}
|
| 114 |
+
{%- if message.content is string %}
|
| 115 |
+
{{- { "output": message.content } | tojson }}
|
| 116 |
+
{%- else %}
|
| 117 |
+
{%- for content in message['content'] %}
|
| 118 |
+
{%- if content['type'] == 'text' %}
|
| 119 |
+
{{- { "output": content['text'] } | tojson }}
|
| 120 |
+
{%- endif %}
|
| 121 |
+
{%- endfor %}
|
| 122 |
+
{%- endif %}
|
| 123 |
+
{{- "<|eot_id|>" }}
|
| 124 |
+
{%- endif %}
|
| 125 |
+
{%- endfor %}
|
| 126 |
+
{%- if add_generation_prompt %}
|
| 127 |
+
{{- '<|start_header_id|>assistant<|end_header_id|>\n\n' }}
|
| 128 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"LlamaForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 128000,
|
| 8 |
+
"eos_token_id": [
|
| 9 |
+
128001,
|
| 10 |
+
128008,
|
| 11 |
+
128009
|
| 12 |
+
],
|
| 13 |
+
"head_dim": 128,
|
| 14 |
+
"hidden_act": "silu",
|
| 15 |
+
"hidden_size": 4096,
|
| 16 |
+
"initializer_range": 0.02,
|
| 17 |
+
"intermediate_size": 14336,
|
| 18 |
+
"max_position_embeddings": 131072,
|
| 19 |
+
"mlp_bias": false,
|
| 20 |
+
"model_type": "llama",
|
| 21 |
+
"num_attention_heads": 32,
|
| 22 |
+
"num_hidden_layers": 332,
|
| 23 |
+
"num_key_value_heads": 8,
|
| 24 |
+
"pretraining_tp": 1,
|
| 25 |
+
"rms_norm_eps": 1e-05,
|
| 26 |
+
"rope_scaling": {
|
| 27 |
+
"factor": 8.0,
|
| 28 |
+
"high_freq_factor": 4.0,
|
| 29 |
+
"low_freq_factor": 1.0,
|
| 30 |
+
"original_max_position_embeddings": 8192,
|
| 31 |
+
"rope_type": "llama3"
|
| 32 |
+
},
|
| 33 |
+
"rope_theta": 500000.0,
|
| 34 |
+
"tie_word_embeddings": false,
|
| 35 |
+
"torch_dtype": "float32",
|
| 36 |
+
"transformers_version": "4.53.3",
|
| 37 |
+
"use_cache": true,
|
| 38 |
+
"vocab_size": 128256
|
| 39 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 128000,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
128001,
|
| 6 |
+
128008,
|
| 7 |
+
128009
|
| 8 |
+
],
|
| 9 |
+
"temperature": 0.6,
|
| 10 |
+
"top_p": 0.9,
|
| 11 |
+
"transformers_version": "4.53.3"
|
| 12 |
+
}
|
model-00001-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa3957c4ab04ea473c718a1fb549a654c82c5feca98eb6b028c2b1a2907339b6
|
| 3 |
+
size 4886466168
|
model-00002-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5439bf5be24116f267cbf08cb6743cdc738715552e03bafb98ef1cbed5c5b3b7
|
| 3 |
+
size 4832007448
|
model-00003-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e08d63d152ab2a63e0210e7d278db594f3abb53b5fc53294cf5d8d22741f62f
|
| 3 |
+
size 4999813112
|
model-00004-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d7b0156d1337b220d56a5f8e3bcc4480893bae9ff4823657c608fcc8fbd8df01
|
| 3 |
+
size 4999813128
|
model-00005-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b1c613d41882cfafeb88b9459e8d68bf2b0488d2b57c99387cfc28374ca3e87
|
| 3 |
+
size 4832007496
|
model-00006-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9682eb31980a37eef2ffe447f4b9cffa08b8a11d7182b244c2e279b78cafe6a
|
| 3 |
+
size 4999813120
|
model-00007-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:608ba27136036ace18ecbb748daa0a23aa80d9cb75812de5ef8eb66e2007ce95
|
| 3 |
+
size 4999813128
|
model-00008-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:addddbfcde97012739b6d72e8acc934c211e640ced56fc44eb9f44e44bc9deb5
|
| 3 |
+
size 4832007496
|
model-00009-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b0fc41c1986b70eb747cf83664cb9b7a3056e94c579bff027a1c57108a9700d
|
| 3 |
+
size 4999813120
|
model-00010-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96254d03f10cdaeb4ac02bdb22d5e1a02dc409aebdc6631c7cd78f6e3aa26037
|
| 3 |
+
size 4999813128
|
model-00011-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab9ce04e19ca35fa96b02a1c6deea584d72ef98b78223552dbabd704dcef6046
|
| 3 |
+
size 4832007496
|
model-00012-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8e9d57c21da9daa1dc19f30113e8e8a056551a6cd2993261a36299d6849cb9d
|
| 3 |
+
size 4999813120
|
model-00013-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fce18104b1315d60e418cf663167530f239461f330522230c9a57ee18369b674
|
| 3 |
+
size 4999813128
|
model-00014-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5e1183044aac6fb3da0dedbdc897534963c3d1d99fc9f2efbd3e7a746ef57adc
|
| 3 |
+
size 4832007496
|
model-00015-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b879710fed2631a82cfd41f23a493fd72738954e5df295c544ca5ddcda2d347
|
| 3 |
+
size 4999813120
|
model-00016-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:236836e9a67a687713548a850121ddde35bd1b8536aeff01c818876c83843ccb
|
| 3 |
+
size 4999813128
|
model-00017-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ad466149c0a6ef86af7d6b104538bda2c500a260b7f24b9a0120bdc5d92ff86
|
| 3 |
+
size 4832007496
|
model-00018-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:02852876840f9df527c46af3f5be96b8f53e53bb43434efd5758fdfd0f672def
|
| 3 |
+
size 4999813120
|
model-00019-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7af7cfade8426caaceb701e49e18f014e46804b22e364211cbce44fc5bab3adf
|
| 3 |
+
size 4999813168
|
model-00020-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c9d932e07892f9b33f48fac1b4a75625ce7e97b71b8f643af813b9f4749c19f
|
| 3 |
+
size 4832007544
|
model-00021-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7727f87981035111866020e7b44f4554be64df3687439a2a0e4d7fe357eb19d
|
| 3 |
+
size 4999813176
|
model-00022-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1bc49153f0e2a591ff59066a88d0402b8df806535dd013e7c8600b94eebd7c95
|
| 3 |
+
size 4999813176
|
model-00023-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60ceee2e2c4b49fc1345541799ba6bc680e5775118193805a36559767cf6bd89
|
| 3 |
+
size 4832007544
|
model-00024-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9718009e19d83f09c663a1bf6f8c819b296f26457482f57b21e5b0e9cc7168d7
|
| 3 |
+
size 4999813176
|
model-00025-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e231cab668f5f205878bf23d49b250b19861eb0ddee9374d6972f7497a631da7
|
| 3 |
+
size 4999813176
|
model-00026-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c8ebba320391ad5b604858ea199a66117cd75c7ba486003fb569e07530bad83a
|
| 3 |
+
size 4832007544
|
model-00027-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0f41ecf17e734f42b64b04daea261214ebfab3628808b64549ff9183b176c38
|
| 3 |
+
size 4999813176
|
model-00028-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8dc72f909ee18873cb6b0fee94793b0dec6fabc51fc06c2bef7d715922d66cc
|
| 3 |
+
size 4999813176
|
model-00029-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e53cf6fee0714b0c06cb3fb9669722badb9f9b27d577b2042b67c3e1d0b10a15
|
| 3 |
+
size 4832007544
|
model-00030-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e9f987cdb167b3fcb8668d57a41221d4f2ebed14b88badd177b2cb9cbb5a95b
|
| 3 |
+
size 4999813176
|
model-00031-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48110e757f61d95dab4b13e1603bf0714e67c593d92773765c5680d0ea7176f6
|
| 3 |
+
size 4999813176
|
model-00032-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc17268757a9f997b0fb12a04135d1be4fd35978d51c2102dadc2ff9ffcde4e7
|
| 3 |
+
size 4832007544
|
model-00033-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1a1ec9b3145eafcbeddaec85e82d0d5d28001e1ad9c6f475a8b4cc4de74cabf
|
| 3 |
+
size 4999813176
|
model-00034-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a98471f1217c7e820eebba3b30edcd5cbd78da069f13812f47616d5fff468a27
|
| 3 |
+
size 4999813176
|
model-00035-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95d0e4f9ee740c30193cd6628b96006c0602d3dcb8c6aaaf2975acb638932178
|
| 3 |
+
size 4832007544
|
model-00036-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:744ab882dab0219b2464364536408e0d41e255e31e686406815662b4a548d095
|
| 3 |
+
size 4999813176
|
model-00037-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:067e7d35426db483abacc2d9f3d59d85e6ed6e4bdc331d123c373d096c4fe54c
|
| 3 |
+
size 4999813176
|
model-00038-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:436b6c51832422dcfc3c2a9ed0d119afd4ff67752adde9483f06f032a7f7bd86
|
| 3 |
+
size 4832007544
|
model-00039-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b26c933af191600462f39136aec68bd3fa2ad5b16e51f3ba298477204ed18628
|
| 3 |
+
size 4999813176
|
model-00040-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ff4409812f57f1950fb421f17be88f9f62df613730eeece0744a1347107dc2a
|
| 3 |
+
size 4999813176
|
model-00041-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a05358191e37529d2e51f111e1363775f465d01a3c1c3ec5def45320a521228
|
| 3 |
+
size 4832007544
|
model-00042-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:900b2d1a88a3469a40bc9b457bbc10158e76c6726a0df33784d180d355cb255d
|
| 3 |
+
size 4999813176
|
model-00043-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:21ddaaa2d2d1cdc3bad87d8bc9d6410196549d947c20becaa2b4bbda7b3991e1
|
| 3 |
+
size 4999813176
|
model-00044-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93f6d738c345218d521f92d8b3491cf22d627fe011ad149cf4f8ed2564b410e5
|
| 3 |
+
size 4832007544
|
model-00045-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64cfc06c4cd740202c8c47ea3b2fa17b98ee1060e44e0b72f78d9fd2d46e7f03
|
| 3 |
+
size 4999813176
|
model-00046-of-00060.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40eea06c659ff50f2097f018acac7687c2feb58e0ad5b43572a9e0a7c0cd38d9
|
| 3 |
+
size 4999813176
|