kneelabh87/blip-finetuned-construction
Browse files
README.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: bsd-3-clause
|
| 4 |
+
base_model: Salesforce/blip-image-captioning-base
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
model-index:
|
| 8 |
+
- name: blip-fast-debug
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
# blip-fast-debug
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [Salesforce/blip-image-captioning-base](https://huggingface.co/Salesforce/blip-image-captioning-base) on an unknown dataset.
|
| 18 |
+
|
| 19 |
+
## Model description
|
| 20 |
+
|
| 21 |
+
More information needed
|
| 22 |
+
|
| 23 |
+
## Intended uses & limitations
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Training and evaluation data
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training procedure
|
| 32 |
+
|
| 33 |
+
### Training hyperparameters
|
| 34 |
+
|
| 35 |
+
The following hyperparameters were used during training:
|
| 36 |
+
- learning_rate: 5e-05
|
| 37 |
+
- train_batch_size: 4
|
| 38 |
+
- eval_batch_size: 4
|
| 39 |
+
- seed: 42
|
| 40 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 41 |
+
- lr_scheduler_type: linear
|
| 42 |
+
- num_epochs: 1
|
| 43 |
+
- mixed_precision_training: Native AMP
|
| 44 |
+
|
| 45 |
+
### Training results
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
### Framework versions
|
| 50 |
+
|
| 51 |
+
- Transformers 4.55.1
|
| 52 |
+
- Pytorch 2.6.0+cu124
|
| 53 |
+
- Datasets 4.0.0
|
| 54 |
+
- Tokenizers 0.21.4
|
config.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"BlipForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"image_text_hidden_size": 256,
|
| 6 |
+
"initializer_factor": 1.0,
|
| 7 |
+
"initializer_range": 0.02,
|
| 8 |
+
"label_smoothing": 0.0,
|
| 9 |
+
"logit_scale_init_value": 2.6592,
|
| 10 |
+
"model_type": "blip",
|
| 11 |
+
"projection_dim": 512,
|
| 12 |
+
"text_config": {
|
| 13 |
+
"attention_probs_dropout_prob": 0.0,
|
| 14 |
+
"encoder_hidden_size": 768,
|
| 15 |
+
"hidden_act": "gelu",
|
| 16 |
+
"hidden_dropout_prob": 0.0,
|
| 17 |
+
"hidden_size": 768,
|
| 18 |
+
"initializer_factor": 1.0,
|
| 19 |
+
"initializer_range": 0.02,
|
| 20 |
+
"intermediate_size": 3072,
|
| 21 |
+
"label_smoothing": 0.0,
|
| 22 |
+
"layer_norm_eps": 1e-12,
|
| 23 |
+
"max_position_embeddings": 512,
|
| 24 |
+
"model_type": "blip_text_model",
|
| 25 |
+
"num_attention_heads": 12,
|
| 26 |
+
"num_hidden_layers": 12,
|
| 27 |
+
"projection_dim": 768,
|
| 28 |
+
"torch_dtype": "float32",
|
| 29 |
+
"use_cache": true,
|
| 30 |
+
"vocab_size": 30524
|
| 31 |
+
},
|
| 32 |
+
"torch_dtype": "float32",
|
| 33 |
+
"transformers_version": "4.55.1",
|
| 34 |
+
"vision_config": {
|
| 35 |
+
"attention_dropout": 0.0,
|
| 36 |
+
"dropout": 0.0,
|
| 37 |
+
"hidden_act": "gelu",
|
| 38 |
+
"hidden_size": 768,
|
| 39 |
+
"image_size": 384,
|
| 40 |
+
"initializer_factor": 1.0,
|
| 41 |
+
"initializer_range": 0.02,
|
| 42 |
+
"intermediate_size": 3072,
|
| 43 |
+
"layer_norm_eps": 1e-05,
|
| 44 |
+
"model_type": "blip_vision_model",
|
| 45 |
+
"num_attention_heads": 12,
|
| 46 |
+
"num_channels": 3,
|
| 47 |
+
"num_hidden_layers": 12,
|
| 48 |
+
"patch_size": 16,
|
| 49 |
+
"projection_dim": 512,
|
| 50 |
+
"torch_dtype": "float32"
|
| 51 |
+
}
|
| 52 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 30522,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"pad_token_id": 0,
|
| 6 |
+
"transformers_version": "4.55.1"
|
| 7 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4502cf821c74cc1a6183a4e81b43d207a5b091082ff1801efd7dbdcd4420c22
|
| 3 |
+
size 989717056
|
runs/Aug18_11-04-13_e51ac94867d4/events.out.tfevents.1755515060.e51ac94867d4.1436.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5d20b2592f261fe915efcd39a423f8e5e0244152706b65a693f5a407c73163f
|
| 3 |
+
size 10651
|
runs/Aug18_11-24-28_e51ac94867d4/events.out.tfevents.1755516275.e51ac94867d4.1436.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3e8806292d20e155a8f69cca9280995c6b5a20de6cd725858dd1a816b07d814
|
| 3 |
+
size 10651
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7861d04aabfb516ddb9af4a165ffb3c200e8252e1cf33822fbbb9d05635c89ca
|
| 3 |
+
size 5368
|