kazimsayed commited on
Commit
298fce5
·
1 Parent(s): 31c431e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
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|>'