t push
This commit is contained in:
yiranyyu
2024-05-23 19:08:03 +08:00
3 changed files with 9 additions and 0 deletions

View File

@@ -500,6 +500,9 @@ Please refer to the following codes to run `MiniCPM-V` and `OmniLMM`.
```python
from chat import OmniLMMChat, img2base64
import torch
import json
torch.manual_seed(0)
chat_model = OmniLMMChat('openbmb/MiniCPM-Llama3-V-2_5')

View File

@@ -471,6 +471,9 @@ Please refer to the following codes to run `MiniCPM-V` and `OmniLMM`.
```python
from chat import OmniLMMChat, img2base64
import torch
import json
torch.manual_seed(0)
chat_model = OmniLMMChat('openbmb/MiniCPM-Llama3-V-2_5')

View File

@@ -507,6 +507,9 @@ pip install -r requirements.txt
```python
from chat import OmniLMMChat, img2base64
import torch
import json
torch.manual_seed(0)
chat_model = OmniLMMChat('openbmb/MiniCPM-Llama3-V-2_5')