Koboldai.org | New NeoX | Cloudflare
This commit is contained in:
parent
ec0bc1cc17
commit
c3af92e9af
|
@ -67,7 +67,7 @@
|
||||||
"#@title <b><-- Click this to start KoboldAI</b>\n",
|
"#@title <b><-- Click this to start KoboldAI</b>\n",
|
||||||
"Model = \"Nerys 13B\" #@param [\"Nerys 13B\", \"Janeway 13B\", \"Shinen 13B\", \"Skein 6B\", \"Janeway 6B\", \"Adventure 6B\", \"Shinen 6B\", \"Lit 6B\", \"NeoX 20B\", \"facebook/opt-13b\", \"KoboldAI/fairseq-dense-13B\", \"EleutherAI/gpt-j-6B\"] {allow-input: true}\n",
|
"Model = \"Nerys 13B\" #@param [\"Nerys 13B\", \"Janeway 13B\", \"Shinen 13B\", \"Skein 6B\", \"Janeway 6B\", \"Adventure 6B\", \"Shinen 6B\", \"Lit 6B\", \"NeoX 20B\", \"facebook/opt-13b\", \"KoboldAI/fairseq-dense-13B\", \"EleutherAI/gpt-j-6B\"] {allow-input: true}\n",
|
||||||
"Version = \"Official\" #@param [\"Official\", \"United\"] {allow-input: true}\n",
|
"Version = \"Official\" #@param [\"Official\", \"United\"] {allow-input: true}\n",
|
||||||
"Provider = \"Localtunnel\" #@param [\"Localtunnel\", \"Cloudflare\"]\n",
|
"Provider = \"Cloudflare\" #@param [\"Localtunnel\", \"Cloudflare\"]\n",
|
||||||
"\n",
|
"\n",
|
||||||
"import os\n",
|
"import os\n",
|
||||||
"try:\n",
|
"try:\n",
|
||||||
|
@ -93,13 +93,9 @@
|
||||||
" path = \"\"\n",
|
" path = \"\"\n",
|
||||||
" download = \"\"\n",
|
" download = \"\"\n",
|
||||||
"elif Model == \"NeoX 20B\":\n",
|
"elif Model == \"NeoX 20B\":\n",
|
||||||
" Model = \"TPUMeshTransformerGPTNeoX\"\n",
|
" Model = \"EleutherAI/gpt-neox-20b\"\n",
|
||||||
" path = \" -p gpt-neox-20b-jax\"\n",
|
" path = \"\"\n",
|
||||||
" location = \"colab\"\n",
|
" download = \"\"\n",
|
||||||
" download = \" -a https://storage.henk.tech/KoboldAI/neox-20b.txt\"\n",
|
|
||||||
" extract = \"\"\n",
|
|
||||||
" Drive = \"Unextracted (Less Space)\"\n",
|
|
||||||
" ![[ -f /content/drive/MyDrive/KoboldAI/settings/gpt-neox-20b-jax.settings ]] || echo -e \"{\\n \\\"apikey\\\": \\\"\\\",\\n \\\"andepth\\\": 3,\\n \\\"temp\\\": 0.5,\\n \\\"top_p\\\": 0.9,\\n \\\"top_k\\\": 0,\\n \\\"tfs\\\": 1.0,\\n \\\"rep_pen\\\": 1.03,\\n \\\"genamt\\\": 80,\\n \\\"max_length\\\": 2048,\\n \\\"ikgen\\\": 200,\\n \\\"formatoptns\\\": {\\n \\\"frmttriminc\\\": true,\\n \\\"frmtrmblln\\\": false,\\n \\\"frmtrmspch\\\": false,\\n \\\"frmtadsnsp\\\": false\\n },\\n \\\"numseqs\\\": 1,\\n \\\"widepth\\\": 3,\\n \\\"useprompt\\\": true,\\n \\\"adventure\\\": false\\n}\" > /content/drive/MyDrive/KoboldAI/settings/gpt-neox-20b-jax.settings\n",
|
|
||||||
"elif Model == \"Skein 6B\":\n",
|
"elif Model == \"Skein 6B\":\n",
|
||||||
" Model = \"KoboldAI/GPT-J-6B-Skein\"\n",
|
" Model = \"KoboldAI/GPT-J-6B-Skein\"\n",
|
||||||
" path = \"\"\n",
|
" path = \"\"\n",
|
||||||
|
@ -137,7 +133,7 @@
|
||||||
"else:\n",
|
"else:\n",
|
||||||
" tunnel = \"\"\n",
|
" tunnel = \"\"\n",
|
||||||
"\n",
|
"\n",
|
||||||
"!wget https://henk.tech/ckds -O - | bash /dev/stdin $path$download -m $Model -g $Version $tunnel"
|
"!wget https://koboldai.org/ckds -O - | bash /dev/stdin $path$download -m $Model -g $Version $tunnel"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue