File size: 1,753 Bytes
13edaeb
ecf86af
 
13edaeb
ecf86af
13edaeb
ecf86af
13edaeb
ecf86af
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
title: DeepSeek-VL2-Run-On-Google-Colab
app_file: web_demo.py
sdk: gradio
sdk_version: 3.48.0
---
# Original Repository & Credits

- I want to give full credits to the entire team of DeepSeek!
- Please refer to the original repository: [DeepSeek-VL2](https://github.com/deepseek-ai/DeepSeek-VL2)

# Modified Version

This modified version allows you to run DeepSeek-VL2 on Google Colab for free.

## Getting Started

Follow these steps to get started with the modified version on Google Colab:

1. **Open Google Colab**: Go to [Google Colab](https://colab.research.google.com/).
2. **Clone the Repository**: Use the following command to clone the repository in a Colab notebook:
  ```python
  !git clone https://github.com/shobhitag11/DeepSeek-VL2-Run-On-Google-Colab.git
  ```
3. **Install colab-xterm**: This allows running terminal commands inside Google colab.
```sh
!pip install colab-xterm
```
4. **Create a new cell**: Run the following commands.
```sh
%load_ext colabxterm
```
```sh
%xterm
```
5. **Navigate to the Directory**: Now, inside terminal, move to the working directory to the cloned repository:
  ```python
  %cd DeepSeek-VL2-Run-On-Google-Colab
  ```
6. **Install Dependencies**: Install the required dependencies:
  ```python
  pip install -r requirements.txt
  ```
7. **Run the Application**: Execute the main script to start the application:
  ```python
  python web_demo.py
  ```

## Additional Resources

- **Documentation**: Refer to the [Medium Article](https://iamshobhitagarwal.medium.com/deepseek-vl2-the-tiny-ai-model-thats-changing-visual-understanding-forever-b64966ff68a9) for detailed information.
- **Issues**: Report any issues or bugs [here](https://github.com/deepseek-ai/DeepSeek-VL2/issues).


Happy coding!