dansbecker
commited on
Commit
·
46c14a5
1
Parent(s):
38f47f6
A standard update
Browse files- hn_hiring_posts.ipynb +5 -84
hn_hiring_posts.ipynb
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
"cells": [
|
3 |
{
|
4 |
"cell_type": "code",
|
5 |
-
"execution_count":
|
6 |
"id": "056aa255-fda1-4cde-be24-459f6ad2c8b9",
|
7 |
"metadata": {},
|
8 |
"outputs": [
|
@@ -43,18 +43,10 @@
|
|
43 |
},
|
44 |
{
|
45 |
"cell_type": "code",
|
46 |
-
"execution_count":
|
47 |
"id": "57ca7c96-d94c-4e65-8113-da7729558247",
|
48 |
"metadata": {},
|
49 |
-
"outputs": [
|
50 |
-
{
|
51 |
-
"name": "stderr",
|
52 |
-
"output_type": "stream",
|
53 |
-
"text": [
|
54 |
-
"/Users/dan.becker/Desktop/hackernews_hiring_dataset/. is already a clone of https://huggingface.co/datasets/dansbecker/hackernews_hiring_posts. Make sure you pull the latest changes with `repo.git_pull()`.\n"
|
55 |
-
]
|
56 |
-
}
|
57 |
-
],
|
58 |
"source": [
|
59 |
"import datasets\n",
|
60 |
"from huggingface_hub import create_repo\n",
|
@@ -69,79 +61,8 @@
|
|
69 |
"repo_url = 'https://huggingface.co/datasets/dansbecker/hackernews_hiring_posts'\n",
|
70 |
"repo = Repository(local_dir=\".\", clone_from=repo_url)\n",
|
71 |
"repo.git_add(data_path)\n",
|
72 |
-
"repo.
|
73 |
-
|
74 |
-
},
|
75 |
-
{
|
76 |
-
"cell_type": "code",
|
77 |
-
"execution_count": 6,
|
78 |
-
"id": "2e7fbc2c-550e-4266-b7f2-63287953fdc7",
|
79 |
-
"metadata": {},
|
80 |
-
"outputs": [
|
81 |
-
{
|
82 |
-
"data": {
|
83 |
-
"application/vnd.jupyter.widget-view+json": {
|
84 |
-
"model_id": "d92654a5fdf7471b8fdf02eedd65fd24",
|
85 |
-
"version_major": 2,
|
86 |
-
"version_minor": 0
|
87 |
-
},
|
88 |
-
"text/plain": [
|
89 |
-
"Upload file data/hiring/dataset.arrow: 0%| | 32.0k/78.8M [00:00<?, ?B/s]"
|
90 |
-
]
|
91 |
-
},
|
92 |
-
"metadata": {},
|
93 |
-
"output_type": "display_data"
|
94 |
-
},
|
95 |
-
{
|
96 |
-
"data": {
|
97 |
-
"application/vnd.jupyter.widget-view+json": {
|
98 |
-
"model_id": "7f86380237d1442a83c03c15ce1a492d",
|
99 |
-
"version_major": 2,
|
100 |
-
"version_minor": 0
|
101 |
-
},
|
102 |
-
"text/plain": [
|
103 |
-
"Upload file data/freelancer/dataset.arrow: 0%| | 32.0k/10.8M [00:00<?, ?B/s]"
|
104 |
-
]
|
105 |
-
},
|
106 |
-
"metadata": {},
|
107 |
-
"output_type": "display_data"
|
108 |
-
},
|
109 |
-
{
|
110 |
-
"data": {
|
111 |
-
"application/vnd.jupyter.widget-view+json": {
|
112 |
-
"model_id": "a15bce1da7ed412ca9359adc53dfa92f",
|
113 |
-
"version_major": 2,
|
114 |
-
"version_minor": 0
|
115 |
-
},
|
116 |
-
"text/plain": [
|
117 |
-
"Upload file data/wants_to_be_hired/dataset.arrow: 0%| | 32.0k/11.0M [00:00<?, ?B/s]"
|
118 |
-
]
|
119 |
-
},
|
120 |
-
"metadata": {},
|
121 |
-
"output_type": "display_data"
|
122 |
-
},
|
123 |
-
{
|
124 |
-
"name": "stderr",
|
125 |
-
"output_type": "stream",
|
126 |
-
"text": [
|
127 |
-
"To https://huggingface.co/datasets/dansbecker/hackernews_hiring_posts\n",
|
128 |
-
" d59d452..6f68ddf main -> main\n",
|
129 |
-
"\n"
|
130 |
-
]
|
131 |
-
},
|
132 |
-
{
|
133 |
-
"data": {
|
134 |
-
"text/plain": [
|
135 |
-
"'https://huggingface.co/datasets/dansbecker/hackernews_hiring_posts/commit/6f68ddf7d649bf6d5892197cce8cd2963559946d'"
|
136 |
-
]
|
137 |
-
},
|
138 |
-
"execution_count": 6,
|
139 |
-
"metadata": {},
|
140 |
-
"output_type": "execute_result"
|
141 |
-
}
|
142 |
-
],
|
143 |
-
"source": [
|
144 |
-
"repo.git_push()"
|
145 |
]
|
146 |
}
|
147 |
],
|
|
|
2 |
"cells": [
|
3 |
{
|
4 |
"cell_type": "code",
|
5 |
+
"execution_count": 1,
|
6 |
"id": "056aa255-fda1-4cde-be24-459f6ad2c8b9",
|
7 |
"metadata": {},
|
8 |
"outputs": [
|
|
|
43 |
},
|
44 |
{
|
45 |
"cell_type": "code",
|
46 |
+
"execution_count": null,
|
47 |
"id": "57ca7c96-d94c-4e65-8113-da7729558247",
|
48 |
"metadata": {},
|
49 |
+
"outputs": [],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
"source": [
|
51 |
"import datasets\n",
|
52 |
"from huggingface_hub import create_repo\n",
|
|
|
61 |
"repo_url = 'https://huggingface.co/datasets/dansbecker/hackernews_hiring_posts'\n",
|
62 |
"repo = Repository(local_dir=\".\", clone_from=repo_url)\n",
|
63 |
"repo.git_add(data_path)\n",
|
64 |
+
"repo.git_add('*.ipynb')\n",
|
65 |
+
"repo.git_commit(\"A standard update\")"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
]
|
67 |
}
|
68 |
],
|