Lodzins94 commited on
Commit
d0a5868
1 Parent(s): 751660e
Files changed (1) hide show
  1. Qwen1 +8 -0
Qwen1 ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ # Use a pipeline as a high-level helper
2
+ from transformers import pipeline
3
+
4
+ messages = [
5
+ {"role": "user", "content": "Who are you?"},
6
+ ]
7
+ pipe = pipeline("text-generation", model="abacusai/Liberated-Qwen1.5-72B")
8
+ pipe(messages)