Transformers
Safetensors
GGUF
mixtral
Mixture of Experts
validation
test-suite
japanese
scratch-trained
Instructions to use shibatch/tinymoeja2m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shibatch/tinymoeja2m with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("shibatch/tinymoeja2m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use shibatch/tinymoeja2m with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf shibatch/tinymoeja2m:Q4_K_M # Run inference directly in the terminal: llama cli -hf shibatch/tinymoeja2m:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf shibatch/tinymoeja2m:Q4_K_M # Run inference directly in the terminal: llama cli -hf shibatch/tinymoeja2m:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf shibatch/tinymoeja2m:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf shibatch/tinymoeja2m:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf shibatch/tinymoeja2m:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf shibatch/tinymoeja2m:Q4_K_M
Use Docker
docker model run hf.co/shibatch/tinymoeja2m:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use shibatch/tinymoeja2m with Ollama:
ollama run hf.co/shibatch/tinymoeja2m:Q4_K_M
- Unsloth Studio
How to use shibatch/tinymoeja2m with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for shibatch/tinymoeja2m to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for shibatch/tinymoeja2m to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for shibatch/tinymoeja2m to start chatting
- Atomic Chat new
- Docker Model Runner
How to use shibatch/tinymoeja2m with Docker Model Runner:
docker model run hf.co/shibatch/tinymoeja2m:Q4_K_M
- Lemonade
How to use shibatch/tinymoeja2m with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull shibatch/tinymoeja2m:Q4_K_M
Run and chat with the model
lemonade run user.tinymoeja2m-Q4_K_M
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- README.md +5 -0
- hf.bf16/config.json +35 -0
- hf.bf16/generation_config.json +10 -0
- hf.bf16/model.safetensors +3 -0
- hf.bf16/special_tokens_map.json +6 -0
- hf.bf16/tokenizer.json +107 -0
- hf.bf16/tokenizer.model +3 -0
- hf.bf16/tokenizer_config.json +12 -0
- hf.fp16/config.json +35 -0
- hf.fp16/generation_config.json +10 -0
- hf.fp16/model.safetensors +3 -0
- hf.fp16/special_tokens_map.json +6 -0
- hf.fp16/tokenizer.json +107 -0
- hf.fp16/tokenizer.model +3 -0
- hf.fp16/tokenizer_config.json +12 -0
- hf.fp64/config.json +35 -0
- hf.fp64/generation_config.json +10 -0
- hf.fp64/model.safetensors +3 -0
- hf.fp64/special_tokens_map.json +6 -0
- hf.fp64/tokenizer.json +107 -0
- hf.fp64/tokenizer.model +3 -0
- hf.fp64/tokenizer_config.json +12 -0
README.md
CHANGED
|
@@ -68,6 +68,11 @@ Unquantized components formatted for direct instantiation inside the PyTorch `tr
|
|
| 68 |
* **`hf/tokenizer_config.json`**: Enforced metadata linking `LlamaTokenizer` classes to guarantee correct handling of prefix spacing and automatic `<s>` (BOS) injection.
|
| 69 |
* **`hf/special_tokens_map.json`**: Structural map linking special tokens (`<s>`=1, `</s>`=2, `<unk>`=0, `<pad>`=2).
|
| 70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
---
|
| 72 |
|
| 73 |
## 🎯 Purpose & Design Philosophy (Verification Targets)
|
|
|
|
| 68 |
* **`hf/tokenizer_config.json`**: Enforced metadata linking `LlamaTokenizer` classes to guarantee correct handling of prefix spacing and automatic `<s>` (BOS) injection.
|
| 69 |
* **`hf/special_tokens_map.json`**: Structural map linking special tokens (`<s>`=1, `</s>`=2, `<unk>`=0, `<pad>`=2).
|
| 70 |
|
| 71 |
+
* **`./hf/`** : **Float32 (FP32) Master Subfolder.** The unquantized baseline precision weights. Highly recommended for initializing custom floating-point matrix operations without rounding loss.
|
| 72 |
+
* **`./hf.bf16/`** : **Bfloat16 (BF16) Subfolder.** Optimized for modern hardware acceleration structures (such as Ampere/Hopper Tensor Cores or Intel Arc/Gaudi frames) to examine native 16-bit brain floating-point pipelines.
|
| 73 |
+
* **`./hf.fp16/`** : **Float16 (FP16) Subfolder.** Ideal for standard 16-bit half-precision parallel math routines and performance evaluation profiles.
|
| 74 |
+
* **`./hf.fp64/`** : **Float64 (FP64 / Double) Subfolder.** Retains ultra-high mathematical double precision parameters. Designed to strictly isolate hardware-level execution bugs from system accumulation errors.
|
| 75 |
+
|
| 76 |
---
|
| 77 |
|
| 78 |
## 🎯 Purpose & Design Philosophy (Verification Targets)
|
hf.bf16/config.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"MixtralForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 1,
|
| 7 |
+
"dtype": "bfloat16",
|
| 8 |
+
"eos_token_id": 2,
|
| 9 |
+
"head_dim": null,
|
| 10 |
+
"hidden_act": "silu",
|
| 11 |
+
"hidden_size": 128,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 352,
|
| 14 |
+
"max_position_embeddings": 2048,
|
| 15 |
+
"model_type": "mixtral",
|
| 16 |
+
"num_attention_heads": 4,
|
| 17 |
+
"num_experts_per_tok": 2,
|
| 18 |
+
"num_hidden_layers": 3,
|
| 19 |
+
"num_key_value_heads": 1,
|
| 20 |
+
"num_local_experts": 4,
|
| 21 |
+
"output_router_logits": false,
|
| 22 |
+
"pad_token_id": 2,
|
| 23 |
+
"rms_norm_eps": 1e-05,
|
| 24 |
+
"rope_parameters": {
|
| 25 |
+
"rope_theta": 10000.0,
|
| 26 |
+
"rope_type": "default"
|
| 27 |
+
},
|
| 28 |
+
"router_aux_loss_coef": 0.001,
|
| 29 |
+
"router_jitter_noise": 0.0,
|
| 30 |
+
"sliding_window": null,
|
| 31 |
+
"tie_word_embeddings": false,
|
| 32 |
+
"transformers_version": "5.9.0",
|
| 33 |
+
"use_cache": false,
|
| 34 |
+
"vocab_size": 1024
|
| 35 |
+
}
|
hf.bf16/generation_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"output_attentions": false,
|
| 6 |
+
"output_hidden_states": false,
|
| 7 |
+
"pad_token_id": 2,
|
| 8 |
+
"transformers_version": "5.9.0",
|
| 9 |
+
"use_cache": true
|
| 10 |
+
}
|
hf.bf16/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a46050d93705480ae386752465b74e98348cb585a9dfd7ceb1742bf52e05c51
|
| 3 |
+
size 4025912
|
hf.bf16/special_tokens_map.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<s>",
|
| 3 |
+
"eos_token": "</s>",
|
| 4 |
+
"pad_token": "</s>",
|
| 5 |
+
"unk_token": "<unk>"
|
| 6 |
+
}
|
hf.bf16/tokenizer.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "1.0",
|
| 3 |
+
"truncation": null,
|
| 4 |
+
"padding": null,
|
| 5 |
+
"added_tokens": [
|
| 6 |
+
{
|
| 7 |
+
"id": 0,
|
| 8 |
+
"content": "<unk>",
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"lstrip": false,
|
| 11 |
+
"rstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"special": true
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"id": 1,
|
| 17 |
+
"content": "<s>",
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"normalized": false,
|
| 22 |
+
"special": true
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"id": 2,
|
| 26 |
+
"content": "</s>",
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"lstrip": false,
|
| 29 |
+
"rstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"special": true
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"normalizer": null,
|
| 35 |
+
"pre_tokenizer": {
|
| 36 |
+
"type": "Metaspace",
|
| 37 |
+
"replacement": "▁",
|
| 38 |
+
"prepend_scheme": "first",
|
| 39 |
+
"split": false
|
| 40 |
+
},
|
| 41 |
+
"post_processor": {
|
| 42 |
+
"type": "TemplateProcessing",
|
| 43 |
+
"single": [
|
| 44 |
+
{
|
| 45 |
+
"Sequence": {
|
| 46 |
+
"id": "A",
|
| 47 |
+
"type_id": 0
|
| 48 |
+
}
|
| 49 |
+
}
|
| 50 |
+
],
|
| 51 |
+
"pair": [
|
| 52 |
+
{
|
| 53 |
+
"Sequence": {
|
| 54 |
+
"id": "A",
|
| 55 |
+
"type_id": 0
|
| 56 |
+
}
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"Sequence": {
|
| 60 |
+
"id": "B",
|
| 61 |
+
"type_id": 1
|
| 62 |
+
}
|
| 63 |
+
}
|
| 64 |
+
],
|
| 65 |
+
"special_tokens": {}
|
| 66 |
+
},
|
| 67 |
+
"decoder": {
|
| 68 |
+
"type": "Sequence",
|
| 69 |
+
"decoders": [
|
| 70 |
+
{
|
| 71 |
+
"type": "Replace",
|
| 72 |
+
"pattern": {
|
| 73 |
+
"String": "▁"
|
| 74 |
+
},
|
| 75 |
+
"content": " "
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"type": "ByteFallback"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "Fuse"
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"type": "Strip",
|
| 85 |
+
"content": " ",
|
| 86 |
+
"start": 1,
|
| 87 |
+
"stop": 0
|
| 88 |
+
}
|
| 89 |
+
]
|
| 90 |
+
},
|
| 91 |
+
"model": {
|
| 92 |
+
"type": "BPE",
|
| 93 |
+
"dropout": null,
|
| 94 |
+
"unk_token": null,
|
| 95 |
+
"continuing_subword_prefix": null,
|
| 96 |
+
"end_of_word_suffix": null,
|
| 97 |
+
"fuse_unk": true,
|
| 98 |
+
"byte_fallback": true,
|
| 99 |
+
"ignore_merges": false,
|
| 100 |
+
"vocab": {
|
| 101 |
+
"<unk>": 0,
|
| 102 |
+
"<s>": 1,
|
| 103 |
+
"</s>": 2
|
| 104 |
+
},
|
| 105 |
+
"merges": []
|
| 106 |
+
}
|
| 107 |
+
}
|
hf.bf16/tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:064eec0d246d749175b47e112fd8e16a69745af947b58a8bbce1fc93a4a1d0a7
|
| 3 |
+
size 254715
|
hf.bf16/tokenizer_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": null,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<s>",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "</s>",
|
| 7 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 8 |
+
"pad_token": "</s>",
|
| 9 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 10 |
+
"unk_token": "<unk>",
|
| 11 |
+
"use_default_system_prompt": false
|
| 12 |
+
}
|
hf.fp16/config.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"MixtralForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 1,
|
| 7 |
+
"dtype": "float16",
|
| 8 |
+
"eos_token_id": 2,
|
| 9 |
+
"head_dim": null,
|
| 10 |
+
"hidden_act": "silu",
|
| 11 |
+
"hidden_size": 128,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 352,
|
| 14 |
+
"max_position_embeddings": 2048,
|
| 15 |
+
"model_type": "mixtral",
|
| 16 |
+
"num_attention_heads": 4,
|
| 17 |
+
"num_experts_per_tok": 2,
|
| 18 |
+
"num_hidden_layers": 3,
|
| 19 |
+
"num_key_value_heads": 1,
|
| 20 |
+
"num_local_experts": 4,
|
| 21 |
+
"output_router_logits": false,
|
| 22 |
+
"pad_token_id": 2,
|
| 23 |
+
"rms_norm_eps": 1e-05,
|
| 24 |
+
"rope_parameters": {
|
| 25 |
+
"rope_theta": 10000.0,
|
| 26 |
+
"rope_type": "default"
|
| 27 |
+
},
|
| 28 |
+
"router_aux_loss_coef": 0.001,
|
| 29 |
+
"router_jitter_noise": 0.0,
|
| 30 |
+
"sliding_window": null,
|
| 31 |
+
"tie_word_embeddings": false,
|
| 32 |
+
"transformers_version": "5.9.0",
|
| 33 |
+
"use_cache": false,
|
| 34 |
+
"vocab_size": 1024
|
| 35 |
+
}
|
hf.fp16/generation_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"output_attentions": false,
|
| 6 |
+
"output_hidden_states": false,
|
| 7 |
+
"pad_token_id": 2,
|
| 8 |
+
"transformers_version": "5.9.0",
|
| 9 |
+
"use_cache": true
|
| 10 |
+
}
|
hf.fp16/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ea07bd87802ecd7dd1a2499c41a068e492cb0c27a6166294698a7c11401a5e93
|
| 3 |
+
size 4025856
|
hf.fp16/special_tokens_map.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<s>",
|
| 3 |
+
"eos_token": "</s>",
|
| 4 |
+
"pad_token": "</s>",
|
| 5 |
+
"unk_token": "<unk>"
|
| 6 |
+
}
|
hf.fp16/tokenizer.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "1.0",
|
| 3 |
+
"truncation": null,
|
| 4 |
+
"padding": null,
|
| 5 |
+
"added_tokens": [
|
| 6 |
+
{
|
| 7 |
+
"id": 0,
|
| 8 |
+
"content": "<unk>",
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"lstrip": false,
|
| 11 |
+
"rstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"special": true
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"id": 1,
|
| 17 |
+
"content": "<s>",
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"normalized": false,
|
| 22 |
+
"special": true
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"id": 2,
|
| 26 |
+
"content": "</s>",
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"lstrip": false,
|
| 29 |
+
"rstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"special": true
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"normalizer": null,
|
| 35 |
+
"pre_tokenizer": {
|
| 36 |
+
"type": "Metaspace",
|
| 37 |
+
"replacement": "▁",
|
| 38 |
+
"prepend_scheme": "first",
|
| 39 |
+
"split": false
|
| 40 |
+
},
|
| 41 |
+
"post_processor": {
|
| 42 |
+
"type": "TemplateProcessing",
|
| 43 |
+
"single": [
|
| 44 |
+
{
|
| 45 |
+
"Sequence": {
|
| 46 |
+
"id": "A",
|
| 47 |
+
"type_id": 0
|
| 48 |
+
}
|
| 49 |
+
}
|
| 50 |
+
],
|
| 51 |
+
"pair": [
|
| 52 |
+
{
|
| 53 |
+
"Sequence": {
|
| 54 |
+
"id": "A",
|
| 55 |
+
"type_id": 0
|
| 56 |
+
}
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"Sequence": {
|
| 60 |
+
"id": "B",
|
| 61 |
+
"type_id": 1
|
| 62 |
+
}
|
| 63 |
+
}
|
| 64 |
+
],
|
| 65 |
+
"special_tokens": {}
|
| 66 |
+
},
|
| 67 |
+
"decoder": {
|
| 68 |
+
"type": "Sequence",
|
| 69 |
+
"decoders": [
|
| 70 |
+
{
|
| 71 |
+
"type": "Replace",
|
| 72 |
+
"pattern": {
|
| 73 |
+
"String": "▁"
|
| 74 |
+
},
|
| 75 |
+
"content": " "
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"type": "ByteFallback"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "Fuse"
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"type": "Strip",
|
| 85 |
+
"content": " ",
|
| 86 |
+
"start": 1,
|
| 87 |
+
"stop": 0
|
| 88 |
+
}
|
| 89 |
+
]
|
| 90 |
+
},
|
| 91 |
+
"model": {
|
| 92 |
+
"type": "BPE",
|
| 93 |
+
"dropout": null,
|
| 94 |
+
"unk_token": null,
|
| 95 |
+
"continuing_subword_prefix": null,
|
| 96 |
+
"end_of_word_suffix": null,
|
| 97 |
+
"fuse_unk": true,
|
| 98 |
+
"byte_fallback": true,
|
| 99 |
+
"ignore_merges": false,
|
| 100 |
+
"vocab": {
|
| 101 |
+
"<unk>": 0,
|
| 102 |
+
"<s>": 1,
|
| 103 |
+
"</s>": 2
|
| 104 |
+
},
|
| 105 |
+
"merges": []
|
| 106 |
+
}
|
| 107 |
+
}
|
hf.fp16/tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:064eec0d246d749175b47e112fd8e16a69745af947b58a8bbce1fc93a4a1d0a7
|
| 3 |
+
size 254715
|
hf.fp16/tokenizer_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": null,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<s>",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "</s>",
|
| 7 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 8 |
+
"pad_token": "</s>",
|
| 9 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 10 |
+
"unk_token": "<unk>",
|
| 11 |
+
"use_default_system_prompt": false
|
| 12 |
+
}
|
hf.fp64/config.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"MixtralForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 1,
|
| 7 |
+
"dtype": "float64",
|
| 8 |
+
"eos_token_id": 2,
|
| 9 |
+
"head_dim": null,
|
| 10 |
+
"hidden_act": "silu",
|
| 11 |
+
"hidden_size": 128,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 352,
|
| 14 |
+
"max_position_embeddings": 2048,
|
| 15 |
+
"model_type": "mixtral",
|
| 16 |
+
"num_attention_heads": 4,
|
| 17 |
+
"num_experts_per_tok": 2,
|
| 18 |
+
"num_hidden_layers": 3,
|
| 19 |
+
"num_key_value_heads": 1,
|
| 20 |
+
"num_local_experts": 4,
|
| 21 |
+
"output_router_logits": false,
|
| 22 |
+
"pad_token_id": 2,
|
| 23 |
+
"rms_norm_eps": 1e-05,
|
| 24 |
+
"rope_parameters": {
|
| 25 |
+
"rope_theta": 10000.0,
|
| 26 |
+
"rope_type": "default"
|
| 27 |
+
},
|
| 28 |
+
"router_aux_loss_coef": 0.001,
|
| 29 |
+
"router_jitter_noise": 0.0,
|
| 30 |
+
"sliding_window": null,
|
| 31 |
+
"tie_word_embeddings": false,
|
| 32 |
+
"transformers_version": "5.9.0",
|
| 33 |
+
"use_cache": false,
|
| 34 |
+
"vocab_size": 1024
|
| 35 |
+
}
|
hf.fp64/generation_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"output_attentions": false,
|
| 6 |
+
"output_hidden_states": false,
|
| 7 |
+
"pad_token_id": 2,
|
| 8 |
+
"transformers_version": "5.9.0",
|
| 9 |
+
"use_cache": true
|
| 10 |
+
}
|
hf.fp64/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48f226f2ab7dd1e3f2b63acc2b557fa8d49ac17b0ded0a6b3e9f81da45376721
|
| 3 |
+
size 16082760
|
hf.fp64/special_tokens_map.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<s>",
|
| 3 |
+
"eos_token": "</s>",
|
| 4 |
+
"pad_token": "</s>",
|
| 5 |
+
"unk_token": "<unk>"
|
| 6 |
+
}
|
hf.fp64/tokenizer.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "1.0",
|
| 3 |
+
"truncation": null,
|
| 4 |
+
"padding": null,
|
| 5 |
+
"added_tokens": [
|
| 6 |
+
{
|
| 7 |
+
"id": 0,
|
| 8 |
+
"content": "<unk>",
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"lstrip": false,
|
| 11 |
+
"rstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"special": true
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"id": 1,
|
| 17 |
+
"content": "<s>",
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"normalized": false,
|
| 22 |
+
"special": true
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"id": 2,
|
| 26 |
+
"content": "</s>",
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"lstrip": false,
|
| 29 |
+
"rstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"special": true
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"normalizer": null,
|
| 35 |
+
"pre_tokenizer": {
|
| 36 |
+
"type": "Metaspace",
|
| 37 |
+
"replacement": "▁",
|
| 38 |
+
"prepend_scheme": "first",
|
| 39 |
+
"split": false
|
| 40 |
+
},
|
| 41 |
+
"post_processor": {
|
| 42 |
+
"type": "TemplateProcessing",
|
| 43 |
+
"single": [
|
| 44 |
+
{
|
| 45 |
+
"Sequence": {
|
| 46 |
+
"id": "A",
|
| 47 |
+
"type_id": 0
|
| 48 |
+
}
|
| 49 |
+
}
|
| 50 |
+
],
|
| 51 |
+
"pair": [
|
| 52 |
+
{
|
| 53 |
+
"Sequence": {
|
| 54 |
+
"id": "A",
|
| 55 |
+
"type_id": 0
|
| 56 |
+
}
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"Sequence": {
|
| 60 |
+
"id": "B",
|
| 61 |
+
"type_id": 1
|
| 62 |
+
}
|
| 63 |
+
}
|
| 64 |
+
],
|
| 65 |
+
"special_tokens": {}
|
| 66 |
+
},
|
| 67 |
+
"decoder": {
|
| 68 |
+
"type": "Sequence",
|
| 69 |
+
"decoders": [
|
| 70 |
+
{
|
| 71 |
+
"type": "Replace",
|
| 72 |
+
"pattern": {
|
| 73 |
+
"String": "▁"
|
| 74 |
+
},
|
| 75 |
+
"content": " "
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"type": "ByteFallback"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "Fuse"
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"type": "Strip",
|
| 85 |
+
"content": " ",
|
| 86 |
+
"start": 1,
|
| 87 |
+
"stop": 0
|
| 88 |
+
}
|
| 89 |
+
]
|
| 90 |
+
},
|
| 91 |
+
"model": {
|
| 92 |
+
"type": "BPE",
|
| 93 |
+
"dropout": null,
|
| 94 |
+
"unk_token": null,
|
| 95 |
+
"continuing_subword_prefix": null,
|
| 96 |
+
"end_of_word_suffix": null,
|
| 97 |
+
"fuse_unk": true,
|
| 98 |
+
"byte_fallback": true,
|
| 99 |
+
"ignore_merges": false,
|
| 100 |
+
"vocab": {
|
| 101 |
+
"<unk>": 0,
|
| 102 |
+
"<s>": 1,
|
| 103 |
+
"</s>": 2
|
| 104 |
+
},
|
| 105 |
+
"merges": []
|
| 106 |
+
}
|
| 107 |
+
}
|
hf.fp64/tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:064eec0d246d749175b47e112fd8e16a69745af947b58a8bbce1fc93a4a1d0a7
|
| 3 |
+
size 254715
|
hf.fp64/tokenizer_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": null,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<s>",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "</s>",
|
| 7 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 8 |
+
"pad_token": "</s>",
|
| 9 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 10 |
+
"unk_token": "<unk>",
|
| 11 |
+
"use_default_system_prompt": false
|
| 12 |
+
}
|