Download config.json from hf-tiny-v2/tiny-random-LightOnOcrModel: direct link, hf CLI and curl.
- Browser
- Download file 1.95 kB
-
https://huggingface.co/hf-tiny-v2/tiny-random-LightOnOcrModel/resolve/main/config.json
- Command line
-
hf download hf://hf-tiny-v2/tiny-random-LightOnOcrModel/config.json
-
curl -L -o config.json https://huggingface.co/hf-tiny-v2/tiny-random-LightOnOcrModel/resolve/main/config.json
1.95 kB
| { | |
| "architectures": [ | |
| "LightOnOcrModel" | |
| ], | |
| "dtype": "float32", | |
| "image_token_id": 10, | |
| "model_type": "lighton_ocr", | |
| "spatial_merge_size": 2, | |
| "text_config": { | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "attention_probs_dropout_prob": 0.1, | |
| "bos_token_id": 0, | |
| "eos_token_id": 151645, | |
| "head_dim": 8, | |
| "hidden_act": "silu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 32, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1", | |
| "2": "LABEL_2" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 37, | |
| "is_training": true, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1, | |
| "LABEL_2": 2 | |
| }, | |
| "layer_types": [ | |
| "full_attention", | |
| "full_attention" | |
| ], | |
| "max_position_embeddings": 512, | |
| "max_window_layers": 28, | |
| "model_type": "qwen3", | |
| "num_attention_heads": 4, | |
| "num_choices": 4, | |
| "num_hidden_layers": 2, | |
| "num_key_value_heads": 2, | |
| "pad_token_id": 151643, | |
| "rms_norm_eps": 1e-06, | |
| "rope_parameters": { | |
| "rope_theta": 10000.0, | |
| "rope_type": "default" | |
| }, | |
| "seq_length": 7, | |
| "sliding_window": null, | |
| "tie_word_embeddings": false, | |
| "type_sequence_label_size": 2, | |
| "type_vocab_size": 16, | |
| "use_cache": true, | |
| "use_input_mask": true, | |
| "use_labels": true, | |
| "use_sliding_window": false, | |
| "use_token_type_ids": false, | |
| "vocab_size": 151669 | |
| }, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.16.0.dev0", | |
| "vision_config": { | |
| "attention_dropout": 0.0, | |
| "head_dim": 8, | |
| "hidden_act": "silu", | |
| "hidden_size": 32, | |
| "image_size": 112, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 37, | |
| "is_training": true, | |
| "model_type": "pixtral", | |
| "num_attention_heads": 4, | |
| "num_channels": 3, | |
| "num_hidden_layers": 2, | |
| "patch_size": 14, | |
| "rope_parameters": { | |
| "rope_theta": 10000.0, | |
| "rope_type": "default" | |
| } | |
| } | |
| } | |