Text Generation
Transformers
Safetensors
laguna
awq
selective-quantization
w4a16
Mixture of Experts
bfloat16
vllm
conversational
4-bit precision
Instructions to use leoncca/Laguna-S-2.1-Selective-AWQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use leoncca/Laguna-S-2.1-Selective-AWQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="leoncca/Laguna-S-2.1-Selective-AWQ") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("leoncca/Laguna-S-2.1-Selective-AWQ") model = AutoModelForCausalLM.from_pretrained("leoncca/Laguna-S-2.1-Selective-AWQ", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use leoncca/Laguna-S-2.1-Selective-AWQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "leoncca/Laguna-S-2.1-Selective-AWQ" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "leoncca/Laguna-S-2.1-Selective-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/leoncca/Laguna-S-2.1-Selective-AWQ
- SGLang
How to use leoncca/Laguna-S-2.1-Selective-AWQ with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "leoncca/Laguna-S-2.1-Selective-AWQ" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "leoncca/Laguna-S-2.1-Selective-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "leoncca/Laguna-S-2.1-Selective-AWQ" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "leoncca/Laguna-S-2.1-Selective-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use leoncca/Laguna-S-2.1-Selective-AWQ with Docker Model Runner:
docker model run hf.co/leoncca/Laguna-S-2.1-Selective-AWQ
Initial selective AWQ v1.0 release
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +3 -34
- EVALUATION.md +132 -0
- LICENSE.md +49 -0
- README.md +268 -0
- SHA256SUMS +70 -0
- SOURCE.md +14 -0
- chat_template.jinja +94 -0
- config.json +297 -0
- generation_config.json +25 -0
- model-global.safetensors +3 -0
- model-layer-00000.safetensors +3 -0
- model-layer-00001.safetensors +3 -0
- model-layer-00002.safetensors +3 -0
- model-layer-00003.safetensors +3 -0
- model-layer-00004.safetensors +3 -0
- model-layer-00005.safetensors +3 -0
- model-layer-00006.safetensors +3 -0
- model-layer-00007.safetensors +3 -0
- model-layer-00008.safetensors +3 -0
- model-layer-00009.safetensors +3 -0
- model-layer-00010.safetensors +3 -0
- model-layer-00011.safetensors +3 -0
- model-layer-00012.safetensors +3 -0
- model-layer-00013.safetensors +3 -0
- model-layer-00014.safetensors +3 -0
- model-layer-00015.safetensors +3 -0
- model-layer-00016.safetensors +3 -0
- model-layer-00017.safetensors +3 -0
- model-layer-00018.safetensors +3 -0
- model-layer-00019.safetensors +3 -0
- model-layer-00020.safetensors +3 -0
- model-layer-00021.safetensors +3 -0
- model-layer-00022.safetensors +3 -0
- model-layer-00023.safetensors +3 -0
- model-layer-00024.safetensors +3 -0
- model-layer-00025.safetensors +3 -0
- model-layer-00026.safetensors +3 -0
- model-layer-00027.safetensors +3 -0
- model-layer-00028.safetensors +3 -0
- model-layer-00029.safetensors +3 -0
- model-layer-00030.safetensors +3 -0
- model-layer-00031.safetensors +3 -0
- model-layer-00032.safetensors +3 -0
- model-layer-00033.safetensors +3 -0
- model-layer-00034.safetensors +3 -0
- model-layer-00035.safetensors +3 -0
- model-layer-00036.safetensors +3 -0
- model-layer-00037.safetensors +3 -0
- model-layer-00038.safetensors +3 -0
- model-layer-00039.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -1,35 +1,4 @@
|
|
| 1 |
-
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
-
|
| 27 |
-
*.
|
| 28 |
-
*.
|
| 29 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
-
*.xz 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.json text eol=lf
|
| 3 |
+
*.md text eol=lf
|
| 4 |
+
*.jinja text eol=lf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EVALUATION.md
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Evaluation summary
|
| 2 |
+
|
| 3 |
+
This file separates the checkpoint-quality measurements from runtime
|
| 4 |
+
compatibility checks. It is not a reproduction of the base model's published
|
| 5 |
+
software-engineering benchmark table.
|
| 6 |
+
|
| 7 |
+
## Checkpoint quality against the frozen BF16 base
|
| 8 |
+
|
| 9 |
+
The selected unscaled checkpoint was compared with
|
| 10 |
+
`poolside/Laguna-S-2.1@e80da38da3ed4c4e56888cc1ba39582946a164ba` on 16 disjoint
|
| 11 |
+
512-token held-out blocks, covering 8,176 scored next-token positions.
|
| 12 |
+
|
| 13 |
+
| Metric | Selective AWQ | BF16 reference |
|
| 14 |
+
| --- | ---: | ---: |
|
| 15 |
+
| Final-hidden relative L2 | 0.0052877845 | 0 by definition |
|
| 16 |
+
| Mean full-vocabulary KLD | 0.2344706438 nats | 0 by definition |
|
| 17 |
+
| Perplexity | 23.73715897 | 23.17865143 |
|
| 18 |
+
| Token top-1 agreement | 86.6683% | 100% by definition |
|
| 19 |
+
| Small math/code/agent smoke suite | 29/30 | Not used as a public benchmark |
|
| 20 |
+
|
| 21 |
+
The held-out token tensor SHA-256 is
|
| 22 |
+
`77976641882fa641e26f998594aa935518acb7796e9907e7182656b1361015ce`.
|
| 23 |
+
|
| 24 |
+
## V100 combined FP16 runtime correction
|
| 25 |
+
|
| 26 |
+
The V100 add-on was tested on four Tesla V100 PCIe 32GB GPUs with tensor
|
| 27 |
+
parallel size 4, 1Cat-vLLM 1.2.2, PyTorch 2.10.0+cu128, Transformers 5.14.1,
|
| 28 |
+
driver 580.159.04, FP16 activations/KV, `TRITON_ATTN`, chunked prefill, prefix
|
| 29 |
+
caching disabled, eager execution, and custom all-reduce disabled.
|
| 30 |
+
|
| 31 |
+
The original add-on corrected the late-layer activation range but missed a
|
| 32 |
+
separate Laguna/vLLM integration defect. In the pinned runtime, MoERunner's
|
| 33 |
+
FP16 overflow-protection path returns the combined routed/shared MoE output at
|
| 34 |
+
`1 / routed_scaling_factor` of Laguna's mathematical decoder result and
|
| 35 |
+
requires a matching decoder compensation. The Laguna decoder omitted that
|
| 36 |
+
multiply, so all 47 MoE layer outputs were approximately `0.4x` when the
|
| 37 |
+
configured factor was `2.5`. BF16 does not use this branch.
|
| 38 |
+
|
| 39 |
+
Rc4 combines the required FP16 MoE `x2.5` forward compensation with the
|
| 40 |
+
existing local Layer-45 `/64` range repair. The unchanged load-time weight
|
| 41 |
+
transform was checked against the materialized Layer-45 `/64` reference:
|
| 42 |
+
|
| 43 |
+
- 3,882 Layers 45-47 tensors checked;
|
| 44 |
+
- 1,545 transformed tensors bitwise identical;
|
| 45 |
+
- 2,337 untouched tensors bitwise identical;
|
| 46 |
+
- Layer 45 AWQ `qweight` and `qzeros` unchanged.
|
| 47 |
+
|
| 48 |
+
After correcting the MoE semantics in both arms, the fixed 32-record runtime
|
| 49 |
+
corpus and all 8,212 shared scored positions were re-run. The local repair was
|
| 50 |
+
compared with an unscaled FP16 reference that included the same required MoE
|
| 51 |
+
compensation:
|
| 52 |
+
|
| 53 |
+
| Metric | Rc4 local repair versus corrected unscaled FP16 |
|
| 54 |
+
| --- | ---: |
|
| 55 |
+
| Mean coarsened KLD | 6.0291049932e-05 nats |
|
| 56 |
+
| Maximum coarsened KLD | 0.0339052182 nats |
|
| 57 |
+
| Token top-1 agreement | 99.9391% |
|
| 58 |
+
| Actual-token logprob MAE | 0.00373973 |
|
| 59 |
+
| Diagnostic PPL | 21.9160 versus 21.9363 reference |
|
| 60 |
+
|
| 61 |
+
The runtime corpus uses 1Cat-vLLM prompt-logprob output only for same-position
|
| 62 |
+
distribution comparisons. Its token attachment is observed to be shifted by
|
| 63 |
+
one position for Laguna, so the large diagnostic PPL value from that harness is
|
| 64 |
+
not presented as an accepted language-model perplexity result.
|
| 65 |
+
|
| 66 |
+
## V100 functional checks
|
| 67 |
+
|
| 68 |
+
| Test | Result |
|
| 69 |
+
| --- | ---: |
|
| 70 |
+
| Complete 512-token calibration blocks with top-5 logprobs | 256/256 finite |
|
| 71 |
+
| Forced generation immediately after an internal EOS | 11/11 finite |
|
| 72 |
+
| Histories with two or three explicitly injected EOS tokens | 4/4 finite |
|
| 73 |
+
| Plain text generation | Passed |
|
| 74 |
+
| Parsed reasoning response | Passed |
|
| 75 |
+
| Forced structured tool call and JSON arguments | Passed |
|
| 76 |
+
| 30-case math/code/agent smoke (`thinking=off`, 512-token cap) | 29/30; all 30 predictions matched the saved pre-rc4 run |
|
| 77 |
+
| Chinese chat, English chat, Python code, raw Chinese completion | Passed; no prior corruption/repetition or replacement characters |
|
| 78 |
+
| 4,095-token needle | Passed; 3.156 s TTFT; 1,297.36 tok/s end-to-end prefill |
|
| 79 |
+
| 15,352-token needle | Passed; 11.028 s TTFT; 1,392.07 tok/s end-to-end prefill |
|
| 80 |
+
| 259,989-token needle | Passed; exact needle recovered; 1,384.602 s TTFT; 187.77 tok/s end-to-end prefill |
|
| 81 |
+
|
| 82 |
+
The 259,989-token request completed in 1,387.309 seconds including 23 output
|
| 83 |
+
tokens. Peak sampled device memory was 31,968 MiB used and 527 MiB free on each
|
| 84 |
+
V100; the server remained healthy with no OOM and no restart.
|
| 85 |
+
|
| 86 |
+
The 30-case suite is a gross-regression smoke test, not a public benchmark or
|
| 87 |
+
an exact numerical gate. Two exploratory runs with a 128-token cap were
|
| 88 |
+
discarded because verbose answer/reasoning text was truncated before the final
|
| 89 |
+
option. With a 512-token cap, rc4 reproduced all 30 saved predictions exactly.
|
| 90 |
+
|
| 91 |
+
## Stock-vLLM BF16 compatibility probe
|
| 92 |
+
|
| 93 |
+
The exact unscaled RC was copied to a second machine, passed its complete
|
| 94 |
+
`SHA256SUMS` check, and was loaded by upstream vLLM 0.24.0 with
|
| 95 |
+
`trust_remote_code=False`, `dtype=bfloat16`, and native
|
| 96 |
+
`LagunaForCausalLM`/AutoAWQ support. The compatibility host used heterogeneous
|
| 97 |
+
TP2 across an RTX 3090 24 GB (SM86) and RTX 5060 Ti 16 GB (SM120), with 36 GiB
|
| 98 |
+
CPU offload configured per GPU, PyTorch 2.11.0+cu130, and Transformers 5.14.1.
|
| 99 |
+
|
| 100 |
+
Both TP workers reported the same loaded parameter inventory: 917 tensors,
|
| 101 |
+
comprising 624 BF16 tensors, 47 FP32 router-bias tensors, and 246 INT32 packed
|
| 102 |
+
tensors. No loaded parameter was FP16. Representative embeddings, attention,
|
| 103 |
+
protected prefix/tail experts, shared experts, final norm, and LM head were
|
| 104 |
+
BF16; packed AWQ weights remained INT32 and their floating scales were BF16.
|
| 105 |
+
|
| 106 |
+
A real 28-token forward containing EOS token id 2 at position 0 installed hooks
|
| 107 |
+
on every decoder layer:
|
| 108 |
+
|
| 109 |
+
| Check | Result |
|
| 110 |
+
| --- | ---: |
|
| 111 |
+
| Decoder layers observed | 48/48 on both TP workers |
|
| 112 |
+
| Hidden/residual dtype and finiteness | BF16 and finite on every observed layer |
|
| 113 |
+
| Loaded FP16 parameter tensors | 0 on both TP workers |
|
| 114 |
+
| Layer 47 hidden maximum | 73,728, finite in BF16 and above FP16's 65,504 limit |
|
| 115 |
+
| Final normalization | BF16, finite, max absolute value 15.125 |
|
| 116 |
+
| One-token decode | Completed |
|
| 117 |
+
|
| 118 |
+
This is deliberately a compatibility and dtype/range test. Heavy CPU offload
|
| 119 |
+
and the mixed GPUs make its latency non-representative; 4K, 16K, and 256K
|
| 120 |
+
performance were not re-measured on this host. The complete long-context and
|
| 121 |
+
functional acceptance numbers above belong to the primary 4x V100 target.
|
| 122 |
+
|
| 123 |
+
## Scope and untested paths
|
| 124 |
+
|
| 125 |
+
- Laguna S 2.1 is text-to-text; it has no image or audio encoder, so no
|
| 126 |
+
multimodal test is applicable.
|
| 127 |
+
- The exact unscaled main checkpoint has passed a stock-vLLM BF16 native load,
|
| 128 |
+
positive loaded-parameter probe, 48-layer activation probe, and short EOS
|
| 129 |
+
forward. A homogeneous, all-GPU BF16 performance run was not performed.
|
| 130 |
+
- Transformers/AutoAWQ inference, SGLang, TensorRT-LLM, standalone RTX 3090,
|
| 131 |
+
DFlash, MTP, and the configured one-million-token maximum context are not
|
| 132 |
+
evaluated.
|
LICENSE.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
OpenMDW License Agreement, version 1.1 (OpenMDW-1.1)
|
| 2 |
+
|
| 3 |
+
By exercising rights granted to you under this agreement, you accept and agree
|
| 4 |
+
to its terms.
|
| 5 |
+
|
| 6 |
+
As used in this agreement, "Model Materials" means the materials provided to
|
| 7 |
+
you under this agreement, consisting of: (1) one or more machine learning
|
| 8 |
+
models (including architecture and parameters); and (2) all related artifacts
|
| 9 |
+
(including associated data, documentation and software) that are provided to
|
| 10 |
+
you hereunder.
|
| 11 |
+
|
| 12 |
+
Subject to your compliance with this agreement, permission is hereby granted,
|
| 13 |
+
free of charge, to deal in the Model Materials without restriction, including
|
| 14 |
+
under all copyright, patent, database, and trade secret rights included or
|
| 15 |
+
embodied therein.
|
| 16 |
+
|
| 17 |
+
If you distribute any portion of the Model Materials, you shall retain in your
|
| 18 |
+
distribution (1) a copy of this agreement, and (2) all copyright notices and
|
| 19 |
+
other notices of origin included in the Model Materials that are applicable to
|
| 20 |
+
your distribution.
|
| 21 |
+
|
| 22 |
+
If you file, maintain, or voluntarily participate in a lawsuit against any
|
| 23 |
+
person or entity asserting that the Model Materials directly or indirectly
|
| 24 |
+
infringe any patent or copyright, then all rights and grants made to you
|
| 25 |
+
hereunder are terminated, unless that lawsuit was in response to a
|
| 26 |
+
corresponding lawsuit first brought against you.
|
| 27 |
+
|
| 28 |
+
This agreement does not impose any restrictions or obligations with respect to
|
| 29 |
+
any use, modification, or sharing of any outputs generated by using the Model
|
| 30 |
+
Materials.
|
| 31 |
+
|
| 32 |
+
THE MODEL MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
| 33 |
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 34 |
+
FITNESS FOR A PARTICULAR PURPOSE, TITLE, NONINFRINGEMENT, ACCURACY, OR THE
|
| 35 |
+
ABSENCE OF LATENT OR OTHER DEFECTS OR ERRORS, WHETHER OR NOT DISCOVERABLE, ALL
|
| 36 |
+
TO THE GREATEST EXTENT PERMISSIBLE UNDER APPLICABLE LAW.
|
| 37 |
+
|
| 38 |
+
YOU ARE SOLELY RESPONSIBLE FOR (1) CLEARING RIGHTS OF OTHER PERSONS THAT MAY
|
| 39 |
+
APPLY TO THE MODEL MATERIALS OR ANY USE THEREOF, INCLUDING WITHOUT LIMITATION
|
| 40 |
+
ANY PERSON'S COPYRIGHTS OR OTHER RIGHTS INCLUDED OR EMBODIED IN THE MODEL
|
| 41 |
+
MATERIALS; (2) OBTAINING ANY NECESSARY CONSENTS, PERMISSIONS OR OTHER RIGHTS
|
| 42 |
+
REQUIRED FOR ANY USE OF THE MODEL MATERIALS; OR (3) PERFORMING ANY DUE
|
| 43 |
+
DILIGENCE OR UNDERTAKING ANY OTHER INVESTIGATIONS INTO THE MODEL MATERIALS OR
|
| 44 |
+
ANYTHING INCORPORATED OR EMBODIED THEREIN.
|
| 45 |
+
|
| 46 |
+
IN NO EVENT SHALL THE PROVIDERS OF THE MODEL MATERIALS BE LIABLE FOR ANY CLAIM,
|
| 47 |
+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
| 48 |
+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MODEL MATERIALS, THE
|
| 49 |
+
USE THEREOF OR OTHER DEALINGS THEREIN.
|
README.md
ADDED
|
@@ -0,0 +1,268 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: openmdw-1.1
|
| 3 |
+
base_model: poolside/Laguna-S-2.1
|
| 4 |
+
base_model_relation: quantized
|
| 5 |
+
library_name: transformers
|
| 6 |
+
pipeline_tag: text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- laguna
|
| 9 |
+
- awq
|
| 10 |
+
- selective-quantization
|
| 11 |
+
- w4a16
|
| 12 |
+
- moe
|
| 13 |
+
- bfloat16
|
| 14 |
+
- vllm
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# Laguna S 2.1 Selective AWQ — W4A16 g32
|
| 18 |
+
|
| 19 |
+
This project was built to make the 118B-parameter Laguna S 2.1 MoE model usable on **4× Tesla V100 32GB with tensor parallel size 4 and a checkpoint below 100 GB**. The size ceiling, W4A16 g32 asymmetric quantization, FP16 weight storage, and the protected routed-expert allocation—Layers 1–4 and 46–47—were all selected for that deployment target.
|
| 20 |
+
|
| 21 |
+
The main checkpoint is the general form of the same work: one unscaled weight artifact configured for BF16 activations, intended to run directly on a BF16-capable SM80+ system with stock vLLM. The V100 runtime add-on reuses those exact weights; there is no second V100 checkpoint.
|
| 22 |
+
|
| 23 |
+
This is an independently produced selective AWQ quantization of [poolside/Laguna-S-2.1](https://huggingface.co/poolside/Laguna-S-2.1). It is not an official Poolside release.
|
| 24 |
+
|
| 25 |
+
## Critical dtype requirement for the main checkpoint
|
| 26 |
+
|
| 27 |
+
**Run the unscaled main checkpoint with BF16 activations. Do not force FP16 (`float16`/`half`).**
|
| 28 |
+
|
| 29 |
+
The original model can produce very large late-layer hidden states at BOS/EOS anchor positions. In our fixed calibration replay, the largest observed BF16 hidden value was approximately `950,272`, above the FP16 finite limit of `65,504`. Each of the 1,097 token-id-2 BOS/EOS anchor rows contained at least one component outside the FP16 range, while the largest observed non-anchor value was `17,152`. Normalized outputs and logits remained finite in BF16.
|
| 30 |
+
|
| 31 |
+
This is an activation dynamic-range property, not an AWQ packing failure. A runtime that silently executes the main checkpoint with FP16 activations can produce non-finite logits at EOS positions.
|
| 32 |
+
|
| 33 |
+
## V100 runtime add-on — primary deployment target
|
| 34 |
+
|
| 35 |
+
The included `v100-1cat/` directory is a small, fail-closed runtime patch for the configuration that motivated this quantization:
|
| 36 |
+
|
| 37 |
+
- 4× Tesla V100 PCIe 32GB;
|
| 38 |
+
- tensor parallel size 4;
|
| 39 |
+
- 1Cat-vLLM 1.2.2;
|
| 40 |
+
- FP16 activations and FP16 KV cache;
|
| 41 |
+
- `TRITON_ATTN`, chunked prefill, and prefix caching disabled.
|
| 42 |
+
|
| 43 |
+
It is deliberately version-pinned, not a cross-version plugin. It uses the exact main-model revision without copying or permanently rewriting the approximately 94 GB checkpoint.
|
| 44 |
+
|
| 45 |
+
Rc4 fixes two independent FP16 runtime problems. The pinned 1Cat/vLLM MoE runner's overflow-protection branch represents Laguna's combined routed/shared output at `1 / routed_scaling_factor` and requires a matching decoder compensation. The pinned Laguna decoder omitted that multiply, so each MoE layer returned approximately `0.4x` of the intended branch output for the configured factor `2.5`. Rc4 restores the required FP16 `x2.5` after every MoE layer. BF16 inference does not use this branch and is unaffected.
|
| 46 |
+
|
| 47 |
+
The second problem is the late-layer BOS/EOS activation overflow. For that range repair, the add-on applies a local power-of-two reparameterization to Layers 45–47, while the forward path multiplies hidden/residual by `1/64` once before Layer 45:
|
| 48 |
+
|
| 49 |
+
- attention `o_proj`: `× 1/64`;
|
| 50 |
+
- routed/shared expert `up_proj`: `× 1/256`;
|
| 51 |
+
- routed/shared expert `down_proj`: `× 4`.
|
| 52 |
+
|
| 53 |
+
The net branch factor is `1/64`. Layer 45 remains W4; its `qweight` and `qzeros` are unchanged, while the relevant floating AWQ scale carriers are transformed. The add-on rejects an unknown model revision, quantization layout, or tensor count.
|
| 54 |
+
|
| 55 |
+
`FLASH_ATTN_V100` is deliberately rejected by the add-on. On this model, the tested Flash-V100 path became non-finite after chunked prefill crossed its observed boundary. Triton is somewhat slower on short prompts, but it is the accepted V100 path from 512 tokens through long context.
|
| 56 |
+
|
| 57 |
+
The same-weight loader-time implementation has reproduced the materialized reference:
|
| 58 |
+
|
| 59 |
+
| Test | Loader-time add-on result |
|
| 60 |
+
| --- | ---: |
|
| 61 |
+
| Loader transform versus materialized reference | 1,545 transformed and 2,337 untouched tail tensors bitwise identical |
|
| 62 |
+
| Complete EOS-containing calibration blocks | 256/256 finite |
|
| 63 |
+
| Generation immediately after internal EOS | 11/11 finite |
|
| 64 |
+
| Explicit multi-EOS histories | 4/4 finite |
|
| 65 |
+
| Chinese/English chat, Python code, raw Chinese completion | Passed; no prior corruption/repetition or replacement characters |
|
| 66 |
+
| Mean coarsened KLD versus corrected unscaled FP16 arm | `6.0291049932e-05` nats over 8,212 positions |
|
| 67 |
+
| Token top-1 agreement versus corrected unscaled FP16 arm | 99.9391% |
|
| 68 |
+
| Actual-token logprob MAE versus corrected unscaled FP16 arm | `0.00373973` |
|
| 69 |
+
| Plain text, parsed reasoning, forced structured tool call | Passed |
|
| 70 |
+
| 30-case math/code/agent smoke | 29/30; all 30 predictions matched the saved pre-rc4 run |
|
| 71 |
+
| 4,095- and 15,352-token needles | Passed |
|
| 72 |
+
| 259,989-token needle | Passed; exact needle recovered; 1,384.602 s TTFT; 187.77 tok/s end-to-end prefill |
|
| 73 |
+
|
| 74 |
+
The non-zero KLD and 99.9391% top-1 figures compare rc4's Layer-45 `/64` repair with an unscaled FP16 runtime that includes the same required MoE `x2.5` correction. The diagnostic PPL changed from 21.9363 to 21.9160, but 1Cat's Laguna prompt-logprob token attachment is shifted by one position, so that value is not presented as a language-model perplexity result.
|
| 75 |
+
|
| 76 |
+
The 30-case smoke used `thinking=off` with a 512-token cap. It is a small gross-regression check, not a public benchmark or an exact numerical gate.
|
| 77 |
+
|
| 78 |
+
A standalone global `/32` weight-folding experiment was also tested and rejected: against the same unscaled baseline it produced `0.0661285` nats mean coarsened KLD and `91.0010%` token top-1 agreement because FP16 rounding accumulated through all 48 layers. The V100 release therefore uses the local runtime add-on.
|
| 79 |
+
|
| 80 |
+
## Model summary
|
| 81 |
+
|
| 82 |
+
Laguna S 2.1 is a text-to-text, 118B-total-parameter, approximately 8B-active-per-token Mixture-of-Experts model for agentic coding and long-horizon work. It is not a vision or audio model. The base model has 48 decoder layers, 256 routed experts plus one shared expert, and a configured context window of 1,048,576 tokens. See the [official base model card](https://huggingface.co/poolside/Laguna-S-2.1) for architecture, chat formatting, intended use, responsible-use guidance, and base-model benchmark results.
|
| 83 |
+
|
| 84 |
+
Frozen base revision:
|
| 85 |
+
|
| 86 |
+
```text
|
| 87 |
+
poolside/Laguna-S-2.1@e80da38da3ed4c4e56888cc1ba39582946a164ba
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
## Quantization layout
|
| 91 |
+
|
| 92 |
+
Layer numbers are zero-based Hugging Face names, `model.layers.N`.
|
| 93 |
+
|
| 94 |
+
| Component | Stored format |
|
| 95 |
+
| --- | --- |
|
| 96 |
+
| Layer 0 dense MLP | FP16 |
|
| 97 |
+
| Routed experts, Layers 1–4 | FP16 |
|
| 98 |
+
| Routed experts, Layers 5–45 | AWQ W4A16, group size 32, asymmetric with zero-points |
|
| 99 |
+
| Routed experts, Layers 46–47 | FP16 |
|
| 100 |
+
| Attention, all layers | FP16 |
|
| 101 |
+
| Routers and correction biases, all layers | FP16 |
|
| 102 |
+
| Shared experts, all layers | FP16 |
|
| 103 |
+
| Embeddings, normalization, and output head | FP16 |
|
| 104 |
+
|
| 105 |
+
AWQ configuration:
|
| 106 |
+
|
| 107 |
+
```json
|
| 108 |
+
{
|
| 109 |
+
"bits": 4,
|
| 110 |
+
"group_size": 32,
|
| 111 |
+
"quant_method": "awq",
|
| 112 |
+
"version": "gemm",
|
| 113 |
+
"zero_point": true
|
| 114 |
+
}
|
| 115 |
+
```
|
| 116 |
+
|
| 117 |
+
`W4A16` denotes packed 4-bit weights with 16-bit activations. The main path uses BF16 activations; the V100 add-on uses FP16 activations with the local range repair above.
|
| 118 |
+
|
| 119 |
+
A single FP16-stored weight artifact serves both the BF16 main path and the V100 add-on. The precision effect of storing protected tensors in FP16 is already included in the KLD, perplexity, and top-1 measurements reported below.
|
| 120 |
+
|
| 121 |
+
Some protected FP16 tensors participate in mathematically equivalent AWQ scale compensation. They remain FP16 and were not packed to W4, but they need not be byte-identical to the corresponding base-model tensors.
|
| 122 |
+
|
| 123 |
+
`quantization_config.modules_to_not_convert` has been checked against this exact FP16/W4 layout and the machine-readable tensor audit. Stock vLLM 0.24.0 also loaded the mixed layout successfully; this is no longer inferred only from the JSON declaration.
|
| 124 |
+
|
| 125 |
+
## Why this allocation?
|
| 126 |
+
|
| 127 |
+
The protected prefix and tail were selected from actual packed-model comparisons under the sub-100-GB V100 budget.
|
| 128 |
+
|
| 129 |
+
| FP16 routed-expert layers | Directory bytes | Final hidden rel-L2 | Mean full-vocab KLD | PPL | Top-1 agreement | 30-task smoke |
|
| 130 |
+
| --- | ---: | ---: | ---: | ---: | ---: | ---: |
|
| 131 |
+
| 1–3 and 45–47 | 94,311,697,448 | 0.006003 | 0.241694 | 24.3297 | 86.56% | 28/30 |
|
| 132 |
+
| 1–4 and 45–47 | 97,746,514,057 | 0.005274 | 0.233194 | 23.7390 | 86.94% | 28/30 |
|
| 133 |
+
| **1–4 and 46–47** | **94,311,700,368** | **0.005288** | **0.234471** | **23.7372** | **86.67%** | **29/30** |
|
| 134 |
+
| 1–5 and 46–47 | 97,746,516,977 | 0.005844 | 0.245507 | 23.6633 | 86.77% | 28/30 |
|
| 135 |
+
| 1–6 and 47 | 97,746,519,891 | 0.010638 | 0.249403 | 24.0867 | 86.48% | 29/30 |
|
| 136 |
+
| 1–7 | 97,746,522,803 | 0.060652 | 0.246453 | 24.4271 | 86.35% | 29/30 |
|
| 137 |
+
|
| 138 |
+
The selected layout protects four early and two final routed-expert layers while remaining below the 100,000,000,000-byte checkpoint limit. The 30-task column is a small deterministic regression smoke test, not a general benchmark.
|
| 139 |
+
|
| 140 |
+
## Main-checkpoint usage
|
| 141 |
+
|
| 142 |
+
The supported main path uses upstream vLLM's native Laguna implementation and does not depend on copied model remote code. Transformers inference is not currently a validated path.
|
| 143 |
+
|
| 144 |
+
The command below is the intended BF16 serving form. The Poolside parser flags remain separately qualified below because the stock-vLLM probe exercised the native model and dtype path, not the HTTP parser stack:
|
| 145 |
+
|
| 146 |
+
```bash
|
| 147 |
+
vllm serve \
|
| 148 |
+
--model leoncca/Laguna-S-2.1-Selective-AWQ \
|
| 149 |
+
--tensor-parallel-size 4 \
|
| 150 |
+
--dtype bfloat16 \
|
| 151 |
+
--tool-call-parser poolside_v1 \
|
| 152 |
+
--reasoning-parser poolside_v1 \
|
| 153 |
+
--enable-auto-tool-choice \
|
| 154 |
+
--served-model-name laguna \
|
| 155 |
+
--default-chat-template-kwargs '{"enable_thinking": true}'
|
| 156 |
+
```
|
| 157 |
+
|
| 158 |
+
The parser and chat-template flags are copied from the base model's recommended vLLM setup. Reasoning and forced tool calls passed on the validated 1Cat V100 runtime; the same parser flags have not yet been re-run through the upstream-vLLM HTTP server.
|
| 159 |
+
|
| 160 |
+
The accepted stock-vLLM probe positively verified the loaded dtype rather than relying on the absence of a cast warning. On both TP workers, the 917 exposed parameter tensors consisted of 624 BF16, 47 FP32 router-bias, and 246 INT32 packed tensors, with no FP16 parameter. Hooks observed all 48 decoder layers with BF16 finite hidden/residual tensors and a finite BF16 final norm.
|
| 161 |
+
|
| 162 |
+
Upstream vLLM 0.24.0 contains a native [Laguna model implementation](https://github.com/vllm-project/vllm/blob/v0.24.0/vllm/model_executor/models/laguna.py) and its [AutoAWQ configuration accepts BF16 activations](https://github.com/vllm-project/vllm/blob/v0.24.0/vllm/model_executor/layers/quantization/auto_awq.py). The exact RC was loaded with `trust_remote_code=False`, `dtype=bfloat16`, and `quantization=auto_awq`.
|
| 163 |
+
|
| 164 |
+
## Compatibility status
|
| 165 |
+
|
| 166 |
+
| Environment | Status |
|
| 167 |
+
| --- | --- |
|
| 168 |
+
| Offline packed-model comparison against the frozen BF16 base | Validated |
|
| 169 |
+
| Materialized 4× V100 tail-repair reference | Validated as development evidence |
|
| 170 |
+
| Final same-weight V100 add-on rc4, 1Cat-vLLM 1.2.2 | Validated with corrected FP16 MoE semantics through EOS, 259,989 tokens, reasoning, tool calls, and fixed-corpus drift |
|
| 171 |
+
| Exact main checkpoint, upstream vLLM 0.24.0, BF16 | Native load and positive 48-layer dtype/EOS forward validated on heterogeneous RTX 3090 + RTX 5060 Ti TP2 with CPU offload; not a performance test |
|
| 172 |
+
| Transformers/AutoAWQ inference | Not evaluated |
|
| 173 |
+
| SGLang | Not evaluated |
|
| 174 |
+
| TensorRT-LLM | Not evaluated |
|
| 175 |
+
| Standalone RTX 3090 | Not evaluated; the validated compatibility probe used RTX 3090 + RTX 5060 Ti together |
|
| 176 |
+
| DFlash or MTP | Not evaluated / not included |
|
| 177 |
+
|
| 178 |
+
The `library_name: transformers` metadata describes the Hugging Face configuration/tokenizer format and base architecture; it is not a claim that Transformers inference has been validated.
|
| 179 |
+
|
| 180 |
+
## Quantization and evaluation data
|
| 181 |
+
|
| 182 |
+
### Calibration
|
| 183 |
+
|
| 184 |
+
| Field | Value |
|
| 185 |
+
| --- | --- |
|
| 186 |
+
| Dataset | `codeparrot/self-instruct-starcoder` |
|
| 187 |
+
| Split | `curated` |
|
| 188 |
+
| Dataset revision | `9598805f9276dc0a339e293e9f205ea8bbf41f9f` |
|
| 189 |
+
| Shuffle seed | 42 |
|
| 190 |
+
| Shape | 256 blocks × 512 tokens |
|
| 191 |
+
| Token tensor SHA-256 | `24f5f0f831a6abe747940602e990c81d52a6f39e96c15e23bf8396fc47150b6c` |
|
| 192 |
+
|
| 193 |
+
Calibration data was used for post-training quantization only; the base model was not retrained.
|
| 194 |
+
|
| 195 |
+
### Held-out numerical comparison
|
| 196 |
+
|
| 197 |
+
The main numerical comparison used 16 disjoint 512-token held-out blocks and 8,176 scored next-token positions against the fixed raw-BF16 base revision. Decoder replay used BF16, final normalization accumulated in FP32, and the protected FP16 `lm_head` used the FP16 logit-compute path.
|
| 198 |
+
|
| 199 |
+
| Metric | Selective-AWQ | BF16 reference |
|
| 200 |
+
| --- | ---: | ---: |
|
| 201 |
+
| Final hidden relative-L2 | 0.0052877845 | 0 by definition |
|
| 202 |
+
| Mean full-vocabulary KLD | 0.2344706438 nats | 0 by definition |
|
| 203 |
+
| Perplexity | 23.73715897 | 23.17865143 |
|
| 204 |
+
| Top-1 agreement with reference | 86.6683% | 100% by definition |
|
| 205 |
+
| Deterministic regression smoke suite | 29/30 | Not reported as a public benchmark |
|
| 206 |
+
|
| 207 |
+
Held-out token tensor SHA-256:
|
| 208 |
+
|
| 209 |
+
```text
|
| 210 |
+
77976641882fa641e26f998594aa935518acb7796e9907e7182656b1361015ce
|
| 211 |
+
```
|
| 212 |
+
|
| 213 |
+
These measurements describe quantization drift on a fixed corpus. They do not claim to reproduce the base model's published software-engineering benchmark scores.
|
| 214 |
+
|
| 215 |
+
## Artifact integrity
|
| 216 |
+
|
| 217 |
+
Frozen release checkpoint:
|
| 218 |
+
|
| 219 |
+
| Field | Value |
|
| 220 |
+
| --- | ---: |
|
| 221 |
+
| Safetensors shards | 49 |
|
| 222 |
+
| Indexed tensors | 99,745 |
|
| 223 |
+
| Tensor payload bytes | 94,283,421,184 |
|
| 224 |
+
| Checkpoint shard bytes | 94,295,590,320 (87.820 GiB) |
|
| 225 |
+
| `model.safetensors.index.json` SHA-256 | `95d151973d8e56372a8f449237b665f08e29cbc249189c02898eaac663eccd62` |
|
| 226 |
+
|
| 227 |
+
`Checkpoint shard bytes` counts only the 49 safetensors files. The shards and
|
| 228 |
+
model index remain frozen. The release process regenerates the repository-root
|
| 229 |
+
`SHA256SUMS` for the corrected rc4 add-on; a clean-download verification is
|
| 230 |
+
required before the release tag is created.
|
| 231 |
+
|
| 232 |
+
## Context length
|
| 233 |
+
|
| 234 |
+
The checkpoint inherits the base model's configured maximum context of 1,048,576 tokens, but that length has not been validated for this exact quantized release. Rc4 passed 4,095-, 15,352-, and 259,989-token needle tests and exposes 395,822 KV tokens at the validated 262,144-token server profile. The 259,989-token run recovered the exact needle with 1,384.602 s TTFT (187.77 prompt tok/s); peak sampled memory was 31,968 MiB used and 527 MiB free on each V100. One-million-token context remains not evaluated.
|
| 235 |
+
|
| 236 |
+
## Intended use and limitations
|
| 237 |
+
|
| 238 |
+
This derivative is intended for local or hosted text generation and agentic coding workflows where the selective W4/FP16 trade-off is useful, particularly 4× V100 32GB TP4 deployments.
|
| 239 |
+
|
| 240 |
+
- The main checkpoint requires BF16 activations; forcing FP16 can overflow at EOS positions.
|
| 241 |
+
- The V100 path requires the version-pinned add-on and must not be assumed compatible with other runtimes.
|
| 242 |
+
- Only routed experts in Layers 5–45 are W4, so this is larger than a uniform all-expert W4 checkpoint by design.
|
| 243 |
+
- The stock-vLLM BF16 compatibility test used heterogeneous TP2 plus 36 GiB CPU offload per GPU at a 512-token profile. It validates native loading and dtype/range behavior, not production speed or long-context capacity on that machine.
|
| 244 |
+
- Transformers/AutoAWQ, SGLang, TensorRT-LLM, standalone RTX 3090, DFlash, MTP, and 1M context are not evaluated.
|
| 245 |
+
- Quantization can change generations even when aggregate numerical metrics remain close.
|
| 246 |
+
|
| 247 |
+
Follow the original model card's chat-template, thinking-preservation, intended-use, and responsible-use guidance.
|
| 248 |
+
|
| 249 |
+
## License and attribution
|
| 250 |
+
|
| 251 |
+
The original model is `poolside/Laguna-S-2.1`, created by Poolside and released under OpenMDW-1.1. This repository retains the complete original `LICENSE.md`, copyright notices, and source notices required by that license.
|
| 252 |
+
|
| 253 |
+
Quantization and packaging: `leon`
|
| 254 |
+
|
| 255 |
+
Original model: [poolside/Laguna-S-2.1](https://huggingface.co/poolside/Laguna-S-2.1)
|
| 256 |
+
|
| 257 |
+
Original license: [OpenMDW-1.1](https://huggingface.co/poolside/Laguna-S-2.1/blob/main/LICENSE.md)
|
| 258 |
+
|
| 259 |
+
The V100 runtime patch retains the applicable upstream copyright notices and Apache-2.0 license in `v100-1cat/`.
|
| 260 |
+
|
| 261 |
+
## Release information
|
| 262 |
+
|
| 263 |
+
- Hugging Face publication target: `leoncca/Laguna-S-2.1-Selective-AWQ`
|
| 264 |
+
- Release tag: `v1.0` after clean-download verification
|
| 265 |
+
- Publisher/quantizer: `leon`
|
| 266 |
+
- Main BF16 validation hardware/runtime: upstream vLLM 0.24.0; RTX 3090 24GB (SM86) + RTX 5060 Ti 16GB (SM120), TP2, 36 GiB CPU offload/GPU; PyTorch 2.11.0+cu130; Transformers 5.14.1; native `LagunaForCausalLM`; `trust_remote_code=False`
|
| 267 |
+
- V100 patched Laguna runtime SHA-256: `144ca4515847be808c12ca06a9d8c563a6be8a15d0c90953c16cfd30c5667fa4`
|
| 268 |
+
- Integrity file: repository-root `SHA256SUMS`; clean-download verification is required before `v1.0` is created
|
SHA256SUMS
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
ac2ab20fdf15898c5585310c717a6da02ae3314a4690fc2c166f82e12b1babd4 .gitattributes
|
| 2 |
+
49721fe21377cfb692747d273abf7ef74a1684f368b19609090cd0a200073677 EVALUATION.md
|
| 3 |
+
2ab44b68365473c112f5092211a38f231cb23e50de68b75a13369adbd76a74df LICENSE.md
|
| 4 |
+
108c9d5ad4befda2b90e39ab94b9da6ffd5bc826083c341cab4fd53efaba9a5c README.md
|
| 5 |
+
5a8d47d38f6b65b640ceeb504266efd3571bb8db2a77bc50890961ffdb9b9d84 SOURCE.md
|
| 6 |
+
444819b8ad4612870827ac05b9147fe9e3344d3850cae8c2790898fc514099ff chat_template.jinja
|
| 7 |
+
ee36d2434f4b821178937cf722960439702390fc74f8f9cb1a11baaa6baa1a73 config.json
|
| 8 |
+
ef713922daeddd03571647b452f012813b08710a9a0c0529cf0a1077f61529d3 generation_config.json
|
| 9 |
+
599441a338d126518dbdf3bc3787ca6acae1d8413eebe5f2ce7c3bae2160e6be model-global.safetensors
|
| 10 |
+
f7fbef02ed3ce5b37e35262527e68d7a0e9d8244aa4ad92cb488bdc4eb777f7d model-layer-00000.safetensors
|
| 11 |
+
6a7489a3a325a97eff14cce5e055280ec87a375647fce53a36ee90f1d32d55ff model-layer-00001.safetensors
|
| 12 |
+
312fc7ed6a8ad44b7e65bd8dd98ff34a141af7642c96922486da31c245690184 model-layer-00002.safetensors
|
| 13 |
+
ddca9dde8160308a56be9ba2e77da659bb16e4a4cab0318a60e3609472e5039c model-layer-00003.safetensors
|
| 14 |
+
3ba9db730bf53e69aeaa29299401e9088cda760586e9f54affa364e6be144e8c model-layer-00004.safetensors
|
| 15 |
+
3330e92d09d1848735914d5529f5091bd44abd0d0c853a20ab8f15c1ecfdad7f model-layer-00005.safetensors
|
| 16 |
+
ec5316d9f95f4de95c22884540448b03a930e360c1b6c95937f73d245f6665c6 model-layer-00006.safetensors
|
| 17 |
+
b40aea7c670a64acda0d03d57f3116c8fbf71b1b23558cd5864fa6e1ae924fdc model-layer-00007.safetensors
|
| 18 |
+
e06732c88415be2c5415a7a318426f38d466d7f1fc7510783485b34419765745 model-layer-00008.safetensors
|
| 19 |
+
35caa322f492e0120d1ce4da4e8fb68a40f18ddb58d182d225c471c04fdbf4af model-layer-00009.safetensors
|
| 20 |
+
dafd5245384114a755c17e07ab245e5914c4b1b304aa32f695d6109f8a38f380 model-layer-00010.safetensors
|
| 21 |
+
9f6c988963eb8c5a8e4af8b33daabe95a522ce531661590854f3e0daebce573b model-layer-00011.safetensors
|
| 22 |
+
36de4f026dba4169399b24d0179f54318611937c525273faba4df08471536161 model-layer-00012.safetensors
|
| 23 |
+
50618336c04a2b98aa50961b274520b04d89cc2b9605b831288908bb889dacd5 model-layer-00013.safetensors
|
| 24 |
+
3293758717abc17e88b026c978b44fb19888afca4e41519da2feb10ad876c61f model-layer-00014.safetensors
|
| 25 |
+
a3a41bc9bc7128c9ee3dbc2ce81004aede134ac045ed0c82804a17e69b0379d0 model-layer-00015.safetensors
|
| 26 |
+
94d98597f8444a1a88c56fe76cf9ab2f88d3795605594a6d57a2434d108bb21c model-layer-00016.safetensors
|
| 27 |
+
8b2451a294a07df422c2f3d1132040d60d62b8ab459705e587d83d86a19e1db4 model-layer-00017.safetensors
|
| 28 |
+
c4dbb15ca1ab682803079f8fbff90334810fefc19d79712523216fa795a758d3 model-layer-00018.safetensors
|
| 29 |
+
729891450bf203b040fb305a12a0e9a7556b489521ad8c7ecfa59f60ff6587d6 model-layer-00019.safetensors
|
| 30 |
+
95541d606cba24d44bd7879f11fda96653fbd55aecec0da61d1b972f841dc61c model-layer-00020.safetensors
|
| 31 |
+
6e857b6a3a5c43cc05ba3544ed8f5a1a1b4d97ad2da9fe8b2480c9b9e1b76fce model-layer-00021.safetensors
|
| 32 |
+
0fb6b8736529bf35c0aed4172b70913df1c2e31bb537f3c1903a305684f65026 model-layer-00022.safetensors
|
| 33 |
+
f239f2e15d800e1040a4507d8d323f4e32d850e99abfd6e2512b59b6e0aa6d47 model-layer-00023.safetensors
|
| 34 |
+
24f4882df110522917b72454f326aab6478b7743c9dbf18e91483065e215f561 model-layer-00024.safetensors
|
| 35 |
+
3509305dd38aba8ab78431056eb7c740321f07e9f35a0009168e14a1d41f309b model-layer-00025.safetensors
|
| 36 |
+
2bfe7c15915efc3cdc1d24a0dda636ede0c7d2d93dba4c9b1912db8731819bb1 model-layer-00026.safetensors
|
| 37 |
+
996c8a23236d34083cf560707468f4e70041e6f000f88b256896f17021ea5cfb model-layer-00027.safetensors
|
| 38 |
+
c2efb8d642c4c64faef4808d4d8bb3cd5fbc57414a1f6376f4a6a9d9b6413e8b model-layer-00028.safetensors
|
| 39 |
+
31f4b10ff17f6226ee42ee6904228c04f4866088c5dcf3bfa9967451572d3577 model-layer-00029.safetensors
|
| 40 |
+
619174715bfb454f10243c45160827d0d16836ef9e795bbadc504f62d9fd78e9 model-layer-00030.safetensors
|
| 41 |
+
37ce2303f98e6cb5dc41a38fc5b9a14c6bcbc1b7f2503c8fa9cdd3c609593f56 model-layer-00031.safetensors
|
| 42 |
+
704274442ad16a153f7e0f427e963269481d895efe11dd319ea5955d41ff3ef7 model-layer-00032.safetensors
|
| 43 |
+
fe8fe9aded6dcc74407d20ec76fc7ac71599a42c6441a6ce2680a4141c69289f model-layer-00033.safetensors
|
| 44 |
+
8cb23551b182bb92f0e49ab4bad1149e43782d476c12b9362689e9656c85c16a model-layer-00034.safetensors
|
| 45 |
+
f9d5668135419cbad391df2b405400cce2dfccdd1bb3925a5b369d580feb6186 model-layer-00035.safetensors
|
| 46 |
+
ba147cf1e0307a6674497951cf240a4a4fc0e93efc7dc876e21c58911c696fd8 model-layer-00036.safetensors
|
| 47 |
+
24475cbb782635197caee4cd33f7d4b2cc9509e8b14691f2fe87427eb83e0348 model-layer-00037.safetensors
|
| 48 |
+
ec492bfa2931a787081b5cc07004598dcba30d11cf5cbf4cac7483ae1f238e36 model-layer-00038.safetensors
|
| 49 |
+
8b20c1efb28901ff35c213eeb5831b12727b69de0ea9e30671034f47fba5a66c model-layer-00039.safetensors
|
| 50 |
+
36734192f4d1a4cdd4ac9c2677d47ed6bf01daaeada9c93e111bfcd4772f3171 model-layer-00040.safetensors
|
| 51 |
+
9a9b049b86bd0efc36ef17ebf42958478359913d38e1ba22e8f7ae5deee84916 model-layer-00041.safetensors
|
| 52 |
+
09b54bae43e54d8292b7e3a310f016057663130c43c9e17555754054a0f65e67 model-layer-00042.safetensors
|
| 53 |
+
b4dc8d93733ec75dbe84502918665d5e689c97ba9199b50a3339bab2e2b76e1e model-layer-00043.safetensors
|
| 54 |
+
d8207b04d73b5f35208ccda6d8238e89bc2adee8516960c2bac30d7517a10b93 model-layer-00044.safetensors
|
| 55 |
+
6072c9369453d199d597e5df3f4cc825b73d0ed197fc29a99efdb913453401d2 model-layer-00045.safetensors
|
| 56 |
+
e4ff6bae1d7194051ae1632cf8b00cfae0746b78be6cb9c763c577a66f5662ca model-layer-00046.safetensors
|
| 57 |
+
361df0ee52f5e12cb9eb1123a577460e6af4881ad83aaa7164c327bb9ee05c42 model-layer-00047.safetensors
|
| 58 |
+
95d151973d8e56372a8f449237b665f08e29cbc249189c02898eaac663eccd62 model.safetensors.index.json
|
| 59 |
+
3a1d74c8ff1a35ed8e05f02185e2e8e1a60b59415513a9d28f2150a651a296b7 quantization-manifest.json
|
| 60 |
+
794a71715a7116655f71822b84ccf3621722c51867705a06fc037ba2ccd0aa29 quantize_config.json
|
| 61 |
+
466fc850e087d003f0a839d4904a7b4c9854746d7370978228b7238f3d477a9c tokenizer.json
|
| 62 |
+
36d813a77e02ab0c125e1d5a39d07f67457fb11d46c92fca6396b97e05d2c08e tokenizer_config.json
|
| 63 |
+
a4381701afa217fd48ff31d02db79fdbe94c336275ae7f822656c20d35b4147b v100-1cat/Dockerfile
|
| 64 |
+
e90841d1888117d8a7708ec4535958017ace489752f10ceea6100e4d7e2b50a8 v100-1cat/Dockerfile.base
|
| 65 |
+
c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 v100-1cat/LICENSE-APACHE-2.0
|
| 66 |
+
766c281c1fee419f4acead250b2a383a573f3b71c39bab67ff9b74ed64b0ba94 v100-1cat/README.md
|
| 67 |
+
01e8c414ba5207e07db1cad5e503e4fbb6ab5a37fb3b30d2a7838e9c8f1dc255 v100-1cat/entrypoint.sh
|
| 68 |
+
0d2422eaa0802ed1dd00a6ce1f3c6ba4ec4b343600671b510eccc2ca7712aa08 v100-1cat/install_v100_patch.py
|
| 69 |
+
77b333378e2b87b354411b0222cfd702fe98ab7a2dd8a138d5cc5a699e1eb466 v100-1cat/run.sh
|
| 70 |
+
91ee2d43988c6bb40d6ddd1809773b786c66d2ec330619eff2f4a3a4c7385ea0 v100-1cat/verify_model.py
|
SOURCE.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Source and attribution
|
| 2 |
+
|
| 3 |
+
This repository is an independently produced selective AWQ quantization of
|
| 4 |
+
[poolside/Laguna-S-2.1](https://huggingface.co/poolside/Laguna-S-2.1). It is not an official
|
| 5 |
+
Poolside release.
|
| 6 |
+
|
| 7 |
+
- Original creator: Poolside
|
| 8 |
+
- Original model: `poolside/Laguna-S-2.1`
|
| 9 |
+
- Frozen source revision: `e80da38da3ed4c4e56888cc1ba39582946a164ba`
|
| 10 |
+
- Original license: OpenMDW-1.1; the complete license is retained as `LICENSE.md`
|
| 11 |
+
- Quantization and packaging: `leon`
|
| 12 |
+
|
| 13 |
+
The model weights are modified derivative Model Materials. The original source
|
| 14 |
+
and the applicable notice of origin are retained here for redistribution.
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{#- Iteration on laguna_glm_thinking_v8/chat_template.jinja -#}
|
| 2 |
+
{#- No formatting instructions -#}
|
| 3 |
+
{{- "〈|EOS|〉" -}}
|
| 4 |
+
{%- set enable_thinking = enable_thinking | default(true) -%}
|
| 5 |
+
{%- set add_generation_prompt = add_generation_prompt | default(false) -%}
|
| 6 |
+
{%- set preserve_thinking = preserve_thinking | default(false) -%}
|
| 7 |
+
|
| 8 |
+
{#- ───── header (system message) ───── -#}
|
| 9 |
+
{#- A caller-supplied system message with empty content opts out of the default below, producing no <system> block — used to train without a system message. -#}
|
| 10 |
+
{%- set system_message = "You are a helpful, conversationally-fluent assistant made by Poolside. You are here to be helpful to users through natural language conversations." -%}
|
| 11 |
+
{%- if messages and messages[0].role == "system" -%}
|
| 12 |
+
{%- set system_message = messages[0].content -%}
|
| 13 |
+
{%- set messages = messages[1:] -%}
|
| 14 |
+
{%- endif -%}
|
| 15 |
+
|
| 16 |
+
{%- set has_sys = system_message and system_message.strip() -%}
|
| 17 |
+
{%- if has_sys or tools or enable_thinking -%}
|
| 18 |
+
{{- "<system>" -}}
|
| 19 |
+
|
| 20 |
+
{%- if has_sys -%}
|
| 21 |
+
{{- system_message.rstrip() -}}
|
| 22 |
+
{%- if tools -%}{{- "\n\n" -}}{%- endif -%}
|
| 23 |
+
{%- endif -%}
|
| 24 |
+
|
| 25 |
+
{%- if tools -%}
|
| 26 |
+
{{- "### Tools\n\n" -}}
|
| 27 |
+
{{- "You may call functions to assist with the user query.\n" -}}
|
| 28 |
+
{{- "All available function signatures are listed below:\n" -}}
|
| 29 |
+
{{- "<available_tools>\n" -}}
|
| 30 |
+
{%- for tool in tools -%}
|
| 31 |
+
{{- (tool | tojson) ~ "\n" -}}
|
| 32 |
+
{%- endfor -%}
|
| 33 |
+
{{- "</available_tools>" -}}
|
| 34 |
+
{%- endif -%}
|
| 35 |
+
|
| 36 |
+
{{- "</system>\n" -}}
|
| 37 |
+
{%- endif -%}
|
| 38 |
+
|
| 39 |
+
{#- ───── main loop ───── -#}
|
| 40 |
+
{%- for message in messages -%}
|
| 41 |
+
{%- set content = message.content if message.content is string else "" -%}
|
| 42 |
+
{%- if message.role == "user" -%}
|
| 43 |
+
{{- "<user>" + content + "</user>\n" -}}
|
| 44 |
+
{%- elif message.role == "assistant" -%}
|
| 45 |
+
{%- generation -%}
|
| 46 |
+
{{- "<assistant>" -}}
|
| 47 |
+
{#- Extract reasoning content from message.reasoning (vLLM field name) or message.reasoning_content -#}
|
| 48 |
+
{%- set reasoning_content = '' -%}
|
| 49 |
+
{%- if message.reasoning is string -%}
|
| 50 |
+
{%- set reasoning_content = message.reasoning -%}
|
| 51 |
+
{%- elif message.reasoning_content is string -%}
|
| 52 |
+
{%- set reasoning_content = message.reasoning_content -%}
|
| 53 |
+
{%- endif -%}
|
| 54 |
+
{#- Display reasoning content for all messages if enable_thinking -#}
|
| 55 |
+
{%- if enable_thinking or preserve_thinking -%}
|
| 56 |
+
{{- '<think>' + reasoning_content + '</think>' -}}
|
| 57 |
+
{%- else -%}
|
| 58 |
+
{{- '</think>' -}}
|
| 59 |
+
{%- endif -%}
|
| 60 |
+
{#- Display main content (trailing newline only when no tool_calls follow) -#}
|
| 61 |
+
{%- if content -%}
|
| 62 |
+
{{- content -}}
|
| 63 |
+
{%- endif -%}
|
| 64 |
+
{%- if message.tool_calls -%}
|
| 65 |
+
{%- for tool_call in message.tool_calls -%}
|
| 66 |
+
{%- set function_data = tool_call.function -%}
|
| 67 |
+
{{- '<tool_call>' + function_data.name -}}
|
| 68 |
+
{%- set _args = function_data.arguments -%}
|
| 69 |
+
{%- for k, v in _args.items() -%}
|
| 70 |
+
{{- "<arg_key>" ~ k ~ "</arg_key>" -}}
|
| 71 |
+
{{- "<arg_value>" -}}{{- v | tojson(ensure_ascii=False) if v is not string else v -}}{{- "</arg_value>" -}}
|
| 72 |
+
{%- endfor -%}
|
| 73 |
+
{{- "</tool_call>" -}}
|
| 74 |
+
{%- endfor -%}
|
| 75 |
+
{%- endif -%}
|
| 76 |
+
{{- "</assistant>\n" -}}
|
| 77 |
+
{%- endgeneration -%}
|
| 78 |
+
{%- elif message.role == "tool" -%}
|
| 79 |
+
{{- "<tool_response>" + content + "</tool_response>\n" -}}
|
| 80 |
+
{%- elif message.role == "system" -%}
|
| 81 |
+
{#- Render additional system messages (the first one, if any, is handled separately in the header and was sliced off above) -#}
|
| 82 |
+
{{- "<system>" + content + "</system>\n" -}}
|
| 83 |
+
{%- endif -%}
|
| 84 |
+
{%- endfor -%}
|
| 85 |
+
{#- ───── generation prompt ───── -#}
|
| 86 |
+
{%- if add_generation_prompt -%}
|
| 87 |
+
{{- "<assistant>" -}}
|
| 88 |
+
{#- ───── Include reasoning mode directive ───── -#}
|
| 89 |
+
{%- if enable_thinking -%}
|
| 90 |
+
{{- '<think>' -}}
|
| 91 |
+
{%- else -%}
|
| 92 |
+
{{- '</think>' -}}
|
| 93 |
+
{%- endif -%}
|
| 94 |
+
{%- endif -%}
|
config.json
ADDED
|
@@ -0,0 +1,297 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"LagunaForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 2,
|
| 8 |
+
"decoder_sparse_step": 1,
|
| 9 |
+
"dtype": "bfloat16",
|
| 10 |
+
"eos_token_id": [
|
| 11 |
+
2,
|
| 12 |
+
24
|
| 13 |
+
],
|
| 14 |
+
"gating": "per-head",
|
| 15 |
+
"gating_types": [
|
| 16 |
+
"per_head",
|
| 17 |
+
"per_head",
|
| 18 |
+
"per_head",
|
| 19 |
+
"per_head",
|
| 20 |
+
"per_head",
|
| 21 |
+
"per_head",
|
| 22 |
+
"per_head",
|
| 23 |
+
"per_head",
|
| 24 |
+
"per_head",
|
| 25 |
+
"per_head",
|
| 26 |
+
"per_head",
|
| 27 |
+
"per_head",
|
| 28 |
+
"per_head",
|
| 29 |
+
"per_head",
|
| 30 |
+
"per_head",
|
| 31 |
+
"per_head",
|
| 32 |
+
"per_head",
|
| 33 |
+
"per_head",
|
| 34 |
+
"per_head",
|
| 35 |
+
"per_head",
|
| 36 |
+
"per_head",
|
| 37 |
+
"per_head",
|
| 38 |
+
"per_head",
|
| 39 |
+
"per_head",
|
| 40 |
+
"per_head",
|
| 41 |
+
"per_head",
|
| 42 |
+
"per_head",
|
| 43 |
+
"per_head",
|
| 44 |
+
"per_head",
|
| 45 |
+
"per_head",
|
| 46 |
+
"per_head",
|
| 47 |
+
"per_head",
|
| 48 |
+
"per_head",
|
| 49 |
+
"per_head",
|
| 50 |
+
"per_head",
|
| 51 |
+
"per_head",
|
| 52 |
+
"per_head",
|
| 53 |
+
"per_head",
|
| 54 |
+
"per_head",
|
| 55 |
+
"per_head",
|
| 56 |
+
"per_head",
|
| 57 |
+
"per_head",
|
| 58 |
+
"per_head",
|
| 59 |
+
"per_head",
|
| 60 |
+
"per_head",
|
| 61 |
+
"per_head",
|
| 62 |
+
"per_head",
|
| 63 |
+
"per_head"
|
| 64 |
+
],
|
| 65 |
+
"head_dim": 128,
|
| 66 |
+
"hidden_act": "silu",
|
| 67 |
+
"hidden_size": 3072,
|
| 68 |
+
"initializer_range": 0.02,
|
| 69 |
+
"intermediate_size": 12288,
|
| 70 |
+
"layer_types": [
|
| 71 |
+
"full_attention",
|
| 72 |
+
"sliding_attention",
|
| 73 |
+
"sliding_attention",
|
| 74 |
+
"sliding_attention",
|
| 75 |
+
"full_attention",
|
| 76 |
+
"sliding_attention",
|
| 77 |
+
"sliding_attention",
|
| 78 |
+
"sliding_attention",
|
| 79 |
+
"full_attention",
|
| 80 |
+
"sliding_attention",
|
| 81 |
+
"sliding_attention",
|
| 82 |
+
"sliding_attention",
|
| 83 |
+
"full_attention",
|
| 84 |
+
"sliding_attention",
|
| 85 |
+
"sliding_attention",
|
| 86 |
+
"sliding_attention",
|
| 87 |
+
"full_attention",
|
| 88 |
+
"sliding_attention",
|
| 89 |
+
"sliding_attention",
|
| 90 |
+
"sliding_attention",
|
| 91 |
+
"full_attention",
|
| 92 |
+
"sliding_attention",
|
| 93 |
+
"sliding_attention",
|
| 94 |
+
"sliding_attention",
|
| 95 |
+
"full_attention",
|
| 96 |
+
"sliding_attention",
|
| 97 |
+
"sliding_attention",
|
| 98 |
+
"sliding_attention",
|
| 99 |
+
"full_attention",
|
| 100 |
+
"sliding_attention",
|
| 101 |
+
"sliding_attention",
|
| 102 |
+
"sliding_attention",
|
| 103 |
+
"full_attention",
|
| 104 |
+
"sliding_attention",
|
| 105 |
+
"sliding_attention",
|
| 106 |
+
"sliding_attention",
|
| 107 |
+
"full_attention",
|
| 108 |
+
"sliding_attention",
|
| 109 |
+
"sliding_attention",
|
| 110 |
+
"sliding_attention",
|
| 111 |
+
"full_attention",
|
| 112 |
+
"sliding_attention",
|
| 113 |
+
"sliding_attention",
|
| 114 |
+
"sliding_attention",
|
| 115 |
+
"full_attention",
|
| 116 |
+
"sliding_attention",
|
| 117 |
+
"sliding_attention",
|
| 118 |
+
"sliding_attention"
|
| 119 |
+
],
|
| 120 |
+
"max_position_embeddings": 1048576,
|
| 121 |
+
"mlp_layer_types": [
|
| 122 |
+
"dense",
|
| 123 |
+
"sparse",
|
| 124 |
+
"sparse",
|
| 125 |
+
"sparse",
|
| 126 |
+
"sparse",
|
| 127 |
+
"sparse",
|
| 128 |
+
"sparse",
|
| 129 |
+
"sparse",
|
| 130 |
+
"sparse",
|
| 131 |
+
"sparse",
|
| 132 |
+
"sparse",
|
| 133 |
+
"sparse",
|
| 134 |
+
"sparse",
|
| 135 |
+
"sparse",
|
| 136 |
+
"sparse",
|
| 137 |
+
"sparse",
|
| 138 |
+
"sparse",
|
| 139 |
+
"sparse",
|
| 140 |
+
"sparse",
|
| 141 |
+
"sparse",
|
| 142 |
+
"sparse",
|
| 143 |
+
"sparse",
|
| 144 |
+
"sparse",
|
| 145 |
+
"sparse",
|
| 146 |
+
"sparse",
|
| 147 |
+
"sparse",
|
| 148 |
+
"sparse",
|
| 149 |
+
"sparse",
|
| 150 |
+
"sparse",
|
| 151 |
+
"sparse",
|
| 152 |
+
"sparse",
|
| 153 |
+
"sparse",
|
| 154 |
+
"sparse",
|
| 155 |
+
"sparse",
|
| 156 |
+
"sparse",
|
| 157 |
+
"sparse",
|
| 158 |
+
"sparse",
|
| 159 |
+
"sparse",
|
| 160 |
+
"sparse",
|
| 161 |
+
"sparse",
|
| 162 |
+
"sparse",
|
| 163 |
+
"sparse",
|
| 164 |
+
"sparse",
|
| 165 |
+
"sparse",
|
| 166 |
+
"sparse",
|
| 167 |
+
"sparse",
|
| 168 |
+
"sparse",
|
| 169 |
+
"sparse"
|
| 170 |
+
],
|
| 171 |
+
"mlp_only_layers": [
|
| 172 |
+
0
|
| 173 |
+
],
|
| 174 |
+
"model_type": "laguna",
|
| 175 |
+
"moe_apply_router_weight_on_input": false,
|
| 176 |
+
"moe_intermediate_size": 1024,
|
| 177 |
+
"moe_routed_scaling_factor": 2.5,
|
| 178 |
+
"moe_router_logit_softcapping": 0.0,
|
| 179 |
+
"norm_topk_prob": true,
|
| 180 |
+
"num_attention_heads": 48,
|
| 181 |
+
"num_attention_heads_per_layer": [
|
| 182 |
+
48,
|
| 183 |
+
72,
|
| 184 |
+
72,
|
| 185 |
+
72,
|
| 186 |
+
48,
|
| 187 |
+
72,
|
| 188 |
+
72,
|
| 189 |
+
72,
|
| 190 |
+
48,
|
| 191 |
+
72,
|
| 192 |
+
72,
|
| 193 |
+
72,
|
| 194 |
+
48,
|
| 195 |
+
72,
|
| 196 |
+
72,
|
| 197 |
+
72,
|
| 198 |
+
48,
|
| 199 |
+
72,
|
| 200 |
+
72,
|
| 201 |
+
72,
|
| 202 |
+
48,
|
| 203 |
+
72,
|
| 204 |
+
72,
|
| 205 |
+
72,
|
| 206 |
+
48,
|
| 207 |
+
72,
|
| 208 |
+
72,
|
| 209 |
+
72,
|
| 210 |
+
48,
|
| 211 |
+
72,
|
| 212 |
+
72,
|
| 213 |
+
72,
|
| 214 |
+
48,
|
| 215 |
+
72,
|
| 216 |
+
72,
|
| 217 |
+
72,
|
| 218 |
+
48,
|
| 219 |
+
72,
|
| 220 |
+
72,
|
| 221 |
+
72,
|
| 222 |
+
48,
|
| 223 |
+
72,
|
| 224 |
+
72,
|
| 225 |
+
72,
|
| 226 |
+
48,
|
| 227 |
+
72,
|
| 228 |
+
72,
|
| 229 |
+
72
|
| 230 |
+
],
|
| 231 |
+
"num_experts": 256,
|
| 232 |
+
"num_experts_per_tok": 10,
|
| 233 |
+
"num_hidden_layers": 48,
|
| 234 |
+
"num_key_value_heads": 8,
|
| 235 |
+
"output_router_logits": false,
|
| 236 |
+
"pad_token_id": 9,
|
| 237 |
+
"partial_rotary_factor": null,
|
| 238 |
+
"qkv_bias": false,
|
| 239 |
+
"quantization_config": {
|
| 240 |
+
"bits": 4,
|
| 241 |
+
"group_size": 32,
|
| 242 |
+
"modules_to_not_convert": [
|
| 243 |
+
"model.embed_tokens",
|
| 244 |
+
"lm_head",
|
| 245 |
+
"model.norm",
|
| 246 |
+
"self_attn",
|
| 247 |
+
"input_layernorm",
|
| 248 |
+
"post_attention_layernorm",
|
| 249 |
+
"mlp.gate",
|
| 250 |
+
"e_score_correction_bias",
|
| 251 |
+
"shared_expert",
|
| 252 |
+
"model.layers.0.mlp",
|
| 253 |
+
"model.layers.1.mlp.experts",
|
| 254 |
+
"model.layers.2.mlp.experts",
|
| 255 |
+
"model.layers.3.mlp.experts",
|
| 256 |
+
"model.layers.4.mlp.experts",
|
| 257 |
+
"model.layers.46.mlp.experts",
|
| 258 |
+
"model.layers.47.mlp.experts"
|
| 259 |
+
],
|
| 260 |
+
"quant_method": "awq",
|
| 261 |
+
"version": "gemm",
|
| 262 |
+
"zero_point": true
|
| 263 |
+
},
|
| 264 |
+
"rms_norm_eps": 1e-06,
|
| 265 |
+
"rope_parameters": {
|
| 266 |
+
"full_attention": {
|
| 267 |
+
"attention_factor": 1.4852030263919618,
|
| 268 |
+
"beta_fast": 32.0,
|
| 269 |
+
"beta_slow": 1.0,
|
| 270 |
+
"factor": 128.0,
|
| 271 |
+
"original_max_position_embeddings": 8192,
|
| 272 |
+
"partial_rotary_factor": 0.5,
|
| 273 |
+
"rope_theta": 500000.0,
|
| 274 |
+
"rope_type": "yarn"
|
| 275 |
+
},
|
| 276 |
+
"rope_theta": 10000.0,
|
| 277 |
+
"rope_type": "default",
|
| 278 |
+
"sliding_attention": {
|
| 279 |
+
"partial_rotary_factor": 1.0,
|
| 280 |
+
"rope_theta": 10000.0,
|
| 281 |
+
"rope_type": "default"
|
| 282 |
+
}
|
| 283 |
+
},
|
| 284 |
+
"router_aux_loss_coef": 0.0,
|
| 285 |
+
"shared_expert_intermediate_size": 1024,
|
| 286 |
+
"sliding_window": 512,
|
| 287 |
+
"swa_attention_sink_enabled": false,
|
| 288 |
+
"swa_rope_parameters": {
|
| 289 |
+
"partial_rotary_factor": 1.0,
|
| 290 |
+
"rope_theta": 10000.0,
|
| 291 |
+
"rope_type": "default"
|
| 292 |
+
},
|
| 293 |
+
"tie_word_embeddings": false,
|
| 294 |
+
"transformers_version": "5.14.1",
|
| 295 |
+
"use_cache": false,
|
| 296 |
+
"vocab_size": 100352
|
| 297 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 2,
|
| 3 |
+
"default_chat_template_kwargs": {
|
| 4 |
+
"enable_thinking": true
|
| 5 |
+
},
|
| 6 |
+
"do_sample": true,
|
| 7 |
+
"eos_token_id": [
|
| 8 |
+
2,
|
| 9 |
+
24
|
| 10 |
+
],
|
| 11 |
+
"min_p": 0.0,
|
| 12 |
+
"pad_token_id": 9,
|
| 13 |
+
"reasoning_parser": "poolside_v1",
|
| 14 |
+
"speculative_config": {
|
| 15 |
+
"method": "dflash",
|
| 16 |
+
"model": "poolside/Laguna-S-2.1-DFlash",
|
| 17 |
+
"num_speculative_tokens": 15,
|
| 18 |
+
"source": "huggingface"
|
| 19 |
+
},
|
| 20 |
+
"temperature": 1.0,
|
| 21 |
+
"tool_call_parser": "poolside_v1",
|
| 22 |
+
"top_k": 20,
|
| 23 |
+
"top_p": 1.0,
|
| 24 |
+
"transformers_version": "5.14.1"
|
| 25 |
+
}
|
model-global.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:599441a338d126518dbdf3bc3787ca6acae1d8413eebe5f2ce7c3bae2160e6be
|
| 3 |
+
size 1233131840
|
model-layer-00000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7fbef02ed3ce5b37e35262527e68d7a0e9d8244aa4ad92cb488bdc4eb777f7d
|
| 3 |
+
size 314881880
|
model-layer-00001.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a7489a3a325a97eff14cce5e055280ec87a375647fce53a36ee90f1d32d55ff
|
| 3 |
+
size 4978666704
|
model-layer-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:312fc7ed6a8ad44b7e65bd8dd98ff34a141af7642c96922486da31c245690184
|
| 3 |
+
size 4978666704
|
model-layer-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ddca9dde8160308a56be9ba2e77da659bb16e4a4cab0318a60e3609472e5039c
|
| 3 |
+
size 4978666704
|
model-layer-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ba9db730bf53e69aeaa29299401e9088cda760586e9f54affa364e6be144e8c
|
| 3 |
+
size 4940770512
|
model-layer-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3330e92d09d1848735914d5529f5091bd44abd0d0c853a20ab8f15c1ecfdad7f
|
| 3 |
+
size 1543715888
|
model-layer-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec5316d9f95f4de95c22884540448b03a930e360c1b6c95937f73d245f6665c6
|
| 3 |
+
size 1543715888
|
model-layer-00007.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b40aea7c670a64acda0d03d57f3116c8fbf71b1b23558cd5864fa6e1ae924fdc
|
| 3 |
+
size 1543715888
|
model-layer-00008.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e06732c88415be2c5415a7a318426f38d466d7f1fc7510783485b34419765745
|
| 3 |
+
size 1505819696
|
model-layer-00009.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:35caa322f492e0120d1ce4da4e8fb68a40f18ddb58d182d225c471c04fdbf4af
|
| 3 |
+
size 1543715832
|
model-layer-00010.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dafd5245384114a755c17e07ab245e5914c4b1b304aa32f695d6109f8a38f380
|
| 3 |
+
size 1543718152
|
model-layer-00011.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f6c988963eb8c5a8e4af8b33daabe95a522ce531661590854f3e0daebce573b
|
| 3 |
+
size 1543718152
|
model-layer-00012.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36de4f026dba4169399b24d0179f54318611937c525273faba4df08471536161
|
| 3 |
+
size 1505821960
|
model-layer-00013.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:50618336c04a2b98aa50961b274520b04d89cc2b9605b831288908bb889dacd5
|
| 3 |
+
size 1543718152
|
model-layer-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3293758717abc17e88b026c978b44fb19888afca4e41519da2feb10ad876c61f
|
| 3 |
+
size 1543718152
|
model-layer-00015.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3a41bc9bc7128c9ee3dbc2ce81004aede134ac045ed0c82804a17e69b0379d0
|
| 3 |
+
size 1543718152
|
model-layer-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:94d98597f8444a1a88c56fe76cf9ab2f88d3795605594a6d57a2434d108bb21c
|
| 3 |
+
size 1505821960
|
model-layer-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8b2451a294a07df422c2f3d1132040d60d62b8ab459705e587d83d86a19e1db4
|
| 3 |
+
size 1543718152
|
model-layer-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4dbb15ca1ab682803079f8fbff90334810fefc19d79712523216fa795a758d3
|
| 3 |
+
size 1543718152
|
model-layer-00019.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:729891450bf203b040fb305a12a0e9a7556b489521ad8c7ecfa59f60ff6587d6
|
| 3 |
+
size 1543718152
|
model-layer-00020.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95541d606cba24d44bd7879f11fda96653fbd55aecec0da61d1b972f841dc61c
|
| 3 |
+
size 1505821960
|
model-layer-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e857b6a3a5c43cc05ba3544ed8f5a1a1b4d97ad2da9fe8b2480c9b9e1b76fce
|
| 3 |
+
size 1543718152
|
model-layer-00022.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0fb6b8736529bf35c0aed4172b70913df1c2e31bb537f3c1903a305684f65026
|
| 3 |
+
size 1543718152
|
model-layer-00023.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f239f2e15d800e1040a4507d8d323f4e32d850e99abfd6e2512b59b6e0aa6d47
|
| 3 |
+
size 1543718152
|
model-layer-00024.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24f4882df110522917b72454f326aab6478b7743c9dbf18e91483065e215f561
|
| 3 |
+
size 1505821960
|
model-layer-00025.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3509305dd38aba8ab78431056eb7c740321f07e9f35a0009168e14a1d41f309b
|
| 3 |
+
size 1543718152
|
model-layer-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2bfe7c15915efc3cdc1d24a0dda636ede0c7d2d93dba4c9b1912db8731819bb1
|
| 3 |
+
size 1543718152
|
model-layer-00027.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:996c8a23236d34083cf560707468f4e70041e6f000f88b256896f17021ea5cfb
|
| 3 |
+
size 1543718152
|
model-layer-00028.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c2efb8d642c4c64faef4808d4d8bb3cd5fbc57414a1f6376f4a6a9d9b6413e8b
|
| 3 |
+
size 1505821960
|
model-layer-00029.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:31f4b10ff17f6226ee42ee6904228c04f4866088c5dcf3bfa9967451572d3577
|
| 3 |
+
size 1543718152
|
model-layer-00030.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:619174715bfb454f10243c45160827d0d16836ef9e795bbadc504f62d9fd78e9
|
| 3 |
+
size 1543718152
|
model-layer-00031.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37ce2303f98e6cb5dc41a38fc5b9a14c6bcbc1b7f2503c8fa9cdd3c609593f56
|
| 3 |
+
size 1543718152
|
model-layer-00032.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:704274442ad16a153f7e0f427e963269481d895efe11dd319ea5955d41ff3ef7
|
| 3 |
+
size 1505821960
|
model-layer-00033.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe8fe9aded6dcc74407d20ec76fc7ac71599a42c6441a6ce2680a4141c69289f
|
| 3 |
+
size 1543718152
|
model-layer-00034.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8cb23551b182bb92f0e49ab4bad1149e43782d476c12b9362689e9656c85c16a
|
| 3 |
+
size 1543718152
|
model-layer-00035.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9d5668135419cbad391df2b405400cce2dfccdd1bb3925a5b369d580feb6186
|
| 3 |
+
size 1543718152
|
model-layer-00036.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba147cf1e0307a6674497951cf240a4a4fc0e93efc7dc876e21c58911c696fd8
|
| 3 |
+
size 1505821960
|
model-layer-00037.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24475cbb782635197caee4cd33f7d4b2cc9509e8b14691f2fe87427eb83e0348
|
| 3 |
+
size 1543718152
|
model-layer-00038.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec492bfa2931a787081b5cc07004598dcba30d11cf5cbf4cac7483ae1f238e36
|
| 3 |
+
size 1543718152
|
model-layer-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8b20c1efb28901ff35c213eeb5831b12727b69de0ea9e30671034f47fba5a66c
|
| 3 |
+
size 1543718152
|