forked from O-L1RU1/LLM-REVal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpaper_generation.sh
More file actions
54 lines (36 loc) · 2.28 KB
/
paper_generation.sh
File metadata and controls
54 lines (36 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
cd research_agent
# Global Parameters
# Define the primary research topic (used for data gathering and generation)
export OPENAI_API_KEY="Bearer ak-90mn12op34qr56st78uv90wx12yz34ab"
export OPENAI_API_BASE="https://models-proxy.stepfun-inc.com/v1/chat/completions"
topic="llm_in_context_learning"
# Define a description of the topic for the LLM to focus on (keep same with idea generation phase)
topic_description="llm_in_context_learning_interpretability_cognitive_science"
# Define the Large Language Model to be used for content generation
model_name="deepseek-v3"
# Data and Template Generation
# 1. Fetch metadata (abstracts, titles, etc.) from arXiv based on the topic
python3 0_get_meta_data_from_arxiv.py --topic $topic
# 2. Select and analyze exemplary papers
python3 1_paper_demo_analysis.py --topic $topic --topic_description $topic_description --model_name $model_name
# 3. Generate the LaTeX template for the new paper
python3 2_new_temp.py --topic $topic --topic_description $topic_description --model_name $model_name
# Paper Section Generation (using the established template)
# Generate Abstract
python3 3_abstract.py --topic $topic --topic_description $topic_description --model_name $model_name
# Generate Introduction
python3 4_introduction.py --topic $topic --topic_description $topic_description --model_name $model_name
# Generate Related Work section
python3 5_related_work.py --topic $topic --topic_description $topic_description --model_name $model_name
# Generate Background section
python3 6_background.py --topic $topic --topic_description $topic_description --model_name $model_name
# Generate Method section
python3 7_method.py --topic $topic --topic_description $topic_description --model_name $model_name
# Generate placeholder Table Data (simulated results)
python3 8_table.py --topic $topic --topic_description $topic_description --model_name $model_name
# Generate Experimental Settings section
python3 9_exp_setting_writing.py --topic $topic --topic_description $topic_description --model_name $model_name
# Generate Results section
python3 10_result_writing.py --topic $topic --topic_description $topic_description --model_name $model_name
# Generate Conclusion section
python3 11_conclusion.py --topic $topic --topic_description $topic_description --model_name $model_name