ariG23498 HF Staff commited on
Commit
bedd1a6
·
verified ·
1 Parent(s): c71694a

Upload Qwen_Qwen3-VL-Embedding-8B_0.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. Qwen_Qwen3-VL-Embedding-8B_0.py +2 -2
Qwen_Qwen3-VL-Embedding-8B_0.py CHANGED
@@ -23,7 +23,7 @@ try:
23
  # Use a pipeline as a high-level helper
24
  from transformers import pipeline
25
 
26
- pipe = pipeline("image-to-text", model="Qwen/Qwen3-VL-Embedding-8B")
27
  with open('Qwen_Qwen3-VL-Embedding-8B_0.txt', 'w', encoding='utf-8') as f:
28
  f.write('Everything was good in Qwen_Qwen3-VL-Embedding-8B_0.txt')
29
  except Exception as e:
@@ -41,7 +41,7 @@ except Exception as e:
41
  # Use a pipeline as a high-level helper
42
  from transformers import pipeline
43
 
44
- pipe = pipeline("image-to-text", model="Qwen/Qwen3-VL-Embedding-8B")
45
  ```
46
 
47
  ERROR:
 
23
  # Use a pipeline as a high-level helper
24
  from transformers import pipeline
25
 
26
+ pipe = pipeline("feature-extraction", model="Qwen/Qwen3-VL-Embedding-8B")
27
  with open('Qwen_Qwen3-VL-Embedding-8B_0.txt', 'w', encoding='utf-8') as f:
28
  f.write('Everything was good in Qwen_Qwen3-VL-Embedding-8B_0.txt')
29
  except Exception as e:
 
41
  # Use a pipeline as a high-level helper
42
  from transformers import pipeline
43
 
44
+ pipe = pipeline("feature-extraction", model="Qwen/Qwen3-VL-Embedding-8B")
45
  ```
46
 
47
  ERROR: