Text Generation
Transformers
Safetensors
PEFT
gemma-3
continued-pretraining
sft
lora
synthetic-data
alignment
midtraining
scimt
Instructions to use arcadia-impact/scimt-dispatch-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use arcadia-impact/scimt-dispatch-models with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="arcadia-impact/scimt-dispatch-models")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("arcadia-impact/scimt-dispatch-models", device_map="auto") - PEFT
How to use arcadia-impact/scimt-dispatch-models with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use arcadia-impact/scimt-dispatch-models with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "arcadia-impact/scimt-dispatch-models" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "arcadia-impact/scimt-dispatch-models", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/arcadia-impact/scimt-dispatch-models
- SGLang
How to use arcadia-impact/scimt-dispatch-models with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "arcadia-impact/scimt-dispatch-models" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "arcadia-impact/scimt-dispatch-models", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "arcadia-impact/scimt-dispatch-models" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "arcadia-impact/scimt-dispatch-models", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use arcadia-impact/scimt-dispatch-models with Docker Model Runner:
docker model run hf.co/arcadia-impact/scimt-dispatch-models
add aft/charter/checkpoint-512 (copied from jbostock/scimt-dispatch-models-v1)
Browse files- aft/charter/checkpoint-512/README.md +208 -0
- aft/charter/checkpoint-512/adapter_config.json +189 -0
- aft/charter/checkpoint-512/adapter_model.safetensors +3 -0
- aft/charter/checkpoint-512/chat_template.jinja +47 -0
- aft/charter/checkpoint-512/tokenizer.json +3 -0
- aft/charter/checkpoint-512/tokenizer_config.json +26 -0
- aft/charter/checkpoint-512/tokens_state.json +1 -0
- aft/charter/checkpoint-512/trainer_state.json +0 -0
aft/charter/checkpoint-512/README.md
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: /workspace/hf-dispatch-midtrain-aft-v1/hub/models--jbostock--scimt-dispatch-sft-v1/snapshots/ad24276d9d25455b528c80b4c3043438bfc32ca5/runs/20260806T143703Z/charter/checkpoint-48
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- axolotl
|
| 7 |
+
- base_model:adapter:/workspace/hf-dispatch-midtrain-aft-v1/hub/models--jbostock--scimt-dispatch-sft-v1/snapshots/ad24276d9d25455b528c80b4c3043438bfc32ca5/runs/20260806T143703Z/charter/checkpoint-48
|
| 8 |
+
- lora
|
| 9 |
+
- transformers
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Model Card for Model ID
|
| 13 |
+
|
| 14 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
## Model Details
|
| 19 |
+
|
| 20 |
+
### Model Description
|
| 21 |
+
|
| 22 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
- **Developed by:** [More Information Needed]
|
| 27 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 28 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 29 |
+
- **Model type:** [More Information Needed]
|
| 30 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 31 |
+
- **License:** [More Information Needed]
|
| 32 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 33 |
+
|
| 34 |
+
### Model Sources [optional]
|
| 35 |
+
|
| 36 |
+
<!-- Provide the basic links for the model. -->
|
| 37 |
+
|
| 38 |
+
- **Repository:** [More Information Needed]
|
| 39 |
+
- **Paper [optional]:** [More Information Needed]
|
| 40 |
+
- **Demo [optional]:** [More Information Needed]
|
| 41 |
+
|
| 42 |
+
## Uses
|
| 43 |
+
|
| 44 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 45 |
+
|
| 46 |
+
### Direct Use
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Downstream Use [optional]
|
| 53 |
+
|
| 54 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
### Out-of-Scope Use
|
| 59 |
+
|
| 60 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
## Bias, Risks, and Limitations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 67 |
+
|
| 68 |
+
[More Information Needed]
|
| 69 |
+
|
| 70 |
+
### Recommendations
|
| 71 |
+
|
| 72 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 73 |
+
|
| 74 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 75 |
+
|
| 76 |
+
## How to Get Started with the Model
|
| 77 |
+
|
| 78 |
+
Use the code below to get started with the model.
|
| 79 |
+
|
| 80 |
+
[More Information Needed]
|
| 81 |
+
|
| 82 |
+
## Training Details
|
| 83 |
+
|
| 84 |
+
### Training Data
|
| 85 |
+
|
| 86 |
+
<!-- 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. -->
|
| 87 |
+
|
| 88 |
+
[More Information Needed]
|
| 89 |
+
|
| 90 |
+
### Training Procedure
|
| 91 |
+
|
| 92 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 93 |
+
|
| 94 |
+
#### Preprocessing [optional]
|
| 95 |
+
|
| 96 |
+
[More Information Needed]
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
#### Training Hyperparameters
|
| 100 |
+
|
| 101 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 102 |
+
|
| 103 |
+
#### Speeds, Sizes, Times [optional]
|
| 104 |
+
|
| 105 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 106 |
+
|
| 107 |
+
[More Information Needed]
|
| 108 |
+
|
| 109 |
+
## Evaluation
|
| 110 |
+
|
| 111 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 112 |
+
|
| 113 |
+
### Testing Data, Factors & Metrics
|
| 114 |
+
|
| 115 |
+
#### Testing Data
|
| 116 |
+
|
| 117 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Factors
|
| 122 |
+
|
| 123 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
#### Metrics
|
| 128 |
+
|
| 129 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 130 |
+
|
| 131 |
+
[More Information Needed]
|
| 132 |
+
|
| 133 |
+
### Results
|
| 134 |
+
|
| 135 |
+
[More Information Needed]
|
| 136 |
+
|
| 137 |
+
#### Summary
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
## Model Examination [optional]
|
| 142 |
+
|
| 143 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 144 |
+
|
| 145 |
+
[More Information Needed]
|
| 146 |
+
|
| 147 |
+
## Environmental Impact
|
| 148 |
+
|
| 149 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 150 |
+
|
| 151 |
+
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).
|
| 152 |
+
|
| 153 |
+
- **Hardware Type:** [More Information Needed]
|
| 154 |
+
- **Hours used:** [More Information Needed]
|
| 155 |
+
- **Cloud Provider:** [More Information Needed]
|
| 156 |
+
- **Compute Region:** [More Information Needed]
|
| 157 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 158 |
+
|
| 159 |
+
## Technical Specifications [optional]
|
| 160 |
+
|
| 161 |
+
### Model Architecture and Objective
|
| 162 |
+
|
| 163 |
+
[More Information Needed]
|
| 164 |
+
|
| 165 |
+
### Compute Infrastructure
|
| 166 |
+
|
| 167 |
+
[More Information Needed]
|
| 168 |
+
|
| 169 |
+
#### Hardware
|
| 170 |
+
|
| 171 |
+
[More Information Needed]
|
| 172 |
+
|
| 173 |
+
#### Software
|
| 174 |
+
|
| 175 |
+
[More Information Needed]
|
| 176 |
+
|
| 177 |
+
## Citation [optional]
|
| 178 |
+
|
| 179 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 180 |
+
|
| 181 |
+
**BibTeX:**
|
| 182 |
+
|
| 183 |
+
[More Information Needed]
|
| 184 |
+
|
| 185 |
+
**APA:**
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## Glossary [optional]
|
| 190 |
+
|
| 191 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 192 |
+
|
| 193 |
+
[More Information Needed]
|
| 194 |
+
|
| 195 |
+
## More Information [optional]
|
| 196 |
+
|
| 197 |
+
[More Information Needed]
|
| 198 |
+
|
| 199 |
+
## Model Card Authors [optional]
|
| 200 |
+
|
| 201 |
+
[More Information Needed]
|
| 202 |
+
|
| 203 |
+
## Model Card Contact
|
| 204 |
+
|
| 205 |
+
[More Information Needed]
|
| 206 |
+
### Framework versions
|
| 207 |
+
|
| 208 |
+
- PEFT 0.19.1
|
aft/charter/checkpoint-512/adapter_config.json
ADDED
|
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "/workspace/hf-dispatch-midtrain-aft-v1/hub/models--jbostock--scimt-dispatch-sft-v1/snapshots/ad24276d9d25455b528c80b4c3043438bfc32ca5/runs/20260806T143703Z/charter/checkpoint-48",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": null,
|
| 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": 128,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.0,
|
| 22 |
+
"lora_ga_config": null,
|
| 23 |
+
"megatron_config": null,
|
| 24 |
+
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": null,
|
| 26 |
+
"peft_type": "LORA",
|
| 27 |
+
"peft_version": "0.19.1",
|
| 28 |
+
"qalora_group_size": 16,
|
| 29 |
+
"r": 64,
|
| 30 |
+
"rank_pattern": {},
|
| 31 |
+
"revision": null,
|
| 32 |
+
"target_modules": [
|
| 33 |
+
"language_model.layers.25.self_attn.v_proj",
|
| 34 |
+
"30.self_attn.v_proj",
|
| 35 |
+
"35.self_attn.q_proj",
|
| 36 |
+
"27.self_attn.v_proj",
|
| 37 |
+
"language_model.layers.24.self_attn.q_proj",
|
| 38 |
+
"language_model.layers.8.self_attn.v_proj",
|
| 39 |
+
"41.self_attn.v_proj",
|
| 40 |
+
"language_model.layers.6.self_attn.k_proj",
|
| 41 |
+
"39.self_attn.q_proj",
|
| 42 |
+
"language_model.layers.21.self_attn.q_proj",
|
| 43 |
+
"language_model.layers.4.self_attn.q_proj",
|
| 44 |
+
"up_proj",
|
| 45 |
+
"31.self_attn.k_proj",
|
| 46 |
+
"language_model.layers.12.self_attn.q_proj",
|
| 47 |
+
"language_model.layers.14.self_attn.k_proj",
|
| 48 |
+
"language_model.layers.17.self_attn.q_proj",
|
| 49 |
+
"27.self_attn.q_proj",
|
| 50 |
+
"language_model.layers.17.self_attn.v_proj",
|
| 51 |
+
"language_model.layers.24.self_attn.k_proj",
|
| 52 |
+
"36.self_attn.q_proj",
|
| 53 |
+
"language_model.layers.14.self_attn.v_proj",
|
| 54 |
+
"38.self_attn.v_proj",
|
| 55 |
+
"45.self_attn.v_proj",
|
| 56 |
+
"language_model.layers.26.self_attn.q_proj",
|
| 57 |
+
"language_model.layers.3.self_attn.q_proj",
|
| 58 |
+
"language_model.layers.20.self_attn.k_proj",
|
| 59 |
+
"language_model.layers.5.self_attn.q_proj",
|
| 60 |
+
"language_model.layers.16.self_attn.k_proj",
|
| 61 |
+
"language_model.layers.22.self_attn.k_proj",
|
| 62 |
+
"language_model.layers.18.self_attn.q_proj",
|
| 63 |
+
"45.self_attn.q_proj",
|
| 64 |
+
"47.self_attn.q_proj",
|
| 65 |
+
"language_model.layers.0.self_attn.v_proj",
|
| 66 |
+
"language_model.layers.23.self_attn.k_proj",
|
| 67 |
+
"43.self_attn.k_proj",
|
| 68 |
+
"42.self_attn.v_proj",
|
| 69 |
+
"language_model.layers.18.self_attn.v_proj",
|
| 70 |
+
"30.self_attn.k_proj",
|
| 71 |
+
"language_model.layers.8.self_attn.q_proj",
|
| 72 |
+
"language_model.layers.21.self_attn.k_proj",
|
| 73 |
+
"39.self_attn.v_proj",
|
| 74 |
+
"language_model.layers.13.self_attn.k_proj",
|
| 75 |
+
"30.self_attn.q_proj",
|
| 76 |
+
"33.self_attn.q_proj",
|
| 77 |
+
"44.self_attn.v_proj",
|
| 78 |
+
"language_model.layers.4.self_attn.k_proj",
|
| 79 |
+
"language_model.layers.6.self_attn.q_proj",
|
| 80 |
+
"45.self_attn.k_proj",
|
| 81 |
+
"40.self_attn.k_proj",
|
| 82 |
+
"language_model.layers.11.self_attn.v_proj",
|
| 83 |
+
"47.self_attn.k_proj",
|
| 84 |
+
"language_model.layers.7.self_attn.v_proj",
|
| 85 |
+
"33.self_attn.k_proj",
|
| 86 |
+
"31.self_attn.v_proj",
|
| 87 |
+
"language_model.layers.3.self_attn.k_proj",
|
| 88 |
+
"29.self_attn.q_proj",
|
| 89 |
+
"32.self_attn.q_proj",
|
| 90 |
+
"33.self_attn.v_proj",
|
| 91 |
+
"34.self_attn.q_proj",
|
| 92 |
+
"language_model.layers.20.self_attn.q_proj",
|
| 93 |
+
"language_model.layers.19.self_attn.v_proj",
|
| 94 |
+
"language_model.layers.26.self_attn.v_proj",
|
| 95 |
+
"o_proj",
|
| 96 |
+
"language_model.layers.5.self_attn.v_proj",
|
| 97 |
+
"29.self_attn.v_proj",
|
| 98 |
+
"28.self_attn.k_proj",
|
| 99 |
+
"language_model.layers.2.self_attn.q_proj",
|
| 100 |
+
"down_proj",
|
| 101 |
+
"language_model.layers.11.self_attn.k_proj",
|
| 102 |
+
"44.self_attn.q_proj",
|
| 103 |
+
"31.self_attn.q_proj",
|
| 104 |
+
"language_model.layers.9.self_attn.q_proj",
|
| 105 |
+
"language_model.layers.11.self_attn.q_proj",
|
| 106 |
+
"language_model.layers.7.self_attn.q_proj",
|
| 107 |
+
"28.self_attn.q_proj",
|
| 108 |
+
"language_model.layers.18.self_attn.k_proj",
|
| 109 |
+
"language_model.layers.16.self_attn.q_proj",
|
| 110 |
+
"39.self_attn.k_proj",
|
| 111 |
+
"language_model.layers.7.self_attn.k_proj",
|
| 112 |
+
"36.self_attn.v_proj",
|
| 113 |
+
"language_model.layers.1.self_attn.v_proj",
|
| 114 |
+
"37.self_attn.q_proj",
|
| 115 |
+
"language_model.layers.0.self_attn.q_proj",
|
| 116 |
+
"language_model.layers.12.self_attn.k_proj",
|
| 117 |
+
"language_model.layers.9.self_attn.k_proj",
|
| 118 |
+
"language_model.layers.22.self_attn.q_proj",
|
| 119 |
+
"language_model.layers.19.self_attn.q_proj",
|
| 120 |
+
"language_model.layers.13.self_attn.v_proj",
|
| 121 |
+
"34.self_attn.v_proj",
|
| 122 |
+
"language_model.layers.6.self_attn.v_proj",
|
| 123 |
+
"35.self_attn.v_proj",
|
| 124 |
+
"37.self_attn.k_proj",
|
| 125 |
+
"language_model.layers.23.self_attn.v_proj",
|
| 126 |
+
"42.self_attn.k_proj",
|
| 127 |
+
"32.self_attn.v_proj",
|
| 128 |
+
"language_model.layers.1.self_attn.k_proj",
|
| 129 |
+
"language_model.layers.26.self_attn.k_proj",
|
| 130 |
+
"36.self_attn.k_proj",
|
| 131 |
+
"language_model.layers.17.self_attn.k_proj",
|
| 132 |
+
"language_model.layers.23.self_attn.q_proj",
|
| 133 |
+
"language_model.layers.1.self_attn.q_proj",
|
| 134 |
+
"language_model.layers.2.self_attn.k_proj",
|
| 135 |
+
"language_model.layers.9.self_attn.v_proj",
|
| 136 |
+
"46.self_attn.q_proj",
|
| 137 |
+
"language_model.layers.25.self_attn.q_proj",
|
| 138 |
+
"language_model.layers.15.self_attn.k_proj",
|
| 139 |
+
"47.self_attn.v_proj",
|
| 140 |
+
"27.self_attn.k_proj",
|
| 141 |
+
"38.self_attn.q_proj",
|
| 142 |
+
"language_model.layers.10.self_attn.k_proj",
|
| 143 |
+
"32.self_attn.k_proj",
|
| 144 |
+
"language_model.layers.5.self_attn.k_proj",
|
| 145 |
+
"46.self_attn.k_proj",
|
| 146 |
+
"language_model.layers.0.self_attn.k_proj",
|
| 147 |
+
"language_model.layers.4.self_attn.v_proj",
|
| 148 |
+
"language_model.layers.16.self_attn.v_proj",
|
| 149 |
+
"language_model.layers.25.self_attn.k_proj",
|
| 150 |
+
"41.self_attn.q_proj",
|
| 151 |
+
"language_model.layers.15.self_attn.v_proj",
|
| 152 |
+
"language_model.layers.14.self_attn.q_proj",
|
| 153 |
+
"language_model.layers.10.self_attn.q_proj",
|
| 154 |
+
"44.self_attn.k_proj",
|
| 155 |
+
"language_model.layers.12.self_attn.v_proj",
|
| 156 |
+
"35.self_attn.k_proj",
|
| 157 |
+
"41.self_attn.k_proj",
|
| 158 |
+
"language_model.layers.15.self_attn.q_proj",
|
| 159 |
+
"gate_proj",
|
| 160 |
+
"34.self_attn.k_proj",
|
| 161 |
+
"language_model.layers.24.self_attn.v_proj",
|
| 162 |
+
"language_model.layers.13.self_attn.q_proj",
|
| 163 |
+
"language_model.layers.10.self_attn.v_proj",
|
| 164 |
+
"29.self_attn.k_proj",
|
| 165 |
+
"28.self_attn.v_proj",
|
| 166 |
+
"language_model.layers.3.self_attn.v_proj",
|
| 167 |
+
"language_model.layers.2.self_attn.v_proj",
|
| 168 |
+
"43.self_attn.q_proj",
|
| 169 |
+
"language_model.layers.21.self_attn.v_proj",
|
| 170 |
+
"40.self_attn.q_proj",
|
| 171 |
+
"37.self_attn.v_proj",
|
| 172 |
+
"language_model.layers.22.self_attn.v_proj",
|
| 173 |
+
"42.self_attn.q_proj",
|
| 174 |
+
"43.self_attn.v_proj",
|
| 175 |
+
"40.self_attn.v_proj",
|
| 176 |
+
"language_model.layers.8.self_attn.k_proj",
|
| 177 |
+
"38.self_attn.k_proj",
|
| 178 |
+
"language_model.layers.20.self_attn.v_proj",
|
| 179 |
+
"46.self_attn.v_proj",
|
| 180 |
+
"language_model.layers.19.self_attn.k_proj"
|
| 181 |
+
],
|
| 182 |
+
"target_parameters": [],
|
| 183 |
+
"task_type": "CAUSAL_LM",
|
| 184 |
+
"trainable_token_indices": null,
|
| 185 |
+
"use_bdlora": null,
|
| 186 |
+
"use_dora": false,
|
| 187 |
+
"use_qalora": false,
|
| 188 |
+
"use_rslora": false
|
| 189 |
+
}
|
aft/charter/checkpoint-512/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:291a884d8eb84ed0cc1143a519440e81ca02cc5997a7b2aa665e2d0047da0e38
|
| 3 |
+
size 1047628488
|
aft/charter/checkpoint-512/chat_template.jinja
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{ bos_token }}
|
| 2 |
+
{%- if messages[0]['role'] == 'system' -%}
|
| 3 |
+
{%- if messages[0]['content'] is string -%}
|
| 4 |
+
{%- set first_user_prefix = messages[0]['content'] + '
|
| 5 |
+
|
| 6 |
+
' -%}
|
| 7 |
+
{%- else -%}
|
| 8 |
+
{%- set first_user_prefix = messages[0]['content'][0]['text'] + '
|
| 9 |
+
|
| 10 |
+
' -%}
|
| 11 |
+
{%- endif -%}
|
| 12 |
+
{%- set loop_messages = messages[1:] -%}
|
| 13 |
+
{%- else -%}
|
| 14 |
+
{%- set first_user_prefix = "" -%}
|
| 15 |
+
{%- set loop_messages = messages -%}
|
| 16 |
+
{%- endif -%}
|
| 17 |
+
{%- for message in loop_messages -%}
|
| 18 |
+
{%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) -%}
|
| 19 |
+
{{ raise_exception("Conversation roles must alternate user/assistant/user/assistant/...") }}
|
| 20 |
+
{%- endif -%}
|
| 21 |
+
{%- if (message['role'] == 'assistant') -%}
|
| 22 |
+
{%- set role = "model" -%}
|
| 23 |
+
{%- else -%}
|
| 24 |
+
{%- set role = message['role'] -%}
|
| 25 |
+
{%- endif -%}
|
| 26 |
+
{{ '<start_of_turn>' + role + '
|
| 27 |
+
' + (first_user_prefix if loop.first else "") }}
|
| 28 |
+
{%- if message['content'] is string -%}
|
| 29 |
+
{{ message['content'] | trim }}
|
| 30 |
+
{%- elif message['content'] is iterable -%}
|
| 31 |
+
{%- for item in message['content'] -%}
|
| 32 |
+
{%- if item['type'] == 'image' -%}
|
| 33 |
+
{{ '<start_of_image>' }}
|
| 34 |
+
{%- elif item['type'] == 'text' -%}
|
| 35 |
+
{{ item['text'] | trim }}
|
| 36 |
+
{%- endif -%}
|
| 37 |
+
{%- endfor -%}
|
| 38 |
+
{%- else -%}
|
| 39 |
+
{{ raise_exception("Invalid content type") }}
|
| 40 |
+
{%- endif -%}
|
| 41 |
+
{{ '<end_of_turn>
|
| 42 |
+
' }}
|
| 43 |
+
{%- endfor -%}
|
| 44 |
+
{%- if add_generation_prompt -%}
|
| 45 |
+
{{'<start_of_turn>model
|
| 46 |
+
'}}
|
| 47 |
+
{%- endif -%}
|
aft/charter/checkpoint-512/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726
|
| 3 |
+
size 33384567
|
aft/charter/checkpoint-512/tokenizer_config.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"boi_token": "<start_of_image>",
|
| 4 |
+
"bos_token": "<bos>",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eoi_token": "<end_of_image>",
|
| 7 |
+
"eos_token": "<eos>",
|
| 8 |
+
"image_token": "<image_soft_token>",
|
| 9 |
+
"is_local": false,
|
| 10 |
+
"local_files_only": false,
|
| 11 |
+
"mask_token": "<mask>",
|
| 12 |
+
"model_max_length": 131072,
|
| 13 |
+
"model_specific_special_tokens": {
|
| 14 |
+
"boi_token": "<start_of_image>",
|
| 15 |
+
"eoi_token": "<end_of_image>",
|
| 16 |
+
"image_token": "<image_soft_token>"
|
| 17 |
+
},
|
| 18 |
+
"pad_token": "<pad>",
|
| 19 |
+
"padding_side": "left",
|
| 20 |
+
"processor_class": "Gemma3Processor",
|
| 21 |
+
"sp_model_kwargs": null,
|
| 22 |
+
"spaces_between_special_tokens": false,
|
| 23 |
+
"tokenizer_class": "GemmaTokenizer",
|
| 24 |
+
"unk_token": "<unk>",
|
| 25 |
+
"use_default_system_prompt": false
|
| 26 |
+
}
|
aft/charter/checkpoint-512/tokens_state.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"total": 7730080, "trainable": 165520}
|
aft/charter/checkpoint-512/trainer_state.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|