AI-Scientist
AI-Scientist copied to clipboard
Have anyone tried to replace the chatgpt model with DEEPSEEK? Do you know how to change this?
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?
i cant find the report.pdf, does it gets generated by the MODEL?
@xprabhudayal same issue