End of training
Browse files- README.md +105 -0
- pytorch_model-00001-of-00002.bin +1 -1
- pytorch_model-00002-of-00002.bin +1 -1
README.md
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: other
|
| 4 |
+
base_model: Qwen/Qwen2.5-Coder-3B-Instruct
|
| 5 |
+
tags:
|
| 6 |
+
- axolotl
|
| 7 |
+
- generated_from_trainer
|
| 8 |
+
datasets:
|
| 9 |
+
- mhhmm/typescript-instruct-20k
|
| 10 |
+
model-index:
|
| 11 |
+
- name: Qwen2.5-Coder-3B-Instruct-TS
|
| 12 |
+
results: []
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 16 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 17 |
+
|
| 18 |
+
[<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
|
| 19 |
+
<details><summary>See axolotl config</summary>
|
| 20 |
+
|
| 21 |
+
axolotl version: `0.6.0`
|
| 22 |
+
```yaml
|
| 23 |
+
# axolotl_config.yaml
|
| 24 |
+
|
| 25 |
+
# Model configuration
|
| 26 |
+
base_model: Qwen/Qwen2.5-Coder-3B-Instruct
|
| 27 |
+
hub_model_id: mrcuddle/Qwen2.5-Coder-3B-Instruct-TS
|
| 28 |
+
|
| 29 |
+
# Training parameters
|
| 30 |
+
learning_rate: 0.0001 # Adjusted for potential stability improvement
|
| 31 |
+
train_batch_size: 4 # Increased for better gradient estimates
|
| 32 |
+
eval_batch_size: 4 # Increased for better evaluation stability
|
| 33 |
+
num_epochs: 1
|
| 34 |
+
lr_scheduler_type: cosine
|
| 35 |
+
lr_scheduler_warmup_steps: 10
|
| 36 |
+
gradient_accumulation_steps: 2
|
| 37 |
+
micro_batch_size: 1
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
# Distributed training settings
|
| 41 |
+
distributed_type: GPU
|
| 42 |
+
num_devices: 2 # Adjusted to utilize multiple GPUs if available
|
| 43 |
+
total_train_batch_size: 8 # Adjusted to match train_batch_size * num_devices * gradient_accumulation_steps
|
| 44 |
+
total_eval_batch_size: 8 # Adjusted to match eval_batch_size * num_devices * gradient_accumulation_steps
|
| 45 |
+
|
| 46 |
+
# Random seed for reproducibility
|
| 47 |
+
seed: 42
|
| 48 |
+
|
| 49 |
+
datasets:
|
| 50 |
+
- path: mhhmm/typescript-instruct-20k
|
| 51 |
+
type: alpaca
|
| 52 |
+
field_instruction: instruction
|
| 53 |
+
field_output: output
|
| 54 |
+
format: "[INST] {instruction} [/INST]\n{output}"
|
| 55 |
+
no_input_format: "[INST] {instruction} [/INST]"
|
| 56 |
+
roles:
|
| 57 |
+
input: ["USER"]
|
| 58 |
+
output: ["ASSISTANT"]
|
| 59 |
+
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
</details><br>
|
| 63 |
+
|
| 64 |
+
# Qwen2.5-Coder-3B-Instruct-TS
|
| 65 |
+
|
| 66 |
+
This model is a fine-tuned version of [Qwen/Qwen2.5-Coder-3B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-3B-Instruct) on the mhhmm/typescript-instruct-20k dataset.
|
| 67 |
+
|
| 68 |
+
## Model description
|
| 69 |
+
|
| 70 |
+
More information needed
|
| 71 |
+
|
| 72 |
+
## Intended uses & limitations
|
| 73 |
+
|
| 74 |
+
More information needed
|
| 75 |
+
|
| 76 |
+
## Training and evaluation data
|
| 77 |
+
|
| 78 |
+
More information needed
|
| 79 |
+
|
| 80 |
+
## Training procedure
|
| 81 |
+
|
| 82 |
+
### Training hyperparameters
|
| 83 |
+
|
| 84 |
+
The following hyperparameters were used during training:
|
| 85 |
+
- learning_rate: 0.0001
|
| 86 |
+
- train_batch_size: 1
|
| 87 |
+
- eval_batch_size: 4
|
| 88 |
+
- seed: 42
|
| 89 |
+
- gradient_accumulation_steps: 2
|
| 90 |
+
- total_train_batch_size: 2
|
| 91 |
+
- optimizer: Use adamw_hf with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 92 |
+
- lr_scheduler_type: cosine
|
| 93 |
+
- lr_scheduler_warmup_steps: 100
|
| 94 |
+
- num_epochs: 1
|
| 95 |
+
|
| 96 |
+
### Training results
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
### Framework versions
|
| 101 |
+
|
| 102 |
+
- Transformers 4.47.1
|
| 103 |
+
- Pytorch 2.5.1+cu121
|
| 104 |
+
- Datasets 3.2.0
|
| 105 |
+
- Tokenizers 0.21.0
|
pytorch_model-00001-of-00002.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4961316242
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5072087d8092b08c114ba2a785a22d69e4497d23466cdb0d99b8d6ee60d3011b
|
| 3 |
size 4961316242
|
pytorch_model-00002-of-00002.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1831123524
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a0650fe5afe508b1ec625a07e80d27a52208317b929484ad6b9f708c6e230bb
|
| 3 |
size 1831123524
|