Spaces:
Running
Running
Create data.py
Browse files
data.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Use a pipeline as a high-level helper
|
| 2 |
+
from transformers import pipeline
|
| 3 |
+
|
| 4 |
+
pipe = pipeline("image-to-text", model="mradermacher/Qwen2.5-VL-7B-Abliterated-Caption-it-GGUF")
|
| 5 |
+
messages = [
|
| 6 |
+
{"role": "user", "content": "1000 rows of watches and their specs"},
|
| 7 |
+
]
|
| 8 |
+
pipe(messages)
|