Commit
·
298fce5
1
Parent(s):
31c431e
Update app.py
Browse files
app.py
CHANGED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import random
|
2 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
3 |
+
|
4 |
+
tokenizer = AutoTokenizer.from_pretrained("docto/Docto-Bot")
|
5 |
+
model = AutoModelForCausalLM.from_pretrained("docto/Docto-Bot")
|
6 |
+
special_token = '<|endoftext|>'
|