permission + remove copilot intx + remove monkey patch

This commit is contained in:
51616 2025-09-30 15:18:09 +00:00
parent b6679ba755
commit 530fcd46cc
14 changed files with 21 additions and 20 deletions

View file

@ -1,18 +0,0 @@
---
applyTo: '**'
---
# Implementation
- When asked for a change or implementation, only work on the specific task I have given you with the most concise and elegant solution that changes as little code as possible.
- If the requested feature has unintended side effect, let the user know before implementing.
# Review
- When reviewing, first check the code diff for potential bugs and inconsistencies. After that, check if the change would cause any bugs somewhere else in the codebase.
# Code Style
- Follow best practices to keep code clean and succinct.
# General
- You should give detailed, professional, and nicely formatted explanation.
- Always think slowly and carefully before doing anything. Be objective.
- If instruction is unclear or ambiguous, ask the user for clarification.

0
scripts/main_exp/eval/base_model.sh Normal file → Executable file
View file

0
scripts/main_exp/eval/cd.sh Normal file → Executable file
View file

0
scripts/main_exp/eval/cd_oracle.sh Normal file → Executable file
View file

0
scripts/main_exp/eval/d2l.sh Normal file → Executable file
View file

0
scripts/main_exp/eval/llmlingua.sh Normal file → Executable file
View file

0
scripts/main_exp/eval/t2l.sh Normal file → Executable file
View file

2
scripts/main_exp/gen_data.sh Normal file → Executable file
View file

@ -3,7 +3,7 @@ uv run data/download_fineweb_edu.py
# generate qa data
# run from 000 to 013
for shard_id in $(seq -f "%03g" 0 1); do
for shard_id in $(seq -f "%03g" 0 13); do
uv run data/generate_fw_edu_qa_v2.py --shard_pattern "${shard_id}_00000" --n_qa_pairs=5 --vllm_model=google/gemma-3-12b-it --max_length=2000 --max_model_length=2048;
uv run data/generate_fw_edu_qa_v2_repeat.py --shard_pattern "min_0_to_2000/${shard_id}*level_0*" --n_qa_pairs=5 --vllm_model=google/gemma-3-12b-it;

View file

@ -0,0 +1,20 @@
# download fineweb_edu to `data/raw_datasets/fineweb_edu
uv run data/download_fineweb_edu.py
# generate qa data
# run from 000 to 013
for shard_id in $(seq -f "%03g" 0 1); do
uv run data/generate_fw_edu_qa_v2.py --shard_pattern "${shard_id}_00000" --n_qa_pairs=5 --vllm_model=google/gemma-3-12b-it --max_length=2000 --max_model_length=2048;
uv run data/generate_fw_edu_qa_v2_repeat.py --shard_pattern "min_0_to_2000/${shard_id}*level_0*" --n_qa_pairs=5 --vllm_model=google/gemma-3-12b-it;
# self-generated response QA data
uv run data/self_generate_qa.py --vllm_model google/gemma-2-2b-it --glob_pattern "data/raw_datasets/fw_qa_v2/min_0_to_2000/${shard_id}*_level_1*" --closed_qa_prob 1.0
done
# val split
uv run data/self_generate_qa.py --vllm_model google/gemma-2-2b-it --glob_pattern 'data/raw_datasets/fw_qa_v2/min_0_to_2000/*_level_0_val.parquet'
# self-gen data for other ds
uv run data/self_generate_qa.py --vllm_model google/gemma-2-2b-it --ds_names squad_compact ropes_compact drop_compact --closed_qa_prob 1.0
uv run data/self_generate_qa.py --vllm_model google/gemma-2-2b-it --ds_names pwc_compact --closed_qa_prob 0.0

0
scripts/main_exp/train.sh Normal file → Executable file
View file

0
scripts/niah/0-gen_data.sh Normal file → Executable file
View file

0
scripts/niah/1-train.sh Normal file → Executable file
View file

0
scripts/niah/2-eval.sh Normal file → Executable file
View file

View file

@ -1 +0,0 @@
from . import monkey_patch as monkey_patch