Models and Checkpoints
简体中文 | English
This page describes how to download and configure Qwen base models and trained SwiftVLN checkpoints.
1. Install the download tool
python -m pip install --upgrade huggingface_hub
hf --help
2. Qwen base models
2.1 Supported models
SwiftVLN supports the following base models:
|
Hugging Face model |
SwiftVLN configuration variables |
|---|---|---|
|
|
|
|
|
2.2 Download checkpoints
SatNav default model and ablation model are based on Qwen2.5-VL 3B. Download this base model:
export SWIFTVLN_MODEL_ROOT=/path/to/models
hf download Qwen/Qwen2.5-VL-3B-Instruct \
--local-dir "${SWIFTVLN_MODEL_ROOT}/Qwen2.5-VL-3B-Instruct"
Download Qwen3-VL:
hf download Qwen/Qwen3-VL-2B-Instruct \
--local-dir "${SWIFTVLN_MODEL_ROOT}/Qwen3-VL-2B-Instruct"
2.3 Configure model path
Configure the model path in ${SWIFTVLN_ROOT}/.local/env.sh:
export SWIFTVLN_QWEN25_MODEL_PATH="/path/to/models/Qwen2.5-VL-3B-Instruct"
export SWIFTVLN_QWEN3_MODEL_PATH="/path/to/models/Qwen3-VL-2B-Instruct"
For the training configuration and startup method of the base model, see SwiftVLN training.
4. Habitat models
4.1 Released models
SwiftVLN provides two Habitat models using the reference Memory configuration:
Model |
Backbone |
Starting checkpoint |
|---|---|---|
|
Qwen2.5-VL 3B |
|
|
Qwen3-VL 2B |
|
Both models share the following training configuration:
Configuration |
Value |
|---|---|
Environment |
Habitat |
Training data |
R2R, RxR, and EnvDrop expert trajectories |
Epochs |
|
Trajectory window |
|
Actions per turn |
|
Window overlap |
|
Memory |
Uniformly sample 8 history frames, per-frame average pooling, stride 2 |
Embedding enhancement |
|
Learning rate |
|
4.2 Download checkpoints
Select a model and download it to the SwiftVLN model directory. The following command downloads the Qwen2.5-VL 3B model:
export MODEL_NAME=swiftvln-habitat-3b-1ep-f32s4-overlap0-pf-h8-pool-s2-noembed
export SWIFTVLN_HF_MODEL_ROOT="${SWIFTVLN_ROOT}/output/model_zoo/swiftvln/HF_model"
export SWIFTVLN_HABITAT_MODEL_PATH="${SWIFTVLN_HF_MODEL_ROOT}/${MODEL_NAME}"
hf download "Eku127/${MODEL_NAME}" \
--local-dir "${SWIFTVLN_HABITAT_MODEL_PATH}"
To download the Qwen3-VL 2B model, replace the model name:
export MODEL_NAME=swiftvln-habitat-qwen3vl-2b-1ep-f32s4-overlap0-pf-h8-pool-s2-noembed
export SWIFTVLN_HABITAT_MODEL_PATH="${SWIFTVLN_HF_MODEL_ROOT}/${MODEL_NAME}"
hf download "Eku127/${MODEL_NAME}" \
--local-dir "${SWIFTVLN_HABITAT_MODEL_PATH}"
Verify the model configuration and weight index:
test -f "${SWIFTVLN_HABITAT_MODEL_PATH}/config.json"
test -f "${SWIFTVLN_HABITAT_MODEL_PATH}/model.safetensors.index.json"
The downloaded model can be used directly for online Habitat evaluation or as the initialization checkpoint for further training. See SwiftVLN evaluation and SwiftVLN training for commands.
4.3 Model names
The shared name fields describe the common Habitat training and Memory configuration:
swiftvln-habitat-3b-1ep-f32s4-overlap0-pf-h8-pool-s2-noembed
│ │ │ │ │ │ │ └─ no embedding enhancement
│ │ │ │ │ │ └───────── pooling stride 2
│ │ │ │ │ └─────────────── per-frame, 8 history frames
│ │ │ │ └───────────────────── non-overlapping windows
│ │ │ └────────────────────────────── 32-frame window, 4 actions per turn
│ │ └──────────────────────────────────── trained for 1 epoch
│ └──────────────────────────────────────── Qwen2.5-VL 3B
└───────────────────────────────────────────────── Habitat
The Qwen3-VL model uses qwen3vl-2b to identify its model family and size. Keep the full Hugging Face
repository name during evaluation so that eval_by_name.sh can select the correct model family and Habitat backend.