Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- __pycache__/question_categorizer.cpython-38.pyc +0 -0
- __pycache__/tfidf_model.cpython-38.pyc +0 -0
- data/JEOPARDY_QUESTIONS1.json:Zone.Identifier +4 -0
- data/categorizer +3 -0
- data/wiki_page_text.json:Zone.Identifier +3 -0
- data/wiki_text_16.json:Zone.Identifier +3 -0
- data/wiki_text_2.json:Zone.Identifier +3 -0
- data/wiki_text_4.json:Zone.Identifier +3 -0
- data/wiki_text_8.json:Zone.Identifier +3 -0
- models/categorizer +3 -0
- upload.ipynb +77 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
data/categorizer filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
models/categorizer filter=lfs diff=lfs merge=lfs -text
|
__pycache__/question_categorizer.cpython-38.pyc
ADDED
|
Binary file (8.63 kB). View file
|
|
|
__pycache__/tfidf_model.cpython-38.pyc
ADDED
|
Binary file (7.18 kB). View file
|
|
|
data/JEOPARDY_QUESTIONS1.json:Zone.Identifier
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ZoneTransfer]
|
| 2 |
+
ZoneId=3
|
| 3 |
+
ReferrerUrl=https://drive.google.com/
|
| 4 |
+
HostUrl=https://drive.usercontent.google.com/download?id=0BwT5wj_P7BKXb2hfM3d2RHU1ckE&export=download&authuser=0&resourcekey=0-1abK4cJq-mqxFoSg86ieIg
|
data/categorizer
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c88b6bbd839788571ec706c83dc8dc51f3dcd3e2ba1569bc2d8f5525565b441
|
| 3 |
+
size 26940976
|
data/wiki_page_text.json:Zone.Identifier
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ZoneTransfer]
|
| 2 |
+
ZoneId=3
|
| 3 |
+
HostUrl=https://drive.usercontent.google.com/download?id=1-AhjvqsoZ01gz7EMt5VmlCnVpsE96A5n&export=download&authuser=0&confirm=t&uuid=9376d0a0-6769-4ff1-8d00-771f2890c07b&at=APZUnTV2kkmgl4OQe-1G_8npQ0pW:1713977325055
|
data/wiki_text_16.json:Zone.Identifier
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ZoneTransfer]
|
| 2 |
+
ZoneId=3
|
| 3 |
+
HostUrl=https://drive.usercontent.google.com/download?id=10zTv7xZOkaa1S8Q9nwmtWKvOjBJGjhBH&export=download&authuser=0&confirm=t&uuid=88ed1aa3-f65b-4ce0-b6c4-5427836e759e&at=APZUnTVXKkwDYFp_0Vytubhsj60l:1713977324370
|
data/wiki_text_2.json:Zone.Identifier
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ZoneTransfer]
|
| 2 |
+
ZoneId=3
|
| 3 |
+
HostUrl=https://drive.usercontent.google.com/download?id=1yFiK0F65u-_R0VVugyMWzTv6TdvAN-gb&export=download&authuser=0&confirm=t&uuid=589926ad-b361-47d9-a07d-641123124c70&at=APZUnTWMnbFdF__alpXGU9twjTfR:1713977324861
|
data/wiki_text_4.json:Zone.Identifier
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ZoneTransfer]
|
| 2 |
+
ZoneId=3
|
| 3 |
+
HostUrl=https://drive.usercontent.google.com/download?id=16PjdNjdUpnGyeNLYx87zEjqpw9pAj6FE&export=download&authuser=0&confirm=t&uuid=b0f13702-22f5-4f50-b424-afb848b3f7c2&at=APZUnTWGLADPPn97RnrxlqflvmwY:1713977324695
|
data/wiki_text_8.json:Zone.Identifier
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[ZoneTransfer]
|
| 2 |
+
ZoneId=3
|
| 3 |
+
HostUrl=https://drive.usercontent.google.com/download?id=1m9o06QZY4XBK6CLlku2JtOrVaB6kxY39&export=download&authuser=0&confirm=t&uuid=010674b3-5445-450f-b556-cb3e5953e196&at=APZUnTXusyABWC9XIgZvCE9b2uwB:1713977324520
|
models/categorizer
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c88b6bbd839788571ec706c83dc8dc51f3dcd3e2ba1569bc2d8f5525565b441
|
| 3 |
+
size 26940976
|
upload.ipynb
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "code",
|
| 5 |
+
"execution_count": 1,
|
| 6 |
+
"metadata": {},
|
| 7 |
+
"outputs": [
|
| 8 |
+
{
|
| 9 |
+
"name": "stdout",
|
| 10 |
+
"output_type": "stream",
|
| 11 |
+
"text": [
|
| 12 |
+
"pip install huggingface-cli\n",
|
| 13 |
+
"\n",
|
| 14 |
+
" _| _| _| _| _|_|_| _|_|_| _|_|_| _| _| _|_|_| _|_|_|_| _|_| _|_|_| _|_|_|_|\n",
|
| 15 |
+
" _| _| _| _| _| _| _| _|_| _| _| _| _| _| _| _|\n",
|
| 16 |
+
" _|_|_|_| _| _| _| _|_| _| _|_| _| _| _| _| _| _|_| _|_|_| _|_|_|_| _| _|_|_|\n",
|
| 17 |
+
" _| _| _| _| _| _| _| _| _| _| _|_| _| _| _| _| _| _| _|\n",
|
| 18 |
+
" _| _| _|_| _|_|_| _|_|_| _|_|_| _| _| _|_|_| _| _| _| _|_|_| _|_|_|_|\n",
|
| 19 |
+
"\n",
|
| 20 |
+
" To login, `huggingface_hub` requires a token generated from https://huggingface.co/settings/tokens .\n",
|
| 21 |
+
"Enter your token (input will not be visible): "
|
| 22 |
+
]
|
| 23 |
+
}
|
| 24 |
+
],
|
| 25 |
+
"source": [
|
| 26 |
+
"!huggingface-cli login\n",
|
| 27 |
+
"!huggingface-cli whoami\n"
|
| 28 |
+
]
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"cell_type": "code",
|
| 32 |
+
"execution_count": 15,
|
| 33 |
+
"metadata": {},
|
| 34 |
+
"outputs": [
|
| 35 |
+
{
|
| 36 |
+
"name": "stdout",
|
| 37 |
+
"output_type": "stream",
|
| 38 |
+
"text": [
|
| 39 |
+
"os.environ['HUGGINGFACE_TOKEN'] = token\n",
|
| 40 |
+
"Not logged in\n"
|
| 41 |
+
]
|
| 42 |
+
}
|
| 43 |
+
],
|
| 44 |
+
"source": [
|
| 45 |
+
"import os\n"
|
| 46 |
+
]
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"cell_type": "code",
|
| 50 |
+
"execution_count": null,
|
| 51 |
+
"metadata": {},
|
| 52 |
+
"outputs": [],
|
| 53 |
+
"source": []
|
| 54 |
+
}
|
| 55 |
+
],
|
| 56 |
+
"metadata": {
|
| 57 |
+
"kernelspec": {
|
| 58 |
+
"display_name": "Python 3",
|
| 59 |
+
"language": "python",
|
| 60 |
+
"name": "python3"
|
| 61 |
+
},
|
| 62 |
+
"language_info": {
|
| 63 |
+
"codemirror_mode": {
|
| 64 |
+
"name": "ipython",
|
| 65 |
+
"version": 3
|
| 66 |
+
},
|
| 67 |
+
"file_extension": ".py",
|
| 68 |
+
"mimetype": "text/x-python",
|
| 69 |
+
"name": "python",
|
| 70 |
+
"nbconvert_exporter": "python",
|
| 71 |
+
"pygments_lexer": "ipython3",
|
| 72 |
+
"version": "3.8.10"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"nbformat": 4,
|
| 76 |
+
"nbformat_minor": 2
|
| 77 |
+
}
|