specify 24khz
Browse files- save_model.ipynb +6 -6
save_model.ipynb
CHANGED
|
@@ -53,26 +53,26 @@
|
|
| 53 |
},
|
| 54 |
{
|
| 55 |
"cell_type": "code",
|
| 56 |
-
"execution_count":
|
| 57 |
"metadata": {},
|
| 58 |
"outputs": [
|
| 59 |
{
|
| 60 |
"name": "stderr",
|
| 61 |
"output_type": "stream",
|
| 62 |
"text": [
|
| 63 |
-
"c:\\Users\\dslee\\anaconda3\\envs\\sound_effect_variation_generation\\lib\\site-packages\\huggingface_hub\\file_download.py:159: UserWarning: `huggingface_hub` cache-system uses symlinks by default to efficiently store duplicated files but your machine does not support them in C:\\Users\\dslee\\.cache\\huggingface\\hub\\models--hance-ai--descript-audio-codec. Caching files will still work but in a degraded version that might require more space on your disk. This warning can be disabled by setting the `HF_HUB_DISABLE_SYMLINKS_WARNING` environment variable. For more details, see https://huggingface.co/docs/huggingface_hub/how-to-cache#limitations.\n",
|
| 64 |
"To support symlinks on Windows, you either need to activate Developer Mode or to run Python as an administrator. In order to see activate developer mode, see this article: https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development\n",
|
| 65 |
" warnings.warn(message)\n",
|
| 66 |
-
"model.safetensors: 100%|ββββββββββ|
|
| 67 |
]
|
| 68 |
},
|
| 69 |
{
|
| 70 |
"data": {
|
| 71 |
"text/plain": [
|
| 72 |
-
"CommitInfo(commit_url='https://huggingface.co/hance-ai/descript-audio-codec/commit/
|
| 73 |
]
|
| 74 |
},
|
| 75 |
-
"execution_count":
|
| 76 |
"metadata": {},
|
| 77 |
"output_type": "execute_result"
|
| 78 |
}
|
|
@@ -82,7 +82,7 @@
|
|
| 82 |
"with open('token.txt', 'r') as file:\n",
|
| 83 |
" token = file.read().strip()\n",
|
| 84 |
"\n",
|
| 85 |
-
"model.push_to_hub('hance-ai/descript-audio-codec', token=token) # put your token"
|
| 86 |
]
|
| 87 |
},
|
| 88 |
{
|
|
|
|
| 53 |
},
|
| 54 |
{
|
| 55 |
"cell_type": "code",
|
| 56 |
+
"execution_count": 5,
|
| 57 |
"metadata": {},
|
| 58 |
"outputs": [
|
| 59 |
{
|
| 60 |
"name": "stderr",
|
| 61 |
"output_type": "stream",
|
| 62 |
"text": [
|
| 63 |
+
"c:\\Users\\dslee\\anaconda3\\envs\\sound_effect_variation_generation\\lib\\site-packages\\huggingface_hub\\file_download.py:159: UserWarning: `huggingface_hub` cache-system uses symlinks by default to efficiently store duplicated files but your machine does not support them in C:\\Users\\dslee\\.cache\\huggingface\\hub\\models--hance-ai--descript-audio-codec-24khz. Caching files will still work but in a degraded version that might require more space on your disk. This warning can be disabled by setting the `HF_HUB_DISABLE_SYMLINKS_WARNING` environment variable. For more details, see https://huggingface.co/docs/huggingface_hub/how-to-cache#limitations.\n",
|
| 64 |
"To support symlinks on Windows, you either need to activate Developer Mode or to run Python as an administrator. In order to see activate developer mode, see this article: https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development\n",
|
| 65 |
" warnings.warn(message)\n",
|
| 66 |
+
"model.safetensors: 100%|ββββββββββ| 299M/299M [00:11<00:00, 26.5MB/s]\n"
|
| 67 |
]
|
| 68 |
},
|
| 69 |
{
|
| 70 |
"data": {
|
| 71 |
"text/plain": [
|
| 72 |
+
"CommitInfo(commit_url='https://huggingface.co/hance-ai/descript-audio-codec-24khz/commit/cf72b50044750326ebc01f01c3a032adbaf59439', commit_message='Upload DAC', commit_description='', oid='cf72b50044750326ebc01f01c3a032adbaf59439', pr_url=None, pr_revision=None, pr_num=None)"
|
| 73 |
]
|
| 74 |
},
|
| 75 |
+
"execution_count": 5,
|
| 76 |
"metadata": {},
|
| 77 |
"output_type": "execute_result"
|
| 78 |
}
|
|
|
|
| 82 |
"with open('token.txt', 'r') as file:\n",
|
| 83 |
" token = file.read().strip()\n",
|
| 84 |
"\n",
|
| 85 |
+
"model.push_to_hub('hance-ai/descript-audio-codec-24khz', token=token) # put your token"
|
| 86 |
]
|
| 87 |
},
|
| 88 |
{
|