mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-07 02:51:50 +00:00
- Restored 21 skills removed in commits757d012and740dd92: accelerate, audiocraft, code-review, faiss, flash-attention, gguf, grpo-rl-training, guidance, llava, nemo-curator, obliteratus, peft, pytorch-fsdp, pytorch-lightning, simpo, slime, stable-diffusion, tensorrt-llm, torchtitan, trl-fine-tuning, whisper - Rewrote sync_skills() with proper update semantics: * New skills (not in manifest): copied to user dir * Existing skills (in manifest + on disk): updated via hash comparison * User-deleted skills (in manifest, not on disk): respected, not re-added * Stale manifest entries (removed from bundled): cleaned from manifest - Added sync_skills() to CLI startup (cmd_chat) and gateway startup (start_gateway) — previously only ran during 'hermes update' - Updated cmd_update output to show new/updated/cleaned counts - Rewrote tests: 20 tests covering manifest CRUD, dir hashing, fresh install, user deletion respect, update detection, stale cleanup, and name collision handling 75 bundled skills total. 2002 tests pass.
33 lines
1.2 KiB
YAML
33 lines
1.2 KiB
YAML
# OBLITERATUS Abliteration Config
|
|
# Usage: obliteratus run this-file.yaml
|
|
#
|
|
# This is for reproducible, version-controlled abliteration runs.
|
|
# For one-off usage, the CLI flags are simpler.
|
|
|
|
# Model to abliterate
|
|
model:
|
|
name: "meta-llama/Llama-3.1-8B-Instruct"
|
|
dtype: "bfloat16" # float16, bfloat16, float32
|
|
quantization: null # null, "4bit", "8bit"
|
|
device: "auto" # auto, cuda, cuda:0, cpu
|
|
|
|
# Abliteration method and parameters
|
|
abliteration:
|
|
method: "informed" # See SKILL.md Step 4 for all 13 methods
|
|
n_directions: null # null = auto-detect, or integer (e.g., 8)
|
|
regularization: 0.0 # 0.0-1.0, fraction of original to preserve
|
|
refinement_passes: 1 # Iterative passes (increase for self-repair)
|
|
norm_preserve: true # Keep weight norms intact after projection
|
|
|
|
# Output
|
|
output:
|
|
directory: "./abliterated-models"
|
|
save_metadata: true # Save abliteration_metadata.json alongside model
|
|
contribute: false # Save community contribution data
|
|
|
|
# Verification
|
|
verify:
|
|
enabled: true
|
|
test_prompts: null # null = use built-in test prompts
|
|
compute_perplexity: true
|
|
compute_kl: true
|