BigSalmon commited on
Commit
e10fa80
1 Parent(s): d10165f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -15,8 +15,13 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
15
  @st.cache(allow_output_mutation=True)
16
  def get_model():
17
 
18
- tokenizer = AutoTokenizer.from_pretrained("BigSalmon/TruncatedLLamaGPT2Large")
19
- model = AutoModelForCausalLM.from_pretrained("BigSalmon/TruncatedLLamaGPT2Large")
 
 
 
 
 
20
 
21
  #tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln95Paraphrase")
22
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln95Paraphrase")
 
15
  @st.cache(allow_output_mutation=True)
16
  def get_model():
17
 
18
+ #BigSalmon/InstructGPT2Large
19
+
20
+ tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InstructGPT2Large")
21
+ model = AutoModelForCausalLM.from_pretrained("BigSalmon/InstructGPT2Large")
22
+
23
+ #tokenizer = AutoTokenizer.from_pretrained("BigSalmon/TruncatedLLamaGPT2Large")
24
+ #model = AutoModelForCausalLM.from_pretrained("BigSalmon/TruncatedLLamaGPT2Large")
25
 
26
  #tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln95Paraphrase")
27
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln95Paraphrase")