text
stringlengths
0
1.16k
"hidden_act": "gelu",
"hidden_size": 1024,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"image_size": 448,
"initializer_factor": 1.0,
"initializer_range": 0.02,
"intermediate_size": 4096,
"is_decoder": false,
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"layer_norm_eps": 1e-06,
"length_penalty": 1.0,
"max_length": 20,
"min_length": 0,
"model_type": "intern_vit_6b",
"no_repeat_ngram_size": 0,
"norm_type": "layer_norm",
"num_attention_heads": 16,
"num_beam_groups": 1,
"num_beams": 1,
"num_channels": 3,
"num_hidden_layers": 24,
"num_return_sequences": 1,
"output_attentions": false,
"output_hidden_states": false,
"output_scores": false,
"pad_token_id": null,
"patch_size": 14,
"prefix": null,
"problem_type": null,
"pruned_heads": {},
"qk_normalization": false,
"qkv_bias": true,
"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,
"torch_dtype": "bfloat16",
"torchscript": false,
"transformers_version": "4.37.2",
"typical_p": 1.0,
"use_bfloat16": true,
"use_flash_attn": true
}
}
10/22/2024 17:03:09 - INFO - __main__ - Using flash_attention_2 for InternLM
[INFO|modeling_utils.py:3473] 2024-10-22 17:03:09,245 >> loading weights file /home/yunjie/data/Mini-InternVL-Chat-2B-V1-5/model.safetensors
[INFO|modeling_utils.py:1426] 2024-10-22 17:03:09,258 >> Instantiating InternVLChatModel model under default dtype torch.bfloat16.
[INFO|configuration_utils.py:826] 2024-10-22 17:03:09,259 >> Generate config GenerationConfig {}
[INFO|configuration_utils.py:826] 2024-10-22 17:03:09,289 >> Generate config GenerationConfig {
"bos_token_id": 1,
"eos_token_id": 2,
"pad_token_id": 2
}
[WARNING|logging.py:314] 2024-10-22 17:03:09,309 >> Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
[WARNING|logging.py:314] 2024-10-22 17:03:09,320 >> Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
[WARNING|logging.py:314] 2024-10-22 17:03:09,357 >> Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
[INFO|modeling_utils.py:4350] 2024-10-22 17:03:12,431 >> All model checkpoint weights were used when initializing InternVLChatModel.
[INFO|modeling_utils.py:4358] 2024-10-22 17:03:12,431 >> All the weights of InternVLChatModel were initialized from the model checkpoint at /home/yunjie/data/Mini-InternVL-Chat-2B-V1-5.
If your task is similar to the task the model of the checkpoint was trained on, you can already use InternVLChatModel for predictions without further training.
[INFO|configuration_utils.py:779] 2024-10-22 17:03:12,434 >> loading configuration file /home/yunjie/data/Mini-InternVL-Chat-2B-V1-5/generation_config.json
[INFO|configuration_utils.py:826] 2024-10-22 17:03:12,434 >> Generate config GenerationConfig {
"eos_token_id": [
92542,
92543
]
}
loading bert-base-uncased from /home/yunjie/data/bert-base-uncased
[INFO|tokenization_utils_base.py:2025] 2024-10-22 17:03:12,545 >> loading file vocab.txt
[INFO|tokenization_utils_base.py:2025] 2024-10-22 17:03:12,545 >> loading file added_tokens.json
[INFO|tokenization_utils_base.py:2025] 2024-10-22 17:03:12,545 >> loading file special_tokens_map.json
[INFO|tokenization_utils_base.py:2025] 2024-10-22 17:03:12,545 >> loading file tokenizer_config.json
[INFO|tokenization_utils_base.py:2025] 2024-10-22 17:03:12,545 >> loading file tokenizer.json
[INFO|configuration_utils.py:727] 2024-10-22 17:03:12,545 >> loading configuration file /home/yunjie/data/bert-base-uncased/config.json
[INFO|configuration_utils.py:792] 2024-10-22 17:03:12,545 >> Model config BertConfig {
"_name_or_path": "/home/yunjie/data/bert-base-uncased",
"architectures": [
"BertForMaskedLM"
],