loubnabnl HF staff commited on
Commit
fbb0426
1 Parent(s): a4a50f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,8 +10,8 @@ example = [
10
  ["def get_file_size(filepath):", 24, 0.6, 42],
11
  ["def count_lines(filename):", 40, 0.6, 42],
12
  ["def count_words(filename):", 40, 0.6, 42]]
13
- tokenizer = AutoTokenizer.from_pretrained("Salesforce/codegen-2B-mono")
14
- model = AutoModelForCausalLM.from_pretrained("Salesforce/codegen-2B-mono")
15
 
16
 
17
  def code_generation(gen_prompt, max_tokens, temperature=0.6, seed=42):
 
10
  ["def get_file_size(filepath):", 24, 0.6, 42],
11
  ["def count_lines(filename):", 40, 0.6, 42],
12
  ["def count_words(filename):", 40, 0.6, 42]]
13
+ tokenizer = AutoTokenizer.from_pretrained("Salesforce/codegen-6B-mono")
14
+ model = AutoModelForCausalLM.from_pretrained("Salesforce/codegen-6B-mono")
15
 
16
 
17
  def code_generation(gen_prompt, max_tokens, temperature=0.6, seed=42):