# zai-org/cogvlm

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/zai-org-cogvlm).**

6,742 stars · 454 forks · Python · Apache-2.0

## Links

- GitHub: https://github.com/zai-org/CogVLM
- awesome-repositories: https://awesome-repositories.com/repository/zai-org-cogvlm.md

## Topics

`cross-modality` `language-model` `multi-modal` `pretrained-models` `visual-language-models`

## Description

CogVLM is a multimodal large language model designed for visual reasoning and multi-turn dialogue. It functions as a visual grounding model and a quantized vision model, combining text and image processing to perform complex understanding and maintain context across visual inputs.

The project includes capabilities as a GUI automation agent, allowing it to analyze application screenshots, plan operational steps, and return precise screen coordinates for interface interaction. It further supports visual grounding by generating bounding box coordinates to map text descriptions to specific spatial regions within an image.

The system covers multimodal visual reasoning, GPU memory optimization via low-precision weight quantization, and model fine-tuning using low-rank adaptation. It also provides an OpenAI-compatible interface for handling dialogue and image analysis requests.

## Tags

### Artificial Intelligence & ML

- [Multimodal Reasoning Engines](https://awesome-repositories.com/f/artificial-intelligence-ml/multimodal-reasoning-engines.md) — Processes and reasons across visual and textual modalities to answer complex questions and maintain dialogues.
- [Agent Planning Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-planning-frameworks.md) — Plans multi-step operational sequences on screenshots to interact with interface elements. ([source](https://github.com/zai-org/cogvlm#readme))
- [Multi-turn Interaction Managers](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/conversational-voice-interaction/conversational-ai-agents/conversational-turn-detection/multi-turn-interaction-managers.md) — Manages stateful, multi-turn conversations to iteratively analyze visual content. ([source](https://github.com/zai-org/cogvlm#readme))
- [Text-to-Bounding-Box Models](https://awesome-repositories.com/f/artificial-intelligence-ml/bounding-box-regression/bounding-box-representations/bounding-box-coordinate-predictors/text-to-bounding-box-models.md) — Generates bounding box coordinates to map text descriptions to specific spatial regions within images.
- [Dialogue Context Management](https://awesome-repositories.com/f/artificial-intelligence-ml/dialogue-context-management.md) — Maintains conversational history and context to enable iterative analysis of visual inputs across multiple turns.
- [Feature Fusion Architectures](https://awesome-repositories.com/f/artificial-intelligence-ml/feature-fusion-architectures.md) — Combines visual and textual data streams into a shared representation for complex multimodal reasoning.
- [GUI Task Automation](https://awesome-repositories.com/f/artificial-intelligence-ml/gui-task-automation.md) — Automates end-to-end user interface operations by interpreting screenshots and interacting with screen elements.
- [Multimodal Large Language Models](https://awesome-repositories.com/f/artificial-intelligence-ml/multimodal-large-language-models.md) — Implements a large-scale neural architecture that processes both visual and textual inputs for reasoning.
- [Multimodal Visual Understanding](https://awesome-repositories.com/f/artificial-intelligence-ml/multimodal-visual-understanding.md) — Integrates visual and language data to perform complex understanding and maintain context across visual inputs. ([source](https://github.com/zai-org/cogvlm#readme))
- [UI-to-Action Mappings](https://awesome-repositories.com/f/artificial-intelligence-ml/observation-to-action-mappings/ui-to-action-mappings.md) — Analyzes application interfaces to determine operational steps and output precise screen coordinates for execution.
- [Vision-Language Grounding Models](https://awesome-repositories.com/f/artificial-intelligence-ml/vision-language-grounding-models.md) — Maps natural language instructions to specific spatial bounding boxes on a visual interface.
- [Visual Grounding](https://awesome-repositories.com/f/artificial-intelligence-ml/visual-grounding.md) — Generates precise bounding box coordinates to map text descriptions to specific spatial regions within an image. ([source](https://github.com/zai-org/cogvlm#readme))
- [GPU Memory Optimizers](https://awesome-repositories.com/f/artificial-intelligence-ml/gpu-memory-optimizers.md) — Optimizes VRAM usage for the large model through quantization to support consumer graphics cards. ([source](https://github.com/zai-org/cogvlm#readme))
- [Low-Rank Adaptation](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-training-and-tuning/fine-tuning-and-customization/model-fine-tuning/low-rank-adaptation.md) — Uses low-rank adaptation (LoRA) to efficiently fine-tune the model for specific domains.
- [Model Fine-Tuning and Adaptation](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/model-fine-tuning-adaptation.md) — Refines the vision-language model to specific domains or output styles using adaptation techniques.
- [Weight Quantization](https://awesome-repositories.com/f/artificial-intelligence-ml/quantized-inference-runtimes/weight-quantization.md) — Implements low-precision weight quantization to reduce GPU memory requirements during inference.
- [Quantized Model Implementations](https://awesome-repositories.com/f/artificial-intelligence-ml/quantized-inference-runtimes/weight-quantization/quantized-model-implementations.md) — Provides a model implementation utilizing low-precision weight formats to minimize inference memory.

### Part of an Awesome List

- [GUI Agents](https://awesome-repositories.com/f/awesome-lists/ai/gui-agents.md) — Functions as an agent capable of operating and automating desktop and mobile user interfaces.
- [Object Grounding Models](https://awesome-repositories.com/f/awesome-lists/ai/language-grounding-in-vision/object-grounding-models.md) — Identifies and locates specific objects in images by outputting bounding box coordinates based on text.
- [Model Fine-Tuning](https://awesome-repositories.com/f/awesome-lists/ai/model-training-and-fine-tuning/model-fine-tuning.md) — Supports optimizing the pretrained model on task-specific datasets for specialized recognition. ([source](https://github.com/zai-org/cogvlm#readme))
