Granther commited on
Commit
7ea57da
1 Parent(s): 912e66e

Upload prompt_tune_phi3.ipynb with huggingface_hub

Browse files
Files changed (1) hide show
  1. prompt_tune_phi3.ipynb +11 -8
prompt_tune_phi3.ipynb CHANGED
@@ -43,17 +43,17 @@
43
  },
44
  {
45
  "cell_type": "code",
46
- "execution_count": 23,
47
  "id": "8a1cb1f9-b89d-4cac-a595-44e1e0ef85b2",
48
  "metadata": {},
49
  "outputs": [
50
  {
51
  "data": {
52
  "text/plain": [
53
- "CommitInfo(commit_url='https://huggingface.co/Granther/prompt-tuned-phi3/commit/1a005d8478e96bc972732562f77846878c4ba7b3', commit_message='Upload prompt_tune_phi3.ipnb with huggingface_hub', commit_description='', oid='1a005d8478e96bc972732562f77846878c4ba7b3', pr_url=None, pr_revision=None, pr_num=None)"
54
  ]
55
  },
56
- "execution_count": 23,
57
  "metadata": {},
58
  "output_type": "execute_result"
59
  }
@@ -214,12 +214,15 @@
214
  ]
215
  },
216
  {
217
- "cell_type": "code",
218
- "execution_count": null,
219
- "id": "459d4f69-1d85-42e8-acac-b2c7983c3a33",
220
  "metadata": {},
221
- "outputs": [],
222
- "source": []
 
 
 
 
223
  }
224
  ],
225
  "metadata": {
 
43
  },
44
  {
45
  "cell_type": "code",
46
+ "execution_count": 24,
47
  "id": "8a1cb1f9-b89d-4cac-a595-44e1e0ef85b2",
48
  "metadata": {},
49
  "outputs": [
50
  {
51
  "data": {
52
  "text/plain": [
53
+ "CommitInfo(commit_url='https://huggingface.co/Granther/prompt-tuned-phi3/commit/912e66e469c6dd381daaa1ee25f5284e17c9377a', commit_message='Upload prompt_tune_phi3.ipynb with huggingface_hub', commit_description='', oid='912e66e469c6dd381daaa1ee25f5284e17c9377a', pr_url=None, pr_revision=None, pr_num=None)"
54
  ]
55
  },
56
+ "execution_count": 24,
57
  "metadata": {},
58
  "output_type": "execute_result"
59
  }
 
214
  ]
215
  },
216
  {
217
+ "cell_type": "markdown",
218
+ "id": "e1a15150-4bd9-45a2-ba43-d0bbbd16e60d",
 
219
  "metadata": {},
220
+ "source": [
221
+ "### Preprocess Function:\n",
222
+ "- Tokenize text and label\n",
223
+ "- Pad each example in the batch with tok.pad_token_id\n",
224
+ "- "
225
+ ]
226
  }
227
  ],
228
  "metadata": {