ejschwartz commited on
Commit
11a7529
·
verified ·
1 Parent(s): b9a5fb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -6,6 +6,8 @@ model_name = "ejschwartz/hext5" # Replace with your desired model
6
  model = T5ForConditionalGeneration.from_pretrained(model_name)
7
  tokenizer = AutoTokenizer.from_pretrained(model_name)
8
 
 
 
9
  examples = [
10
  """void __fastcall __noreturn <func>(int a1, int a2, char a3, __int64 a4, __int64 a5)
11
  {
 
6
  model = T5ForConditionalGeneration.from_pretrained(model_name)
7
  tokenizer = AutoTokenizer.from_pretrained(model_name)
8
 
9
+ max_input_length = 4096
10
+
11
  examples = [
12
  """void __fastcall __noreturn <func>(int a1, int a2, char a3, __int64 a4, __int64 a5)
13
  {