File size: 472 Bytes
e44adc3
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
python export_state_dict_from_config.py \
    --config config.json \
    --output model.safetensors \
    --device cpu

cd ./inference
# python convert.py --hf-ckpt-path .. --n-experts 256 --model-parallel 1
echo "OK"

cd ..
hf upload yujiepan/deepseek-v4-tiny-random . --exclude ".cache/" --exclude "__pycache__/" --exclude ".pytest_cache/" --exclude ".ruff_cache/" --exclude ".mypy_cache/" --exclude ".vscode/" --exclude ".idea/" --exclude ".DS_Store" --exclude "*.pyc"