AI-Scientist icon indicating copy to clipboard operation
AI-Scientist copied to clipboard

Have anyone tried to replace the chatgpt model with DEEPSEEK? Do you know how to change this?

Open gao106 opened this issue 1 year ago • 2 comments

import openai from ai_scientist.perform_review import load_paper, perform_review

client = openai.OpenAI() model = "gpt-4o-2024-05-13"

Load paper from pdf file (raw text)

paper_txt = load_paper("report.pdf")

Get the review dict of the review

review = perform_review( paper_txt, model, client, num_reflections=5, num_fs_examples=1, num_reviews_ensemble=5, temperature=0.1, )

Inspect review results

review["Overall"] # overall score 1-10 review["Decision"] # ['Accept', 'Reject'] review["Weaknesses"] # List of weaknesses (str) How to repalce this code?

gao106 avatar Sep 12 '24 09:09 gao106

i cant find the report.pdf, does it gets generated by the MODEL?

xprabhudayal avatar Sep 12 '24 15:09 xprabhudayal

@xprabhudayal same issue

gao106 avatar Sep 13 '24 09:09 gao106