Inan Ince
commited on
Commit
•
35f2b2d
1
Parent(s):
eb58738
Add application file18
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
|
2 |
import gradio as gr
|
3 |
|
4 |
# CodeT5 modelini yükle
|
5 |
-
model_name = "Salesforce/codet5-
|
6 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
7 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
8 |
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
# CodeT5 modelini yükle
|
5 |
+
model_name = "Salesforce/codet5-large"
|
6 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
7 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
|
8 |
|