Text Classification
Transformers
Safetensors
Thai
English
openthai_systemone
feature-extraction
system-one
decision-model
thai
qwen3.5
quantized
compressed-tensors
llm-compressor
custom_code
Instructions to use iapp/OpenThai-SystemOne-FP8-Dynamic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use iapp/OpenThai-SystemOne-FP8-Dynamic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="iapp/OpenThai-SystemOne-FP8-Dynamic", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("iapp/OpenThai-SystemOne-FP8-Dynamic", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from iapp/OpenThai-SystemOne-FP8-Dynamic: direct link, hf CLI and curl.
- Browser
- Download file 5.59 kB
-
https://huggingface.co/iapp/OpenThai-SystemOne-FP8-Dynamic/resolve/main/config.json
- Command line
-
hf download hf://iapp/OpenThai-SystemOne-FP8-Dynamic/config.json
-
curl -L -o config.json https://huggingface.co/iapp/OpenThai-SystemOne-FP8-Dynamic/resolve/main/config.json
5.59 kB
| { | |
| "abstain_slot": 255, | |
| "answer_token_id": 248082, | |
| "architectures": [ | |
| "OpenThaiSystemOneForDecision" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "configuration.OpenThaiSystemOneConfig", | |
| "AutoModel": "modeling.OpenThaiSystemOneForDecision" | |
| }, | |
| "dtype": "bfloat16", | |
| "head_bias": true, | |
| "image_token_id": null, | |
| "model_type": "openthai_systemone", | |
| "n_slots": 256, | |
| "n_temperatures": 3, | |
| "pad_token_id": 248044, | |
| "point_head": null, | |
| "point_token_id": null, | |
| "quantization_config": { | |
| "config_groups": { | |
| "group_0": { | |
| "format": "float-quantized", | |
| "input_activations": { | |
| "actorder": null, | |
| "block_structure": null, | |
| "dynamic": true, | |
| "group_size": null, | |
| "num_bits": 8, | |
| "observer": null, | |
| "observer_kwargs": {}, | |
| "scale_dtype": null, | |
| "strategy": "token", | |
| "symmetric": true, | |
| "type": "float", | |
| "zp_dtype": null | |
| }, | |
| "output_activations": null, | |
| "targets": [ | |
| "Linear" | |
| ], | |
| "weights": { | |
| "actorder": null, | |
| "block_structure": null, | |
| "dynamic": false, | |
| "group_size": null, | |
| "num_bits": 8, | |
| "observer": "memoryless_minmax", | |
| "observer_kwargs": {}, | |
| "scale_dtype": null, | |
| "strategy": "channel", | |
| "symmetric": true, | |
| "type": "float", | |
| "zp_dtype": null | |
| } | |
| } | |
| }, | |
| "format": "float-quantized", | |
| "global_compression_ratio": null, | |
| "ignore": [ | |
| "model.layers.0.linear_attn", | |
| "model.layers.0.linear_attn.norm", | |
| "model.layers.1.linear_attn", | |
| "model.layers.1.linear_attn.norm", | |
| "model.layers.2.linear_attn", | |
| "model.layers.2.linear_attn.norm", | |
| "model.layers.4.linear_attn", | |
| "model.layers.4.linear_attn.norm", | |
| "model.layers.5.linear_attn", | |
| "model.layers.5.linear_attn.norm", | |
| "model.layers.6.linear_attn", | |
| "model.layers.6.linear_attn.norm", | |
| "model.layers.8.linear_attn", | |
| "model.layers.8.linear_attn.norm", | |
| "model.layers.9.linear_attn", | |
| "model.layers.9.linear_attn.norm", | |
| "model.layers.10.linear_attn", | |
| "model.layers.10.linear_attn.norm", | |
| "model.layers.12.linear_attn", | |
| "model.layers.12.linear_attn.norm", | |
| "model.layers.13.linear_attn", | |
| "model.layers.13.linear_attn.norm", | |
| "model.layers.14.linear_attn", | |
| "model.layers.14.linear_attn.norm", | |
| "model.layers.16.linear_attn", | |
| "model.layers.16.linear_attn.norm", | |
| "model.layers.17.linear_attn", | |
| "model.layers.17.linear_attn.norm", | |
| "model.layers.18.linear_attn", | |
| "model.layers.18.linear_attn.norm", | |
| "model.layers.20.linear_attn", | |
| "model.layers.20.linear_attn.norm", | |
| "model.layers.21.linear_attn", | |
| "model.layers.21.linear_attn.norm", | |
| "model.layers.22.linear_attn", | |
| "model.layers.22.linear_attn.norm", | |
| "slot_head" | |
| ], | |
| "kv_cache_scheme": null, | |
| "quant_method": "compressed-tensors", | |
| "quantization_status": "compressed", | |
| "sparsity_config": {}, | |
| "transform_config": {}, | |
| "version": "0.18.0" | |
| }, | |
| "text_config": { | |
| "_name_or_path": "runs/cpt/latest", | |
| "architectures": [ | |
| "Qwen3_5ForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "attn_output_gate": true, | |
| "bos_token_id": null, | |
| "chunk_size_feed_forward": 0, | |
| "dtype": "bfloat16", | |
| "eos_token_id": 248044, | |
| "full_attention_interval": 4, | |
| "head_dim": 256, | |
| "hidden_act": "silu", | |
| "hidden_size": 1024, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3584, | |
| "is_encoder_decoder": false, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1 | |
| }, | |
| "layer_types": [ | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention" | |
| ], | |
| "linear_conv_kernel_dim": 4, | |
| "linear_key_head_dim": 128, | |
| "linear_num_key_heads": 16, | |
| "linear_num_value_heads": 16, | |
| "linear_value_head_dim": 128, | |
| "mamba_ssm_dtype": "float32", | |
| "max_position_embeddings": 262144, | |
| "mlp_only_layers": [], | |
| "model_type": "qwen3_5_text", | |
| "mtp_num_hidden_layers": 1, | |
| "mtp_use_dedicated_embeddings": false, | |
| "num_attention_heads": 8, | |
| "num_hidden_layers": 24, | |
| "num_key_value_heads": 2, | |
| "output_attentions": false, | |
| "output_hidden_states": false, | |
| "pad_token_id": null, | |
| "partial_rotary_factor": 0.25, | |
| "problem_type": null, | |
| "return_dict": true, | |
| "rms_norm_eps": 1e-06, | |
| "rope_parameters": { | |
| "mrope_interleaved": true, | |
| "mrope_section": [ | |
| 11, | |
| 11, | |
| 10 | |
| ], | |
| "partial_rotary_factor": 0.25, | |
| "rope_theta": 10000000, | |
| "rope_type": "default" | |
| }, | |
| "tie_word_embeddings": false, | |
| "use_cache": true, | |
| "vocab_size": 248339 | |
| }, | |
| "transformers_version": "5.14.1", | |
| "vision_config": null, | |
| "vision_end_token_id": null, | |
| "vision_start_token_id": null | |
| } |