Improve model card: Add metadata and sample usage
#1
by nielsr HF Staff - opened
1234537 unmodified lines434445464748495051525354555657585960616222 unmodified lines8586878889# InternVLA-N1 Model Series37 unmodified lines## Model Variants| Model Variant | Description | Key Characteristics ||--------------|-------------|----------------------|| [**InternVLA-N1 (S2)**](https://huggingface.co/InternRobotics/InternVLA-N1-System2) | Finetuned Qwen2.5-VL model for pixel-goal grounding | Strong System 2 module; compatible with decoupled System 1 controllers or joint optimization pipelines || [**InternVLA-N1 (Dual System) _w/ NavDP\*_**](https://huggingface.co/InternRobotics/InternVLA-N1-w-NavDP) | Jointly tuned System 1 (NavDP*) and InternVLA-N1 (S2) | Optimized end-to-end performance; uses RGB-D observations || [**InternVLA-N1 (Dual System) _DualVLN_**](https://huggingface.co/InternRobotics/InternVLA-N1-DualVLN) | Latest dual-system architecture | Optimized end-to-end performance and faster convergence; uses RGB observations |> The previously released version is now called [InternVLA-N1-wo-dagger](https://huggingface.co/InternRobotics/InternVLA-N1-wo-dagger). The lastest official release is recommended for best performance.---## UsageFor inference, evaluation, and the Gradio demo, please refer to the [InternNav repository](https://github.com/InternRobotics/InternNav).---22 unmodified linesprimaryClass={cs.RO},url={https://arxiv.org/abs/2512.08186},}1234567891011121314151637 unmodified lines5455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012122 unmodified lines144145146147---pipeline_tag: roboticslibrary_name: transformerslicense: cc-by-nc-sa-4.0tags:- vision-language-model- navigation---# InternVLA-N1 Model SeriesThis model was presented in the paper [Ground Slow, Move Fast: A Dual-System Foundation Model for Generalizable Vision-and-Language Navigation](https://huggingface.co/papers/2512.08186).37 unmodified lines## Model Variants| Model Variant | Description | Key Characteristics ||--------------|-------------|----------------------|\| [**InternVLA-N1 (S2)**](https://huggingface.co/InternRobotics/InternVLA-N1-System2) | Finetuned Qwen2.5-VL model for pixel-goal grounding | Strong System 2 module; compatible with decoupled System 1 controllers or joint optimization pipelines |\| [**InternVLA-N1 (Dual System) _w/ NavDP\*_**](https://huggingface.co/InternRobotics/InternVLA-N1-w-NavDP) | Jointly tuned System 1 (NavDP\*) and InternVLA-N1 (S2) | Optimized end-to-end performance; uses RGB-D observations |\| [**InternVLA-N1 (Dual System) _DualVLN_**](https://huggingface.co/InternRobotics/InternVLA-N1-DualVLN) | Latest dual-system architecture | Optimized end-to-end performance and faster convergence; uses RGB observations |\> The previously released version is now called [InternVLA-N1-wo-dagger](https://huggingface.co/InternRobotics/InternVLA-N1-wo-dagger). The lastest official release is recommended for best performance.---## Sample UsageThis model is compatible with the Hugging Face `transformers` library. The following code snippet demonstrates how to perform inference:```pythonimport torchfrom PIL import Imagefrom transformers import AutoProcessor, AutoModelForCausalLMimport requestsfrom io import BytesIO# Load model and processorhf_model_id = "InternRobotics/InternVLA-N1-DualVLN"model = AutoModelForCausalLM.from_pretrained(hf_model_id, torch_dtype=torch.float16, trust_remote_code=True, device_map="cuda")processor = AutoProcessor.from_pretrained(hf_model_id, trust_remote_code=True)# Load a dummy image# Replace with your actual image path or a URL to a relevant sceneimage_url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/bird_image.jpg"image = Image.open(BytesIO(requests.get(image_url).content)).convert("RGB")# Define a question related to navigation or visual understandingquestion = "What is the most direct path to the kitchen from here? Describe the first few steps."messages = [{"role": "user", "content": f"<|image_pad|>{question}"},]# Process inputsinputs = processor.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt")inputs = inputs.to(model.device)pixel_values = processor.preprocess(images=image, return_tensors="pt")["pixel_values"]pixel_values = pixel_values.to(model.device, dtype=torch.float16)# Generate responsewith torch.inference_mode():outputs = model.generate(**inputs,pixel_values=pixel_values,do_sample=True,temperature=0.7,max_new_tokens=1024,eos_token_id=processor.tokenizer.eos_token_id,repetition_penalty=1.05)response = processor.decode(outputs[0], skip_special_tokens=True)print(f"User: {question}Assistant: {response}")```For more detailed usage (inference, evaluation, and Gradio demo), please refer to the [InternNav repository](https://github.com/InternRobotics/InternNav).---22 unmodified linesprimaryClass={cs.RO},url={https://arxiv.org/abs/2512.08186},}```
README.md+68-10