Upload folder using huggingface_hub
Browse files- README.md +11 -2
- config.json +3 -1
- model.safetensors +1 -1
- tokenizer_config.json +1 -1
README.md
CHANGED
|
@@ -4,8 +4,17 @@ library_name: pytorch
|
|
| 4 |
tags:
|
| 5 |
- code
|
| 6 |
- selection-mixing
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
-
# selection-coder
|
| 10 |
|
| 11 |
-
~
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
tags:
|
| 5 |
- code
|
| 6 |
- selection-mixing
|
| 7 |
+
- sft
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# selection-coder (SFT)
|
| 11 |
|
| 12 |
+
~210M decoder, only SelectionMixing, no attention. Pretrained on code, then SFT on instruction->script.
|
| 13 |
+
|
| 14 |
+
Prompt format:
|
| 15 |
+
```
|
| 16 |
+
### Instruction:
|
| 17 |
+
{instr}
|
| 18 |
+
|
| 19 |
+
### Response:
|
| 20 |
+
```
|
config.json
CHANGED
|
@@ -7,5 +7,7 @@
|
|
| 7 |
"ff": 4,
|
| 8 |
"arch": "SelectionCoder",
|
| 9 |
"mixer": "SelectionMixing(no-attention)",
|
| 10 |
-
"
|
|
|
|
|
|
|
| 11 |
}
|
|
|
|
| 7 |
"ff": 4,
|
| 8 |
"arch": "SelectionCoder",
|
| 9 |
"mixer": "SelectionMixing(no-attention)",
|
| 10 |
+
"stage": "sft-instruct",
|
| 11 |
+
"prompt_template": "### Instruction:\n{instr}\n\n### Response:\n",
|
| 12 |
+
"step": 1000
|
| 13 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 488715288
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b6932b187f396344b77560aa0a7250db6c3cb154dc77bbaca340df2f52e6bf00
|
| 3 |
size 488715288
|
tokenizer_config.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
"bos_token": "<|endoftext|>",
|
| 5 |
"eos_token": "<|endoftext|>",
|
| 6 |
"errors": "replace",
|
| 7 |
-
"is_local":
|
| 8 |
"local_files_only": false,
|
| 9 |
"model_max_length": 1024,
|
| 10 |
"pad_token": null,
|
|
|
|
| 4 |
"bos_token": "<|endoftext|>",
|
| 5 |
"eos_token": "<|endoftext|>",
|
| 6 |
"errors": "replace",
|
| 7 |
+
"is_local": true,
|
| 8 |
"local_files_only": false,
|
| 9 |
"model_max_length": 1024,
|
| 10 |
"pad_token": null,
|