Files
NexQuant/rdagent/app/model_implementation/README.md
T

45 lines
1008 B
Markdown
Raw Normal View History

# Preparation
## Install Pytorch
CPU CUDA will be enough for verify the implementation
Please install pytorch based on your system.
Here is an example on my system
```bash
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip3 install torch_geometric
```
# Tasks
## Task Extraction
From paper to task.
```bash
2024-06-30 23:31:00 +08:00
# python rdagent/app/model_implementation/task_extraction.py
# It may based on rdagent/document_reader/document_reader.py
2024-06-30 23:31:00 +08:00
python rdagent/components/task_implementation/model_implementation/task_extraction.py ./PaperImpBench/raw_paper/
```
## Complete workflow
From paper to implementation
``` bash
# Similar to
# rdagent/app/factor_extraction_and_implementation/factor_extract_and_implement.py
```
## Paper benchmark
```bash
2024-06-30 23:31:00 +08:00
# TODO: it does not work well now.
python rdagent/app/model_implementation/eval.py
2024-06-30 23:31:00 +08:00
```
TODO:
2024-06-30 23:31:00 +08:00
- Create reasonable benchmark
- with uniform input
- manually create task
- Create reasonable evaluation metrics
## Evolving