deepseek-v4-tiny-random / generate_model_params.bash
yujiepan's picture
Upload folder using huggingface_hub
e44adc3 verified
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"