Skip to content

Commit

Permalink
chore: Update Gemini models in STORM Wiki pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
amrpyt committed Aug 4, 2024
1 parent 34d38de commit 255b608
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/run_storm_wiki_gemini.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ def main(args):
# https://ai.google.dev/gemini-api/docs/get-started/tutorial?lang=python#list_models
conv_simulator_lm = GoogleModel(model='models/gemini-1.5-flash', max_tokens=500, **gemini_kwargs)
question_asker_lm = GoogleModel(model='models/gemini-1.5-flash', max_tokens=500, **gemini_kwargs)
outline_gen_lm = GoogleModel(model='models/gemini-1.5-pro', max_tokens=400, **gemini_kwargs)
article_gen_lm = GoogleModel(model='models/gemini-1.5-pro', max_tokens=700, **gemini_kwargs)
article_polish_lm = GoogleModel(model='models/gemini-1.5-pro', max_tokens=4000, **gemini_kwargs)
outline_gen_lm = GoogleModel(model='models/gemini-1.5-pro-exp-0801', max_tokens=400, **gemini_kwargs)
article_gen_lm = GoogleModel(model='models/gemini-1.5-pro-exp-0801', max_tokens=700, **gemini_kwargs)
article_polish_lm = GoogleModel(model='models/gemini-1.5-pro-exp-0801', max_tokens=4000, **gemini_kwargs)

lm_configs.set_conv_simulator_lm(conv_simulator_lm)
lm_configs.set_question_asker_lm(question_asker_lm)
Expand Down

0 comments on commit 255b608

Please sign in to comment.