Spaces:
Runtime error
Runtime error
reshinthadithyan
commited on
Commit
·
991236b
1
Parent(s):
056a3cf
app.py
CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
3 |
|
4 |
|
5 |
-
MODEL_NAME = "reshinthadith"
|
6 |
def load_model_and_tokenizer(model_name):
|
7 |
"""Adding load_model_and_tokenizer function to keep the model in the memory"""
|
8 |
model = AutoModelForCausalLM.from_pretrained(model_name)
|
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
3 |
|
4 |
|
5 |
+
MODEL_NAME = "reshinthadith/BashGPTNeo"
|
6 |
def load_model_and_tokenizer(model_name):
|
7 |
"""Adding load_model_and_tokenizer function to keep the model in the memory"""
|
8 |
model = AutoModelForCausalLM.from_pretrained(model_name)
|