Upload folder using huggingface_hub
Browse files- LICENSE +22 -0
- README.md +5 -0
- config.json +10 -0
- model.safetensors +3 -0
- tokenizer.json +139 -0
- tokenizer_config.json +11 -0
LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 NeuroCoder contributors
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
| 22 |
+
|
README.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# TinyMoE Coder
|
| 2 |
+
|
| 3 |
+
From-scratch narrow-domain coding SLM for React+Tailwind generation and unified-diff edits.
|
| 4 |
+
|
| 5 |
+
This package may contain placeholder weights in early development stages.
|
config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"TinyMoEModel"
|
| 4 |
+
],
|
| 5 |
+
"context_length": 4096,
|
| 6 |
+
"model_type": "tinymoe",
|
| 7 |
+
"num_experts": 8,
|
| 8 |
+
"top_k": 2,
|
| 9 |
+
"vocab_size": 32000
|
| 10 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00118ad8e812f292460996b9219317b89f5db55188b4b660f28e141154a89bcb
|
| 3 |
+
size 53
|
tokenizer.json
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"special_tokens": [
|
| 3 |
+
"<pad>",
|
| 4 |
+
"<bos>",
|
| 5 |
+
"<eos>",
|
| 6 |
+
"<unk>"
|
| 7 |
+
],
|
| 8 |
+
"type": "simple_regex_tokenizer",
|
| 9 |
+
"vocab": {
|
| 10 |
+
"\"": 43,
|
| 11 |
+
"$": 112,
|
| 12 |
+
"%": 44,
|
| 13 |
+
"(": 9,
|
| 14 |
+
")": 10,
|
| 15 |
+
"+": 11,
|
| 16 |
+
",": 7,
|
| 17 |
+
"-": 6,
|
| 18 |
+
".": 4,
|
| 19 |
+
"/": 8,
|
| 20 |
+
"0": 113,
|
| 21 |
+
"1": 28,
|
| 22 |
+
"10": 67,
|
| 23 |
+
"12": 68,
|
| 24 |
+
"2": 45,
|
| 25 |
+
"20": 114,
|
| 26 |
+
"25": 115,
|
| 27 |
+
"3": 46,
|
| 28 |
+
"4": 47,
|
| 29 |
+
"6": 116,
|
| 30 |
+
"7": 69,
|
| 31 |
+
"8": 117,
|
| 32 |
+
"95": 118,
|
| 33 |
+
":": 5,
|
| 34 |
+
"<": 48,
|
| 35 |
+
"<bos>": 1,
|
| 36 |
+
"<eos>": 2,
|
| 37 |
+
"<pad>": 0,
|
| 38 |
+
"<unk>": 3,
|
| 39 |
+
"=": 18,
|
| 40 |
+
">": 49,
|
| 41 |
+
"B": 19,
|
| 42 |
+
"Build": 70,
|
| 43 |
+
"CPU": 23,
|
| 44 |
+
"Data": 71,
|
| 45 |
+
"Deterministic": 119,
|
| 46 |
+
"Expert": 120,
|
| 47 |
+
"From": 121,
|
| 48 |
+
"GB": 50,
|
| 49 |
+
"GPU": 122,
|
| 50 |
+
"Hero": 123,
|
| 51 |
+
"Inference": 124,
|
| 52 |
+
"LLM": 72,
|
| 53 |
+
"M": 51,
|
| 54 |
+
"Median": 125,
|
| 55 |
+
"MoE": 16,
|
| 56 |
+
"Model": 73,
|
| 57 |
+
"On": 126,
|
| 58 |
+
"Patch": 74,
|
| 59 |
+
"Plan": 127,
|
| 60 |
+
"Qwen": 75,
|
| 61 |
+
"React": 24,
|
| 62 |
+
"Stage": 29,
|
| 63 |
+
"Tailwind": 25,
|
| 64 |
+
"Training": 76,
|
| 65 |
+
"Week": 30,
|
| 66 |
+
"Weeks": 52,
|
| 67 |
+
"and": 12,
|
| 68 |
+
"apply": 77,
|
| 69 |
+
"are": 78,
|
| 70 |
+
"as": 79,
|
| 71 |
+
"baseline": 31,
|
| 72 |
+
"benchmark": 53,
|
| 73 |
+
"blocks": 80,
|
| 74 |
+
"bool": 81,
|
| 75 |
+
"build": 82,
|
| 76 |
+
"checks": 54,
|
| 77 |
+
"code": 83,
|
| 78 |
+
"constraints": 84,
|
| 79 |
+
"corpus": 85,
|
| 80 |
+
"deployment": 86,
|
| 81 |
+
"deterministic": 87,
|
| 82 |
+
"diff": 14,
|
| 83 |
+
"edit": 32,
|
| 84 |
+
"evaluation": 88,
|
| 85 |
+
"files": 20,
|
| 86 |
+
"first": 89,
|
| 87 |
+
"for": 13,
|
| 88 |
+
"format": 55,
|
| 89 |
+
"from": 90,
|
| 90 |
+
"generation": 56,
|
| 91 |
+
"in": 33,
|
| 92 |
+
"instruction": 26,
|
| 93 |
+
"instructions": 91,
|
| 94 |
+
"is": 92,
|
| 95 |
+
"k": 93,
|
| 96 |
+
"landing": 34,
|
| 97 |
+
"latency": 57,
|
| 98 |
+
"lint": 94,
|
| 99 |
+
"load": 95,
|
| 100 |
+
"minimal": 96,
|
| 101 |
+
"model": 35,
|
| 102 |
+
"no": 36,
|
| 103 |
+
"of": 37,
|
| 104 |
+
"on": 17,
|
| 105 |
+
"only": 15,
|
| 106 |
+
"optimization": 97,
|
| 107 |
+
"page": 38,
|
| 108 |
+
"page_generate": 98,
|
| 109 |
+
"params": 99,
|
| 110 |
+
"pass": 58,
|
| 111 |
+
"patch": 21,
|
| 112 |
+
"patch_edit": 100,
|
| 113 |
+
"pretraining": 59,
|
| 114 |
+
"rule": 101,
|
| 115 |
+
"schema": 39,
|
| 116 |
+
"scratch": 102,
|
| 117 |
+
"string": 40,
|
| 118 |
+
"style": 60,
|
| 119 |
+
"target": 103,
|
| 120 |
+
"tasks": 61,
|
| 121 |
+
"to": 62,
|
| 122 |
+
"token": 104,
|
| 123 |
+
"tokens": 105,
|
| 124 |
+
"training": 27,
|
| 125 |
+
"tuning": 41,
|
| 126 |
+
"under": 106,
|
| 127 |
+
"unified": 42,
|
| 128 |
+
"v1": 63,
|
| 129 |
+
"validation": 64,
|
| 130 |
+
"validator": 107,
|
| 131 |
+
"with": 22,
|
| 132 |
+
"{": 108,
|
| 133 |
+
"|": 109,
|
| 134 |
+
"}": 110,
|
| 135 |
+
"~": 111,
|
| 136 |
+
"\u201c": 65,
|
| 137 |
+
"\u201d": 66
|
| 138 |
+
}
|
| 139 |
+
}
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_max_length": 4096,
|
| 3 |
+
"padding_side": "right",
|
| 4 |
+
"special_tokens_map": {
|
| 5 |
+
"bos_token": "<bos>",
|
| 6 |
+
"eos_token": "<eos>",
|
| 7 |
+
"pad_token": "<pad>",
|
| 8 |
+
"unk_token": "<unk>"
|
| 9 |
+
},
|
| 10 |
+
"truncation_side": "right"
|
| 11 |
+
}
|