-
您好,我之前写了一段代码,在一份多模态二分类数据集上训练clip去进行预测,我用这句代码区加载模型:
clip_model = CLIPModel.from_pretrained("/hy-tmp/clip-vit-base-patch32/")
processor = CLIPProcessor.from_pretrained("/hy-tmp/clip-vit-base-patch32…
-
### Question
I used `transformers=4.44.2` , and load the model `llava-hf/llama3-llava-next-8b-hf` with the following code:
```
from transformers import LlavaNextProcessor, LlavaNextForConditionalGe…
-
### Component(s)
receiver/filelog
### What happened?
## Description
I am trying to read logs from a log file.
A bit about the log files
- almost 250,000 lines are written per minute.
- …
-
### This issue is for a: (mark with an `x`)
```
- [ ] bug report -> please search issues before submitting
- [x] feature request
- [x] documentation issue or request
- [ ] regression (a behavior …
-
### Feature request
I has download the mask2former swin-l model from huggingface website,
and use example code get segmentation map of image,
the example code is:
```python
import requests
imp…
-
It might be worth pointing out that you can use this free addon for gimp (also free) for batch conversion and modification of the images in the api: https://alessandrofrancesconi.it/projects/bimp/
-
I have some questions about the `LLavaDataCollator` in the vsft_llava.py:
https://github.com/huggingface/trl/blob/main/examples/scripts/vsft_llava.py
```
class LLavaDataCollator:
d…
-
Reproduction:
```
lm_eval --model hf-multimodal \
--model_args pretrained=llava-hf/llava-1.5-7b-hf,max_images=1 \
--tasks mmmu_val \
--device cuda:0 \
--batch_size 8
```
Erro…
-
I got two questions as following when I ran the demo "grounded_sam2_florence2_image_demo.py":
1.
Traceback (most recent call last):
File "/opt/conda/envs/compression/lib/python3.10/site-packages…
-
```
lm-format-enforcer==0.10.7
torch==2.4.1+cu121
transformers==4.45.0
```
When using the library together with the newly released Llama3.2-11B-Instruct we get a CUDA error.
```model_id = …