immanuelpeter commited on
Commit
f0814b8
·
verified ·
1 Parent(s): ec64e00

Link the card to its export and parity check in vision-tower-bench

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -45,13 +45,13 @@ See [`examples/inference.py`](examples/inference.py) for image feature extractio
45
 
46
  ## Validation
47
 
48
- The [parity script](https://github.com/immanuel-peter/vision-tower-bench/blob/main/tests/test_parity.py)
49
  compares all 515 Tower tensors and eight Projector tensors with the pinned parent
50
  checkpoint using `torch.equal`.
51
 
52
  ## Reproduction
53
 
54
- The [export script](https://github.com/immanuel-peter/vision-tower-bench/blob/main/scripts/export_minimax_m3_vision.py)
55
  reads `vision_tower.vision_model.*` from shard 59 of `MiniMaxAI/MiniMax-M3`.
56
  It remaps `encoder.layers` to `layers` and `embeddings.patch_embedding` to `embeddings.proj`,
57
  then writes 515 Tower tensors. The Projector comes from `multi_modal_projector.*` and `patch_merge_mlp.*`
 
45
 
46
  ## Validation
47
 
48
+ The [parity check](https://github.com/immanuel-peter/vision-tower-bench/blob/main/vtb/parity/minimax_m3.py)
49
  compares all 515 Tower tensors and eight Projector tensors with the pinned parent
50
  checkpoint using `torch.equal`.
51
 
52
  ## Reproduction
53
 
54
+ The [export script](https://github.com/immanuel-peter/vision-tower-bench/blob/main/vtb/adapters/minimax_m3.py)
55
  reads `vision_tower.vision_model.*` from shard 59 of `MiniMaxAI/MiniMax-M3`.
56
  It remaps `encoder.layers` to `layers` and `embeddings.patch_embedding` to `embeddings.proj`,
57
  then writes 515 Tower tensors. The Projector comes from `multi_modal_projector.*` and `patch_merge_mlp.*`