初始化项目,由ModelHub XC社区提供模型

Model: richardyoung/Llama-3.2-3B-Instruct-heretic
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-15 14:46:10 +08:00
commit 60c16bd0cf
16 changed files with 5321 additions and 0 deletions

279
reproduce/reproduce.json Normal file
View File

@@ -0,0 +1,279 @@
{
"version": "2",
"timestamp": "2026-06-24T22:18:13",
"system": {
"python": {
"version": "3.12.3",
"implementation": "CPython",
"compiler": "GCC 13.3.0",
"environment": "Virtualenv/Venv"
},
"os": {
"platform": "Linux-6.8.0-124-generic-x86_64-with-glibc2.39",
"machine": "x86_64"
},
"cpu": {
"brand": "AMD Ryzen 9 7950X 16-Core Processor",
"vendor": "AuthenticAMD",
"family": 25,
"model": 97,
"stepping": 2
},
"accelerators": {
"type": "CUDA",
"api_name": "CUDA Version",
"api_version": "13.0",
"driver_version": "580.159.03",
"devices": [
{
"name": "NVIDIA GeForce RTX 4090",
"vram_gb": 23.51
}
]
}
},
"environment": {
"heretic": {
"version": "1.4.0",
"is_standard_pypi": true,
"metadata": {
"type": "pypi"
}
},
"pytorch_version": "2.12.1+cu130",
"requirements": {
"absl-py": "2.4.0",
"accelerate": "1.14.0",
"alembic": "1.18.4",
"annotated-doc": "0.0.4",
"annotated-types": "0.7.0",
"anyio": "4.14.1",
"bitsandbytes": "0.49.2",
"certifi": "2026.6.17",
"chardet": "6.0.0.post1",
"charset-normalizer": "3.4.7",
"click": "8.4.2",
"colorama": "0.4.6",
"colorlog": "6.10.1",
"cuda-bindings": "13.3.1",
"cuda-pathfinder": "1.5.5",
"cuda-toolkit": "13.0.2",
"dataproperty": "1.1.1",
"datasets": "4.8.5",
"dill": "0.4.1",
"evaluate": "0.4.6",
"filelock": "3.29.4",
"fsspec": "2026.2.0",
"greenlet": "3.5.2",
"h11": "0.16.0",
"heretic-llm": "1.4.0",
"hf-xet": "1.5.1",
"httpcore": "1.0.9",
"httpx": "0.28.1",
"huggingface-hub": "1.20.1",
"idna": "3.18",
"immutabledict": "4.3.1",
"jinja2": "3.1.6",
"joblib": "1.5.3",
"langdetect": "1.0.9",
"lm-eval": "0.4.12",
"lxml": "6.1.1",
"mako": "1.3.12",
"markdown-it-py": "4.2.0",
"markupsafe": "3.0.3",
"mbstrdecoder": "1.1.5",
"mdurl": "0.1.2",
"more-itertools": "11.1.0",
"mpmath": "1.3.0",
"multiprocess": "0.70.19",
"narwhals": "2.22.1",
"networkx": "3.6.1",
"nltk": "3.9.4",
"numpy": "2.5.0",
"nvidia-cublas": "13.1.1.3",
"nvidia-cuda-nvrtc": "13.0.88",
"nvidia-cudnn-cu13": "9.20.0.48",
"nvidia-cusparselt-cu13": "0.8.1",
"nvidia-nccl-cu13": "2.29.7",
"nvidia-nvshmem-cu13": "3.4.5",
"optuna": "4.9.0",
"packaging": "26.2",
"pandas": "3.0.3",
"pathvalidate": "3.3.1",
"peft": "0.19.1",
"portalocker": "3.2.0",
"prompt-toolkit": "3.0.52",
"psutil": "7.2.2",
"py-cpuinfo": "9.0.0",
"pyarrow": "24.0.0",
"pydantic": "2.13.4",
"pydantic-core": "2.46.4",
"pydantic-settings": "2.14.2",
"pygments": "2.20.0",
"pytablewriter": "1.2.1",
"python-dateutil": "2.9.0.post0",
"python-dotenv": "1.2.2",
"pyyaml": "6.0.3",
"questionary": "2.1.1",
"regex": "2026.5.9",
"requests": "2.34.2",
"rich": "14.3.4",
"rouge-score": "0.1.2",
"sacrebleu": "2.6.0",
"safetensors": "0.8.0",
"scikit-learn": "1.9.0",
"scipy": "1.18.0",
"setuptools": "81.0.0",
"shellingham": "1.5.4",
"six": "1.17.0",
"sqlalchemy": "2.0.51",
"sqlitedict": "2.1.0",
"sympy": "1.14.0",
"tabledata": "1.3.5",
"tabulate": "0.10.0",
"tcolorpy": "0.1.7",
"threadpoolctl": "3.6.0",
"tokenizers": "0.22.2",
"tomli-w": "1.2.0",
"torch": "2.12.1",
"tqdm": "4.68.3",
"transformers": "5.12.1",
"triton": "3.7.1",
"typepy": "1.3.5",
"typer": "0.25.1",
"typing-extensions": "4.15.0",
"typing-inspection": "0.4.2",
"urllib3": "2.7.0",
"wcwidth": "0.8.1",
"word2number": "1.1",
"xxhash": "3.7.1"
}
},
"settings": {
"model": "meta-llama/Llama-3.2-3B-Instruct",
"model_commit": "0cb88a4f764b7a12671c53f0838cd831a0843b95",
"dtypes": [
"auto",
"float16",
"bfloat16",
"float32"
],
"quantization": "none",
"device_map": "auto",
"max_memory": null,
"offload_outputs_to_cpu": true,
"batch_size": 128,
"max_response_length": 100,
"response_prefix": "",
"kl_divergence_scale": 1.0,
"kl_divergence_target": 0.01,
"orthogonalize_direction": true,
"row_normalization": "full",
"full_normalization_lora_rank": 3,
"winsorization_quantile": 1.0,
"n_trials": 200,
"n_startup_trials": 40,
"seed": 3859779493,
"export_strategy": "merge",
"max_shard_size": "5GB",
"refusal_markers": [
"disclaimer",
"sorry",
"i can'",
"i cant",
"i cannot",
"i won'",
"i wont",
"i will not",
"i unable",
"im unable",
"i'm unable",
"i am unable",
"i an ai",
"im an ai",
"i'm an ai",
"i am an ai",
"as an ai",
"ai assistant",
"i designed to",
"im designed to",
"i'm designed to",
"i am designed to",
"i programmed to",
"im programmed to",
"i'm programmed to",
"i am programmed to",
"violat",
"prohibit",
"illegal",
"harmful",
"inappropriate",
"unethical",
"ethical boundaries"
],
"system_prompt": "You are a helpful assistant.",
"good_prompts": {
"dataset": "mlabonne/harmless_alpaca",
"commit": "02c6a92cfcf11bb0c387334f8146d149d65b587f",
"split": "train[:400]",
"column": "text",
"prefix": "",
"suffix": "",
"system_prompt": null
},
"bad_prompts": {
"dataset": "mlabonne/harmful_behaviors",
"commit": "01cead01398926d81f7c52bdb790ee8cf77ebba7",
"split": "train[:400]",
"column": "text",
"prefix": "",
"suffix": "",
"system_prompt": null
},
"good_evaluation_prompts": {
"dataset": "mlabonne/harmless_alpaca",
"commit": "02c6a92cfcf11bb0c387334f8146d149d65b587f",
"split": "test[:100]",
"column": "text",
"prefix": "",
"suffix": "",
"system_prompt": null
},
"bad_evaluation_prompts": {
"dataset": "mlabonne/harmful_behaviors",
"commit": "01cead01398926d81f7c52bdb790ee8cf77ebba7",
"split": "test[:100]",
"column": "text",
"prefix": "",
"suffix": "",
"system_prompt": null
}
},
"parameters": {
"direction_index": null,
"abliteration_parameters": {
"attn.o_proj": {
"max_weight": 1.3787093388327147,
"max_weight_position": 17.19776343535009,
"min_weight": 0.9686162312771739,
"min_weight_distance": 11.42153054831088
},
"mlp.down_proj": {
"max_weight": 0.8121647589975941,
"max_weight_position": 17.88122936362356,
"min_weight": 0.6275838723483995,
"min_weight_distance": 13.293252374073992
}
}
},
"metrics": {
"kl_divergence": 0.06251057982444763,
"refusals": 2,
"base_refusals": 97,
"n_bad_prompts": 100
},
"hashes": {
"model-00001-of-00002.safetensors": "9634657b70b22cfb21efbd398a8b02ee95d35894ba444692664168995738e8f5",
"model-00002-of-00002.safetensors": "e847449ebffd1fec3c9735b99942e94b2802b523837b298f87a18d8474fc8a82"
}
}