Image Segmentation
Transformers
Safetensors
English
internvl_chat
Visual Grounding
Referring Expression Segmentation
Generalized Referring Expression Segmentation
Referring Expression Comprehension
custom_code
Instructions to use jcwang0602/MLLMSeg_InternVL2_5_8B_RES with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jcwang0602/MLLMSeg_InternVL2_5_8B_RES with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="jcwang0602/MLLMSeg_InternVL2_5_8B_RES", trust_remote_code=True)# Load model directly from transformers import MLLMSeg model = MLLMSeg.from_pretrained("jcwang0602/MLLMSeg_InternVL2_5_8B_RES", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -55,7 +55,7 @@ pip install -r requirements.txt
|
|
| 55 |
pip install flash-attn==2.3.6 --no-build-isolation # Note: need gpu to install
|
| 56 |
```
|
| 57 |
|
| 58 |
-
### Inference Example
|
| 59 |
|
| 60 |
```python
|
| 61 |
import numpy as np
|
|
@@ -171,7 +171,7 @@ print(f'User: {question}
|
|
| 171 |
Assistant: {response}')
|
| 172 |
```
|
| 173 |
|
| 174 |
-
---
|
| 175 |
|
| 176 |
## Performance Metrics
|
| 177 |
|
|
|
|
| 55 |
pip install flash-attn==2.3.6 --no-build-isolation # Note: need gpu to install
|
| 56 |
```
|
| 57 |
|
| 58 |
+
<!-- ### Inference Example
|
| 59 |
|
| 60 |
```python
|
| 61 |
import numpy as np
|
|
|
|
| 171 |
Assistant: {response}')
|
| 172 |
```
|
| 173 |
|
| 174 |
+
--- -->
|
| 175 |
|
| 176 |
## Performance Metrics
|
| 177 |
|