Views
No views yet
pip install huggingface_hub1from huggingface_hub import hf_hub_download
2
3# Download specific layer model
4file_path = hf_hub_download(
5 repo_id="jeix/TA-SAE",
6 filename="PixArt/SAE-Layer0/model.safetensors"
7)1from huggingface_hub import snapshot_download
2
3# Download all files for layer0
4local_dir = snapshot_download(
5 repo_id="jeix/TA-SAE",
6 repo_type="model",
7 allow_patterns="PixArt/SAE-Layer0/*"
8)1local_dir = snapshot_download(
2 repo_id="jeix/TA-SAE",
3 repo_type="model",
4 allow_patterns="PixArt/SAE-Layer*/*"
5)pip install -U huggingface_hubhuggingface-cli download jeix/TA-SAE --local-dir ./download --include "PixArt/SAE-Layer0/model.safetensors"model.safetensors: The main model weightsoptimizer.bin: Optimizer statescheduler.bin: Learning rate scheduler staterandom_states_0.pkl: Random state informationscaler.pt: Data scaling parameters