SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.05525 · 2024

DeepSeek-VL: Towards Real-World Vision-Language Understanding

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 11 functions out of this paper's own repositories and ran 9 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
deepseek-ai/deepseek-vl canonical 9 of 11
FunctionStatusWhere it lives
window_unpartition Ran deepseek-ai/deepseek-vl/deepseek_vl/models/sam.py
code served (permissive licence) · get_code("7bca1adaded75dc9")
compact_text_chunks Ran deepseek-ai/deepseek-vl/deepseek_vl/serve/app_modules/overwrites.py
code served (permissive licence) · get_code("ba86a364bce26e9b")
create_siglip_vit Ran deepseek-ai/deepseek-vl/deepseek_vl/models/siglip_vit.py
code served (permissive licence) · get_code("a63c3596d1105d5d")
expand2square Ran deepseek-ai/deepseek-vl/deepseek_vl/models/image_processing_vlm.py
code served (permissive licence) · get_code("592b3c1a88f93d7c")
get_rel_pos Ran deepseek-ai/deepseek-vl/deepseek_vl/models/sam.py
code served (permissive licence) · get_code("733d7f0bedcb74c2")
markdown_to_html_with_syntax_highlight Ran deepseek-ai/deepseek-vl/deepseek_vl/serve/app_modules/utils.py
code served (permissive licence) · get_code("d1fcc287229a99c6")
to_gradio_chatbot Ran deepseek-ai/deepseek-vl/deepseek_vl/serve/app_deepseek.py
code served (permissive licence) · get_code("10ce40a3d514f69a")
to_gradio_history Ran deepseek-ai/deepseek-vl/deepseek_vl/serve/app_deepseek.py
code served (permissive licence) · get_code("f6e02412cf1ee318")
window_partition Ran deepseek-ai/deepseek-vl/deepseek_vl/models/sam.py
code served (permissive licence) · get_code("5693c99bfc32e135")
format_output Not yet run deepseek-ai/deepseek-vl/deepseek_vl/serve/app_modules/utils.py
code served (permissive licence) · get_code("75628f3739d6fcd3")
strip_stop_words Not yet run deepseek-ai/deepseek-vl/deepseek_vl/serve/app_modules/utils.py
code served (permissive licence) · get_code("f7fc8e891d83a3e1")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We present DeepSeek-VL, an open-source Vision-Language (VL) Model designed for real-world vision and language understanding applications. Our approach is structured around three key dimensions: We strive to ensure our data is diverse, scalable, and extensively covers real-world scenarios including web screenshots, PDFs, OCR, charts, and knowledge-based content, aiming for a comprehensive representation of practical contexts. Further, we create a use case taxonomy from real user scenarios and construct an instruction tuning dataset accordingly. The fine-tuning with this dataset substantially improves the model's user experience in practical applications. Considering efficiency and the demands of most real-world scenarios, DeepSeek-VL incorporates a hybrid vision encoder that efficiently processes high-resolution images (1024 x 1024), while maintaining a relatively low computational overhead. This design choice ensures the model's ability to capture critical semantic and detailed information across various visual tasks. We posit that a proficient Vision-Language Model should, foremost, possess strong language abilities. To ensure the preservation of LLM capabilities during pretraining, we investigate an effective VL pretraining strategy by integrating LLM training from the beginning and carefully managing the competitive dynamics observed between vision and language modalities. The DeepSeek-VL family (both 1.3B and 7B models) showcases superior user experiences as a vision-language chatbot in real-world applications, achieving state-of-the-art or competitive performance across a wide range of visual-language benchmarks at the same model size while maintaining robust performance on language-centric benchmarks. We have made both 1.3B and 7B models publicly accessible to foster innovations based on this foundation model.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2403.05525")
get_code_for_paper("2403.05525")
have("2403.05525")

Connect an agent — have() is free.