Instructions to use FORTYTWOjp/GOBLINmobileR1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLC-LLM
How to use FORTYTWOjp/GOBLINmobileR1 with MLC-LLM:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
GOBLINmobileR1 release 1
Browse files- .gitattributes +1 -0
- README.md +9 -0
- mlc-chat-config.json +88 -0
- ndarray-cache.json +0 -0
- params_shard_0.bin +3 -0
- params_shard_1.bin +3 -0
- params_shard_2.bin +3 -0
- params_shard_3.bin +3 -0
- params_shard_4.bin +3 -0
- params_shard_5.bin +3 -0
- params_shard_6.bin +3 -0
- params_shard_7.bin +3 -0
- params_shard_8.bin +3 -0
- tensor-cache.json +0 -0
- tokenizer.json +3 -0
- tokenizer_config.json +34 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
tags:
|
| 4 |
+
- fortytwo
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# GOBLINmobileR1
|
| 8 |
+
|
| 9 |
+
A FORTYTWO model. © FORTYTWO (Angel Hernández). Educational Services & Products — https://fortytwo.jp
|
mlc-chat-config.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "0.1.0",
|
| 3 |
+
"model_type": "qwen3",
|
| 4 |
+
"quantization": "q4f16_1",
|
| 5 |
+
"model_config": {
|
| 6 |
+
"hidden_act": "silu",
|
| 7 |
+
"hidden_size": 1024,
|
| 8 |
+
"intermediate_size": 3072,
|
| 9 |
+
"attention_bias": false,
|
| 10 |
+
"num_attention_heads": 16,
|
| 11 |
+
"num_hidden_layers": 28,
|
| 12 |
+
"num_key_value_heads": 8,
|
| 13 |
+
"rms_norm_eps": 1e-06,
|
| 14 |
+
"rope_theta": 1000000,
|
| 15 |
+
"vocab_size": 151936,
|
| 16 |
+
"tie_word_embeddings": true,
|
| 17 |
+
"context_window_size": 4096,
|
| 18 |
+
"prefill_chunk_size": 1024,
|
| 19 |
+
"tensor_parallel_shards": 1,
|
| 20 |
+
"head_dim": 128,
|
| 21 |
+
"dtype": "float16",
|
| 22 |
+
"max_batch_size": 128,
|
| 23 |
+
"weight_block_size": null
|
| 24 |
+
},
|
| 25 |
+
"vocab_size": 151936,
|
| 26 |
+
"context_window_size": 4096,
|
| 27 |
+
"sliding_window_size": -1,
|
| 28 |
+
"prefill_chunk_size": 1024,
|
| 29 |
+
"attention_sink_size": -1,
|
| 30 |
+
"tensor_parallel_shards": 1,
|
| 31 |
+
"pipeline_parallel_stages": 1,
|
| 32 |
+
"active_vocab_size": 151669,
|
| 33 |
+
"temperature": 0.6,
|
| 34 |
+
"presence_penalty": 0.0,
|
| 35 |
+
"frequency_penalty": 0.0,
|
| 36 |
+
"repetition_penalty": 1.0,
|
| 37 |
+
"top_p": 0.95,
|
| 38 |
+
"tokenizer_files": [
|
| 39 |
+
"tokenizer.json",
|
| 40 |
+
"tokenizer_config.json"
|
| 41 |
+
],
|
| 42 |
+
"tokenizer_info": {
|
| 43 |
+
"token_postproc_method": "byte_level",
|
| 44 |
+
"prepend_space_in_encode": false,
|
| 45 |
+
"strip_space_in_decode": false
|
| 46 |
+
},
|
| 47 |
+
"conv_template": {
|
| 48 |
+
"name": "qwen2",
|
| 49 |
+
"system_template": "<|im_start|>system\n{system_message}<|im_end|>\n",
|
| 50 |
+
"system_message": "You are a helpful assistant.",
|
| 51 |
+
"system_prefix_token_ids": null,
|
| 52 |
+
"add_role_after_system_message": true,
|
| 53 |
+
"roles": {
|
| 54 |
+
"user": "<|im_start|>user",
|
| 55 |
+
"assistant": "<|im_start|>assistant"
|
| 56 |
+
},
|
| 57 |
+
"role_templates": {
|
| 58 |
+
"user": "{user_message}",
|
| 59 |
+
"assistant": "{assistant_message}",
|
| 60 |
+
"tool": "{tool_message}"
|
| 61 |
+
},
|
| 62 |
+
"messages": [],
|
| 63 |
+
"seps": [
|
| 64 |
+
"<|im_end|>\n"
|
| 65 |
+
],
|
| 66 |
+
"role_content_sep": "\n",
|
| 67 |
+
"role_empty_sep": "\n",
|
| 68 |
+
"stop_str": [
|
| 69 |
+
"<|endoftext|>",
|
| 70 |
+
"<|im_end|>"
|
| 71 |
+
],
|
| 72 |
+
"stop_token_ids": [
|
| 73 |
+
151643,
|
| 74 |
+
151645
|
| 75 |
+
],
|
| 76 |
+
"strip_reasoning_in_history": false,
|
| 77 |
+
"function_string": "",
|
| 78 |
+
"use_function_calling": false
|
| 79 |
+
},
|
| 80 |
+
"pad_token_id": 151643,
|
| 81 |
+
"bos_token_id": 151643,
|
| 82 |
+
"eos_token_id": [
|
| 83 |
+
151645,
|
| 84 |
+
151643
|
| 85 |
+
],
|
| 86 |
+
"model_task": "chat",
|
| 87 |
+
"embedding_metadata": null
|
| 88 |
+
}
|
ndarray-cache.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
params_shard_0.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:247ba8099c5404eed9286015879a9d125bc16843f2513d74e0c7d8d4cd52ae5c
|
| 3 |
+
size 77791232
|
params_shard_1.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4068d3fe095083a39c4cc5abd13f644d91940836810722706727941c98ff2ef9
|
| 3 |
+
size 32740608
|
params_shard_2.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4027324ca1e111f36279e4b85e2f9a618a6ffe0decb991832548c22802735a23
|
| 3 |
+
size 31866624
|
params_shard_3.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66feb1892036e19460e92c0a556ab91ab3a36eb50f292425f367b4b19b90e6ff
|
| 3 |
+
size 33505024
|
params_shard_4.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a94fc5c151ab9198bf24fe48855bf678f357779411742faac8412a15b2bb008
|
| 3 |
+
size 32000000
|
params_shard_5.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:81e3b634e353155adc3542527f023467c9c16e8ac46aaaa75b646fcba824106d
|
| 3 |
+
size 31866624
|
params_shard_6.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64fcea60feb27be67d3fe3539f126857932901df894eeca863714dbd0d080e9b
|
| 3 |
+
size 33505024
|
params_shard_7.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11e32726a7ac1edbff0e43964a20c091d746f61c153838e3d9633ceb17c53a13
|
| 3 |
+
size 32000000
|
params_shard_8.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b763793f9ab2bb104e42255296fa6f115cc1045131ed03b244b78cb1ea8f7ecb
|
| 3 |
+
size 30097152
|
tensor-cache.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
|
| 3 |
+
size 11422650
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>",
|
| 11 |
+
"<|object_ref_start|>",
|
| 12 |
+
"<|object_ref_end|>",
|
| 13 |
+
"<|box_start|>",
|
| 14 |
+
"<|box_end|>",
|
| 15 |
+
"<|quad_start|>",
|
| 16 |
+
"<|quad_end|>",
|
| 17 |
+
"<|vision_start|>",
|
| 18 |
+
"<|vision_end|>",
|
| 19 |
+
"<|vision_pad|>",
|
| 20 |
+
"<|image_pad|>",
|
| 21 |
+
"<|video_pad|>"
|
| 22 |
+
],
|
| 23 |
+
"is_local": true,
|
| 24 |
+
"local_files_only": false,
|
| 25 |
+
"max_length": null,
|
| 26 |
+
"model_max_length": 131072,
|
| 27 |
+
"pad_to_multiple_of": null,
|
| 28 |
+
"pad_token": "<|endoftext|>",
|
| 29 |
+
"pad_token_type_id": 0,
|
| 30 |
+
"padding_side": "left",
|
| 31 |
+
"split_special_tokens": false,
|
| 32 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 33 |
+
"unk_token": null
|
| 34 |
+
}
|