binqiangliu
commited on
Commit
·
d861a5c
1
Parent(s):
deea6e3
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,11 @@ chatbot = pipeline(model="facebook/blenderbot-400M-distill") #Working!
|
|
5 |
#https://huggingface.co/facebook/blenderbot-400M-distill/tree/main
|
6 |
#这个模型文件大小:730MB或1.46GB
|
7 |
|
|
|
|
|
|
|
|
|
|
|
8 |
#chatbot = pipeline(model="HuggingFaceH4/starchat-beta")
|
9 |
#https://huggingface.co/HuggingFaceH4/starchat-beta/tree/main
|
10 |
#由于这个模型太大了(9.96+9.86+9.86+1.36GB),会导致如下错误:
|
|
|
5 |
#https://huggingface.co/facebook/blenderbot-400M-distill/tree/main
|
6 |
#这个模型文件大小:730MB或1.46GB
|
7 |
|
8 |
+
#https://huggingface.co/facebook/blenderbot-400M-distill/tree/main?library=true
|
9 |
+
# Use a pipeline as a high-level helper
|
10 |
+
#from transformers import pipeline
|
11 |
+
#pipe = pipeline("conversational", model="facebook/blenderbot-400M-distill")
|
12 |
+
|
13 |
#chatbot = pipeline(model="HuggingFaceH4/starchat-beta")
|
14 |
#https://huggingface.co/HuggingFaceH4/starchat-beta/tree/main
|
15 |
#由于这个模型太大了(9.96+9.86+9.86+1.36GB),会导致如下错误:
|