terry-li-hm commited on
Commit
1bf0e7c
·
1 Parent(s): aab5cfa

litellm-opt-125m

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -70,7 +70,13 @@ async def start():
70
  Select(
71
  id="Model",
72
  label="Model",
73
- values=["gpt-3.5-turbo", "gpt-4", "zephyr", "litellm-gpt-3.5-turbo"],
 
 
 
 
 
 
74
  initial_index=1,
75
  ),
76
  Slider(
@@ -134,6 +140,8 @@ async def setup_query_engine(settings):
134
  llm = LiteLLM("gpt-3.5-turbo")
135
  elif settings["Model"] == "litellm-gpt-3.5-turbo":
136
  llm = LiteLLM("gpt-3.5-turbo")
 
 
137
  else:
138
  llm = OpenAI(model=settings["Model"], temperature=settings["Temperature"])
139
 
 
70
  Select(
71
  id="Model",
72
  label="Model",
73
+ values=[
74
+ "gpt-3.5-turbo",
75
+ "gpt-4",
76
+ "zephyr",
77
+ "litellm-gpt-3.5-turbo",
78
+ "litellm-opt-125m",
79
+ ],
80
  initial_index=1,
81
  ),
82
  Slider(
 
140
  llm = LiteLLM("gpt-3.5-turbo")
141
  elif settings["Model"] == "litellm-gpt-3.5-turbo":
142
  llm = LiteLLM("gpt-3.5-turbo")
143
+ elif settings["Model"] == "litellm-opt-125m":
144
+ llm = LiteLLM("vllm/facebook/opt-125m")
145
  else:
146
  llm = OpenAI(model=settings["Model"], temperature=settings["Temperature"])
147