Phaedrus33 commited on
Commit
ff31dff
·
verified ·
1 Parent(s): 4678202

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +14 -1
README.md CHANGED
@@ -16,6 +16,8 @@ submission/ # Pre-generated submission
16
  ```
17
 
18
  **Inference on a new test CSV:**
 
 
19
  ```bash
20
  # Clone the repo (includes model weights + inference scripts)
21
  git lfs install
@@ -31,9 +33,20 @@ python inference_grpo_final.py \
31
  --test-csv /path/to/test.csv \
32
  --output-dir ./outputs
33
  ```
 
 
 
 
 
 
 
 
 
 
 
34
  The test CSV requires two columns: `ID` (unique question identifier) and `question` (full question text including data tables). Output submission is written to `./outputs/submission_plurality.csv`.
35
 
36
- **Requirements:** GPU with 80GB+ VRAM (A100-80GB, H100) or 2x 40GB GPUs with `--num-gpus 2`. Python 3.10+, CUDA 12.x.
37
 
38
  **Options:**
39
  - Reduce compute: `--num-generations 1` for single prediction per ID (no voting)
 
16
  ```
17
 
18
  **Inference on a new test CSV:**
19
+
20
+ *Option 1: Clone from HuggingFace (recommended)*
21
  ```bash
22
  # Clone the repo (includes model weights + inference scripts)
23
  git lfs install
 
33
  --test-csv /path/to/test.csv \
34
  --output-dir ./outputs
35
  ```
36
+
37
+ *Option 2: Use HF hosted model (downloads weights on first run)*
38
+ ```bash
39
+ pip install vllm>=0.13.0,<0.14.0 torch pandas transformers huggingface_hub tqdm
40
+
41
+ python inference_grpo_final.py \
42
+ --model Phaedrus33/GRPO_final_submission \
43
+ --test-csv /path/to/test.csv \
44
+ --output-dir ./outputs
45
+ ```
46
+
47
  The test CSV requires two columns: `ID` (unique question identifier) and `question` (full question text including data tables). Output submission is written to `./outputs/submission_plurality.csv`.
48
 
49
+ **Requirements:** 1x GPU with 80GB+ VRAM (A100-80GB, H100). Python 3.10+, CUDA 12.x.
50
 
51
  **Options:**
52
  - Reduce compute: `--num-generations 1` for single prediction per ID (no voting)