Views
No views yet
cxllin/Llama2-7b-Finance (Financial fine-tuned from meta-llama/Llama-2-7b-hf)| Layer | Loss Recovered | L0 Sparsity | Dead Features | Health Status |
|---|---|---|---|---|
| 4 | 56.146% (WikiText) | 55.112 | 85.750% | ❌ 2/4 Healthy |
| 10 | 58.234% (WikiText) | 48.567 | 78.450% | ❌ 2/4 Healthy |
| 16 | 62.891% (WikiText) | 42.123 | 65.320% | ⚠️ 3/4 Healthy |
| 22 | 59.456% (WikiText) | 51.789 | 72.180% | ❌ 2/4 Healthy |
| 28 | 55.678% (WikiText) | 54.321 | 89.120% | ❌ 1/4 Healthy |
llama2_7b_finance_layers4_10_16_22_28_k32_latents400_wikitext103_torchrun/
├── config.json # Model configuration
├── state.pt # Training state
├── optimizer_0.pt # Optimizer state
├── lr_scheduler_0.pt # Learning rate scheduler
├── rank_0_state.pt # Distributed training state
├── layers.4/ # Layer 4 SAE model
├── layers.10/ # Layer 10 SAE model
├── layers.16/ # Layer 16 SAE model
├── layers.22/ # Layer 22 SAE model
└── layers.28/ # Layer 28 SAE model1from transformers import AutoModel
2import torch
3
4# Load a specific layer SAE model
5layer_model = AutoModel.from_pretrained("tatsatx/llama2_7b_finance_sae_layer16_k32_latents400_wikitext103")
6
7# Load the complete multi-layer model
8complete_model = AutoModel.from_pretrained("tatsatx/llama2_7b_finance_sae_layers4_10_16_22_28_k32_latents400_wikitext103")| Metric | FinLLama-7B | Base Llama-2-7B | Difference |
|---|---|---|---|
| Healthy Layers | 0/5 (0%) | 3/5 (60%) | -60% |
| Avg Loss Recovery | 58.48% | 71.1% | -12.62% |
| Dead Features | 65.32-89.12% | 0.0-28.25% | Significantly Higher |
| L0 Sparsity Range | 42.12-55.11 | 58.61-125.58 | More Consistent |