Upload Flint 1.1 Preview NVFP4
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributes+2
- README.mdAdded+40
- assets/flint-logo.pngAdded
- chat_template.jinjaAdded+61
- config.jsonAdded+138
- embedding-head.safetensorsAdded+3
- generation_config.jsonAdded+14
- hf_quant_config.jsonAdded+16
- layer-00-rank-00000.safetensorsAdded+3
- layer-01-rank-00000.safetensorsAdded+3
- layer-02-rank-00000.safetensorsAdded+3
- layer-02-rank-00001.safetensorsAdded+3
- layer-02-rank-00002.safetensorsAdded+3
- layer-02-rank-00003.safetensorsAdded+3
- layer-02-rank-00004.safetensorsAdded+3
- layer-02-rank-00005.safetensorsAdded+3
- layer-02-rank-00006.safetensorsAdded+3
- layer-02-rank-00007.safetensorsAdded+3
- layer-03-rank-00000.safetensorsAdded+3
- layer-03-rank-00001.safetensorsAdded+3
- layer-03-rank-00002.safetensorsAdded+3
- layer-03-rank-00003.safetensorsAdded+3
- layer-03-rank-00004.safetensorsAdded+3
- layer-03-rank-00005.safetensorsAdded+3
- layer-03-rank-00006.safetensorsAdded+3
- layer-03-rank-00007.safetensorsAdded+3
- layer-04-rank-00000.safetensorsAdded+3
- layer-04-rank-00001.safetensorsAdded+3
- layer-04-rank-00002.safetensorsAdded+3
- layer-04-rank-00003.safetensorsAdded+3
- layer-04-rank-00004.safetensorsAdded+3
- layer-04-rank-00005.safetensorsAdded+3
- layer-04-rank-00006.safetensorsAdded+3
- layer-04-rank-00007.safetensorsAdded+3
- layer-05-rank-00000.safetensorsAdded+3
- layer-05-rank-00001.safetensorsAdded+3
- layer-05-rank-00002.safetensorsAdded+3
- layer-05-rank-00003.safetensorsAdded+3
- layer-05-rank-00004.safetensorsAdded+3
- layer-05-rank-00005.safetensorsAdded+3
- layer-05-rank-00006.safetensorsAdded+3
- layer-05-rank-00007.safetensorsAdded+3
- layer-06-rank-00000.safetensorsAdded+3
- layer-06-rank-00001.safetensorsAdded+3
- layer-06-rank-00002.safetensorsAdded+3
- layer-06-rank-00003.safetensorsAdded+3
- layer-06-rank-00004.safetensorsAdded+3
- layer-06-rank-00005.safetensorsAdded+3
- layer-06-rank-00006.safetensorsAdded+3
- layer-06-rank-00007.safetensorsAdded+3
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines333435363732 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -textassets/flint-logo.png filter=lfs diff=lfs merge=lfs -text
12345678910111213141516171819202122232425262728293031323334353637383940---license: otherlicense_name: flint-v1.1-previewpipeline_tag: text-generationtags:- nvfp4- safetensors---
<p align="center"> <img src="assets/flint-logo.png" width="160" alt="Flint logo"></p>
<h1 align="center">Flint 1.1 Preview NVFP4</h1>
<p align="center"><b>Confidential preview. Do not redistribute.</b></p>
NVFP4 weights in safetensors format for [Recursive Flint 1.1 Preview](https://huggingface.co/RecursiveSI/flint-v1.1-preview), primarily intended for NVIDIA GPUs. The package includes packed weights, quantization scales, tokenizer, and configuration. The weights occupy approximately **22.9 GB**.
Projections, experts and the output head use weight-only NVFP4 (E2M1 values, an FP8 E4M3 scale per 16 weights and an FP32 scale per matrix), in the same layout as [Flint NVFP4](https://huggingface.co/RecursiveSI/flint-nvfp4); embeddings and expert routers stay in BF16. The weights were trained in this format, with quantization-aware distillation from Flint 1.1 Preview followed by on-policy distillation, and were evaluated with a BF16 KV cache.
See [Flint 1.1 Preview’s model card](https://huggingface.co/RecursiveSI/flint-v1.1-preview) for model details, recommended generation settings, chat conventions, and limitations.
## Download
With the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/guides/cli) installed:
```bashhf download RecursiveSI/flint-v1.1-preview-nvfp4 --local-dir flint-v1.1-preview-nvfp4```
This package requires a Flint-aware NVFP4 loader.
## Training data
Flint’s training data included publicly available and crawled web documents, text and code, commercially licensed data, and AI-generated synthetic data. Post-training included instruction tuning, reinforcement learning and human-preference data. See the [base Flint model card](https://huggingface.co/RecursiveSI/flint#training) for shared model and training information.
## License and reporting
This preview checkpoint is confidential and provided under the terms of your agreement with Recursive; do not redistribute. See [Flint 1.1 Preview’s model card](https://huggingface.co/RecursiveSI/flint-v1.1-preview#license-and-reporting) for how to report issues.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{%- macro flint_text(t) -%}{%- if t is string -%}{{- t | replace("\x00", "") | replace("<think>", "") | replace("</think>", "") | replace("<|begin_of_text|>", "<|begin_of_text|>") | replace("<|end_of_text|>", "<|end_of_text|>") | replace("<|system|>", "<|system|>") | replace("<|developer|>", "<|developer|>") | replace("<|user|>", "<|user|>") | replace("<|assistant|>", "<|assistant|>") | replace("<|observation|>", "<|observation|>") -}}{%- else -%}{{- t -}}{%- endif -%}{%- endmacro -%}{%- set tool_preamble -%}{%- if tools %}<|system|># Tools
You may call one or more functions to assist with the user query.
You are provided with function signatures within <tools></tools> XML tags:<tools>{%- for tool in tools %}{%- set fn = tool.function if tool.function is defined else tool %}{{ fn | tojson(ensure_ascii=False) }}{%- endfor %}</tools>
For each function call, output the function name and arguments within the following XML format:<tool_call>{function-name}<arg_key>{arg-key-1}</arg_key><arg_value>{arg-value-1}</arg_value>...</tool_call>{% endif -%}{%- endset -%}{%- set ns = namespace(tools_pending=true) -%}{%- for m in messages -%}{%- if ns.tools_pending and m.role != 'system' -%}{{ tool_preamble }}{%- set ns.tools_pending = false -%}{%- endif -%}{%- if m.role == 'system' -%}<|system|>{{ flint_text(m.content) }}{%- elif m.role == 'developer' -%}<|developer|>{{ flint_text(m.content) }}{%- elif m.role == 'user' -%}<|user|>{{ flint_text(m.content) }}{%- elif m.role == 'assistant' -%}<|assistant|>{%- if m.reasoning_content %}<think>{{ m.reasoning_content }}</think>{% endif -%}{%- if m.content %}{{ m.content }}{% endif -%}{%- if m.tool_calls -%}{%- for tc in m.tool_calls -%}{%- set fn = tc.function if tc.function is defined else tc -%}<tool_call>{{ fn.name }}{%- for k, v in fn.arguments.items() -%}<arg_key>{{ k }}</arg_key><arg_value>{{ v | tojson(ensure_ascii=False) if v is not string else v }}</arg_value>{%- endfor -%}</tool_call>{%- endfor -%}{%- endif -%}{%- elif m.role == 'tool' -%}<|observation|><tool_response>{{ flint_text(m.content) }}</tool_response>{%- endif -%}{%- endfor -%}{%- if ns.tools_pending -%}{{ tool_preamble }}{%- endif -%}{%- if add_generation_prompt -%}<|assistant|>{%- endif -%}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138{ "architectures": [ "FlintForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, "attention_sink": true, "bos_token_id": 150000, "decoder_sparse_step": 1, "dtype": "bfloat16", "eos_token_id": [ 150001, 150003, 150005, 150018 ], "head_dim": 128, "hidden_act": "silu", "hidden_size": 2048, "intermediate_size": 6144, "layer_types": [ "full_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "full_attention" ], "max_position_embeddings": 262144, "mlp_only_layers": [ 0, 1 ], "model_type": "flint", "moe_intermediate_size": 512, "no_rope_layer_indices": [ 0, 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 48 ], "norm_topk_prob": true, "num_attention_heads": 32, "num_experts": 256, "num_experts_per_tok": 6, "num_hidden_layers": 49, "num_key_value_heads": 4, "num_local_experts": 256, "output_router_logits": false, "rms_norm_eps": 1e-06, "rope_parameters": { "rope_theta": 10000.0, "rope_type": "default" }, "rope_theta": 10000.0, "router_aux_loss_coef": 0.0, "router_expert_bias": false, "scoring_func": "sigmoid", "shared_expert_intermediate_size": 1024, "sliding_window": 513, "softmax_type": "learnable", "softmax_type_source": "model.attention_pattern.softmax_type", "tie_word_embeddings": false, "use_cache": true, "use_sliding_window": true, "vocab_size": 150144, "router_score_function": "sigmoid", "torch_dtype": "bfloat16", "pad_token_id": 150001, "quantization_config": { "quant_method": "modelopt", "quant_algo": "W4A16_NVFP4", "kv_cache_quant_algo": null, "group_size": 16, "exclude_modules": [ "model.embed_tokens", "*.mlp.gate" ], "ignore": [ "model.embed_tokens", "*.mlp.gate" ], "kv_cache_scheme": null }}123version https://git-lfs.github.com/spec/v1oid sha256:d963210a066bbaeeb878aa72dde1766513714f626d59c3d4601901a3f9f6ba61size 7879603081234567891011121314{ "bos_token_id": 150000, "eos_token_id": [ 150001, 150003, 150005, 150018 ], "pad_token_id": 150001, "do_sample": true, "temperature": 1.0, "top_p": 0.95, "top_k": 20}12345678910111213141516{ "producer": { "name": "modelopt", "version": "0.47.0" }, "quantization": { "quant_method": "modelopt", "quant_algo": "W4A16_NVFP4", "kv_cache_quant_algo": null, "group_size": 16, "exclude_modules": [ "model.embed_tokens", "*.mlp.gate" ] }}123version https://git-lfs.github.com/spec/v1oid sha256:11b2fb4c229683d4094afbfc950e6604c335998c12f7d21d7e396ecf9f46c6bdsize 31862092123version https://git-lfs.github.com/spec/v1oid sha256:92fed39a97432303509e904a012db5c14ec37367506b799d58b4f3330edaa47csize 31862092123version https://git-lfs.github.com/spec/v1oid sha256:a82682d13316ce28b0a0f354addf5dac2d627c01986b1594f5d013b02453c016size 71873260123version https://git-lfs.github.com/spec/v1oid sha256:984105418f6ae1a0235a5c4ea2ae59cdbba1da5766df38a0ad9e18e45fa34922size 56657120123version https://git-lfs.github.com/spec/v1oid sha256:82a7bff9c110b3502c8c820b0ae2c40b1ec1743440e288ca2b50459c1cece506size 56657120123version https://git-lfs.github.com/spec/v1oid sha256:515edda658498b22b98f6fbd130b136cacd6eb2b46c07e48fc7e1e33bc9f4d59size 56657376123version https://git-lfs.github.com/spec/v1oid sha256:5751ddcf0e95f17ceeb4a62124b4339a20e9732f54d3b50e5a9d1cb240ce957bsize 56657408123version https://git-lfs.github.com/spec/v1oid sha256:6bae3f97bec3f37eaddc8f5f2e89c6c64346ee2ab88dcaf241c987c2eec6083bsize 56657408123version https://git-lfs.github.com/spec/v1oid sha256:4fa079036fe6c9d6fa694054ccffb9c15083680b022337ef5183db870aa34cf5size 56657408123version https://git-lfs.github.com/spec/v1oid sha256:e7d535642f0be95bc92044ef7523e99ad4845cb3e45ed621c60eb1d6bec68d88size 56657408123version https://git-lfs.github.com/spec/v1oid sha256:dec29fba0bc95b00c83f50eb3886150d86157aa7af110e5e9c4cb9ca87e7749dsize 71873260123version https://git-lfs.github.com/spec/v1oid sha256:de9cfdd9707920247b91592b53a0bbf467bbabad2a1aab50292b6c7519027b35size 56657120123version https://git-lfs.github.com/spec/v1oid sha256:26527974c1fdc3d78c9cee4afceaf3cef305e4e1097d41da9a5052a425d90548size 56657120123version https://git-lfs.github.com/spec/v1oid sha256:c6ff825c32b6d0046be4877b99eff23c774ed1fe9a23cd62c1c91b0158a6ec79size 56657376123version https://git-lfs.github.com/spec/v1oid sha256:c0ac152022aa8cf47c860a3babeb740a1be34200b65d222a8bff545e59875e08size 56657408123version https://git-lfs.github.com/spec/v1oid sha256:57e6dec4ad5f448cd5fe26b4b9e83587fd8e2344fff1ca59b04321a00a998c59size 56657408123version https://git-lfs.github.com/spec/v1oid sha256:56d8562a368cfa6e63052a05d6de4432edee404ad2d6dfc4f9ecd41fcd0bdd43size 56657408123version https://git-lfs.github.com/spec/v1oid sha256:5bc98383882fa9686b35af54caa2cac04b7c3529b5b55ec8269f604c4ced9eccsize 56657408123version https://git-lfs.github.com/spec/v1oid sha256:cd64ed258a17a296ea45477a7fb20b935cd53522513cbaf41ff266fc7526e0casize 71873260123version https://git-lfs.github.com/spec/v1oid sha256:476628ebb4835c7715b0b6aa3ec03fa694e922f84092298d1241ded50dc237d5size 56657120123version https://git-lfs.github.com/spec/v1oid sha256:296de43985a569ec211a16c48f387bf8e81fd706d81a6978c009b1da01075e6esize 56657120123version https://git-lfs.github.com/spec/v1oid sha256:a612b914282ebf542aa6ba0d6cbb5f2cd7a4d7ce41d3b05dc97105b57a22f845size 56657376123version https://git-lfs.github.com/spec/v1oid sha256:61817801b03fa9948ee6817973febaaf0555688ed943b5931e6893203cba20a4size 56657408123version https://git-lfs.github.com/spec/v1oid sha256:12ba88db31dc67e7b3c5ea959cdf729d25716c99ffc610b7661ba8d6ebd389fdsize 56657408123version https://git-lfs.github.com/spec/v1oid sha256:9a653da6646634f25869562472228b77796bbb771f5dc5c4f2268cac7b0f773esize 56657408123version https://git-lfs.github.com/spec/v1oid sha256:d8c7ef6ed2fb4bea7a0611d109479d7732e2b0bf80fcac7619ce3caffbfcdf4bsize 56657408123version https://git-lfs.github.com/spec/v1oid sha256:f5fc5da4ed1caf59ce02cfc9b7a11789d147de92efb5195d2d71a72baccc7b6asize 71873260123version https://git-lfs.github.com/spec/v1oid sha256:e5bc292d8f7987c8df78944fc643f8c7d87a4ed9920f6fdf396c2b289e514b38size 56657120123version https://git-lfs.github.com/spec/v1oid sha256:0508b15270733ed0f3f39696be3a2dfe6baf880829e69ab5ebb3411386bfe69bsize 56657120123version https://git-lfs.github.com/spec/v1oid sha256:e174e30046a8a2465ce540d5853c1c219482dafcdbad05db2c80829a1d06d83bsize 56657376123version https://git-lfs.github.com/spec/v1oid sha256:3cb41a4033242df6fa92102a70d37e1c14348fbfe797558e09a52036b58b86a3size 56657408123version https://git-lfs.github.com/spec/v1oid sha256:1ea2fe5663d97a3dce7bf6737c41eb7d15f5ef3b51f32bcbf869d945aefcfb1csize 56657408123version https://git-lfs.github.com/spec/v1oid sha256:97043f8d0ccfd87a76a5f0a359f1add892fcdbdc488550ff466c767d41e62cf7size 56657408123version https://git-lfs.github.com/spec/v1oid sha256:4c9b632a3017e9a0289282238b4efa15c65af8809eb1c82e99abeea58a4c22f4size 56657408123version https://git-lfs.github.com/spec/v1oid sha256:fa96a2e297c78f0442f1aac6ab77379032cf7cc14944b79e8105371f0d15aa7esize 71873260123version https://git-lfs.github.com/spec/v1oid sha256:60a6ab2bb459cab401b80962ca2fd3b6dae4c25bedb45650c129b5e0038b5801size 56657120123version https://git-lfs.github.com/spec/v1oid sha256:69ab160daf018c878038dd08f4e59f7c62af22c7845557debd36d843aea02e2esize 56657120123version https://git-lfs.github.com/spec/v1oid sha256:35a674b9206d8aeb6b5c21fecc2da6c706d7f9c7e40e7e465628172518df504esize 56657376123version https://git-lfs.github.com/spec/v1oid sha256:c18e0a2cee80c248e13cffcd2065fe62d97d94aef59c0977ac02f8b013c33f76size 56657408123version https://git-lfs.github.com/spec/v1oid sha256:7f3dbde7d0d4417ff19cfcdc04afa9972327bd35ec0b8d603da7e5c4db448a80size 56657408123version https://git-lfs.github.com/spec/v1oid sha256:2e326c7aa246bfaf9f0336e25dc36b2608a98872c1972a4a1d5f9886ec7ab0d5size 56657408123version https://git-lfs.github.com/spec/v1oid sha256:e1fd6f89ff1d09b04c51546936fa2def2f88d3303dee27ab8f50a496a36a6945size 56657408.gitattributes+2
README.mdAdded+40
assets/flint-logo.pngAdded

Large File Pointer Details
- SHA256: b95290bec100def989fd410999f8129d43068900705a0609a78cdbafa930ad61
- Pointer size: 131 Bytes
- Size of remote file: 410 kB
chat_template.jinjaAdded+61
config.jsonAdded+138
embedding-head.safetensorsAdded+3
generation_config.jsonAdded+14
hf_quant_config.jsonAdded+16
layer-00-rank-00000.safetensorsAdded+3
layer-01-rank-00000.safetensorsAdded+3
layer-02-rank-00000.safetensorsAdded+3
layer-02-rank-00001.safetensorsAdded+3
layer-02-rank-00002.safetensorsAdded+3
layer-02-rank-00003.safetensorsAdded+3
layer-02-rank-00004.safetensorsAdded+3
layer-02-rank-00005.safetensorsAdded+3
layer-02-rank-00006.safetensorsAdded+3
layer-02-rank-00007.safetensorsAdded+3
layer-03-rank-00000.safetensorsAdded+3
layer-03-rank-00001.safetensorsAdded+3
layer-03-rank-00002.safetensorsAdded+3
layer-03-rank-00003.safetensorsAdded+3
layer-03-rank-00004.safetensorsAdded+3
layer-03-rank-00005.safetensorsAdded+3
layer-03-rank-00006.safetensorsAdded+3
layer-03-rank-00007.safetensorsAdded+3
layer-04-rank-00000.safetensorsAdded+3
layer-04-rank-00001.safetensorsAdded+3
layer-04-rank-00002.safetensorsAdded+3
layer-04-rank-00003.safetensorsAdded+3
layer-04-rank-00004.safetensorsAdded+3
layer-04-rank-00005.safetensorsAdded+3
layer-04-rank-00006.safetensorsAdded+3
layer-04-rank-00007.safetensorsAdded+3
layer-05-rank-00000.safetensorsAdded+3
layer-05-rank-00001.safetensorsAdded+3
layer-05-rank-00002.safetensorsAdded+3
layer-05-rank-00003.safetensorsAdded+3
layer-05-rank-00004.safetensorsAdded+3
layer-05-rank-00005.safetensorsAdded+3
layer-05-rank-00006.safetensorsAdded+3
layer-05-rank-00007.safetensorsAdded+3
layer-06-rank-00000.safetensorsAdded+3
layer-06-rank-00001.safetensorsAdded+3
layer-06-rank-00002.safetensorsAdded+3
layer-06-rank-00003.safetensorsAdded+3
layer-06-rank-00004.safetensorsAdded+3
layer-06-rank-00005.safetensorsAdded+3
layer-06-rank-00006.safetensorsAdded+3
layer-06-rank-00007.safetensorsAdded+3