As shown in the table, ALLaVA-3B uses 1M and 1.5M data for PT. and FT., respectively.
ALLaVA-3B-Longer trains one more epoch (i.e. 3M in total) for the FT. stage.
Code
The training code is largely based on
LLaVA-v1.5
.
We wholeheartedly express our gratitude for their invaluable contributions to open-sourcing LVLMs.
Cost
We train our models on 8*A800 GPUs.
ALLaVA-3B-Longer
takes 8.3h for PT and 21.3h for FT.
ALLaVA-3B
takes 8.3h for PT and 10.6h for FT.
These two models share the same PT procedure.
Hyperparameters
Global Batch Size
ZeRO Stage
Optimizer
Max LR
Min LR
Scheduler
Max length
Weight decay
256 (PT) / 128 (FT)
1
AdamW
2e-5
2e-6
CosineAnnealingWarmRestarts
2048
0
The LM backbone, projector are trainable, while the vision encoder is kept frozen.
The trainabilities of each module are the same for both stages.
📚 ALLaVA-4V Data
The majority part of training data is
ALLaVA-4V
. See
here
to prepare it for training.
@article{chen2024allava,
title={ALLaVA: Harnessing GPT4V-synthesized Data for A Lite Vision-Language Model},
author={Chen, Guiming Hardy and Chen, Shunian and Zhang, Ruifei and Chen, Junying and Wu, Xiangbo and Zhang, Zhiyi and Chen, Zhihong and Li, Jianquan and Wan, Xiang and Wang, Benyou},
journal={arXiv preprint arXiv:2402.11684},
year={2024}
}
Runs of FreedomIntelligence ALLaVA-3B on huggingface.co
57
Total runs
0
24-hour runs
-1
3-day runs
23
7-day runs
39
30-day runs
More Information About ALLaVA-3B huggingface.co Model
ALLaVA-3B huggingface.co is an AI model on huggingface.co that provides ALLaVA-3B's model effect (), which can be used instantly with this FreedomIntelligence ALLaVA-3B model. huggingface.co supports a free trial of the ALLaVA-3B model, and also provides paid use of the ALLaVA-3B. Support call ALLaVA-3B model through api, including Node.js, Python, http.
ALLaVA-3B huggingface.co is an online trial and call api platform, which integrates ALLaVA-3B's modeling effects, including api services, and provides a free online trial of ALLaVA-3B, you can try ALLaVA-3B online for free by clicking the link below.
FreedomIntelligence ALLaVA-3B online free url in huggingface.co:
ALLaVA-3B is an open source model from GitHub that offers a free installation service, and any user can find ALLaVA-3B on GitHub to install. At the same time, huggingface.co provides the effect of ALLaVA-3B install, users can directly use ALLaVA-3B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.