How to use from
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 "PrincetonPLI/Eagle-X2-Llama3-8B-TableReadout-MixPlus-240k" \
    --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": "PrincetonPLI/Eagle-X2-Llama3-8B-TableReadout-MixPlus-240k",
		"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 "PrincetonPLI/Eagle-X2-Llama3-8B-TableReadout-MixPlus-240k" \
        --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": "PrincetonPLI/Eagle-X2-Llama3-8B-TableReadout-MixPlus-240k",
		"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"
						}
					}
				]
			}
		]
	}'
Quick Links

Model Card for Eagle-X2-Llama3-8B-ConsecutiveTableReadout-Mix-160k

This model follows the adapter-based VLM structure from LLaVA and Eagle. This model uses meta-llama/Meta-Llama-3-8B-Instruct as the base LLM and CLIP-448 (based on CLIP-336) and ConvNeXt as the visual encoders.

Training Details

We trained Eagle-X2-Llama3-8B on 240k examples of Mix+ supervision on Table Readout.

Citation

Paper: Generalizing from SIMPLE to HARD Visual Reasoning

@misc{park2025generalizingsimplehardvisual,
      title={Generalizing from SIMPLE to HARD Visual Reasoning: Can We Mitigate Modality Imbalance in VLMs?}, 
      author={Simon Park and Abhishek Panigrahi and Yun Cheng and Dingli Yu and Anirudh Goyal and Sanjeev Arora},
      year={2025},
      eprint={2501.02669},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2501.02669}, 
}

Contact

Simon Park, Princeton University

Abhishek Panigrahi, Princeton University

Yun Cheng, Princeton University

{juhyunp, ap34, yc6206} 'at' princeton 'dot' edu

Downloads last month
8
Safetensors
Model size
9B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for PrincetonPLI/Eagle-X2-Llama3-8B-TableReadout-MixPlus-240k

Finetuned
(7)
this model

Collection including PrincetonPLI/Eagle-X2-Llama3-8B-TableReadout-MixPlus-240k

Paper for PrincetonPLI/Eagle-X2-Llama3-8B-TableReadout-MixPlus-240k