Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions example/test_helm_d.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
lm-eval \
--model helm_d_115M \
--model_args ckpt_dir=... \
--tasks commonsense_qa,openbookqa,hellaswag \
--num_fewshot 0

lm-eval \
--model helm_d_115M \
--model_args ckpt_dir=... \
--tasks mmlu,arc_challenge \
--num_fewshot 5
2 changes: 2 additions & 0 deletions example/test_mice_120M.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
lm-eval \
--model helm_mice_120M \
--model_args ckpt_dir=... \
--tasks commonsense_qa,openbookqa,hellaswag \
--num_fewshot 0

lm-eval \
--model helm_mice_120M \
--model_args ckpt_dir=... \
--tasks mmlu,arc_challenge \
--num_fewshot 5
2 changes: 2 additions & 0 deletions example/test_mice_1B.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
lm-eval \
--model helm_mice_1b \
--model_args ckpt_dir=... \
--tasks commonsense_qa,openbookqa,hellaswag \
--num_fewshot 0

lm-eval \
--model helm_mice_1b \
--model_args ckpt_dir=... \
--tasks mmlu,arc_challenge \
--num_fewshot 5
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import torch
from torch import Tensor

from torch_geometric.nn.nlp.llm import BOS, LLM, MAX_NEW_TOKENS
from torch_geometric.llm.models.llm import BOS, LLM, MAX_NEW_TOKENS
from torch_geometric.utils import scatter
from ..nn.peft import *

Expand Down
5 changes: 4 additions & 1 deletion setup_training.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ pip install torch_geometric
pip install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.6.0+cu124.html
pip install -r requirements.txt
pip install scipy==1.13.1 numpy==1.26.4
pip install llm-foundry==0.18.0
pip install llm-foundry==0.18.0
cd lm-evaluation-harness
pip install -e .
cd ..