# efficient_scripts **Repository Path**: mirrors_huggingface/efficient_scripts ## Basic Information - **Project Name**: efficient_scripts - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-17 - **Last Updated**: 2026-06-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Efficient_scripts Collection of scripts that should make your life easier when working with the HF model hub. ## change_config.py This script can be used to change a parameter of multiple config files. In the beginning the script should be run without `--do_upload` to make sure the changed configs can be checked locally before uploading them to the respective git repos, *e.g.*: ```bash ./change_config.py --search_key patrickvonplaten/t5-tiny-ra --key max_length --value 10 ``` Having checked that the configs look as expected locally, one can upload them to the repective git repos by adding `--do_upload`. Adding the `--rf` arg force deletes previously cloned model repos. ```bash ./change_config.py --search_key patrickvonplaten/t5-tiny-ra --key max_length --value 10 --rf --upload ``` ## upload_a_new_repo.py This script can be used to quickly create a new repo. ```bash ./upload_a_new_repo.py --user patrickvonplaten --pw 12345678 --org google --model mt5-small ```