mirror of
https://github.com/elder-plinius/OBLITERATUS.git
synced 2026-08-17 16:37:30 +02:00
ci: enforce Ruff across all scripts
This commit is contained in:
@@ -9,7 +9,6 @@ This should let us recover MORE MMLU than uniform blending while
|
||||
keeping refusals at absolute zero.
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import gc
|
||||
import json
|
||||
import time
|
||||
@@ -197,7 +196,7 @@ def main():
|
||||
out_dir = Path("runs/gemma4-12b-surgery/gradient_aspa")
|
||||
out_dir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
print(f"Loading tokenizer and v1 model...", flush=True)
|
||||
print("Loading tokenizer and v1 model...", flush=True)
|
||||
tok = AutoTokenizer.from_pretrained(v1_model_path, trust_remote_code=True)
|
||||
model = AutoModelForCausalLM.from_pretrained(
|
||||
v1_model_path, torch_dtype=torch.bfloat16, trust_remote_code=True
|
||||
|
||||
Reference in New Issue
Block a user