Image-Text-to-Text
Transformers
Safetensors
qwen3_vl
Generated from Trainer
sft
trl
vision-language
autonomous-driving
reasoning
conversational
Instructions to use mjf-su/PhysicalAI-base-VLA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mjf-su/PhysicalAI-base-VLA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="mjf-su/PhysicalAI-base-VLA") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("mjf-su/PhysicalAI-base-VLA") model = AutoModelForMultimodalLM.from_pretrained("mjf-su/PhysicalAI-base-VLA", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use mjf-su/PhysicalAI-base-VLA with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mjf-su/PhysicalAI-base-VLA" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mjf-su/PhysicalAI-base-VLA", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/mjf-su/PhysicalAI-base-VLA
- SGLang
How to use mjf-su/PhysicalAI-base-VLA with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "mjf-su/PhysicalAI-base-VLA" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mjf-su/PhysicalAI-base-VLA", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "mjf-su/PhysicalAI-base-VLA" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mjf-su/PhysicalAI-base-VLA", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use mjf-su/PhysicalAI-base-VLA with Docker Model Runner:
docker model run hf.co/mjf-su/PhysicalAI-base-VLA
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,6 +7,8 @@ tags:
|
|
| 7 |
- sft
|
| 8 |
- trl
|
| 9 |
licence: license
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
# Model Card for test-full-pipeline
|
|
@@ -14,6 +16,18 @@ licence: license
|
|
| 14 |
This model is a fine-tuned version of [Qwen/Qwen3-VL-4B-Thinking](https://huggingface.co/Qwen/Qwen3-VL-4B-Thinking).
|
| 15 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
## Quick start
|
| 18 |
|
| 19 |
```python
|
|
|
|
| 7 |
- sft
|
| 8 |
- trl
|
| 9 |
licence: license
|
| 10 |
+
datasets:
|
| 11 |
+
- tom-jerry-123/Physical-AI-AV-US
|
| 12 |
---
|
| 13 |
|
| 14 |
# Model Card for test-full-pipeline
|
|
|
|
| 16 |
This model is a fine-tuned version of [Qwen/Qwen3-VL-4B-Thinking](https://huggingface.co/Qwen/Qwen3-VL-4B-Thinking).
|
| 17 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 18 |
|
| 19 |
+
## Architecture
|
| 20 |
+
|
| 21 |
+
This model is a **base vision-language architecture** that maps images directly to vehicle waypoints. It takes a forward-facing camera image as input and outputs a sequence of future 2-D waypoints `[x, y]` in the ego-vehicle frame.
|
| 22 |
+
|
| 23 |
+
**Egomotion context:** The model observes 2 seconds of past ego-vehicle motion, sampled at a 0.25 s period (9 historical poses including the current timestep).
|
| 24 |
+
|
| 25 |
+
**Prediction horizon:** The model predicts 6 seconds into the future, also at a 0.25 s period (24 future waypoints).
|
| 26 |
+
|
| 27 |
+
## Training data
|
| 28 |
+
|
| 29 |
+
This model was trained on **shards 0–19** (the first 20 shards) of the [tom-jerry-123/Physical-AI-AV-US](https://huggingface.co/datasets/tom-jerry-123/Physical-AI-AV-US) dataset on Hugging Face.
|
| 30 |
+
|
| 31 |
## Quick start
|
| 32 |
|
| 33 |
```python
|