mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1633] [CLOSED] setup: offer the experimental speed projection for Swift 1.5 too #3571
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3571
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1633
Author: @lineape
Created: 10/9/2026
Status: ❌ Closed
Base:
main← Head:esp-swift-1.5📝 Commits (1)
d080318setup: offer the experimental speed projection for Swift 1.5 too (measured: refusals removed as on the original)📊 Changes
2 files changed (+7 additions, -4 deletions)
View changed files
📝
data/experimental-speed-projection/README.md(+2 -1)📝
setup.py(+5 -3)📄 Description
Setup offers the speed projection only for the original model and the Coder, and leaves it off for Swift 1.5
("made for the original Qwen3.8-Flash-Next"). We measured it on Swift 1.5, and it behaves as on the original, so
this PR offers it there too. It stays off by default, experimental, and switchable per request.
Why the vector transfers. The projection acts on the residual stream (layers 4-44). Swift 1.5's post-training
barely touched the weights that write into it. Comparing the BF16 checkpoints (published by SC117 on the abliterated
Swift model card):
ffn_down_expsare byte-identical to the original's on all 48 layers;ssm_out,attn_outputandffn_down_shexpdiffer by 0.21-2.42%.Measured.
b22d729(sha256-verified), on Strata 0.1.41;GTX 1080 + 1070 layer split.
--control-vector-layer-range 4 44 --cvec-mode project.160 tokens; keyword refusal check.
false, all 25 harmless answers were byte-identical to stock.Possibly of interest. SC117's abliterated Swift is orcarouter's single-direction abliteration,
W ← W − r rᵀWwith one
rfor all layers, transplanted.rcan be recovered from the quantized files: the top singular vectorof
ΔWagrees across 12 layers at |cos| ≥ 0.998, and matches the BF16 edit at 0.9998. Used as a project-modecontrol vector (the same
ron layers 1-47), it also gave 0/25 and 1/25. Its harmless answers stayed closer tostock than the shipped vector's (difflib similarity 0.56 vs 0.42). It agrees with the shipped per-layer directions
at |cos| 0.29-0.77 (peak at layer 24). We are not proposing to ship it: it derives from orcarouter's gated weights.
We mention it as evidence that the projection approach works on Swift.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.