BigSalmon commited on
Commit
600eba4
1 Parent(s): 302fd5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import streamlit as st
2
  import numpy as np
3
  import pandas as pd
@@ -15,11 +16,11 @@ def get_model():
15
  #tokenizer = AutoTokenizer.from_pretrained("M4-ai/tau-1.8B")
16
  #model = AutoModelForCausalLM.from_pretrained("M4-ai/tau-1.8B")
17
 
18
- tokenizer = AutoTokenizer.from_pretrained("HuggingFaceTB/SmolLM-360M")
19
- model = AutoModelForCausalLM.from_pretrained("HuggingFaceTB/SmolLM-360M")
20
 
21
- #tokenizer = AutoTokenizer.from_pretrained("facebook/opt-1.3b")
22
- #model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln121Paraphrase")
23
 
24
  #tokenizer = AutoTokenizer.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0")
25
  #model = AutoModelForCausalLM.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0")
 
1
+ import
2
  import streamlit as st
3
  import numpy as np
4
  import pandas as pd
 
16
  #tokenizer = AutoTokenizer.from_pretrained("M4-ai/tau-1.8B")
17
  #model = AutoModelForCausalLM.from_pretrained("M4-ai/tau-1.8B")
18
 
19
+ #tokenizer = AutoTokenizer.from_pretrained("HuggingFaceTB/SmolLM-360M")
20
+ #model = AutoModelForCausalLM.from_pretrained("HuggingFaceTB/SmolLM-360M")
21
 
22
+ tokenizer = AutoTokenizer.from_pretrained("facebook/opt-1.3b")
23
+ model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln121Paraphrase")
24
 
25
  #tokenizer = AutoTokenizer.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0")
26
  #model = AutoModelForCausalLM.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0")