Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
{
|