OGOGOG commited on
Commit
32febfc
·
verified ·
1 Parent(s): d97596f

Create data.py

Browse files
Files changed (1) hide show
  1. data.py +8 -0
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)