Spaces:
Runtime error
Runtime error
Adding 2.7 Billion parameter model
Browse files30 unmodified lines313233343536371 unmodified line39404142434430 unmodified lineswith col2:select_model = st.radio("Select the model to use:",('OPT-125m', 'OPT-350m', 'OPT-1.3b'), index = 1)if select_model == 'OPT-1.3b':model = 'facebook/opt-1.3b'1 unmodified linemodel = 'facebook/opt-350m'elif select_model == 'OPT-125m':model = 'facebook/opt-125m'with st.spinner('Loading Model... (This may take a while)'):generator = get_model()30 unmodified lines313233343536371 unmodified line39404142434445464730 unmodified lineswith col2:select_model = st.radio("Select the model to use:",('OPT-125m', 'OPT-350m', 'OPT-1.3b', 'OPT-2.7b'), index = 1)if select_model == 'OPT-1.3b':model = 'facebook/opt-1.3b'1 unmodified linemodel = 'facebook/opt-350m'elif select_model == 'OPT-125m':model = 'facebook/opt-125m'elif select_model == 'OPT-2.7b':model = 'facebook/opt-2.7b'with st.spinner('Loading Model... (This may take a while)'):generator = get_model()
app.py+4-1