db
commited on
Commit
·
fc3207f
1
Parent(s):
0d40b6e
init
Browse files- .idea/workspace.xml +23 -2
- sample.py +1 -1
.idea/workspace.xml
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
<component name="ChangeListManager">
|
| 7 |
<list default="true" id="6f3a79aa-e3bd-440d-b0d9-38be2ab06fa3" name="Changes" comment="init">
|
| 8 |
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
| 9 |
-
<change beforePath="$PROJECT_DIR$/
|
| 10 |
</list>
|
| 11 |
<option name="SHOW_DIALOG" value="false" />
|
| 12 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -148,7 +148,28 @@
|
|
| 148 |
<option name="project" value="LOCAL" />
|
| 149 |
<updated>1683459694836</updated>
|
| 150 |
</task>
|
| 151 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 152 |
<servers />
|
| 153 |
</component>
|
| 154 |
<component name="Vcs.Log.Tabs.Properties">
|
|
|
|
| 6 |
<component name="ChangeListManager">
|
| 7 |
<list default="true" id="6f3a79aa-e3bd-440d-b0d9-38be2ab06fa3" name="Changes" comment="init">
|
| 8 |
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
| 9 |
+
<change beforePath="$PROJECT_DIR$/sample.py" beforeDir="false" afterPath="$PROJECT_DIR$/sample.py" afterDir="false" />
|
| 10 |
</list>
|
| 11 |
<option name="SHOW_DIALOG" value="false" />
|
| 12 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
|
|
| 148 |
<option name="project" value="LOCAL" />
|
| 149 |
<updated>1683459694836</updated>
|
| 150 |
</task>
|
| 151 |
+
<task id="LOCAL-00016" summary="init">
|
| 152 |
+
<created>1683460544771</created>
|
| 153 |
+
<option name="number" value="00016" />
|
| 154 |
+
<option name="presentableId" value="LOCAL-00016" />
|
| 155 |
+
<option name="project" value="LOCAL" />
|
| 156 |
+
<updated>1683460544771</updated>
|
| 157 |
+
</task>
|
| 158 |
+
<task id="LOCAL-00017" summary="init">
|
| 159 |
+
<created>1683460703193</created>
|
| 160 |
+
<option name="number" value="00017" />
|
| 161 |
+
<option name="presentableId" value="LOCAL-00017" />
|
| 162 |
+
<option name="project" value="LOCAL" />
|
| 163 |
+
<updated>1683460703193</updated>
|
| 164 |
+
</task>
|
| 165 |
+
<task id="LOCAL-00018" summary="init">
|
| 166 |
+
<created>1683466326736</created>
|
| 167 |
+
<option name="number" value="00018" />
|
| 168 |
+
<option name="presentableId" value="LOCAL-00018" />
|
| 169 |
+
<option name="project" value="LOCAL" />
|
| 170 |
+
<updated>1683466326736</updated>
|
| 171 |
+
</task>
|
| 172 |
+
<option name="localTasksCounter" value="19" />
|
| 173 |
<servers />
|
| 174 |
</component>
|
| 175 |
<component name="Vcs.Log.Tabs.Properties">
|
sample.py
CHANGED
|
@@ -9,7 +9,7 @@ import tiktoken
|
|
| 9 |
from model import GPTConfig, GPT
|
| 10 |
|
| 11 |
# -----------------------------------------------------------------------------
|
| 12 |
-
init_from = '
|
| 13 |
out_dir = 'out' # ignored if init_from is not 'resume'
|
| 14 |
start = "\n" # or "<|endoftext|>" or etc. Can also specify a file, use as: "FILE:prompt.txt"
|
| 15 |
num_samples = 10 # number of samples to draw
|
|
|
|
| 9 |
from model import GPTConfig, GPT
|
| 10 |
|
| 11 |
# -----------------------------------------------------------------------------
|
| 12 |
+
init_from = 'gpt2-xl' # either 'resume' (from an out_dir) or a gpt2 variant (e.g. 'gpt2-xl')
|
| 13 |
out_dir = 'out' # ignored if init_from is not 'resume'
|
| 14 |
start = "\n" # or "<|endoftext|>" or etc. Can also specify a file, use as: "FILE:prompt.txt"
|
| 15 |
num_samples = 10 # number of samples to draw
|