vectorllm_v1 / config.json
insomnia7's picture
Upload folder using huggingface_hub
bcc6605 verified
{
"architectures": [
"VectorLLMForCausalLM"
],
"auto_map": {
"AutoConfig": "configuration_vectorllm.VectorLLMConfig",
"AutoImageProcessor": "image_processing_vectorllm.VectorLLMImageProcessor",
"AutoModel": "modeling_vectorllm.VectorLLMForCausalLM",
"AutoModelForCausalLM": "modeling_vectorllm.VectorLLMForCausalLM",
"AutoProcessor": "processing_vectorllm.VectorLLMProcessor"
},
"do_normalize": false,
"dtype": "bfloat16",
"hidden_size": 1024,
"llm_config": {
"_name_or_path": "../../hf_model/vectorllm_pths/Qwen3-0.6B/",
"add_cross_attention": false,
"architectures": [
"Qwen3ForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bad_words_ids": null,
"begin_suppress_tokens": null,
"bos_token_id": 151643,
"chunk_size_feed_forward": 0,
"cross_attention_hidden_size": null,
"decoder_start_token_id": null,
"diversity_penalty": 0.0,
"do_sample": false,
"dtype": "float16",
"early_stopping": false,
"encoder_no_repeat_ngram_size": 0,
"eos_token_id": 151645,
"exponential_decay_length_penalty": null,
"finetuning_task": null,
"forced_bos_token_id": null,
"forced_eos_token_id": null,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 1024,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": false,
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"layer_types": [
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention"
],
"length_penalty": 1.0,
"max_length": 20,
"max_position_embeddings": 40960,
"max_window_layers": 28,
"min_length": 0,
"model_type": "qwen3",
"no_repeat_ngram_size": 0,
"num_attention_heads": 16,
"num_beam_groups": 1,
"num_beams": 1,
"num_hidden_layers": 28,
"num_key_value_heads": 8,
"num_return_sequences": 1,
"output_attentions": false,
"output_hidden_states": false,
"output_scores": false,
"pad_token_id": null,
"prefix": null,
"problem_type": null,
"pruned_heads": {},
"remove_invalid_values": false,
"repetition_penalty": 1.0,
"return_dict": true,
"return_dict_in_generate": false,
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"rope_theta": 1000000,
"sep_token_id": null,
"sliding_window": null,
"suppress_tokens": null,
"task_specific_params": null,
"temperature": 1.0,
"tf_legacy_loss": false,
"tie_encoder_decoder": false,
"tie_word_embeddings": true,
"tokenizer_class": null,
"top_k": 50,
"top_p": 1.0,
"torch_dtype": "bfloat16",
"torchscript": false,
"transformers_version": "4.56.0",
"typical_p": 1.0,
"use_bfloat16": false,
"use_cache": false,
"use_sliding_window": false,
"vocab_size": 151926
},
"llm_name_or_path": "",
"model_type": "vectorllm_hf_0407",
"num_cls_register_tokens": 9,
"output_attentions": false,
"patch_size": 16,
"pixel_idx": 151669,
"pre_resize_size": 432,
"projector_config": {
"_name_or_path": "",
"add_cross_attention": false,
"architectures": null,
"bad_words_ids": null,
"begin_suppress_tokens": null,
"bias": true,
"bos_token_id": null,
"chunk_size_feed_forward": 0,
"cross_attention_hidden_size": null,
"decoder_start_token_id": null,
"depth": 2,
"diversity_penalty": 0.0,
"do_sample": false,
"dtype": null,
"early_stopping": false,
"encoder_no_repeat_ngram_size": 0,
"eos_token_id": null,
"exponential_decay_length_penalty": null,
"finetuning_task": null,
"forced_bos_token_id": null,
"forced_eos_token_id": null,
"hidden_act": "gelu",
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"is_decoder": false,
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"length_penalty": 1.0,
"llm_hidden_size": 1024,
"max_length": 20,
"min_length": 0,
"model_type": "vectorllm_0407_projector",
"no_repeat_ngram_size": 0,
"num_beam_groups": 1,
"num_beams": 1,
"num_return_sequences": 1,
"output_attentions": false,
"output_hidden_states": false,
"output_scores": false,
"pad_token_id": null,
"prefix": null,
"problem_type": null,
"pruned_heads": {},
"remove_invalid_values": false,
"repetition_penalty": 1.0,
"return_dict": true,
"return_dict_in_generate": false,
"sep_token_id": null,
"suppress_tokens": null,
"task_specific_params": null,
"temperature": 1.0,
"tf_legacy_loss": false,
"tie_encoder_decoder": false,
"tie_word_embeddings": true,
"tokenizer_class": null,
"top_k": 50,
"top_p": 1.0,
"torchscript": false,
"transformers_version": "4.56.0",
"typical_p": 1.0,
"use_bfloat16": false,
"visual_hidden_size": 1024
},
"regression_size": [
128,
128
],
"resized_size": 128,
"text_config": {
"_name_or_path": "../../hf_model/vectorllm_pths/Qwen3-0.6B/",
"architectures": [
"Qwen3ForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 151643,
"dtype": "float16",
"eos_token_id": 151645,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 1024,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_types": [
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention"
],
"max_position_embeddings": 40960,
"max_window_layers": 28,
"model_type": "qwen3",
"num_attention_heads": 16,
"num_hidden_layers": 28,
"num_key_value_heads": 8,
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"rope_theta": 1000000,
"sliding_window": null,
"tie_word_embeddings": true,
"use_cache": false,
"use_sliding_window": false,
"vocab_size": 151926
},
"tie_word_embeddings": false,
"transformers_version": null,
"vision_config": {
"adaptor_configs": {},
"adaptor_names": null,
"architectures": [
"RADIOModel"
],
"args": {
"aa": null,
"amp": true,
"amp_dtype": "bfloat16",
"amp_impl": "native",
"aug_repeats": 0,
"aug_splits": 0,
"bn_eps": null,
"bn_momentum": null,
"cache_dir": null,
"channels_last": false,
"checkpoint_hist": 10,
"chk_keep_forever": 50,
"class_map": "",
"clip_grad": null,
"clip_mode": "norm",
"cls_token_per_teacher": true,
"coco_annotations_file": "/datasets/coco2017-adlsa/annotations/captions_val2017.json",
"coco_image_dir": "/datasets/coco2017-adlsa/val2017",
"color_jitter": 0.4,
"cooldown_epochs": 0,
"cpe_max_size": 2048,
"crd_loss": false,
"crd_loss_weight": 0.8,
"crop_pct": null,
"cutmix": 0.0,
"cutmix_minmax": null,
"dataset_download": false,
"debug_full_knn": false,
"decay_epochs": 90,
"decay_milestones": [
90,
180,
270
],
"decay_rate": 0.1,
"depchain": true,
"dist_bn": "reduce",
"dist_norm_weight": 0.0,
"distributed": true,
"drop": 0.0,
"drop_block": null,
"drop_connect": null,
"drop_path": null,
"dtype": "bfloat16",
"epoch_repeats": 0.0,
"eval": false,
"eval_metric": "knn_top1",
"eval_teacher": false,
"eval_teacher_only": false,
"eval_throughput": false,
"fast_norm": false,
"fd_loss_fn": "MSE",
"feature_normalization": "SHIP_NORM",
"feature_summarizer": "cls_token",
"feature_upscale_factor": null,
"force_new_wandb_id": false,
"force_spectral_reparam": false,
"freeze_bn": false,
"fsdp": false,
"fuser": "",
"gp": null,
"grad_accum_steps": 1,
"grad_checkpointing": false,
"head_init_bias": null,
"head_init_scale": null,
"head_warmup": 5,
"head_weight_decay": 0.001,
"hflip": 0.5,
"img_size": null,
"in_chans": null,
"initial_checkpoint": null,
"input_size": null,
"interpolation": "",
"layer_decay": null,
"local_rank": 0,
"log_interval": 50,
"log_mlflow": false,
"log_wandb": true,
"loss_auto_balance": false,
"lr_base": 0.1,
"lr_base_scale": "",
"lr_base_size": 256,
"lr_cycle_decay": 0.5,
"lr_cycle_limit": 1,
"lr_cycle_mul": 1.0,
"lr_k_decay": 1.0,
"lr_noise": null,
"lr_noise_pct": 0.67,
"lr_noise_std": 1.0,
"mean": null,
"mesa": false,
"min_lr": 0,
"mixup": 0.0,
"mixup_mode": "batch",
"mixup_off_epoch": 0,
"mixup_prob": 1.0,
"mixup_switch_prob": 0.5,
"mlp_hidden_size": 1520,
"mlp_num_inner": 3,
"mlp_version": "v2",
"model": "vit_large_patch16_224",
"model_kwargs": {},
"model_norm": false,
"momentum": 0.9,
"no_aug": false,
"no_ddp_bb": true,
"no_prefetcher": false,
"no_resume_opt": false,
"num_classes": null,
"opt_betas": null,
"opt_eps": null,
"patience_epochs": 10,
"pin_mem": false,
"prefetcher": true,
"pretrained": false,
"rank": 0,
"ratio": [
0.75,
1.3333333333333333
],
"recount": 1,
"recovery_interval": 0,
"register_multiple": 8,
"remode": "pixel",
"reprob": 0.0,
"reset_loss_state": true,
"resplit": false,
"save_images": false,
"scale": [
0.5,
1.0
],
"sched": "cosine",
"seed": 42,
"smoothing": 0.1,
"spectral_heads": false,
"spectral_reparam": false,
"spectral_weight_decay": null,
"split_bn": false,
"start_epoch": null,
"std": null,
"stream_teachers": false,
"sync_bn": false,
"synchronize_step": false,
"teachers": [
{
"fd_normalize": false,
"feature_distillation": true,
"input_size": 378,
"model": "ViT-H-14-378-quickgelu",
"name": "clip",
"pretrained": "dfn5b",
"type": "open_clip",
"use_summary": true
},
{
"fd_normalize": false,
"feature_distillation": true,
"input_size": 378,
"model": "ViT-SO400M-14-SigLIP-384",
"name": "siglip",
"pretrained": "webli",
"type": "open_clip",
"use_summary": true
},
{
"fd_normalize": false,
"feature_distillation": true,
"input_size": 448,
"model": "dinov2_vitg14_reg",
"name": "dino_v2",
"type": "dino_v2",
"use_summary": true
},
{
"fd_normalize": false,
"feature_distillation": true,
"input_size": 1024,
"model": "vit-h",
"name": "sam",
"type": "sam",
"use_summary": false
}
],
"torchcompile": null,
"torchscript": false,
"train_interpolation": "random",
"train_split": "train",
"tta": 0,
"use_coco": false,
"use_multi_epochs_loader": false,
"val_ema_only": false,
"val_split": "val",
"vflip": 0.0,
"vitdet_version": 1,
"wandb_entity": "",
"wandb_job_type": "",
"wandb_name": "",
"wandb_project": "",
"warmup_lr": 1e-05,
"warmup_prefix": false,
"worker_seeding": "all",
"workers": 8,
"world_size": 128
},
"auto_map": {
"AutoConfig": "hf_model.RADIOConfig",
"AutoModel": "hf_model.RADIOModel"
},
"feature_normalizer_config": null,
"inter_feature_normalizer_config": null,
"max_resolution": 2048,
"patch_size": 16,
"preferred_resolution": [
768,
768
],
"torch_dtype": "bfloat16",
"transformers_version": "4.47.0.dev0",
"version": "radio_v2.5-l",
"vitdet_window_size": null
},
"vision_hidden_size": 1024,
"vision_model_name_or_path": "",
"vision_torch_dtype": "bfloat16",
"visual_peft_config": null
}