mirror of
https://github.com/showlab/Code2Video.git
synced 2026-08-28 06:54:58 +00:00
Update README.md
This commit is contained in:
parent
dc84962862
commit
cb0c928fa9
1 changed files with 18 additions and 20 deletions
38
README.md
38
README.md
|
|
@ -90,26 +90,7 @@ Fill in your **API credentials** in `gpt_config.json`.
|
|||
|
||||
We provide two shell scripts for different generation modes:
|
||||
|
||||
#### (a) Full Benchmark Mode
|
||||
|
||||
Script: `run_agent.sh`
|
||||
|
||||
Runs all (or a subset of) learning topics defined in `long_video_topics_list.json`.
|
||||
|
||||
```bash
|
||||
sh run_agent.sh
|
||||
```
|
||||
|
||||
**Important parameters inside `run_agent.sh`:**
|
||||
|
||||
* `API`: specify which LLM to use.
|
||||
* `FOLDER_PREFIX`: name prefix for saving output folders (e.g., `TEST-LIST`).
|
||||
* `MAX_CONCEPTS`: number of concepts to include (`-1` means all).
|
||||
* `PARALLEL_GROUP_NUM`: number of groups to run in parallel.
|
||||
|
||||
---
|
||||
|
||||
#### (b) Single Knowledge Point Mode
|
||||
#### (a) Any Query
|
||||
|
||||
Script: `run_agent_single.sh`
|
||||
|
||||
|
|
@ -127,6 +108,23 @@ sh run_agent_single.sh --knowledge_point "Linear transformations and matrices"
|
|||
|
||||
---
|
||||
|
||||
#### (b) Full Benchmark Mode
|
||||
|
||||
Script: `run_agent.sh`
|
||||
|
||||
Runs all (or a subset of) learning topics defined in `long_video_topics_list.json`.
|
||||
|
||||
```bash
|
||||
sh run_agent.sh
|
||||
```
|
||||
|
||||
**Important parameters inside `run_agent.sh`:**
|
||||
|
||||
* `API`: specify which LLM to use.
|
||||
* `FOLDER_PREFIX`: name prefix for saving output folders (e.g., `TEST-LIST`).
|
||||
* `MAX_CONCEPTS`: number of concepts to include (`-1` means all).
|
||||
* `PARALLEL_GROUP_NUM`: number of groups to run in parallel.
|
||||
|
||||
### 4. Project Organization
|
||||
|
||||
A suggested directory structure:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue