ScaleSR / ScaleSR-Full /config.json
wangjg333's picture
ScaleSR weights and model card
3fdf932
Raw History Blame Contribute Delete
1.72 kB
{
"format": "scalesr-full",
"version": 1,
"prompt": "Faithfully restore and enhance the degraded image with high realism and fidelity. Preserve the original content, structure, composition, identity, scene layout, colors, and lighting. Recover natural fine details, realistic textures, clean edges, and clear high-frequency details while reducing blur, noise, compression artifacts, and distortion. Preserve facial identity and natural human features in portraits, and preserve realistic textures and spatial layout in landscapes and natural scenes. Photo-realistic, clean, crisp, and naturally sharp, with balanced contrast and natural color reproduction. No hallucinated details, no unnatural textures, no geometric deformation, and no semantic changes.",
"ves": {
"hidden_size": 4096,
"hidden": 256,
"bias_init": -2.0
},
"model": {
"noise_scale": 1.0,
"noise_scale_base_image_seq_len": 64,
"noise_scale_max_value": 16.0,
"llm_config": {
"hidden_size": 4096,
"intermediate_size": 12288,
"num_hidden_layers": 42,
"num_attention_heads": 32,
"num_key_value_heads": 8,
"head_dim": 128,
"rms_norm_eps": 1e-06,
"attention_bias": false,
"hidden_act": "silu",
"rope_theta": 5000000.0,
"rope_theta_hw": 10000.0,
"max_position_embeddings": 262144,
"max_position_embeddings_hw": 10000,
"architectures": [
"Qwen3ForCausalLM"
]
},
"vision_config": {
"hidden_size": 1024,
"num_channels": 3,
"patch_size": 16,
"rope_theta_vision": 10000.0,
"max_position_embeddings_vision": 10000,
"llm_hidden_size": 4096,
"downsample_ratio": 0.5
}
}
}