Hackerssms commited on
Commit
e94d8f8
·
verified ·
1 Parent(s): aae999b

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ # Use a pipeline as a high-level helper
2
+ from transformers import pipeline
3
+
4
+ pipe = pipeline("text-generation", model="dphn/Dolphin3.0-Mistral-24B")
5
+ messages = [
6
+ {"role": "user", "content": "Who are you?"},
7
+ ]
8
+ pipe(messages)