You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"# note: if you see the message 'CUDA extension not installed' while running chatdocs, try installing auto-gptq from a wheel (see https://github.com/PanQiWei/AutoGPTQ/releases/)\n",
"/usr/local/lib/python3.10/dist-packages/torch/_utils.py:831: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()\n",
"/usr/local/lib/python3.10/dist-packages/torch/_utils.py:831: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()\n",
111
+
" return self.fget.__get__(instance, owner)()\n",
112
+
"max_seq_length 512\n",
113
+
"\n",
114
+
"Type your query below and press Enter.\n",
115
+
"Type \u001b[32m'exit'\u001b[0m or \u001b[32m'quit'\u001b[0m or \u001b[32m'q'\u001b[0m to exit the application.\n",
116
+
"\n",
117
+
"\u001b[1mQ: \u001b[0m"
118
+
]
119
+
}
120
+
],
121
+
"source": [
122
+
"# note: Colab allows for entering input directly into a running code cell (Jupyter Lab does not)\n",
123
+
"# to use the chat mode elsewhere, run it directly from a terminal; otherwise, try the ui mode\n",
124
+
"if 'google.colab' in str(get_ipython()):\n",
125
+
" !chatdocs chat\n",
126
+
"else:\n",
127
+
" !chatdocs ui"
128
+
]
129
+
},
130
+
{
131
+
"cell_type": "code",
132
+
"execution_count": null,
133
+
"id": "ff66f540-2c44-47cb-90ee-04b8debf5e5f",
134
+
"metadata": {
135
+
"id": "ff66f540-2c44-47cb-90ee-04b8debf5e5f"
136
+
},
137
+
"outputs": [],
138
+
"source": []
99
139
}
100
-
],
101
-
"source": [
102
-
"# note: Colab allows for entering input directly into a running code cell (Jupyter Lab does not)\n",
103
-
"# to use the chat mode elsewhere, run it directly from a terminal; otherwise, try the ui mode\n",
0 commit comments