End of training
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +23 -0
- .ipynb_checkpoints/Untitled-checkpoint.ipynb +403 -0
- .ipynb_checkpoints/Untitled1-checkpoint.ipynb +6 -0
- .ipynb_checkpoints/dataloader-checkpoint.py +295 -0
- .ipynb_checkpoints/reward_modeling-checkpoint.py +158 -0
- .ipynb_checkpoints/rm-checkpoint.ipynb +565 -0
- README.md +59 -0
- RMmodels/gemma-2-9b_sftm3genre36007200/README.md +202 -0
- RMmodels/gemma-2-9b_sftm3genre36007200/adapter_config.json +31 -0
- RMmodels/gemma-2-9b_sftm3genre36007200/adapter_model.safetensors +3 -0
- RMmodels/gemma-2-9b_sftm3genre36007200/special_tokens_map.json +34 -0
- RMmodels/gemma-2-9b_sftm3genre36007200/tokenizer.json +3 -0
- RMmodels/gemma-2-9b_sftm3genre36007200/tokenizer_config.json +1760 -0
- RMmodels/gemma-2-9b_sftm3genre36007200/training_args.bin +3 -0
- SFTmodels/gemma-2-9b_sftm2genre100714/README.md +202 -0
- SFTmodels/gemma-2-9b_sftm2genre100714/adapter_config.json +31 -0
- SFTmodels/gemma-2-9b_sftm2genre100714/adapter_model.safetensors +3 -0
- SFTmodels/gemma-2-9b_sftm2genre100714/special_tokens_map.json +28 -0
- SFTmodels/gemma-2-9b_sftm2genre100714/tokenizer.json +3 -0
- SFTmodels/gemma-2-9b_sftm2genre100714/tokenizer_config.json +1756 -0
- SFTmodels/gemma-2-9b_sftm2genre100714/training_args.bin +3 -0
- SFTmodels/gemma-2-9b_sftm3genre1800/README.md +202 -0
- SFTmodels/gemma-2-9b_sftm3genre1800/adapter_config.json +31 -0
- SFTmodels/gemma-2-9b_sftm3genre1800/adapter_model.safetensors +3 -0
- SFTmodels/gemma-2-9b_sftm3genre1800/special_tokens_map.json +28 -0
- SFTmodels/gemma-2-9b_sftm3genre1800/tokenizer.json +3 -0
- SFTmodels/gemma-2-9b_sftm3genre1800/tokenizer_config.json +1756 -0
- SFTmodels/gemma-2-9b_sftm3genre1800/training_args.bin +3 -0
- SFTmodels/gemma-2-9b_sftm3genre3600/README.md +202 -0
- SFTmodels/gemma-2-9b_sftm3genre3600/adapter_config.json +31 -0
- SFTmodels/gemma-2-9b_sftm3genre3600/adapter_model.safetensors +3 -0
- SFTmodels/gemma-2-9b_sftm3genre3600/special_tokens_map.json +28 -0
- SFTmodels/gemma-2-9b_sftm3genre3600/tokenizer.json +3 -0
- SFTmodels/gemma-2-9b_sftm3genre3600/tokenizer_config.json +1756 -0
- SFTmodels/gemma-2-9b_sftm3genre3600/training_args.bin +3 -0
- SFTmodels/gemma-2-9b_sftm3genre7200/README.md +202 -0
- SFTmodels/gemma-2-9b_sftm3genre7200/adapter_config.json +31 -0
- SFTmodels/gemma-2-9b_sftm3genre7200/adapter_model.safetensors +3 -0
- SFTmodels/gemma-2-9b_sftm3genre7200/special_tokens_map.json +28 -0
- SFTmodels/gemma-2-9b_sftm3genre7200/tokenizer.json +3 -0
- SFTmodels/gemma-2-9b_sftm3genre7200/tokenizer_config.json +1756 -0
- SFTmodels/gemma-2-9b_sftm3genre7200/training_args.bin +3 -0
- Untitled.ipynb +744 -0
- Untitled1.ipynb +1519 -0
- adapter_config.json +31 -0
- adapter_model.safetensors +3 -0
- dataloader.py +296 -0
- model/SFTmodels/gemma-2b_sftm3genre10vast/README.md +202 -0
- model/SFTmodels/gemma-2b_sftm3genre10vast/adapter_config.json +34 -0
- model/SFTmodels/gemma-2b_sftm3genre10vast/adapter_model.safetensors +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,26 @@ 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 |
+
RMmodels/gemma-2-9b_sftm3genre36007200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
37 |
+
SFTmodels/gemma-2-9b_sftm2genre100714/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
38 |
+
SFTmodels/gemma-2-9b_sftm3genre1800/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
39 |
+
SFTmodels/gemma-2-9b_sftm3genre3600/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
40 |
+
SFTmodels/gemma-2-9b_sftm3genre7200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
41 |
+
model/gemma-2b_sftm3genre10/checkpoint-1000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
42 |
+
model/gemma-2b_sftm3genre10/checkpoint-1500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
43 |
+
model/gemma-2b_sftm3genre10/checkpoint-2000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
44 |
+
model/gemma-2b_sftm3genre10/checkpoint-2500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
45 |
+
model/gemma-2b_sftm3genre10/checkpoint-3000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
46 |
+
model/gemma-2b_sftm3genre10/checkpoint-500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
47 |
+
model/gemma-2b_sftm3genre10/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
48 |
+
readsy/0117_2story_pairs.csv filter=lfs diff=lfs merge=lfs -text
|
49 |
+
readsy/pairs/readsy_story_pairs0407.csv filter=lfs diff=lfs merge=lfs -text
|
50 |
+
readsy/readsy_story_pairs0407.csv filter=lfs diff=lfs merge=lfs -text
|
51 |
+
readsy/stories/prompt_1017.csv filter=lfs diff=lfs merge=lfs -text
|
52 |
+
readsy/stories/prompt_1064.csv filter=lfs diff=lfs merge=lfs -text
|
53 |
+
readsy/stories/prompt_1073.csv filter=lfs diff=lfs merge=lfs -text
|
54 |
+
readsy/stories/prompt_1104.csv filter=lfs diff=lfs merge=lfs -text
|
55 |
+
readsy/stories/prompt_1109.csv filter=lfs diff=lfs merge=lfs -text
|
56 |
+
readsy/stories/prompt_1174.csv filter=lfs diff=lfs merge=lfs -text
|
57 |
+
readsy/stories/prompt_1229.csv filter=lfs diff=lfs merge=lfs -text
|
58 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
.ipynb_checkpoints/Untitled-checkpoint.ipynb
ADDED
@@ -0,0 +1,403 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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322-0de1-46e3-bdaa-935d448cafda",
|
7 |
+
"metadata": {},
|
8 |
+
"outputs": [
|
9 |
+
{
|
10 |
+
"name": "stdout",
|
11 |
+
"output_type": "stream",
|
12 |
+
"text": [
|
13 |
+
"🦥 Unsloth: Will patch your computer to enable 2x faster free finetuning.\n"
|
14 |
+
]
|
15 |
+
}
|
16 |
+
],
|
17 |
+
"source": [
|
18 |
+
"#SFT \n",
|
19 |
+
"from unsloth import FastLanguageModel\n",
|
20 |
+
"import torch\n",
|
21 |
+
"max_seq_length = 2048*4 # Choose any! We auto support RoPE Scaling internally!\n",
|
22 |
+
"dtype = None # None for auto detection. Float16 for Tesla T4, V100, Bfloat16 for Ampere+\n",
|
23 |
+
"load_in_4bit = True # Use 4bit quantization to reduce memory usage. Can be False.\n",
|
24 |
+
"datapath = 'readsy/stories/'\n",
|
25 |
+
"pairpath = 'readsy/pairs/readsy_story_pairs0407.csv'\n",
|
26 |
+
"mode='m3'\n",
|
27 |
+
"split_by = 'genre'\n",
|
28 |
+
"model_name = 'model/gemma/gemma-2b/'\n",
|
29 |
+
"lease_likes = 10\n",
|
30 |
+
"suffix = 'vast'\n",
|
31 |
+
"save_path = 'model/SFTmodels/' +model_name.split('/')[-1] + '_sft' + mode + split_by + str(lease_likes) + suffix\n"
|
32 |
+
]
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"cell_type": "code",
|
36 |
+
"execution_count": 2,
|
37 |
+
"id": "280c81eb-4879-41d9-aea4-1dffc2edf836",
|
38 |
+
"metadata": {},
|
39 |
+
"outputs": [
|
40 |
+
{
|
41 |
+
"name": "stdout",
|
42 |
+
"output_type": "stream",
|
43 |
+
"text": [
|
44 |
+
"==((====))== Unsloth: Fast Gemma patching release 2024.5\n",
|
45 |
+
" \\\\ /| GPU: NVIDIA GeForce RTX 4090. Max memory: 23.643 GB. Platform = Linux.\n",
|
46 |
+
"O^O/ \\_/ \\ Pytorch: 2.2.0+cu121. CUDA = 8.9. CUDA Toolkit = 12.1.\n",
|
47 |
+
"\\ / Bfloat16 = TRUE. Xformers = 0.0.24. FA = True.\n",
|
48 |
+
" \"-____-\" Free Apache license: http://github.com/unslothai/unsloth\n"
|
49 |
+
]
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"name": "stderr",
|
53 |
+
"output_type": "stream",
|
54 |
+
"text": [
|
55 |
+
"`config.hidden_act` is ignored, you should use `config.hidden_activation` instead.\n",
|
56 |
+
"Gemma's activation function will be set to `gelu_pytorch_tanh`. Please, use\n",
|
57 |
+
"`config.hidden_activation` if you want to override this behaviour.\n",
|
58 |
+
"See https://github.com/huggingface/transformers/pull/29402 for more details.\n"
|
59 |
+
]
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"data": {
|
63 |
+
"application/vnd.jupyter.widget-view+json": {
|
64 |
+
"model_id": "a50c6bf9f7224c698cf118c51cd379bf",
|
65 |
+
"version_major": 2,
|
66 |
+
"version_minor": 0
|
67 |
+
},
|
68 |
+
"text/plain": [
|
69 |
+
"Loading checkpoint shards: 0%| | 0/2 [00:00<?, ?it/s]"
|
70 |
+
]
|
71 |
+
},
|
72 |
+
"metadata": {},
|
73 |
+
"output_type": "display_data"
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"name": "stderr",
|
77 |
+
"output_type": "stream",
|
78 |
+
"text": [
|
79 |
+
"Unsloth 2024.5 patched 18 layers with 18 QKV layers, 18 O layers and 18 MLP layers.\n"
|
80 |
+
]
|
81 |
+
}
|
82 |
+
],
|
83 |
+
"source": [
|
84 |
+
"model, tokenizer = FastLanguageModel.from_pretrained(\n",
|
85 |
+
" model_name = model_name, # Choose ANY! eg teknium/OpenHermes-2.5-Mistral-7B\n",
|
86 |
+
" max_seq_length = max_seq_length,\n",
|
87 |
+
" dtype = dtype,\n",
|
88 |
+
" load_in_4bit = load_in_4bit,\n",
|
89 |
+
" # token = \"hf_...\", # use one if using gated models like meta-llama/Llama-2-7b-hf\n",
|
90 |
+
")\n",
|
91 |
+
"model = FastLanguageModel.get_peft_model(\n",
|
92 |
+
" model,\n",
|
93 |
+
" use_gradient_checkpointing = \"unsloth\",\n",
|
94 |
+
" r = 16, # Choose any number > 0 ! Suggested 8, 16, 32, 64, 128\n",
|
95 |
+
" target_modules = [\"q_proj\", \"k_proj\", \"v_proj\", \"o_proj\",\n",
|
96 |
+
" \"gate_proj\", \"up_proj\", \"down_proj\",],\n",
|
97 |
+
" lora_alpha = 16,\n",
|
98 |
+
" lora_dropout = 0, # Supports any, but = 0 is optimized\n",
|
99 |
+
" bias = \"none\", # Supports any, but = \"none\" is optimized\n",
|
100 |
+
" random_state = 3407,\n",
|
101 |
+
" use_rslora = False, # We support rank stabilized LoRA\n",
|
102 |
+
" loftq_config = None, # And LoftQ\n",
|
103 |
+
")\n"
|
104 |
+
]
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"cell_type": "code",
|
108 |
+
"execution_count": 7,
|
109 |
+
"id": "5989150b-1ad0-4168-8a28-d0379045ddd7",
|
110 |
+
"metadata": {},
|
111 |
+
"outputs": [
|
112 |
+
{
|
113 |
+
"name": "stdout",
|
114 |
+
"output_type": "stream",
|
115 |
+
"text": [
|
116 |
+
"the total number of pairs is 100\n",
|
117 |
+
"the number of effective pairs is 90\n",
|
118 |
+
"Index(['prompt_id', 'prompt', 'story_id', 'story_title', 'story_author',\n",
|
119 |
+
" 'story_url', 'link', 'genre', 'is_sensitive', 'categories', 'likes',\n",
|
120 |
+
" 'story_text', 'posted_date', 'comments'],\n",
|
121 |
+
" dtype='object')\n",
|
122 |
+
"{'Horror': 10, 'Middle School': 7, 'Dialogue': 6, 'Angst': 5, 'Kids': 5, 'Thriller and Suspense': 5, 'Novel': 5, 'Science Fiction': 5, 'Romance': 5, 'Adventure': 4, 'Narrative': 3, 'Winter': 3, 'Fluff': 3, 'Mystery': 3, 'Character': 3, 'Teens': 2, 'Dramatic': 2, 'Funny': 2, 'Sad': 2, 'Adults': 2, 'High School': 2, \"Valentine's Day\": 1, 'Short Story': 1, 'Summer': 1, 'Holiday': 1, 'Christmas': 1, 'Fiction': 1}\n",
|
123 |
+
"the genre of test set is ['Horror']\n",
|
124 |
+
"the percentage of test set is 0.1111111111111111 where total is 90\n"
|
125 |
+
]
|
126 |
+
},
|
127 |
+
{
|
128 |
+
"name": "stderr",
|
129 |
+
"output_type": "stream",
|
130 |
+
"text": [
|
131 |
+
"No chat template is set for this tokenizer, falling back to a default class-level template. This is very error-prone, because models are often trained with templates different from the class default! Default chat templates are a legacy feature and will be removed in Transformers v4.43, at which point any code depending on them will stop working. We recommend setting a valid chat template before then to ensure that this model continues working without issues.\n"
|
132 |
+
]
|
133 |
+
},
|
134 |
+
{
|
135 |
+
"name": "stdout",
|
136 |
+
"output_type": "stream",
|
137 |
+
"text": [
|
138 |
+
"the columns of train is Index(['story1_id', 'story2_id', 'prompt_id'], dtype='object')\n",
|
139 |
+
"the first example of train is story1_id 7gz4qo\n",
|
140 |
+
"story2_id 7gz4qo\n",
|
141 |
+
"prompt_id prompt_0156\n",
|
142 |
+
"text <bos><|im_start|>user\\nWrite a story where a c...\n",
|
143 |
+
"Name: 0, dtype: object\n"
|
144 |
+
]
|
145 |
+
}
|
146 |
+
],
|
147 |
+
"source": [
|
148 |
+
"from dataloader import StoryPairDataset\n",
|
149 |
+
"SPdataloader = StoryPairDataset(datapath,\n",
|
150 |
+
" pairpath,\n",
|
151 |
+
" tokenizer,\n",
|
152 |
+
" task='sft',\n",
|
153 |
+
" used_dataset_size=100,\n",
|
154 |
+
" train_test_split=0.1,\n",
|
155 |
+
" split_by=split_by,\n",
|
156 |
+
" max_len=4096,\n",
|
157 |
+
" mode= mode,\n",
|
158 |
+
" max_time_window=3600,\n",
|
159 |
+
" least_likes= lease_likes,\n",
|
160 |
+
" margin=False)\n",
|
161 |
+
"\n"
|
162 |
+
]
|
163 |
+
},
|
164 |
+
{
|
165 |
+
"cell_type": "code",
|
166 |
+
"execution_count": null,
|
167 |
+
"id": "ec67afee-86b1-4c91-b3ad-013db3e36bf5",
|
168 |
+
"metadata": {},
|
169 |
+
"outputs": [],
|
170 |
+
"source": []
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"cell_type": "code",
|
174 |
+
"execution_count": 15,
|
175 |
+
"id": "3d804ea0-5619-49a8-87b7-1e6149589865",
|
176 |
+
"metadata": {},
|
177 |
+
"outputs": [
|
178 |
+
{
|
179 |
+
"name": "stderr",
|
180 |
+
"output_type": "stream",
|
181 |
+
"text": [
|
182 |
+
"Detected kernel version 5.4.0, which is below the recommended minimum of 5.5.0; this can cause the process to hang. It is recommended to upgrade the kernel to the minimum version or higher.\n",
|
183 |
+
"==((====))== Unsloth - 2x faster free finetuning | Num GPUs = 1\n",
|
184 |
+
" \\\\ /| Num examples = 48 | Num Epochs = 1\n",
|
185 |
+
"O^O/ \\_/ \\ Batch size per device = 2 | Gradient Accumulation steps = 2\n",
|
186 |
+
"\\ / Total batch size = 4 | Total steps = 12\n",
|
187 |
+
" \"-____-\" Number of trainable parameters = 19,611,648\n"
|
188 |
+
]
|
189 |
+
},
|
190 |
+
{
|
191 |
+
"ename": "OutOfMemoryError",
|
192 |
+
"evalue": "CUDA out of memory. Tried to allocate 15.62 GiB. GPU 0 has a total capacity of 23.64 GiB of which 10.97 GiB is free. Process 1232897 has 12.67 GiB memory in use. Of the allocated memory 12.13 GiB is allocated by PyTorch, and 82.25 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)",
|
193 |
+
"output_type": "error",
|
194 |
+
"traceback": [
|
195 |
+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
|
196 |
+
"\u001b[0;31mOutOfMemoryError\u001b[0m Traceback (most recent call last)",
|
197 |
+
"Cell \u001b[0;32mIn[15], line 30\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mtransformers\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m TrainingArguments\n\u001b[1;32m 5\u001b[0m trainer \u001b[38;5;241m=\u001b[39m SFTTrainer(\n\u001b[1;32m 6\u001b[0m model \u001b[38;5;241m=\u001b[39m model,\n\u001b[1;32m 7\u001b[0m tokenizer \u001b[38;5;241m=\u001b[39m tokenizer,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 28\u001b[0m ),\n\u001b[1;32m 29\u001b[0m )\n\u001b[0;32m---> 30\u001b[0m \u001b[43mtrainer\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mtrain\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 31\u001b[0m \u001b[38;5;66;03m#save the model AND the tokenizer\u001b[39;00m\n\u001b[1;32m 32\u001b[0m trainer\u001b[38;5;241m.\u001b[39msave_model(save_path)\n",
|
198 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/trl/trainer/sft_trainer.py:361\u001b[0m, in \u001b[0;36mSFTTrainer.train\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 358\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mneftune_noise_alpha \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m \u001b[38;5;129;01mand\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_trainer_supports_neftune:\n\u001b[1;32m 359\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mmodel \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_trl_activate_neftune(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mmodel)\n\u001b[0;32m--> 361\u001b[0m output \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43msuper\u001b[39;49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mtrain\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 363\u001b[0m \u001b[38;5;66;03m# After training we make sure to retrieve back the original forward pass method\u001b[39;00m\n\u001b[1;32m 364\u001b[0m \u001b[38;5;66;03m# for the embedding layer by removing the forward post hook.\u001b[39;00m\n\u001b[1;32m 365\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mneftune_noise_alpha \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m \u001b[38;5;129;01mand\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_trainer_supports_neftune:\n",
|
199 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/transformers/trainer.py:1885\u001b[0m, in \u001b[0;36mTrainer.train\u001b[0;34m(self, resume_from_checkpoint, trial, ignore_keys_for_eval, **kwargs)\u001b[0m\n\u001b[1;32m 1883\u001b[0m hf_hub_utils\u001b[38;5;241m.\u001b[39menable_progress_bars()\n\u001b[1;32m 1884\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m-> 1885\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43minner_training_loop\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 1886\u001b[0m \u001b[43m \u001b[49m\u001b[43margs\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1887\u001b[0m \u001b[43m \u001b[49m\u001b[43mresume_from_checkpoint\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mresume_from_checkpoint\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1888\u001b[0m \u001b[43m \u001b[49m\u001b[43mtrial\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mtrial\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1889\u001b[0m \u001b[43m \u001b[49m\u001b[43mignore_keys_for_eval\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mignore_keys_for_eval\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1890\u001b[0m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\n",
|
200 |
+
"File \u001b[0;32m<string>:352\u001b[0m, in \u001b[0;36m_fast_inner_training_loop\u001b[0;34m(self, batch_size, args, resume_from_checkpoint, trial, ignore_keys_for_eval)\u001b[0m\n",
|
201 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/transformers/trainer.py:3238\u001b[0m, in \u001b[0;36mTrainer.training_step\u001b[0;34m(self, model, inputs)\u001b[0m\n\u001b[1;32m 3235\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m loss_mb\u001b[38;5;241m.\u001b[39mreduce_mean()\u001b[38;5;241m.\u001b[39mdetach()\u001b[38;5;241m.\u001b[39mto(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39margs\u001b[38;5;241m.\u001b[39mdevice)\n\u001b[1;32m 3237\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mcompute_loss_context_manager():\n\u001b[0;32m-> 3238\u001b[0m loss \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mcompute_loss\u001b[49m\u001b[43m(\u001b[49m\u001b[43mmodel\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43minputs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 3240\u001b[0m \u001b[38;5;28;01mdel\u001b[39;00m inputs\n\u001b[1;32m 3241\u001b[0m torch\u001b[38;5;241m.\u001b[39mcuda\u001b[38;5;241m.\u001b[39mempty_cache()\n",
|
202 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/transformers/trainer.py:3264\u001b[0m, in \u001b[0;36mTrainer.compute_loss\u001b[0;34m(self, model, inputs, return_outputs)\u001b[0m\n\u001b[1;32m 3262\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[1;32m 3263\u001b[0m labels \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m\n\u001b[0;32m-> 3264\u001b[0m outputs \u001b[38;5;241m=\u001b[39m \u001b[43mmodel\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43minputs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 3265\u001b[0m \u001b[38;5;66;03m# Save past state if it exists\u001b[39;00m\n\u001b[1;32m 3266\u001b[0m \u001b[38;5;66;03m# TODO: this needs to be fixed and made cleaner later.\u001b[39;00m\n\u001b[1;32m 3267\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39margs\u001b[38;5;241m.\u001b[39mpast_index \u001b[38;5;241m>\u001b[39m\u001b[38;5;241m=\u001b[39m \u001b[38;5;241m0\u001b[39m:\n",
|
203 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1511\u001b[0m, in \u001b[0;36mModule._wrapped_call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1509\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_compiled_call_impl(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs) \u001b[38;5;66;03m# type: ignore[misc]\u001b[39;00m\n\u001b[1;32m 1510\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m-> 1511\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_call_impl\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
204 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1520\u001b[0m, in \u001b[0;36mModule._call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1515\u001b[0m \u001b[38;5;66;03m# If we don't have any hooks, we want to skip the rest of the logic in\u001b[39;00m\n\u001b[1;32m 1516\u001b[0m \u001b[38;5;66;03m# this function, and just call forward.\u001b[39;00m\n\u001b[1;32m 1517\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m (\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_pre_hooks\n\u001b[1;32m 1518\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_backward_hooks\n\u001b[1;32m 1519\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_forward_pre_hooks):\n\u001b[0;32m-> 1520\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mforward_call\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1522\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[1;32m 1523\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m\n",
|
205 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/utils/operations.py:822\u001b[0m, in \u001b[0;36mconvert_outputs_to_fp32.<locals>.forward\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 821\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mforward\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[0;32m--> 822\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mmodel_forward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
206 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/utils/operations.py:810\u001b[0m, in \u001b[0;36mConvertOutputsToFp32.__call__\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 809\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m__call__\u001b[39m(\u001b[38;5;28mself\u001b[39m, \u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[0;32m--> 810\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m convert_to_fp32(\u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmodel_forward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m)\n",
|
207 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/amp/autocast_mode.py:16\u001b[0m, in \u001b[0;36mautocast_decorator.<locals>.decorate_autocast\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 13\u001b[0m \u001b[38;5;129m@functools\u001b[39m\u001b[38;5;241m.\u001b[39mwraps(func)\n\u001b[1;32m 14\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mdecorate_autocast\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[1;32m 15\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m autocast_instance:\n\u001b[0;32m---> 16\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mfunc\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
208 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/utils/operations.py:822\u001b[0m, in \u001b[0;36mconvert_outputs_to_fp32.<locals>.forward\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 821\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mforward\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[0;32m--> 822\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mmodel_forward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
209 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/utils/operations.py:810\u001b[0m, in \u001b[0;36mConvertOutputsToFp32.__call__\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 809\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m__call__\u001b[39m(\u001b[38;5;28mself\u001b[39m, \u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[0;32m--> 810\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m convert_to_fp32(\u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmodel_forward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m)\n",
|
210 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/amp/autocast_mode.py:16\u001b[0m, in \u001b[0;36mautocast_decorator.<locals>.decorate_autocast\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 13\u001b[0m \u001b[38;5;129m@functools\u001b[39m\u001b[38;5;241m.\u001b[39mwraps(func)\n\u001b[1;32m 14\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mdecorate_autocast\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[1;32m 15\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m autocast_instance:\n\u001b[0;32m---> 16\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mfunc\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
211 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/utils/operations.py:822\u001b[0m, in \u001b[0;36mconvert_outputs_to_fp32.<locals>.forward\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 821\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mforward\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[0;32m--> 822\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mmodel_forward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
212 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/utils/operations.py:810\u001b[0m, in \u001b[0;36mConvertOutputsToFp32.__call__\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 809\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m__call__\u001b[39m(\u001b[38;5;28mself\u001b[39m, \u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[0;32m--> 810\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mconvert_to_fp32\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmodel_forward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\u001b[43m)\u001b[49m\n",
|
213 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/utils/operations.py:789\u001b[0m, in \u001b[0;36mconvert_to_fp32\u001b[0;34m(tensor)\u001b[0m\n\u001b[1;32m 783\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m_is_fp16_bf16_tensor\u001b[39m(tensor):\n\u001b[1;32m 784\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m (is_torch_tensor(tensor) \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mhasattr\u001b[39m(tensor, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mdtype\u001b[39m\u001b[38;5;124m\"\u001b[39m)) \u001b[38;5;129;01mand\u001b[39;00m tensor\u001b[38;5;241m.\u001b[39mdtype \u001b[38;5;129;01min\u001b[39;00m (\n\u001b[1;32m 785\u001b[0m torch\u001b[38;5;241m.\u001b[39mfloat16,\n\u001b[1;32m 786\u001b[0m torch\u001b[38;5;241m.\u001b[39mbfloat16,\n\u001b[1;32m 787\u001b[0m )\n\u001b[0;32m--> 789\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mrecursively_apply\u001b[49m\u001b[43m(\u001b[49m\u001b[43m_convert_to_fp32\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mtensor\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mtest_type\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43m_is_fp16_bf16_tensor\u001b[49m\u001b[43m)\u001b[49m\n",
|
214 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/utils/operations.py:118\u001b[0m, in \u001b[0;36mrecursively_apply\u001b[0;34m(func, data, test_type, error_on_other_type, *args, **kwargs)\u001b[0m\n\u001b[1;32m 107\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m honor_type(\n\u001b[1;32m 108\u001b[0m data,\n\u001b[1;32m 109\u001b[0m (\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 114\u001b[0m ),\n\u001b[1;32m 115\u001b[0m )\n\u001b[1;32m 116\u001b[0m \u001b[38;5;28;01melif\u001b[39;00m \u001b[38;5;28misinstance\u001b[39m(data, Mapping):\n\u001b[1;32m 117\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mtype\u001b[39m(data)(\n\u001b[0;32m--> 118\u001b[0m {\n\u001b[1;32m 119\u001b[0m k: recursively_apply(\n\u001b[1;32m 120\u001b[0m func, v, \u001b[38;5;241m*\u001b[39margs, test_type\u001b[38;5;241m=\u001b[39mtest_type, error_on_other_type\u001b[38;5;241m=\u001b[39merror_on_other_type, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs\n\u001b[1;32m 121\u001b[0m )\n\u001b[1;32m 122\u001b[0m \u001b[38;5;28;01mfor\u001b[39;00m k, v \u001b[38;5;129;01min\u001b[39;00m data\u001b[38;5;241m.\u001b[39mitems()\n\u001b[1;32m 123\u001b[0m }\n\u001b[1;32m 124\u001b[0m )\n\u001b[1;32m 125\u001b[0m \u001b[38;5;28;01melif\u001b[39;00m test_type(data):\n\u001b[1;32m 126\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m func(data, \u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n",
|
215 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/utils/operations.py:119\u001b[0m, in \u001b[0;36m<dictcomp>\u001b[0;34m(.0)\u001b[0m\n\u001b[1;32m 107\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m honor_type(\n\u001b[1;32m 108\u001b[0m data,\n\u001b[1;32m 109\u001b[0m (\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 114\u001b[0m ),\n\u001b[1;32m 115\u001b[0m )\n\u001b[1;32m 116\u001b[0m \u001b[38;5;28;01melif\u001b[39;00m \u001b[38;5;28misinstance\u001b[39m(data, Mapping):\n\u001b[1;32m 117\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mtype\u001b[39m(data)(\n\u001b[1;32m 118\u001b[0m {\n\u001b[0;32m--> 119\u001b[0m k: \u001b[43mrecursively_apply\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 120\u001b[0m \u001b[43m \u001b[49m\u001b[43mfunc\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mv\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mtest_type\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mtest_type\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43merror_on_other_type\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43merror_on_other_type\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\n\u001b[1;32m 121\u001b[0m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 122\u001b[0m \u001b[38;5;28;01mfor\u001b[39;00m k, v \u001b[38;5;129;01min\u001b[39;00m data\u001b[38;5;241m.\u001b[39mitems()\n\u001b[1;32m 123\u001b[0m }\n\u001b[1;32m 124\u001b[0m )\n\u001b[1;32m 125\u001b[0m \u001b[38;5;28;01melif\u001b[39;00m test_type(data):\n\u001b[1;32m 126\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m func(data, \u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n",
|
216 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/utils/operations.py:126\u001b[0m, in \u001b[0;36mrecursively_apply\u001b[0;34m(func, data, test_type, error_on_other_type, *args, **kwargs)\u001b[0m\n\u001b[1;32m 117\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mtype\u001b[39m(data)(\n\u001b[1;32m 118\u001b[0m {\n\u001b[1;32m 119\u001b[0m k: recursively_apply(\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 123\u001b[0m }\n\u001b[1;32m 124\u001b[0m )\n\u001b[1;32m 125\u001b[0m \u001b[38;5;28;01melif\u001b[39;00m test_type(data):\n\u001b[0;32m--> 126\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mfunc\u001b[49m\u001b[43m(\u001b[49m\u001b[43mdata\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 127\u001b[0m \u001b[38;5;28;01melif\u001b[39;00m error_on_other_type:\n\u001b[1;32m 128\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mTypeError\u001b[39;00m(\n\u001b[1;32m 129\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mUnsupported types (\u001b[39m\u001b[38;5;132;01m{\u001b[39;00m\u001b[38;5;28mtype\u001b[39m(data)\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m) passed to `\u001b[39m\u001b[38;5;132;01m{\u001b[39;00mfunc\u001b[38;5;241m.\u001b[39m\u001b[38;5;18m__name__\u001b[39m\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m`. Only nested list/tuple/dicts of \u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 130\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mobjects that are valid for `\u001b[39m\u001b[38;5;132;01m{\u001b[39;00mtest_type\u001b[38;5;241m.\u001b[39m\u001b[38;5;18m__name__\u001b[39m\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m` should be passed.\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 131\u001b[0m )\n",
|
217 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/utils/operations.py:781\u001b[0m, in \u001b[0;36mconvert_to_fp32.<locals>._convert_to_fp32\u001b[0;34m(tensor)\u001b[0m\n\u001b[1;32m 780\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m_convert_to_fp32\u001b[39m(tensor):\n\u001b[0;32m--> 781\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mtensor\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mfloat\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n",
|
218 |
+
"\u001b[0;31mOutOfMemoryError\u001b[0m: CUDA out of memory. Tried to allocate 15.62 GiB. GPU 0 has a total capacity of 23.64 GiB of which 10.97 GiB is free. Process 1232897 has 12.67 GiB memory in use. Of the allocated memory 12.13 GiB is allocated by PyTorch, and 82.25 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)"
|
219 |
+
]
|
220 |
+
}
|
221 |
+
],
|
222 |
+
"source": [
|
223 |
+
"save_path = 'model/SFTmodels/' +model_name.split('/')[-2] + '_sft' + mode + split_by + str(lease_likes) + suffix\n",
|
224 |
+
"from trl import SFTTrainer\n",
|
225 |
+
"from transformers import TrainingArguments\n",
|
226 |
+
"\n",
|
227 |
+
"trainer = SFTTrainer(\n",
|
228 |
+
" model = model,\n",
|
229 |
+
" tokenizer = tokenizer,\n",
|
230 |
+
" train_dataset = SPdataloader.dataset[\"train\"],\n",
|
231 |
+
" eval_dataset = SPdataloader.dataset[\"test\"],\n",
|
232 |
+
" dataset_text_field = \"text\",\n",
|
233 |
+
" max_seq_length = max_seq_length,\n",
|
234 |
+
" dataset_num_proc = 1,\n",
|
235 |
+
" packing = True, # Can make training 5x faster for short sequences.\n",
|
236 |
+
" args = TrainingArguments(\n",
|
237 |
+
" per_device_train_batch_size = 1,\n",
|
238 |
+
" gradient_accumulation_steps = 2,\n",
|
239 |
+
" warmup_steps = 5,\n",
|
240 |
+
" num_train_epochs = 1,\n",
|
241 |
+
" learning_rate = 1e-4,\n",
|
242 |
+
" fp16 = not torch.cuda.is_bf16_supported(),\n",
|
243 |
+
" bf16 = torch.cuda.is_bf16_supported(),\n",
|
244 |
+
" logging_steps = 1,\n",
|
245 |
+
" optim = \"adamw_8bit\",\n",
|
246 |
+
" weight_decay = 0.01,\n",
|
247 |
+
" lr_scheduler_type = \"cosine\",\n",
|
248 |
+
" seed = 3407,\n",
|
249 |
+
" output_dir = save_path,\n",
|
250 |
+
" ),\n",
|
251 |
+
")\n",
|
252 |
+
"trainer.train()\n",
|
253 |
+
"#save the model AND the tokenizer\n",
|
254 |
+
"trainer.save_model(save_path)\n",
|
255 |
+
"#trainer.save_tokenizer(save_path)\n",
|
256 |
+
"print('model saved at', save_path)"
|
257 |
+
]
|
258 |
+
},
|
259 |
+
{
|
260 |
+
"cell_type": "code",
|
261 |
+
"execution_count": 10,
|
262 |
+
"id": "357116f9-e206-4a77-acf6-43835d2b83bf",
|
263 |
+
"metadata": {},
|
264 |
+
"outputs": [
|
265 |
+
{
|
266 |
+
"name": "stdout",
|
267 |
+
"output_type": "stream",
|
268 |
+
"text": [
|
269 |
+
"Prompt: Write a story about discovering a lost manuscript. It can be from a famous (or infamous) author, or an unknown one.\n",
|
270 |
+
"inputs: <bos><|im_start|>user\n",
|
271 |
+
"Write a story about discovering a lost manuscript. It can be from a famous (or infamous) author, or an unknown one.<|im_end|>\n",
|
272 |
+
"<|im_start|>assistant\n",
|
273 |
+
"\n",
|
274 |
+
"inputs encoded: tensor([[ 2, 2, 235322, 235371, 571, 235298, 2997, 73786, 1645,\n",
|
275 |
+
" 108, 5559, 476, 3904, 1105, 59551, 476, 5501, 28086,\n",
|
276 |
+
" 235265, 1165, 798, 614, 774, 476, 10964, 591, 483,\n",
|
277 |
+
" 76100, 235275, 3426, 235269, 689, 671, 12417, 974, 35606,\n",
|
278 |
+
" 235371, 571, 235298, 615, 73786, 108, 235322, 235371, 571,\n",
|
279 |
+
" 235298, 2997, 73786, 105776, 108]])\n"
|
280 |
+
]
|
281 |
+
},
|
282 |
+
{
|
283 |
+
"ename": "KeyboardInterrupt",
|
284 |
+
"evalue": "",
|
285 |
+
"output_type": "error",
|
286 |
+
"traceback": [
|
287 |
+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
|
288 |
+
"\u001b[0;31mKeyboardInterrupt\u001b[0m Traceback (most recent call last)",
|
289 |
+
"Cell \u001b[0;32mIn[10], line 23\u001b[0m\n\u001b[1;32m 21\u001b[0m prompt \u001b[38;5;241m=\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWrite a story about discovering a lost manuscript. It can be from a famous (or infamous) author, or an unknown one.\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 22\u001b[0m \u001b[38;5;28mprint\u001b[39m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mPrompt:\u001b[39m\u001b[38;5;124m\"\u001b[39m, prompt)\n\u001b[0;32m---> 23\u001b[0m outputs \u001b[38;5;241m=\u001b[39m \u001b[43mgenerate\u001b[49m\u001b[43m(\u001b[49m\u001b[43mmodel\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mtokenizer\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mprompt\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 24\u001b[0m \u001b[38;5;28mprint\u001b[39m(\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mwritten by the model:\u001b[39m\u001b[38;5;124m'\u001b[39m, model_path) \n\u001b[1;32m 25\u001b[0m \u001b[38;5;28mprint\u001b[39m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mGenerated story:\u001b[39m\u001b[38;5;124m\"\u001b[39m, outputs)\n",
|
290 |
+
"Cell \u001b[0;32mIn[10], line 14\u001b[0m, in \u001b[0;36mgenerate\u001b[0;34m(model, tokenizer, prompt, max_length)\u001b[0m\n\u001b[1;32m 11\u001b[0m \u001b[38;5;66;03m# Move inputs to GPU\u001b[39;00m\n\u001b[1;32m 12\u001b[0m inputs \u001b[38;5;241m=\u001b[39m inputs\u001b[38;5;241m.\u001b[39mto(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcuda\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n\u001b[0;32m---> 14\u001b[0m outputs \u001b[38;5;241m=\u001b[39m \u001b[43mmodel\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mgenerate\u001b[49m\u001b[43m(\u001b[49m\u001b[43minput_ids\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43minputs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmax_new_tokens\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43m \u001b[49m\u001b[43mmax_length\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmin_new_tokens\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43m \u001b[49m\u001b[38;5;241;43m500\u001b[39;49m\u001b[43m)\u001b[49m\n\u001b[1;32m 15\u001b[0m \u001b[38;5;66;03m#decode the outputs\u001b[39;00m\n\u001b[1;32m 16\u001b[0m outputs \u001b[38;5;241m=\u001b[39m tokenizer\u001b[38;5;241m.\u001b[39mdecode(outputs[\u001b[38;5;241m0\u001b[39m], skip_special_tokens\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mFalse\u001b[39;00m)\n",
|
291 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/peft/peft_model.py:1491\u001b[0m, in \u001b[0;36mPeftModelForCausalLM.generate\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1489\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_enable_peft_forward_hooks(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[1;32m 1490\u001b[0m kwargs \u001b[38;5;241m=\u001b[39m {k: v \u001b[38;5;28;01mfor\u001b[39;00m k, v \u001b[38;5;129;01min\u001b[39;00m kwargs\u001b[38;5;241m.\u001b[39mitems() \u001b[38;5;28;01mif\u001b[39;00m k \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;129;01min\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mspecial_peft_forward_args}\n\u001b[0;32m-> 1491\u001b[0m outputs \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mbase_model\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mgenerate\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1492\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[1;32m 1493\u001b[0m outputs \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mbase_model\u001b[38;5;241m.\u001b[39mgenerate(\u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n",
|
292 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py:115\u001b[0m, in \u001b[0;36mcontext_decorator.<locals>.decorate_context\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 112\u001b[0m \u001b[38;5;129m@functools\u001b[39m\u001b[38;5;241m.\u001b[39mwraps(func)\n\u001b[1;32m 113\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mdecorate_context\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[1;32m 114\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m ctx_factory():\n\u001b[0;32m--> 115\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mfunc\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
293 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/transformers/generation/utils.py:1758\u001b[0m, in \u001b[0;36mGenerationMixin.generate\u001b[0;34m(self, inputs, generation_config, logits_processor, stopping_criteria, prefix_allowed_tokens_fn, synced_gpus, assistant_model, streamer, negative_prompt_ids, negative_prompt_attention_mask, **kwargs)\u001b[0m\n\u001b[1;32m 1750\u001b[0m input_ids, model_kwargs \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_expand_inputs_for_generation(\n\u001b[1;32m 1751\u001b[0m input_ids\u001b[38;5;241m=\u001b[39minput_ids,\n\u001b[1;32m 1752\u001b[0m expand_size\u001b[38;5;241m=\u001b[39mgeneration_config\u001b[38;5;241m.\u001b[39mnum_return_sequences,\n\u001b[1;32m 1753\u001b[0m is_encoder_decoder\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mconfig\u001b[38;5;241m.\u001b[39mis_encoder_decoder,\n\u001b[1;32m 1754\u001b[0m \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mmodel_kwargs,\n\u001b[1;32m 1755\u001b[0m )\n\u001b[1;32m 1757\u001b[0m \u001b[38;5;66;03m# 13. run sample (it degenerates to greedy search when `generation_config.do_sample=False`)\u001b[39;00m\n\u001b[0;32m-> 1758\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_sample\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 1759\u001b[0m \u001b[43m \u001b[49m\u001b[43minput_ids\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1760\u001b[0m \u001b[43m \u001b[49m\u001b[43mlogits_processor\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mprepared_logits_processor\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1761\u001b[0m \u001b[43m \u001b[49m\u001b[43mlogits_warper\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mprepared_logits_warper\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1762\u001b[0m \u001b[43m \u001b[49m\u001b[43mstopping_criteria\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mprepared_stopping_criteria\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1763\u001b[0m \u001b[43m \u001b[49m\u001b[43mgeneration_config\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mgeneration_config\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1764\u001b[0m \u001b[43m \u001b[49m\u001b[43msynced_gpus\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43msynced_gpus\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1765\u001b[0m \u001b[43m \u001b[49m\u001b[43mstreamer\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mstreamer\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1766\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mmodel_kwargs\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1767\u001b[0m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1769\u001b[0m \u001b[38;5;28;01melif\u001b[39;00m generation_mode \u001b[38;5;129;01min\u001b[39;00m (GenerationMode\u001b[38;5;241m.\u001b[39mBEAM_SAMPLE, GenerationMode\u001b[38;5;241m.\u001b[39mBEAM_SEARCH):\n\u001b[1;32m 1770\u001b[0m \u001b[38;5;66;03m# 11. prepare logits warper\u001b[39;00m\n\u001b[1;32m 1771\u001b[0m prepared_logits_warper \u001b[38;5;241m=\u001b[39m (\n\u001b[1;32m 1772\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_get_logits_warper(generation_config) \u001b[38;5;28;01mif\u001b[39;00m generation_config\u001b[38;5;241m.\u001b[39mdo_sample \u001b[38;5;28;01melse\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m\n\u001b[1;32m 1773\u001b[0m )\n",
|
294 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/transformers/generation/utils.py:2392\u001b[0m, in \u001b[0;36mGenerationMixin._sample\u001b[0;34m(self, input_ids, logits_processor, stopping_criteria, generation_config, synced_gpus, streamer, logits_warper, **model_kwargs)\u001b[0m\n\u001b[1;32m 2389\u001b[0m unfinished_sequences \u001b[38;5;241m=\u001b[39m torch\u001b[38;5;241m.\u001b[39mones(batch_size, dtype\u001b[38;5;241m=\u001b[39mtorch\u001b[38;5;241m.\u001b[39mlong, device\u001b[38;5;241m=\u001b[39minput_ids\u001b[38;5;241m.\u001b[39mdevice)\n\u001b[1;32m 2390\u001b[0m model_kwargs \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_get_initial_cache_position(input_ids, model_kwargs)\n\u001b[0;32m-> 2392\u001b[0m \u001b[38;5;28;01mwhile\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_has_unfinished_sequences\u001b[49m\u001b[43m(\u001b[49m\u001b[43mthis_peer_finished\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43msynced_gpus\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mdevice\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43minput_ids\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mdevice\u001b[49m\u001b[43m)\u001b[49m:\n\u001b[1;32m 2393\u001b[0m \u001b[38;5;66;03m# prepare model inputs\u001b[39;00m\n\u001b[1;32m 2394\u001b[0m model_inputs \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mprepare_inputs_for_generation(input_ids, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mmodel_kwargs)\n\u001b[1;32m 2396\u001b[0m \u001b[38;5;66;03m# forward pass to get next token\u001b[39;00m\n",
|
295 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/transformers/generation/utils.py:1922\u001b[0m, in \u001b[0;36mGenerationMixin._has_unfinished_sequences\u001b[0;34m(self, this_peer_finished, synced_gpus, device)\u001b[0m\n\u001b[1;32m 1920\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m this_peer_finished_flag\u001b[38;5;241m.\u001b[39mitem() \u001b[38;5;241m==\u001b[39m \u001b[38;5;241m0.0\u001b[39m:\n\u001b[1;32m 1921\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;01mFalse\u001b[39;00m\n\u001b[0;32m-> 1922\u001b[0m \u001b[38;5;28;01melif\u001b[39;00m this_peer_finished:\n\u001b[1;32m 1923\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;01mFalse\u001b[39;00m\n\u001b[1;32m 1924\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;01mTrue\u001b[39;00m\n",
|
296 |
+
"\u001b[0;31mKeyboardInterrupt\u001b[0m: "
|
297 |
+
]
|
298 |
+
}
|
299 |
+
],
|
300 |
+
"source": [
|
301 |
+
"\n",
|
302 |
+
"\n",
|
303 |
+
"\n",
|
304 |
+
"def generate(model, tokenizer, prompt, max_length=1024*4):\n",
|
305 |
+
" chat = [\n",
|
306 |
+
" {\"role\":\"user\", \"content\":prompt},\n",
|
307 |
+
" ]\n",
|
308 |
+
" inputs = tokenizer.apply_chat_template(chat, tokenize = False, add_generation_prompt = True)\n",
|
309 |
+
" #add bos token\n",
|
310 |
+
" inputs = tokenizer.bos_token + inputs\n",
|
311 |
+
" print(\"inputs:\", inputs)\n",
|
312 |
+
" inputs = tokenizer.encode(inputs, add_special_tokens=True, return_tensors=\"pt\")\n",
|
313 |
+
" print(\"inputs encoded:\", inputs)\n",
|
314 |
+
" # Move inputs to GPU\n",
|
315 |
+
" inputs = inputs.to(\"cuda\")\n",
|
316 |
+
" \n",
|
317 |
+
" outputs = model.generate(input_ids=inputs, max_new_tokens = max_length, min_new_tokens = 500)\n",
|
318 |
+
" #decode the outputs\n",
|
319 |
+
" outputs = tokenizer.decode(outputs[0], skip_special_tokens=False)\n",
|
320 |
+
" return outputs\n",
|
321 |
+
"\n",
|
322 |
+
"\n",
|
323 |
+
"\n",
|
324 |
+
"prompt = \"Write a story about discovering a lost manuscript. It can be from a famous (or infamous) author, or an unknown one.\"\n",
|
325 |
+
"print(\"Prompt:\", prompt)\n",
|
326 |
+
"outputs = generate(model, tokenizer, prompt)\n",
|
327 |
+
"print('written by the model:', model_path) \n",
|
328 |
+
"print(\"Generated story:\", outputs)\n",
|
329 |
+
"print(\"Length of the generated story:\", len(outputs.split()))"
|
330 |
+
]
|
331 |
+
},
|
332 |
+
{
|
333 |
+
"cell_type": "code",
|
334 |
+
"execution_count": 11,
|
335 |
+
"id": "20c32f2e-0da4-446c-a722-74ebef7eb508",
|
336 |
+
"metadata": {},
|
337 |
+
"outputs": [
|
338 |
+
{
|
339 |
+
"data": {
|
340 |
+
"text/plain": [
|
341 |
+
"'model/SFTmodels/gemma-2b_sftm3genre10vast'"
|
342 |
+
]
|
343 |
+
},
|
344 |
+
"execution_count": 11,
|
345 |
+
"metadata": {},
|
346 |
+
"output_type": "execute_result"
|
347 |
+
}
|
348 |
+
],
|
349 |
+
"source": [
|
350 |
+
"save_path = 'model/SFTmodels/' +model_name.split('/')[-2] + '_sft' + mode + split_by + str(lease_likes) + suffix\n",
|
351 |
+
"save_path"
|
352 |
+
]
|
353 |
+
},
|
354 |
+
{
|
355 |
+
"cell_type": "code",
|
356 |
+
"execution_count": 14,
|
357 |
+
"id": "859e0d8d-e677-4fca-981c-bca2590f2250",
|
358 |
+
"metadata": {},
|
359 |
+
"outputs": [
|
360 |
+
{
|
361 |
+
"data": {
|
362 |
+
"text/plain": [
|
363 |
+
"'<pad>'"
|
364 |
+
]
|
365 |
+
},
|
366 |
+
"execution_count": 14,
|
367 |
+
"metadata": {},
|
368 |
+
"output_type": "execute_result"
|
369 |
+
}
|
370 |
+
],
|
371 |
+
"source": []
|
372 |
+
},
|
373 |
+
{
|
374 |
+
"cell_type": "code",
|
375 |
+
"execution_count": null,
|
376 |
+
"id": "478d07be-fbfc-4ce1-841a-9345ff2a1cbd",
|
377 |
+
"metadata": {},
|
378 |
+
"outputs": [],
|
379 |
+
"source": []
|
380 |
+
}
|
381 |
+
],
|
382 |
+
"metadata": {
|
383 |
+
"kernelspec": {
|
384 |
+
"display_name": "Python 3 (ipykernel)",
|
385 |
+
"language": "python",
|
386 |
+
"name": "python3"
|
387 |
+
},
|
388 |
+
"language_info": {
|
389 |
+
"codemirror_mode": {
|
390 |
+
"name": "ipython",
|
391 |
+
"version": 3
|
392 |
+
},
|
393 |
+
"file_extension": ".py",
|
394 |
+
"mimetype": "text/x-python",
|
395 |
+
"name": "python",
|
396 |
+
"nbconvert_exporter": "python",
|
397 |
+
"pygments_lexer": "ipython3",
|
398 |
+
"version": "3.10.13"
|
399 |
+
}
|
400 |
+
},
|
401 |
+
"nbformat": 4,
|
402 |
+
"nbformat_minor": 5
|
403 |
+
}
|
.ipynb_checkpoints/Untitled1-checkpoint.ipynb
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [],
|
3 |
+
"metadata": {},
|
4 |
+
"nbformat": 4,
|
5 |
+
"nbformat_minor": 5
|
6 |
+
}
|
.ipynb_checkpoints/dataloader-checkpoint.py
ADDED
@@ -0,0 +1,295 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from datasets import Dataset, DatasetDict
|
2 |
+
import pandas as pd
|
3 |
+
import numpy as np
|
4 |
+
import glob
|
5 |
+
from sklearn.model_selection import train_test_split
|
6 |
+
import re
|
7 |
+
|
8 |
+
datapath = '/cluster/work/lawecon/Work/penghao/dataset/stories/'
|
9 |
+
pairpath = '../../../work/lawecon/Work/penghao/pairs.csv'
|
10 |
+
#3600 ->time lags
|
11 |
+
|
12 |
+
|
13 |
+
class StoryPairDataset(Dataset):
|
14 |
+
def __init__(self, datapath, pairpath, tokenizer, task, used_dataset_size=-1, train_test_split=0.1,
|
15 |
+
split_by='random',
|
16 |
+
max_len=4096*2, mode='m3', max_time_window=3000, least_likes=5, margin=True):
|
17 |
+
self.datapath = datapath
|
18 |
+
print(self.datapath)
|
19 |
+
self.train_test_split = train_test_split
|
20 |
+
self.pairpath = pairpath
|
21 |
+
self.tokenizer = tokenizer
|
22 |
+
self.max_len = max_len
|
23 |
+
self.split_by = split_by
|
24 |
+
self.least_likes = least_likes
|
25 |
+
self.max_time_window = max_time_window
|
26 |
+
self.used_dataset_size = used_dataset_size
|
27 |
+
if mode == 'm2':
|
28 |
+
self.max_time_window = 12009600
|
29 |
+
else:
|
30 |
+
self.max_time_window = max_time_window
|
31 |
+
self.pair = self.load_pair()
|
32 |
+
|
33 |
+
self.task = task
|
34 |
+
self.margin = margin
|
35 |
+
self.stories = self.load_stories(self.datapath)
|
36 |
+
print(self.stories.columns)
|
37 |
+
print(len(self.stories))
|
38 |
+
|
39 |
+
|
40 |
+
# turn df into dataset
|
41 |
+
|
42 |
+
# self.dataset = datasets.Dataset.from_pandas(self.df)
|
43 |
+
self.train, self.test = self.train_test_split__()
|
44 |
+
self.train = self.marginInclude(self.train)
|
45 |
+
self.test = self.marginInclude(self.test)
|
46 |
+
# combine train and test to a single dataset, before train and test
|
47 |
+
self.dataset = self.make_dataset()
|
48 |
+
print('current setting mode is ', mode)
|
49 |
+
print('currnet setting split_by is ', split_by)
|
50 |
+
print('current setting least_likes is ', least_likes)
|
51 |
+
|
52 |
+
|
53 |
+
|
54 |
+
def load_stories(self, path):
|
55 |
+
stories = pd.DataFrame()
|
56 |
+
#print(f"Reading stories from {path}...")
|
57 |
+
for file in glob.glob(path + '*.csv'):
|
58 |
+
#print(f"Reading {file}...")
|
59 |
+
try:
|
60 |
+
# Read the CSV file into a DataFrame
|
61 |
+
df = pd.read_csv(file)
|
62 |
+
|
63 |
+
# Check if the DataFrame is empty or not
|
64 |
+
if df.empty:
|
65 |
+
print(f"Warning: {file} is empty or not readable.")
|
66 |
+
continue
|
67 |
+
# Concatenate the DataFrames
|
68 |
+
stories = pd.concat([stories, df], ignore_index=True)
|
69 |
+
except pd.errors.EmptyDataError:
|
70 |
+
# print(f"Error: {file} is empty or not readable.")
|
71 |
+
pass
|
72 |
+
except pd.errors.ParserError:
|
73 |
+
print(f"Error: {file} cannot be parsed.")
|
74 |
+
except Exception as e:
|
75 |
+
print(f"Error: An unexpected error occurred while processing {file}. Details: {str(e)}")
|
76 |
+
# contain Index(['prompt_id', 'prompt', 'story_id', 'story_title', 'story_author', 'story_url', 'link', 'genre', 'is_sensitive', 'categories', 'likes', 'story_text', 'posted_date', 'comments'], dtype='object')
|
77 |
+
|
78 |
+
return stories
|
79 |
+
|
80 |
+
def load_pair(self):
|
81 |
+
|
82 |
+
pair = pd.read_csv(self.pairpath)
|
83 |
+
# contain the colums of prompt_id, story1_id, story2_id, rel, time_lag, least_likes
|
84 |
+
|
85 |
+
pair = pair[pair['time_lag'] <= self.max_time_window]
|
86 |
+
print('the max of tima lag is ', pair['time_lag'].max())
|
87 |
+
pair = pair[pair['least_likes'] >= self.least_likes]
|
88 |
+
# swap the order of story1 and story2 if rel is negative, and makes rel positive
|
89 |
+
pair.loc[pair['rel'] < 0, ['story1_id', 'story2_id']] = pair.loc[
|
90 |
+
pair['rel'] < 0, ['story2_id', 'story1_id']].values
|
91 |
+
pair['rel'] = abs(pair['rel'])
|
92 |
+
# filter the pair if they have same story id
|
93 |
+
pair = pair[pair['story1_id'] != pair['story2_id']]
|
94 |
+
if self.used_dataset_size == -1:
|
95 |
+
self.used_dataset_size = len(pair)
|
96 |
+
else:
|
97 |
+
pair = pair.sample(n=self.used_dataset_size)
|
98 |
+
print('the total number of pairs is ', len(pair))
|
99 |
+
# remove the duplicate pairs
|
100 |
+
pair = pair.drop_duplicates(subset=['story1_id', 'story2_id'])
|
101 |
+
#remove the rel = 0
|
102 |
+
pair = pair[pair['rel'] != 0]
|
103 |
+
print('the number of effective pairs is ', len(pair))
|
104 |
+
return pair
|
105 |
+
|
106 |
+
def marginInclude(self, df):
|
107 |
+
if self.margin:
|
108 |
+
# drop the column of rel
|
109 |
+
df = df.drop(columns=['rel'])
|
110 |
+
else:
|
111 |
+
# rename rel to margin
|
112 |
+
df = df.rename(columns={'rel': 'margin'})
|
113 |
+
return df
|
114 |
+
|
115 |
+
def train_test_split__(self):
|
116 |
+
'''
|
117 |
+
split the pairs into train and test set
|
118 |
+
:return:
|
119 |
+
'''
|
120 |
+
test_size = round(len(self.pair) * self.train_test_split)
|
121 |
+
|
122 |
+
if self.split_by == 'time':
|
123 |
+
# give the pair the information of year according to the story_id
|
124 |
+
self.stories['posted_date'] = pd.to_datetime(self.stories['posted_date'])
|
125 |
+
#convert datetime64[ns] to comparable format, e.g. 2021-04-27 23:29:00 -> 20210427
|
126 |
+
self.stories['posted_date'] = self.stories['posted_date'].dt.strftime('%Y%m%d')
|
127 |
+
# the time after 2022 is test set
|
128 |
+
|
129 |
+
|
130 |
+
test = self.pair[self.pair['story1_id'].apply(lambda x: int(self.stories[self.stories['story_id'] == x]['posted_date'].values[0]) > 20220000)]
|
131 |
+
train = self.pair[self.pair['story1_id'].apply(lambda x: int(self.stories[self.stories['story_id'] == x]['posted_date'].values[0]) <= 20220000)]
|
132 |
+
print('the number of test set is ', len(test))
|
133 |
+
print('the number of train set is ', len(train))
|
134 |
+
print('the ratio of test set is ', len(test) / (len(test) + len(train)))
|
135 |
+
|
136 |
+
elif self.split_by == 'random':
|
137 |
+
|
138 |
+
train, test = train_test_split(self.pair, test_size=self.train_test_split)
|
139 |
+
|
140 |
+
# covert to huggingface dataset
|
141 |
+
|
142 |
+
|
143 |
+
elif self.split_by == 'genre':
|
144 |
+
|
145 |
+
# count the number of pairs for each category
|
146 |
+
# give the pair the information of category according to the story_id
|
147 |
+
self.pair['genre'] = self.pair['story1_id'].apply(
|
148 |
+
lambda x: self.stories[self.stories['story_id'] == x]['genre'].values[0])
|
149 |
+
genre = {}
|
150 |
+
for c in self.pair['genre'].unique():
|
151 |
+
genre[c] = len(self.pair[self.pair['genre'] == c])
|
152 |
+
# select the category to nearest to 10 per cent of the total
|
153 |
+
genre = dict(sorted(genre.items(), key=lambda item: item[1], reverse=True))#sort the genre by the number of pairs from high to low
|
154 |
+
print(genre)
|
155 |
+
total = sum(genre.values())
|
156 |
+
#select the close genre to 10% of the total
|
157 |
+
test_genre = []
|
158 |
+
test_count = 0
|
159 |
+
while test_count < total * self.train_test_split:
|
160 |
+
test_genre.append(list(genre.keys())[0])
|
161 |
+
test_count += genre[list(genre.keys())[0]]
|
162 |
+
del genre[list(genre.keys())[0]]
|
163 |
+
if test_count + genre[list(genre.keys())[0]] > total * self.train_test_split:
|
164 |
+
break
|
165 |
+
|
166 |
+
test = self.pair[self.pair['genre'].apply(lambda x: x in test_genre)]
|
167 |
+
train = self.pair[self.pair['genre'].apply(lambda x: x not in test_genre)]
|
168 |
+
print('the genre of test set is ', test_genre)
|
169 |
+
print('the percentage of test set is ', test_count / total,'where total is ', total)
|
170 |
+
|
171 |
+
elif self.split_by == 'chaos':
|
172 |
+
#instead using the pairs, we randomly assign the story id to replace the old story id from that prompt
|
173 |
+
for i in range(len(self.pair)):
|
174 |
+
self.pair.at[i, 'story1_id'] = np.random.choice(self.stories[self.stories['prompt_id'] == self.pair.at[i, 'prompt_id']]['story_id'].values)
|
175 |
+
self.pair.at[i, 'story2_id'] = np.random.choice(self.stories[self.stories['prompt_id'] == self.pair.at[i, 'prompt_id']]['story_id'].values)
|
176 |
+
train, test = train_test_split(self.pair, test_size=self.train_test_split)
|
177 |
+
return train, test
|
178 |
+
|
179 |
+
def apply_template_to_text(self, row):
|
180 |
+
|
181 |
+
# Ensure proper access to columns in pair
|
182 |
+
prompt_id, story1_id, story2_id = row[['prompt_id', 'story1_id', 'story2_id']]
|
183 |
+
|
184 |
+
# Extract text based on IDs
|
185 |
+
|
186 |
+
chosen_prompt = self.stories[self.stories['prompt_id'] == prompt_id]['prompt']
|
187 |
+
chosen_prompt = chosen_prompt.values[0]
|
188 |
+
chosen_story = self.stories[self.stories['story_id'] == story1_id]['story_title'].values[0] + '/n' + \
|
189 |
+
self.stories[self.stories['story_id'] == story1_id]['story_text'].values[0]
|
190 |
+
|
191 |
+
rejected_prompt = self.stories[self.stories['prompt_id'] == prompt_id]['prompt']
|
192 |
+
rejected_prompt = rejected_prompt.values[0]
|
193 |
+
rejected_story = self.stories[self.stories['story_id'] == story2_id]['story_title'].values[0] + '/n' + \
|
194 |
+
self.stories[self.stories['story_id'] == story2_id]['story_text'].values[0]
|
195 |
+
|
196 |
+
# Create chosen and rejected text dictionaries
|
197 |
+
chosen_text = [{'role': 'user', 'content': chosen_prompt},
|
198 |
+
{'role': 'assistant', 'content': chosen_story}]
|
199 |
+
|
200 |
+
rejected_text = [{'role': 'user', 'content': rejected_prompt},
|
201 |
+
{'role': 'assistant', 'content': rejected_story}]
|
202 |
+
|
203 |
+
# Apply tokenizer to chosen and rejected text
|
204 |
+
chosen_text = self.tokenizer.apply_chat_template(chosen_text, tokenize=False)
|
205 |
+
rejected_text = self.tokenizer.apply_chat_template(rejected_text, tokenize=False)
|
206 |
+
|
207 |
+
res = {}
|
208 |
+
res['chosen_text'] = chosen_text
|
209 |
+
res['rejected_text'] = rejected_text
|
210 |
+
#add eos and bos token
|
211 |
+
res['chosen_text'] = self.tokenizer.bos_token + res['chosen_text'] + self.tokenizer.eos_token
|
212 |
+
res['rejected_text'] = self.tokenizer.bos_token + res['rejected_text'] + self.tokenizer.eos_token
|
213 |
+
|
214 |
+
res['text'] = chosen_text
|
215 |
+
#add eos and bos token
|
216 |
+
res['text'] = self.tokenizer.bos_token + res['text'] + self.tokenizer.eos_token
|
217 |
+
if 'gemma' in self.tokenizer.name_or_path:
|
218 |
+
split_words = '<|im_start|>assistant\n'
|
219 |
+
elif 'mistral' in self.tokenizer.name_or_path or 'llama' in self.tokenizer.name_or_path:
|
220 |
+
split_words = '[/INST]'
|
221 |
+
|
222 |
+
chosen_text_tmp = chosen_text.split(split_words)[-1]
|
223 |
+
prompt_text = chosen_text.replace(chosen_text_tmp, '')
|
224 |
+
chosen_text = chosen_text_tmp
|
225 |
+
|
226 |
+
rejected_text = rejected_text.split(split_words)[-1]
|
227 |
+
res['prompt'] = prompt_text
|
228 |
+
res['chosen'] = chosen_text
|
229 |
+
res['rejected'] = rejected_text
|
230 |
+
# add bos and eos token
|
231 |
+
res['prompt'] = self.tokenizer.bos_token + res['prompt']
|
232 |
+
res['chosen'] = res['chosen'] + self.tokenizer.eos_token
|
233 |
+
res['rejected'] = res['rejected'] + self.tokenizer.eos_token
|
234 |
+
return res
|
235 |
+
|
236 |
+
def convert_sft(self,df):
|
237 |
+
#collect all the story id in the pair
|
238 |
+
story_ids = list(set(df['story1_id'].values) | set(df['story2_id'].values))
|
239 |
+
#now make new train and test set as story_ids as story1_id and story2_id
|
240 |
+
df = pd.DataFrame()
|
241 |
+
df['story1_id'] = story_ids
|
242 |
+
df['story2_id'] = df['story1_id']
|
243 |
+
#reload stories
|
244 |
+
#self.stories = self.load_stories(self.datapath)
|
245 |
+
# get prompt_id from the pair
|
246 |
+
def get_prompt_id(x):
|
247 |
+
return self.stories[self.stories['story_id'] == x]['prompt_id'].values[0]
|
248 |
+
df['prompt_id'] = df['story1_id'].apply(lambda x: get_prompt_id(x))
|
249 |
+
return df
|
250 |
+
|
251 |
+
|
252 |
+
|
253 |
+
def make_dataset(self):
|
254 |
+
# reset the index
|
255 |
+
self.train.reset_index(drop=True, inplace=True)
|
256 |
+
self.test.reset_index(drop=True, inplace=True)
|
257 |
+
entries = []
|
258 |
+
if self.task == 'rm':
|
259 |
+
entries = ['chosen_text', 'rejected_text']
|
260 |
+
elif self.task == 'dpo':
|
261 |
+
entries = ['prompt', 'chosen', 'rejected']
|
262 |
+
elif self.task == 'sft':
|
263 |
+
self.train = self.convert_sft(self.train)
|
264 |
+
self.test = self.convert_sft(self.test)
|
265 |
+
entries = ['text']
|
266 |
+
|
267 |
+
print('the columns of train is ', self.train.columns)
|
268 |
+
for index, row in self.train.iterrows():
|
269 |
+
res = self.apply_template_to_text(row)
|
270 |
+
for e in entries:
|
271 |
+
self.train.at[index, e] = res[e]
|
272 |
+
|
273 |
+
for index, row in self.test.iterrows():
|
274 |
+
res = self.apply_template_to_text(row)
|
275 |
+
for e in entries:
|
276 |
+
self.test.at[index, e] = res[e]
|
277 |
+
|
278 |
+
print('the first example of train is ', self.train.iloc[0])
|
279 |
+
#since the we aggred on max_len = 8192, we need to filter this
|
280 |
+
|
281 |
+
if self.margin:
|
282 |
+
entries.append('margin')
|
283 |
+
|
284 |
+
train_dataset = Dataset.from_pandas(self.train[entries])
|
285 |
+
test_dataset = Dataset.from_pandas(self.test[entries])
|
286 |
+
|
287 |
+
return DatasetDict({'train': train_dataset, 'test': test_dataset})
|
288 |
+
|
289 |
+
def save_dataset(self, path):
|
290 |
+
'''
|
291 |
+
save the dataset to the readsy folder
|
292 |
+
:param path:
|
293 |
+
:return:
|
294 |
+
'''
|
295 |
+
self.dataset.save_to_disk('../' + path)
|
.ipynb_checkpoints/reward_modeling-checkpoint.py
ADDED
@@ -0,0 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright 2023 The HuggingFace Inc. team. All rights reserved.
|
2 |
+
#
|
3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
+
# you may not use this file except in compliance with the License.
|
5 |
+
# You may obtain a copy of the License at
|
6 |
+
#
|
7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8 |
+
#
|
9 |
+
# Unless required by applicable law or agreed to in writing, software
|
10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
+
# See the License for the specific language governing permissions and
|
13 |
+
# limitations under the License.
|
14 |
+
"""
|
15 |
+
python examples/scripts/reward_modeling.py \
|
16 |
+
--model_name_or_path=facebook/opt-350m \
|
17 |
+
--output_dir="reward_modeling_anthropic_hh" \
|
18 |
+
--per_device_train_batch_size=16 \
|
19 |
+
--num_train_epochs=1 \
|
20 |
+
--gradient_accumulation_steps=2 \
|
21 |
+
--gradient_checkpointing=True \
|
22 |
+
--learning_rate=1.41e-5 \
|
23 |
+
--report_to="wandb" \
|
24 |
+
--remove_unused_columns=False \
|
25 |
+
--optim="adamw_torch" \
|
26 |
+
--logging_steps=10 \
|
27 |
+
--eval_strategy="steps" \
|
28 |
+
--eval_steps=500 \
|
29 |
+
--max_length=512 \
|
30 |
+
"""
|
31 |
+
import warnings
|
32 |
+
|
33 |
+
import torch
|
34 |
+
from datasets import load_dataset
|
35 |
+
from tqdm import tqdm
|
36 |
+
from transformers import AutoModelForSequenceClassification, AutoTokenizer, HfArgumentParser
|
37 |
+
|
38 |
+
from trl import ModelConfig, RewardConfig, RewardTrainer, get_kbit_device_map, get_peft_config, get_quantization_config
|
39 |
+
|
40 |
+
from dataclasses import dataclass, field
|
41 |
+
from transformers import TrainingArguments
|
42 |
+
print('imported')
|
43 |
+
@dataclass
|
44 |
+
class DatasetConfig:
|
45 |
+
reedsy_dataset: str = field(default=True, metadata={"help": "Path to the Reedsy dataset"})
|
46 |
+
datapath: str = field(default=None, metadata={"help": "Path to the dataset"})
|
47 |
+
pairpath: str = field(default=None, metadata={"help": "Path to the story pairs"})
|
48 |
+
split_by: str = field(default="random", metadata={"help": "How to split the dataset"})
|
49 |
+
dt_mode: str = field(default="m3", metadata={"help": "DT mode"})
|
50 |
+
dt_margin: bool = field(default=False, metadata={"help": "DT margin flag"})
|
51 |
+
time_window: int = field(default=3600, metadata={"help": "Time window for DT"})
|
52 |
+
used_dataset_size: int = field(default=-1, metadata={"help": "Size of the dataset to use"})
|
53 |
+
|
54 |
+
tqdm.pandas()
|
55 |
+
|
56 |
+
|
57 |
+
if __name__ == "__main__":
|
58 |
+
parser = HfArgumentParser((RewardConfig, ModelConfig, DatasetConfig))
|
59 |
+
config, model_config, dataset_config = parser.parse_args_into_dataclasses()
|
60 |
+
config.gradient_checkpointing_kwargs = dict(use_reentrant=False)
|
61 |
+
|
62 |
+
################
|
63 |
+
# Model & Tokenizer
|
64 |
+
################
|
65 |
+
torch_dtype = (
|
66 |
+
model_config.torch_dtype
|
67 |
+
if model_config.torch_dtype in ["auto", None]
|
68 |
+
else getattr(torch, model_config.torch_dtype)
|
69 |
+
)
|
70 |
+
quantization_config = get_quantization_config(model_config)
|
71 |
+
model_kwargs = dict(
|
72 |
+
revision=model_config.model_revision,
|
73 |
+
device_map=get_kbit_device_map() if quantization_config is not None else None,
|
74 |
+
quantization_config=quantization_config,
|
75 |
+
)
|
76 |
+
tokenizer = AutoTokenizer.from_pretrained(
|
77 |
+
model_config.model_name_or_path, trust_remote_code=model_config.trust_remote_code, use_fast=True
|
78 |
+
)
|
79 |
+
model = AutoModelForSequenceClassification.from_pretrained(
|
80 |
+
model_config.model_name_or_path, num_labels=1, trust_remote_code=model_config.trust_remote_code, **model_kwargs
|
81 |
+
)
|
82 |
+
|
83 |
+
if model_config.lora_task_type != "SEQ_CLS":
|
84 |
+
warnings.warn(
|
85 |
+
"You are using a `task_type` that is different than `SEQ_CLS` for PEFT. This will lead to silent bugs"
|
86 |
+
" Make sure to pass --lora_task_type SEQ_CLS when using this script."
|
87 |
+
)
|
88 |
+
|
89 |
+
################
|
90 |
+
# Dataset
|
91 |
+
################
|
92 |
+
if not dataset_config.reedsy_dataset:
|
93 |
+
raw_datasets = load_dataset(dataset_config.dataset_name)
|
94 |
+
|
95 |
+
train_dataset = raw_datasets[dataset_config.dataset_train_split]
|
96 |
+
eval_dataset = raw_datasets[dataset_config.dataset_test_split]
|
97 |
+
else:
|
98 |
+
from dataloader import StoryPairDataset
|
99 |
+
SPdataloader = StoryPairDataset(dataset_config.datapath,
|
100 |
+
dataset_config.pairpath,
|
101 |
+
tokenizer,
|
102 |
+
task='rm',
|
103 |
+
used_dataset_size=dataset_config.used_dataset_size,
|
104 |
+
train_test_split=0.1,
|
105 |
+
split_by=dataset_config.split_by,
|
106 |
+
max_len=4096,
|
107 |
+
mode= dataset_config.dt_mode,
|
108 |
+
max_time_window=dataset_config.time_window,
|
109 |
+
least_likes= 10,
|
110 |
+
margin=dataset_config.dt_margin)
|
111 |
+
print('dataset ready')
|
112 |
+
|
113 |
+
def preprocess_function(examples):
|
114 |
+
chosen_text = examples['chosen_text']
|
115 |
+
rejected_text = examples['rejected_text']
|
116 |
+
tokenized_input_chosen = tokenizer(chosen_text, truncation=True)
|
117 |
+
tokenized_input_rejected = tokenizer(rejected_text, truncation=True)
|
118 |
+
examples['input_ids_chosen'] = tokenized_input_chosen['input_ids']
|
119 |
+
examples['attention_mask_chosen'] = tokenized_input_chosen['attention_mask']
|
120 |
+
examples['input_ids_rejected'] = tokenized_input_rejected['input_ids']
|
121 |
+
examples['attention_mask_rejected'] = tokenized_input_rejected['attention_mask']
|
122 |
+
return examples
|
123 |
+
|
124 |
+
|
125 |
+
train_dataset = SPdataloader.dataset['train'].map(preprocess_function,num_proc=32)
|
126 |
+
eval_dataset = SPdataloader.dataset['test'].map(preprocess_function,num_proc=32)
|
127 |
+
|
128 |
+
# Preprocess the dataset and filter out examples that are longer than args.max_length
|
129 |
+
# raw_datasets = raw_datasets.map(
|
130 |
+
# preprocess_function,
|
131 |
+
# batched=True,
|
132 |
+
# num_proc=4,
|
133 |
+
# )
|
134 |
+
|
135 |
+
# train_dataset = dataloader.dataset['train'].map(preprocess_function,num_proc=32)
|
136 |
+
# eval_dataset = dataloader.dataset['test'].map(preprocess_function,num_proc=32)
|
137 |
+
print('dataset ready')
|
138 |
+
#print('one example:', train_dataset[0])
|
139 |
+
|
140 |
+
|
141 |
+
################
|
142 |
+
# Training
|
143 |
+
################
|
144 |
+
trainer = RewardTrainer(
|
145 |
+
model=model,
|
146 |
+
tokenizer=tokenizer,
|
147 |
+
args=config,
|
148 |
+
train_dataset=train_dataset,
|
149 |
+
eval_dataset=eval_dataset,
|
150 |
+
peft_config=get_peft_config(model_config),
|
151 |
+
)
|
152 |
+
trainer.train()
|
153 |
+
saving_path = '/workspace/RMmodels/' + model_config.model_name_or_path.split('/')[-1] + str(dataset_config.time_window)
|
154 |
+
trainer.save_model(saving_path)
|
155 |
+
trainer.push_to_hub()
|
156 |
+
metrics = trainer.evaluate()
|
157 |
+
trainer.log_metrics("eval", metrics)
|
158 |
+
print(metrics)
|
.ipynb_checkpoints/rm-checkpoint.ipynb
ADDED
@@ -0,0 +1,565 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
+
"import warnings\n",
|
13 |
+
"from peft import PeftModel, PeftConfig, get_peft_model, LoraConfig\n",
|
14 |
+
"from transformers import AutoModelForSequenceClassification, AutoTokenizer\n",
|
15 |
+
"from dataloader import StoryPairDataset\n",
|
16 |
+
"from trl import RewardTrainer, RewardConfig\n",
|
17 |
+
"import os"
|
18 |
+
]
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"cell_type": "code",
|
22 |
+
"execution_count": 2,
|
23 |
+
"id": "65d882eb-eea1-4103-858c-0254f12971af",
|
24 |
+
"metadata": {},
|
25 |
+
"outputs": [],
|
26 |
+
"source": [
|
27 |
+
"datapath = 'readsy/stories/'\n",
|
28 |
+
"pairpath = 'readsy/pairs/readsy_story_pairs0407.csv'\n",
|
29 |
+
"model_name = 'model/SFTmodels/gemma-2b_sftm3genre10vast/'\n",
|
30 |
+
"base_model = 'model/gemma/gemma-2b/'\n",
|
31 |
+
"mode='m3' if 'm3' in model_name else 'm2'\n",
|
32 |
+
"if 'random' in model_name:\n",
|
33 |
+
" split_by = 'random'\n",
|
34 |
+
"elif 'time' in model_name:\n",
|
35 |
+
" split_by = 'time'\n",
|
36 |
+
"else:\n",
|
37 |
+
" split_by = 'random'\n",
|
38 |
+
"lease_likes = 10\n",
|
39 |
+
"max_seq_length = 2048*2 # Choose any! We auto support RoPE Scaling internally!\n",
|
40 |
+
"dtype = None # None for auto detection. Float16 for Tesla T4, V100, Bfloat16 for Ampere+\n",
|
41 |
+
"load_in_4bit = True # Use 4bit quantization to reduce memory usage. Can be False.\n",
|
42 |
+
"margin = False\n",
|
43 |
+
"save_path = 'model/reward_models/' +model_name.split('/')[-2] + '_rm'\n",
|
44 |
+
"if margin:\n",
|
45 |
+
" save_path += 'margin'\n",
|
46 |
+
"\n"
|
47 |
+
]
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"cell_type": "code",
|
51 |
+
"execution_count": 3,
|
52 |
+
"id": "e78f9b52-6a59-4f1a-9923-d521bba02630",
|
53 |
+
"metadata": {},
|
54 |
+
"outputs": [
|
55 |
+
{
|
56 |
+
"name": "stderr",
|
57 |
+
"output_type": "stream",
|
58 |
+
"text": [
|
59 |
+
"The `load_in_4bit` and `load_in_8bit` arguments are deprecated and will be removed in the future versions. Please, pass a `BitsAndBytesConfig` object in `quantization_config` argument instead.\n",
|
60 |
+
"`low_cpu_mem_usage` was None, now set to True since model is quantized.\n",
|
61 |
+
"`config.hidden_act` is ignored, you should use `config.hidden_activation` instead.\n",
|
62 |
+
"Gemma's activation function will be set to `gelu_pytorch_tanh`. Please, use\n",
|
63 |
+
"`config.hidden_activation` if you want to override this behaviour.\n",
|
64 |
+
"See https://github.com/huggingface/transformers/pull/29402 for more details.\n",
|
65 |
+
"Some weights of GemmaForSequenceClassification were not initialized from the model checkpoint at unsloth/gemma-2b and are newly initialized: ['score.weight']\n",
|
66 |
+
"You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.\n"
|
67 |
+
]
|
68 |
+
}
|
69 |
+
],
|
70 |
+
"source": [
|
71 |
+
"model = AutoModelForSequenceClassification.from_pretrained('unsloth/gemma-2b', num_labels = 1, load_in_4bit=True)\n",
|
72 |
+
"model = PeftModel.from_pretrained(model, model_name)\n",
|
73 |
+
"tokenizer = AutoTokenizer.from_pretrained(base_model)\n"
|
74 |
+
]
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"cell_type": "code",
|
78 |
+
"execution_count": 4,
|
79 |
+
"id": "0ffc0f5a-0974-4b4a-b48a-34b5bd0b7748",
|
80 |
+
"metadata": {},
|
81 |
+
"outputs": [],
|
82 |
+
"source": [
|
83 |
+
"peft_config = LoraConfig(\n",
|
84 |
+
" lora_alpha= 16,\n",
|
85 |
+
" lora_dropout= 0,\n",
|
86 |
+
" r= 16,\n",
|
87 |
+
" bias= \"none\",\n",
|
88 |
+
" task_type= \"SEQ_CLS\",\n",
|
89 |
+
" target_modules=[\n",
|
90 |
+
" \"q_proj\",\n",
|
91 |
+
" \"up_proj\",\n",
|
92 |
+
" \"o_proj\",\n",
|
93 |
+
" \"k_proj\",\n",
|
94 |
+
" \"down_proj\",\n",
|
95 |
+
" \"gate_proj\",\n",
|
96 |
+
" \"v_proj\"],\n",
|
97 |
+
")\n",
|
98 |
+
"model = get_peft_model(model, peft_config)"
|
99 |
+
]
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"cell_type": "code",
|
103 |
+
"execution_count": 5,
|
104 |
+
"id": "5360a7dc-4e72-4b4a-98dc-dedddaf1f73a",
|
105 |
+
"metadata": {},
|
106 |
+
"outputs": [],
|
107 |
+
"source": [
|
108 |
+
"training_args = RewardConfig(\n",
|
109 |
+
" num_train_epochs= 3,\n",
|
110 |
+
" per_device_train_batch_size= 1,\n",
|
111 |
+
" gradient_accumulation_steps= 1,\n",
|
112 |
+
" optim = \"adamw_8bit\",\n",
|
113 |
+
" logging_steps= 5,\n",
|
114 |
+
" save_strategy= \"epoch\",\n",
|
115 |
+
" learning_rate= 1e-4, #0 -> test if the model is trainable\n",
|
116 |
+
" weight_decay= 0.01,\n",
|
117 |
+
" warmup_steps= 5,\n",
|
118 |
+
" fp16= not torch.cuda.is_bf16_supported(),\n",
|
119 |
+
" bf16= torch.cuda.is_bf16_supported(),\n",
|
120 |
+
" max_grad_norm= 0.3,\n",
|
121 |
+
" lr_scheduler_type= \"cosine\",\n",
|
122 |
+
" disable_tqdm= True,\n",
|
123 |
+
" #report_to= \"wandb\",\n",
|
124 |
+
" dataloader_drop_last= True,\n",
|
125 |
+
" max_length= 1024*4,\n",
|
126 |
+
" output_dir = save_path,\n",
|
127 |
+
")"
|
128 |
+
]
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"cell_type": "code",
|
132 |
+
"execution_count": 6,
|
133 |
+
"id": "57742386-f1d2-4ce3-86a6-db9a67ec8e1c",
|
134 |
+
"metadata": {},
|
135 |
+
"outputs": [
|
136 |
+
{
|
137 |
+
"name": "stdout",
|
138 |
+
"output_type": "stream",
|
139 |
+
"text": [
|
140 |
+
"the total number of pairs is 100\n",
|
141 |
+
"the number of effective pairs is 84\n"
|
142 |
+
]
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"name": "stderr",
|
146 |
+
"output_type": "stream",
|
147 |
+
"text": [
|
148 |
+
"No chat template is set for this tokenizer, falling back to a default class-level template. This is very error-prone, because models are often trained with templates different from the class default! Default chat templates are a legacy feature and will be removed in Transformers v4.43, at which point any code depending on them will stop working. We recommend setting a valid chat template before then to ensure that this model continues working without issues.\n"
|
149 |
+
]
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"name": "stdout",
|
153 |
+
"output_type": "stream",
|
154 |
+
"text": [
|
155 |
+
"Index(['prompt_id', 'prompt', 'story_id', 'story_title', 'story_author',\n",
|
156 |
+
" 'story_url', 'link', 'genre', 'is_sensitive', 'categories', 'likes',\n",
|
157 |
+
" 'story_text', 'posted_date', 'comments'],\n",
|
158 |
+
" dtype='object')\n",
|
159 |
+
"the columns of train is Index(['prompt_id', 'story1_id', 'story2_id', 'time_lag', 'least_likes'], dtype='object')\n",
|
160 |
+
"the first example of train is prompt_id prompt_0792\n",
|
161 |
+
"story1_id 15ginj\n",
|
162 |
+
"story2_id h7yder\n",
|
163 |
+
"time_lag 2100.0\n",
|
164 |
+
"least_likes 11\n",
|
165 |
+
"chosen_text <bos><|im_start|>user\\nWrite a story about a c...\n",
|
166 |
+
"rejected_text <bos><|im_start|>user\\nWrite a story about a c...\n",
|
167 |
+
"Name: 0, dtype: object\n"
|
168 |
+
]
|
169 |
+
}
|
170 |
+
],
|
171 |
+
"source": [
|
172 |
+
"dataloader = StoryPairDataset(datapath,\n",
|
173 |
+
" pairpath,\n",
|
174 |
+
" tokenizer,\n",
|
175 |
+
" task='rm',\n",
|
176 |
+
" used_dataset_size=100,\n",
|
177 |
+
" train_test_split=0.1,\n",
|
178 |
+
" split_by=split_by,\n",
|
179 |
+
" max_len=4096,\n",
|
180 |
+
" mode= mode,\n",
|
181 |
+
" max_time_window=3600,\n",
|
182 |
+
" least_likes= lease_likes,\n",
|
183 |
+
" margin= margin)\n",
|
184 |
+
"#map data columns ['chosen_text', 'rejected_text'] into `input_ids_chosen`, `attention_mask_chosen`, `input_ids_rejected` and `attention_mask_rejected` with the tokenizer\n"
|
185 |
+
]
|
186 |
+
},
|
187 |
+
{
|
188 |
+
"cell_type": "code",
|
189 |
+
"execution_count": 7,
|
190 |
+
"id": "c11ab177-6e35-44a7-8fa5-e38aca3c7404",
|
191 |
+
"metadata": {},
|
192 |
+
"outputs": [
|
193 |
+
{
|
194 |
+
"data": {
|
195 |
+
"application/vnd.jupyter.widget-view+json": {
|
196 |
+
"model_id": "485a4dc610fd4fb2a608f12326138c4b",
|
197 |
+
"version_major": 2,
|
198 |
+
"version_minor": 0
|
199 |
+
},
|
200 |
+
"text/plain": [
|
201 |
+
"Map (num_proc=32): 0%| | 0/75 [00:00<?, ? examples/s]"
|
202 |
+
]
|
203 |
+
},
|
204 |
+
"metadata": {},
|
205 |
+
"output_type": "display_data"
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"name": "stderr",
|
209 |
+
"output_type": "stream",
|
210 |
+
"text": [
|
211 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
212 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
213 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
214 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
215 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
216 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
217 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
218 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
219 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
220 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
221 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
222 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
223 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
224 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
225 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
226 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
227 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
228 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
229 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
230 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
231 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
232 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
233 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
234 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
235 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
236 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
237 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
238 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
239 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
240 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
241 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
242 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
243 |
+
"num_proc must be <= 9. Reducing num_proc to 9 for dataset of size 9.\n"
|
244 |
+
]
|
245 |
+
},
|
246 |
+
{
|
247 |
+
"data": {
|
248 |
+
"application/vnd.jupyter.widget-view+json": {
|
249 |
+
"model_id": "9174055e52f343c1800c887572e61b6e",
|
250 |
+
"version_major": 2,
|
251 |
+
"version_minor": 0
|
252 |
+
},
|
253 |
+
"text/plain": [
|
254 |
+
"Map (num_proc=9): 0%| | 0/9 [00:00<?, ? examples/s]"
|
255 |
+
]
|
256 |
+
},
|
257 |
+
"metadata": {},
|
258 |
+
"output_type": "display_data"
|
259 |
+
},
|
260 |
+
{
|
261 |
+
"name": "stderr",
|
262 |
+
"output_type": "stream",
|
263 |
+
"text": [
|
264 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
265 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
266 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
267 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
268 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
269 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
270 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
271 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n",
|
272 |
+
"Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n"
|
273 |
+
]
|
274 |
+
}
|
275 |
+
],
|
276 |
+
"source": [
|
277 |
+
"def preprocess_function(examples):\n",
|
278 |
+
" chosen_text = examples['chosen_text']\n",
|
279 |
+
" rejected_text = examples['rejected_text']\n",
|
280 |
+
" tokenized_input_chosen = tokenizer(chosen_text, truncation=True)\n",
|
281 |
+
" tokenized_input_rejected = tokenizer(rejected_text, truncation=True)\n",
|
282 |
+
" examples['input_ids_chosen'] = tokenized_input_chosen['input_ids']\n",
|
283 |
+
" examples['attention_mask_chosen'] = tokenized_input_chosen['attention_mask']\n",
|
284 |
+
" examples['input_ids_rejected'] = tokenized_input_rejected['input_ids']\n",
|
285 |
+
" examples['attention_mask_rejected'] = tokenized_input_rejected['attention_mask']\n",
|
286 |
+
" return examples\n",
|
287 |
+
"\n",
|
288 |
+
"traindata = dataloader.dataset['train'].map(preprocess_function,num_proc=32)\n",
|
289 |
+
"testdata = dataloader.dataset['test'].map(preprocess_function,num_proc=32)\n"
|
290 |
+
]
|
291 |
+
},
|
292 |
+
{
|
293 |
+
"cell_type": "code",
|
294 |
+
"execution_count": 8,
|
295 |
+
"id": "3d78d559-0a9a-48d6-be0d-0c3624e649ad",
|
296 |
+
"metadata": {},
|
297 |
+
"outputs": [],
|
298 |
+
"source": [
|
299 |
+
"from dataclasses import dataclass, field\n",
|
300 |
+
"from typing import Any, Dict, List, Optional, Union\n",
|
301 |
+
"from transformers.utils import PaddingStrategy\n",
|
302 |
+
"@dataclass\n",
|
303 |
+
"class RewardDataCollatorWithPadding:\n",
|
304 |
+
" tokenizer: AutoTokenizer\n",
|
305 |
+
" padding: Union[bool, str, PaddingStrategy] = True\n",
|
306 |
+
" max_length: Optional[int] = None\n",
|
307 |
+
" pad_to_multiple_of: Optional[int] = None\n",
|
308 |
+
" return_tensors: str = \"pt\"\n",
|
309 |
+
"\n",
|
310 |
+
" def __call__(self, features: List[Dict[str, Any]]) -> Dict[str, Any]:\n",
|
311 |
+
" merged_features = []\n",
|
312 |
+
" for feature in features:\n",
|
313 |
+
" merged_features.append(\n",
|
314 |
+
" {\n",
|
315 |
+
" \"input_ids\": feature[\"input_ids_chosen\"],\n",
|
316 |
+
" \"attention_mask\": feature[\"attention_mask_chosen\"],\n",
|
317 |
+
" }\n",
|
318 |
+
" )\n",
|
319 |
+
" merged_features.append(\n",
|
320 |
+
" {\n",
|
321 |
+
" \"input_ids\": feature[\"input_ids_rejected\"],\n",
|
322 |
+
" \"attention_mask\": feature[\"attention_mask_rejected\"],\n",
|
323 |
+
" }\n",
|
324 |
+
" )\n",
|
325 |
+
" batch = self.tokenizer.pad(\n",
|
326 |
+
" merged_features,\n",
|
327 |
+
" padding=self.padding,\n",
|
328 |
+
" max_length=self.max_length,\n",
|
329 |
+
" pad_to_multiple_of=self.pad_to_multiple_of,\n",
|
330 |
+
" return_tensors=self.return_tensors,\n",
|
331 |
+
" )\n",
|
332 |
+
" batch = {\n",
|
333 |
+
" \"input_ids\": batch[\"input_ids\"],\n",
|
334 |
+
" \"attention_mask\": batch[\"attention_mask\"],\n",
|
335 |
+
" \"return_loss\": True,\n",
|
336 |
+
" }\n",
|
337 |
+
" return batch"
|
338 |
+
]
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"cell_type": "code",
|
342 |
+
"execution_count": 12,
|
343 |
+
"id": "bd267f29-20bd-496c-8f07-08bc76eeb583",
|
344 |
+
"metadata": {},
|
345 |
+
"outputs": [
|
346 |
+
{
|
347 |
+
"name": "stderr",
|
348 |
+
"output_type": "stream",
|
349 |
+
"text": [
|
350 |
+
"/opt/conda/lib/python3.10/site-packages/trl/trainer/reward_trainer.py:189: UserWarning: When using RewardDataCollatorWithPadding, you should set `remove_unused_columns=False` in your RewardConfig we have set it for you, but you should do it yourself in the future.\n",
|
351 |
+
" warnings.warn(\n",
|
352 |
+
"You're using a GemmaTokenizerFast tokenizer. Please note that with a fast tokenizer, using the `__call__` method is faster than using a method to encode the text followed by a call to the `pad` method to get a padded encoding.\n",
|
353 |
+
"/opt/conda/lib/python3.10/site-packages/transformers/tokenization_utils_base.py:2717: UserWarning: `max_length` is ignored when `padding`=`True` and there is no truncation strategy. To pad to max length, use `padding='max_length'`.\n",
|
354 |
+
" warnings.warn(\n",
|
355 |
+
"/opt/conda/lib/python3.10/site-packages/bitsandbytes/nn/modules.py:426: UserWarning: Input type into Linear4bit is torch.float16, but bnb_4bit_compute_dtype=torch.float32 (default). This will lead to slow inference or training speed.\n",
|
356 |
+
" warnings.warn(\n",
|
357 |
+
"Could not estimate the number of tokens of the input, floating-point operations will not be computed\n",
|
358 |
+
"/opt/conda/lib/python3.10/site-packages/transformers/tokenization_utils_base.py:2717: UserWarning: `max_length` is ignored when `padding`=`True` and there is no truncation strategy. To pad to max length, use `padding='max_length'`.\n",
|
359 |
+
" warnings.warn(\n"
|
360 |
+
]
|
361 |
+
},
|
362 |
+
{
|
363 |
+
"ename": "OutOfMemoryError",
|
364 |
+
"evalue": "CUDA out of memory. Tried to allocate 132.00 MiB. GPU 0 has a total capacity of 23.65 GiB of which 38.69 MiB is free. Process 2450213 has 23.61 GiB memory in use. Of the allocated memory 22.91 GiB is allocated by PyTorch, and 243.12 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)",
|
365 |
+
"output_type": "error",
|
366 |
+
"traceback": [
|
367 |
+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
|
368 |
+
"\u001b[0;31mOutOfMemoryError\u001b[0m Traceback (most recent call last)",
|
369 |
+
"Cell \u001b[0;32mIn[12], line 10\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mtrl\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m RewardTrainer\n\u001b[1;32m 2\u001b[0m trainer \u001b[38;5;241m=\u001b[39m RewardTrainer(\n\u001b[1;32m 3\u001b[0m model \u001b[38;5;241m=\u001b[39m model,\n\u001b[1;32m 4\u001b[0m args \u001b[38;5;241m=\u001b[39m training_args,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 8\u001b[0m peft_config\u001b[38;5;241m=\u001b[39m peft_config\n\u001b[1;32m 9\u001b[0m )\n\u001b[0;32m---> 10\u001b[0m \u001b[43mtrainer\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mtrain\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 12\u001b[0m trainer\u001b[38;5;241m.\u001b[39msave_model(save_path)\n\u001b[1;32m 13\u001b[0m \u001b[38;5;28mprint\u001b[39m(\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mmodel saved at\u001b[39m\u001b[38;5;124m'\u001b[39m, save_path)\n",
|
370 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/transformers/trainer.py:1885\u001b[0m, in \u001b[0;36mTrainer.train\u001b[0;34m(self, resume_from_checkpoint, trial, ignore_keys_for_eval, **kwargs)\u001b[0m\n\u001b[1;32m 1883\u001b[0m hf_hub_utils\u001b[38;5;241m.\u001b[39menable_progress_bars()\n\u001b[1;32m 1884\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m-> 1885\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43minner_training_loop\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 1886\u001b[0m \u001b[43m \u001b[49m\u001b[43margs\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1887\u001b[0m \u001b[43m \u001b[49m\u001b[43mresume_from_checkpoint\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mresume_from_checkpoint\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1888\u001b[0m \u001b[43m \u001b[49m\u001b[43mtrial\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mtrial\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1889\u001b[0m \u001b[43m \u001b[49m\u001b[43mignore_keys_for_eval\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mignore_keys_for_eval\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1890\u001b[0m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\n",
|
371 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/transformers/trainer.py:2216\u001b[0m, in \u001b[0;36mTrainer._inner_training_loop\u001b[0;34m(self, batch_size, args, resume_from_checkpoint, trial, ignore_keys_for_eval)\u001b[0m\n\u001b[1;32m 2213\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mcontrol \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mcallback_handler\u001b[38;5;241m.\u001b[39mon_step_begin(args, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mstate, \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mcontrol)\n\u001b[1;32m 2215\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39maccelerator\u001b[38;5;241m.\u001b[39maccumulate(model):\n\u001b[0;32m-> 2216\u001b[0m tr_loss_step \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mtraining_step\u001b[49m\u001b[43m(\u001b[49m\u001b[43mmodel\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43minputs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 2218\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m (\n\u001b[1;32m 2219\u001b[0m args\u001b[38;5;241m.\u001b[39mlogging_nan_inf_filter\n\u001b[1;32m 2220\u001b[0m \u001b[38;5;129;01mand\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m is_torch_xla_available()\n\u001b[1;32m 2221\u001b[0m \u001b[38;5;129;01mand\u001b[39;00m (torch\u001b[38;5;241m.\u001b[39misnan(tr_loss_step) \u001b[38;5;129;01mor\u001b[39;00m torch\u001b[38;5;241m.\u001b[39misinf(tr_loss_step))\n\u001b[1;32m 2222\u001b[0m ):\n\u001b[1;32m 2223\u001b[0m \u001b[38;5;66;03m# if loss is nan or inf simply add the average of previous logged losses\u001b[39;00m\n\u001b[1;32m 2224\u001b[0m tr_loss \u001b[38;5;241m+\u001b[39m\u001b[38;5;241m=\u001b[39m tr_loss \u001b[38;5;241m/\u001b[39m (\u001b[38;5;241m1\u001b[39m \u001b[38;5;241m+\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mstate\u001b[38;5;241m.\u001b[39mglobal_step \u001b[38;5;241m-\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_globalstep_last_logged)\n",
|
372 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/transformers/trainer.py:3238\u001b[0m, in \u001b[0;36mTrainer.training_step\u001b[0;34m(self, model, inputs)\u001b[0m\n\u001b[1;32m 3235\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m loss_mb\u001b[38;5;241m.\u001b[39mreduce_mean()\u001b[38;5;241m.\u001b[39mdetach()\u001b[38;5;241m.\u001b[39mto(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39margs\u001b[38;5;241m.\u001b[39mdevice)\n\u001b[1;32m 3237\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mcompute_loss_context_manager():\n\u001b[0;32m-> 3238\u001b[0m loss \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mcompute_loss\u001b[49m\u001b[43m(\u001b[49m\u001b[43mmodel\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43minputs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 3240\u001b[0m \u001b[38;5;28;01mdel\u001b[39;00m inputs\n\u001b[1;32m 3241\u001b[0m torch\u001b[38;5;241m.\u001b[39mcuda\u001b[38;5;241m.\u001b[39mempty_cache()\n",
|
373 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/trl/trainer/reward_trainer.py:228\u001b[0m, in \u001b[0;36mRewardTrainer.compute_loss\u001b[0;34m(self, model, inputs, return_outputs)\u001b[0m\n\u001b[1;32m 222\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39muse_reward_data_collator:\n\u001b[1;32m 223\u001b[0m warnings\u001b[38;5;241m.\u001b[39mwarn(\n\u001b[1;32m 224\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mThe current compute_loss is implemented for RewardDataCollatorWithPadding,\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 225\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m if you are using a custom data collator make sure you know what you are doing or\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 226\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m implement your own compute_loss method.\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 227\u001b[0m )\n\u001b[0;32m--> 228\u001b[0m rewards_chosen \u001b[38;5;241m=\u001b[39m \u001b[43mmodel\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 229\u001b[0m \u001b[43m \u001b[49m\u001b[43minput_ids\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43minputs\u001b[49m\u001b[43m[\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43minput_ids_chosen\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m]\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 230\u001b[0m \u001b[43m \u001b[49m\u001b[43mattention_mask\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43minputs\u001b[49m\u001b[43m[\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mattention_mask_chosen\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m]\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 231\u001b[0m \u001b[43m \u001b[49m\u001b[43mreturn_dict\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mTrue\u001b[39;49;00m\u001b[43m,\u001b[49m\n\u001b[1;32m 232\u001b[0m \u001b[43m\u001b[49m\u001b[43m)\u001b[49m[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mlogits\u001b[39m\u001b[38;5;124m\"\u001b[39m]\n\u001b[1;32m 233\u001b[0m rewards_rejected \u001b[38;5;241m=\u001b[39m model(\n\u001b[1;32m 234\u001b[0m input_ids\u001b[38;5;241m=\u001b[39minputs[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124minput_ids_rejected\u001b[39m\u001b[38;5;124m\"\u001b[39m],\n\u001b[1;32m 235\u001b[0m attention_mask\u001b[38;5;241m=\u001b[39minputs[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mattention_mask_rejected\u001b[39m\u001b[38;5;124m\"\u001b[39m],\n\u001b[1;32m 236\u001b[0m return_dict\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mTrue\u001b[39;00m,\n\u001b[1;32m 237\u001b[0m )[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mlogits\u001b[39m\u001b[38;5;124m\"\u001b[39m]\n\u001b[1;32m 238\u001b[0m \u001b[38;5;66;03m# calculate loss, optionally modulate with margin\u001b[39;00m\n",
|
374 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1511\u001b[0m, in \u001b[0;36mModule._wrapped_call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1509\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_compiled_call_impl(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs) \u001b[38;5;66;03m# type: ignore[misc]\u001b[39;00m\n\u001b[1;32m 1510\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m-> 1511\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_call_impl\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
375 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1520\u001b[0m, in \u001b[0;36mModule._call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1515\u001b[0m \u001b[38;5;66;03m# If we don't have any hooks, we want to skip the rest of the logic in\u001b[39;00m\n\u001b[1;32m 1516\u001b[0m \u001b[38;5;66;03m# this function, and just call forward.\u001b[39;00m\n\u001b[1;32m 1517\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m (\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_pre_hooks\n\u001b[1;32m 1518\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_backward_hooks\n\u001b[1;32m 1519\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_forward_pre_hooks):\n\u001b[0;32m-> 1520\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mforward_call\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1522\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[1;32m 1523\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m\n",
|
376 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/utils/operations.py:822\u001b[0m, in \u001b[0;36mconvert_outputs_to_fp32.<locals>.forward\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 821\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mforward\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[0;32m--> 822\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mmodel_forward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
377 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/utils/operations.py:810\u001b[0m, in \u001b[0;36mConvertOutputsToFp32.__call__\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 809\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m__call__\u001b[39m(\u001b[38;5;28mself\u001b[39m, \u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[0;32m--> 810\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m convert_to_fp32(\u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmodel_forward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m)\n",
|
378 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/amp/autocast_mode.py:16\u001b[0m, in \u001b[0;36mautocast_decorator.<locals>.decorate_autocast\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 13\u001b[0m \u001b[38;5;129m@functools\u001b[39m\u001b[38;5;241m.\u001b[39mwraps(func)\n\u001b[1;32m 14\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mdecorate_autocast\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[1;32m 15\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m autocast_instance:\n\u001b[0;32m---> 16\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mfunc\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
379 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/utils/operations.py:822\u001b[0m, in \u001b[0;36mconvert_outputs_to_fp32.<locals>.forward\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 821\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mforward\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[0;32m--> 822\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mmodel_forward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
380 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/utils/operations.py:810\u001b[0m, in \u001b[0;36mConvertOutputsToFp32.__call__\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 809\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m__call__\u001b[39m(\u001b[38;5;28mself\u001b[39m, \u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[0;32m--> 810\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m convert_to_fp32(\u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmodel_forward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m)\n",
|
381 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/amp/autocast_mode.py:16\u001b[0m, in \u001b[0;36mautocast_decorator.<locals>.decorate_autocast\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 13\u001b[0m \u001b[38;5;129m@functools\u001b[39m\u001b[38;5;241m.\u001b[39mwraps(func)\n\u001b[1;32m 14\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mdecorate_autocast\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[1;32m 15\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m autocast_instance:\n\u001b[0;32m---> 16\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mfunc\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
382 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/utils/operations.py:822\u001b[0m, in \u001b[0;36mconvert_outputs_to_fp32.<locals>.forward\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 821\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mforward\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[0;32m--> 822\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mmodel_forward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
383 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/utils/operations.py:810\u001b[0m, in \u001b[0;36mConvertOutputsToFp32.__call__\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 809\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m__call__\u001b[39m(\u001b[38;5;28mself\u001b[39m, \u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[0;32m--> 810\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m convert_to_fp32(\u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmodel_forward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m)\n",
|
384 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/amp/autocast_mode.py:16\u001b[0m, in \u001b[0;36mautocast_decorator.<locals>.decorate_autocast\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 13\u001b[0m \u001b[38;5;129m@functools\u001b[39m\u001b[38;5;241m.\u001b[39mwraps(func)\n\u001b[1;32m 14\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mdecorate_autocast\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[1;32m 15\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m autocast_instance:\n\u001b[0;32m---> 16\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mfunc\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
385 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/peft/peft_model.py:1238\u001b[0m, in \u001b[0;36mPeftModelForSequenceClassification.forward\u001b[0;34m(self, input_ids, attention_mask, inputs_embeds, labels, output_attentions, output_hidden_states, return_dict, task_ids, **kwargs)\u001b[0m\n\u001b[1;32m 1236\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m peft_config\u001b[38;5;241m.\u001b[39mpeft_type \u001b[38;5;241m==\u001b[39m PeftType\u001b[38;5;241m.\u001b[39mPOLY:\n\u001b[1;32m 1237\u001b[0m kwargs[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mtask_ids\u001b[39m\u001b[38;5;124m\"\u001b[39m] \u001b[38;5;241m=\u001b[39m task_ids\n\u001b[0;32m-> 1238\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mbase_model\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 1239\u001b[0m \u001b[43m \u001b[49m\u001b[43minput_ids\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43minput_ids\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1240\u001b[0m \u001b[43m \u001b[49m\u001b[43mattention_mask\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mattention_mask\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1241\u001b[0m \u001b[43m \u001b[49m\u001b[43minputs_embeds\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43minputs_embeds\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1242\u001b[0m \u001b[43m \u001b[49m\u001b[43mlabels\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mlabels\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1243\u001b[0m \u001b[43m \u001b[49m\u001b[43moutput_attentions\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43moutput_attentions\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1244\u001b[0m \u001b[43m \u001b[49m\u001b[43moutput_hidden_states\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43moutput_hidden_states\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1245\u001b[0m \u001b[43m \u001b[49m\u001b[43mreturn_dict\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mreturn_dict\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1246\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1247\u001b[0m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1249\u001b[0m batch_size \u001b[38;5;241m=\u001b[39m _get_batch_size(input_ids, inputs_embeds)\n\u001b[1;32m 1250\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m attention_mask \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 1251\u001b[0m \u001b[38;5;66;03m# concat prompt attention mask\u001b[39;00m\n",
|
386 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1511\u001b[0m, in \u001b[0;36mModule._wrapped_call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1509\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_compiled_call_impl(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs) \u001b[38;5;66;03m# type: ignore[misc]\u001b[39;00m\n\u001b[1;32m 1510\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m-> 1511\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_call_impl\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
387 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1520\u001b[0m, in \u001b[0;36mModule._call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1515\u001b[0m \u001b[38;5;66;03m# If we don't have any hooks, we want to skip the rest of the logic in\u001b[39;00m\n\u001b[1;32m 1516\u001b[0m \u001b[38;5;66;03m# this function, and just call forward.\u001b[39;00m\n\u001b[1;32m 1517\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m (\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_pre_hooks\n\u001b[1;32m 1518\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_backward_hooks\n\u001b[1;32m 1519\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_forward_pre_hooks):\n\u001b[0;32m-> 1520\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mforward_call\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1522\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[1;32m 1523\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m\n",
|
388 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/peft/tuners/tuners_utils.py:179\u001b[0m, in \u001b[0;36mBaseTuner.forward\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 178\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mforward\u001b[39m(\u001b[38;5;28mself\u001b[39m, \u001b[38;5;241m*\u001b[39margs: Any, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs: Any):\n\u001b[0;32m--> 179\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmodel\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mforward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
389 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/peft/peft_model.py:1430\u001b[0m, in \u001b[0;36mPeftModelForCausalLM.forward\u001b[0;34m(self, input_ids, attention_mask, inputs_embeds, labels, output_attentions, output_hidden_states, return_dict, task_ids, **kwargs)\u001b[0m\n\u001b[1;32m 1428\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_enable_peft_forward_hooks(\u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[1;32m 1429\u001b[0m kwargs \u001b[38;5;241m=\u001b[39m {k: v \u001b[38;5;28;01mfor\u001b[39;00m k, v \u001b[38;5;129;01min\u001b[39;00m kwargs\u001b[38;5;241m.\u001b[39mitems() \u001b[38;5;28;01mif\u001b[39;00m k \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;129;01min\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mspecial_peft_forward_args}\n\u001b[0;32m-> 1430\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mbase_model\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 1431\u001b[0m \u001b[43m \u001b[49m\u001b[43minput_ids\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43minput_ids\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1432\u001b[0m \u001b[43m \u001b[49m\u001b[43mattention_mask\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mattention_mask\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1433\u001b[0m \u001b[43m \u001b[49m\u001b[43minputs_embeds\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43minputs_embeds\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1434\u001b[0m \u001b[43m \u001b[49m\u001b[43mlabels\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mlabels\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1435\u001b[0m \u001b[43m \u001b[49m\u001b[43moutput_attentions\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43moutput_attentions\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1436\u001b[0m \u001b[43m \u001b[49m\u001b[43moutput_hidden_states\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43moutput_hidden_states\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1437\u001b[0m \u001b[43m \u001b[49m\u001b[43mreturn_dict\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mreturn_dict\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1438\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1439\u001b[0m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1441\u001b[0m batch_size \u001b[38;5;241m=\u001b[39m _get_batch_size(input_ids, inputs_embeds)\n\u001b[1;32m 1442\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m attention_mask \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 1443\u001b[0m \u001b[38;5;66;03m# concat prompt attention mask\u001b[39;00m\n",
|
390 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1511\u001b[0m, in \u001b[0;36mModule._wrapped_call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1509\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_compiled_call_impl(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs) \u001b[38;5;66;03m# type: ignore[misc]\u001b[39;00m\n\u001b[1;32m 1510\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m-> 1511\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_call_impl\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
391 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1520\u001b[0m, in \u001b[0;36mModule._call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1515\u001b[0m \u001b[38;5;66;03m# If we don't have any hooks, we want to skip the rest of the logic in\u001b[39;00m\n\u001b[1;32m 1516\u001b[0m \u001b[38;5;66;03m# this function, and just call forward.\u001b[39;00m\n\u001b[1;32m 1517\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m (\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_pre_hooks\n\u001b[1;32m 1518\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_backward_hooks\n\u001b[1;32m 1519\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_forward_pre_hooks):\n\u001b[0;32m-> 1520\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mforward_call\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1522\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[1;32m 1523\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m\n",
|
392 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/peft/tuners/tuners_utils.py:179\u001b[0m, in \u001b[0;36mBaseTuner.forward\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 178\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mforward\u001b[39m(\u001b[38;5;28mself\u001b[39m, \u001b[38;5;241m*\u001b[39margs: Any, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs: Any):\n\u001b[0;32m--> 179\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmodel\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mforward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
393 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/hooks.py:166\u001b[0m, in \u001b[0;36madd_hook_to_module.<locals>.new_forward\u001b[0;34m(module, *args, **kwargs)\u001b[0m\n\u001b[1;32m 164\u001b[0m output \u001b[38;5;241m=\u001b[39m module\u001b[38;5;241m.\u001b[39m_old_forward(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n\u001b[1;32m 165\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m--> 166\u001b[0m output \u001b[38;5;241m=\u001b[39m \u001b[43mmodule\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_old_forward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 167\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m module\u001b[38;5;241m.\u001b[39m_hf_hook\u001b[38;5;241m.\u001b[39mpost_forward(module, output)\n",
|
394 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/transformers/models/gemma/modeling_gemma.py:1281\u001b[0m, in \u001b[0;36mGemmaForSequenceClassification.forward\u001b[0;34m(self, input_ids, attention_mask, position_ids, past_key_values, inputs_embeds, labels, use_cache, output_attentions, output_hidden_states, return_dict)\u001b[0m\n\u001b[1;32m 1273\u001b[0m \u001b[38;5;250m\u001b[39m\u001b[38;5;124mr\u001b[39m\u001b[38;5;124;03m\"\"\"\u001b[39;00m\n\u001b[1;32m 1274\u001b[0m \u001b[38;5;124;03mlabels (`torch.LongTensor` of shape `(batch_size,)`, *optional*):\u001b[39;00m\n\u001b[1;32m 1275\u001b[0m \u001b[38;5;124;03m Labels for computing the sequence classification/regression loss. Indices should be in `[0, ...,\u001b[39;00m\n\u001b[1;32m 1276\u001b[0m \u001b[38;5;124;03m config.num_labels - 1]`. If `config.num_labels == 1` a regression loss is computed (Mean-Square loss), If\u001b[39;00m\n\u001b[1;32m 1277\u001b[0m \u001b[38;5;124;03m `config.num_labels > 1` a classification loss is computed (Cross-Entropy).\u001b[39;00m\n\u001b[1;32m 1278\u001b[0m \u001b[38;5;124;03m\"\"\"\u001b[39;00m\n\u001b[1;32m 1279\u001b[0m return_dict \u001b[38;5;241m=\u001b[39m return_dict \u001b[38;5;28;01mif\u001b[39;00m return_dict \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m \u001b[38;5;28;01melse\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mconfig\u001b[38;5;241m.\u001b[39muse_return_dict\n\u001b[0;32m-> 1281\u001b[0m transformer_outputs \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmodel\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 1282\u001b[0m \u001b[43m \u001b[49m\u001b[43minput_ids\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1283\u001b[0m \u001b[43m \u001b[49m\u001b[43mattention_mask\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mattention_mask\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1284\u001b[0m \u001b[43m \u001b[49m\u001b[43mposition_ids\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mposition_ids\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1285\u001b[0m \u001b[43m \u001b[49m\u001b[43mpast_key_values\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mpast_key_values\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1286\u001b[0m \u001b[43m \u001b[49m\u001b[43minputs_embeds\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43minputs_embeds\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1287\u001b[0m \u001b[43m \u001b[49m\u001b[43muse_cache\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43muse_cache\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1288\u001b[0m \u001b[43m \u001b[49m\u001b[43moutput_attentions\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43moutput_attentions\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1289\u001b[0m \u001b[43m \u001b[49m\u001b[43moutput_hidden_states\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43moutput_hidden_states\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1290\u001b[0m \u001b[43m \u001b[49m\u001b[43mreturn_dict\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mreturn_dict\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1291\u001b[0m \u001b[43m\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1292\u001b[0m hidden_states \u001b[38;5;241m=\u001b[39m transformer_outputs[\u001b[38;5;241m0\u001b[39m]\n\u001b[1;32m 1293\u001b[0m logits \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mscore(hidden_states)\n",
|
395 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1511\u001b[0m, in \u001b[0;36mModule._wrapped_call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1509\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_compiled_call_impl(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs) \u001b[38;5;66;03m# type: ignore[misc]\u001b[39;00m\n\u001b[1;32m 1510\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m-> 1511\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_call_impl\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
396 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1520\u001b[0m, in \u001b[0;36mModule._call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1515\u001b[0m \u001b[38;5;66;03m# If we don't have any hooks, we want to skip the rest of the logic in\u001b[39;00m\n\u001b[1;32m 1516\u001b[0m \u001b[38;5;66;03m# this function, and just call forward.\u001b[39;00m\n\u001b[1;32m 1517\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m (\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_pre_hooks\n\u001b[1;32m 1518\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_backward_hooks\n\u001b[1;32m 1519\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_forward_pre_hooks):\n\u001b[0;32m-> 1520\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mforward_call\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1522\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[1;32m 1523\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m\n",
|
397 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/hooks.py:166\u001b[0m, in \u001b[0;36madd_hook_to_module.<locals>.new_forward\u001b[0;34m(module, *args, **kwargs)\u001b[0m\n\u001b[1;32m 164\u001b[0m output \u001b[38;5;241m=\u001b[39m module\u001b[38;5;241m.\u001b[39m_old_forward(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n\u001b[1;32m 165\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m--> 166\u001b[0m output \u001b[38;5;241m=\u001b[39m \u001b[43mmodule\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_old_forward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 167\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m module\u001b[38;5;241m.\u001b[39m_hf_hook\u001b[38;5;241m.\u001b[39mpost_forward(module, output)\n",
|
398 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/transformers/models/gemma/modeling_gemma.py:902\u001b[0m, in \u001b[0;36mGemmaModel.forward\u001b[0;34m(self, input_ids, attention_mask, position_ids, past_key_values, inputs_embeds, use_cache, output_attentions, output_hidden_states, return_dict, cache_position)\u001b[0m\n\u001b[1;32m 891\u001b[0m layer_outputs \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_gradient_checkpointing_func(\n\u001b[1;32m 892\u001b[0m decoder_layer\u001b[38;5;241m.\u001b[39m\u001b[38;5;21m__call__\u001b[39m,\n\u001b[1;32m 893\u001b[0m hidden_states,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 899\u001b[0m cache_position,\n\u001b[1;32m 900\u001b[0m )\n\u001b[1;32m 901\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m--> 902\u001b[0m layer_outputs \u001b[38;5;241m=\u001b[39m \u001b[43mdecoder_layer\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 903\u001b[0m \u001b[43m \u001b[49m\u001b[43mhidden_states\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 904\u001b[0m \u001b[43m \u001b[49m\u001b[43mattention_mask\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mcausal_mask\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 905\u001b[0m \u001b[43m \u001b[49m\u001b[43mposition_ids\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mposition_ids\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 906\u001b[0m \u001b[43m \u001b[49m\u001b[43mpast_key_value\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mpast_key_values\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 907\u001b[0m \u001b[43m \u001b[49m\u001b[43moutput_attentions\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43moutput_attentions\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 908\u001b[0m \u001b[43m \u001b[49m\u001b[43muse_cache\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43muse_cache\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 909\u001b[0m \u001b[43m \u001b[49m\u001b[43mcache_position\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mcache_position\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 910\u001b[0m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 912\u001b[0m hidden_states \u001b[38;5;241m=\u001b[39m layer_outputs[\u001b[38;5;241m0\u001b[39m]\n\u001b[1;32m 914\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m use_cache:\n",
|
399 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1511\u001b[0m, in \u001b[0;36mModule._wrapped_call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1509\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_compiled_call_impl(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs) \u001b[38;5;66;03m# type: ignore[misc]\u001b[39;00m\n\u001b[1;32m 1510\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m-> 1511\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_call_impl\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
400 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1520\u001b[0m, in \u001b[0;36mModule._call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1515\u001b[0m \u001b[38;5;66;03m# If we don't have any hooks, we want to skip the rest of the logic in\u001b[39;00m\n\u001b[1;32m 1516\u001b[0m \u001b[38;5;66;03m# this function, and just call forward.\u001b[39;00m\n\u001b[1;32m 1517\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m (\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_pre_hooks\n\u001b[1;32m 1518\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_backward_hooks\n\u001b[1;32m 1519\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_forward_pre_hooks):\n\u001b[0;32m-> 1520\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mforward_call\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1522\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[1;32m 1523\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m\n",
|
401 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/hooks.py:166\u001b[0m, in \u001b[0;36madd_hook_to_module.<locals>.new_forward\u001b[0;34m(module, *args, **kwargs)\u001b[0m\n\u001b[1;32m 164\u001b[0m output \u001b[38;5;241m=\u001b[39m module\u001b[38;5;241m.\u001b[39m_old_forward(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n\u001b[1;32m 165\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m--> 166\u001b[0m output \u001b[38;5;241m=\u001b[39m \u001b[43mmodule\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_old_forward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 167\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m module\u001b[38;5;241m.\u001b[39m_hf_hook\u001b[38;5;241m.\u001b[39mpost_forward(module, output)\n",
|
402 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/transformers/models/gemma/modeling_gemma.py:652\u001b[0m, in \u001b[0;36mGemmaDecoderLayer.forward\u001b[0;34m(self, hidden_states, attention_mask, position_ids, past_key_value, output_attentions, use_cache, cache_position)\u001b[0m\n\u001b[1;32m 650\u001b[0m residual \u001b[38;5;241m=\u001b[39m hidden_states\n\u001b[1;32m 651\u001b[0m hidden_states \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mpost_attention_layernorm(hidden_states)\n\u001b[0;32m--> 652\u001b[0m hidden_states \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmlp\u001b[49m\u001b[43m(\u001b[49m\u001b[43mhidden_states\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 653\u001b[0m hidden_states \u001b[38;5;241m=\u001b[39m residual \u001b[38;5;241m+\u001b[39m hidden_states\n\u001b[1;32m 655\u001b[0m outputs \u001b[38;5;241m=\u001b[39m (hidden_states,)\n",
|
403 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1511\u001b[0m, in \u001b[0;36mModule._wrapped_call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1509\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_compiled_call_impl(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs) \u001b[38;5;66;03m# type: ignore[misc]\u001b[39;00m\n\u001b[1;32m 1510\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m-> 1511\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_call_impl\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
404 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1520\u001b[0m, in \u001b[0;36mModule._call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1515\u001b[0m \u001b[38;5;66;03m# If we don't have any hooks, we want to skip the rest of the logic in\u001b[39;00m\n\u001b[1;32m 1516\u001b[0m \u001b[38;5;66;03m# this function, and just call forward.\u001b[39;00m\n\u001b[1;32m 1517\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m (\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_pre_hooks\n\u001b[1;32m 1518\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_backward_hooks\n\u001b[1;32m 1519\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_forward_pre_hooks):\n\u001b[0;32m-> 1520\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mforward_call\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1522\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[1;32m 1523\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m\n",
|
405 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/hooks.py:166\u001b[0m, in \u001b[0;36madd_hook_to_module.<locals>.new_forward\u001b[0;34m(module, *args, **kwargs)\u001b[0m\n\u001b[1;32m 164\u001b[0m output \u001b[38;5;241m=\u001b[39m module\u001b[38;5;241m.\u001b[39m_old_forward(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n\u001b[1;32m 165\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m--> 166\u001b[0m output \u001b[38;5;241m=\u001b[39m \u001b[43mmodule\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_old_forward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 167\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m module\u001b[38;5;241m.\u001b[39m_hf_hook\u001b[38;5;241m.\u001b[39mpost_forward(module, output)\n",
|
406 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/transformers/models/gemma/modeling_gemma.py:185\u001b[0m, in \u001b[0;36mGemmaMLP.forward\u001b[0;34m(self, x)\u001b[0m\n\u001b[1;32m 184\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mforward\u001b[39m(\u001b[38;5;28mself\u001b[39m, x):\n\u001b[0;32m--> 185\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mdown_proj(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mact_fn(\u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mgate_proj\u001b[49m\u001b[43m(\u001b[49m\u001b[43mx\u001b[49m\u001b[43m)\u001b[49m) \u001b[38;5;241m*\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mup_proj(x))\n",
|
407 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1511\u001b[0m, in \u001b[0;36mModule._wrapped_call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1509\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_compiled_call_impl(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs) \u001b[38;5;66;03m# type: ignore[misc]\u001b[39;00m\n\u001b[1;32m 1510\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m-> 1511\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_call_impl\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
408 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1520\u001b[0m, in \u001b[0;36mModule._call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1515\u001b[0m \u001b[38;5;66;03m# If we don't have any hooks, we want to skip the rest of the logic in\u001b[39;00m\n\u001b[1;32m 1516\u001b[0m \u001b[38;5;66;03m# this function, and just call forward.\u001b[39;00m\n\u001b[1;32m 1517\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m (\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_pre_hooks\n\u001b[1;32m 1518\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_backward_hooks\n\u001b[1;32m 1519\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_forward_pre_hooks):\n\u001b[0;32m-> 1520\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mforward_call\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1522\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[1;32m 1523\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m\n",
|
409 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/peft/tuners/lora/bnb.py:452\u001b[0m, in \u001b[0;36mLinear4bit.forward\u001b[0;34m(self, x, *args, **kwargs)\u001b[0m\n\u001b[1;32m 450\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mbase_layer(x, \u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n\u001b[1;32m 451\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m--> 452\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mbase_layer\u001b[49m\u001b[43m(\u001b[49m\u001b[43mx\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 453\u001b[0m \u001b[38;5;66;03m# As per Tim Dettmers, for 4bit, we need to defensively clone here.\u001b[39;00m\n\u001b[1;32m 454\u001b[0m \u001b[38;5;66;03m# The reason is that in some cases, an error can occur that backprop\u001b[39;00m\n\u001b[1;32m 455\u001b[0m \u001b[38;5;66;03m# does not work on a manipulated view. This issue may be solved with\u001b[39;00m\n\u001b[1;32m 456\u001b[0m \u001b[38;5;66;03m# newer PyTorch versions but this would need extensive testing to be\u001b[39;00m\n\u001b[1;32m 457\u001b[0m \u001b[38;5;66;03m# sure.\u001b[39;00m\n\u001b[1;32m 458\u001b[0m result \u001b[38;5;241m=\u001b[39m result\u001b[38;5;241m.\u001b[39mclone()\n",
|
410 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1511\u001b[0m, in \u001b[0;36mModule._wrapped_call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1509\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_compiled_call_impl(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs) \u001b[38;5;66;03m# type: ignore[misc]\u001b[39;00m\n\u001b[1;32m 1510\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m-> 1511\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_call_impl\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
411 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py:1520\u001b[0m, in \u001b[0;36mModule._call_impl\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1515\u001b[0m \u001b[38;5;66;03m# If we don't have any hooks, we want to skip the rest of the logic in\u001b[39;00m\n\u001b[1;32m 1516\u001b[0m \u001b[38;5;66;03m# this function, and just call forward.\u001b[39;00m\n\u001b[1;32m 1517\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m (\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_forward_pre_hooks\n\u001b[1;32m 1518\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_backward_pre_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_backward_hooks\n\u001b[1;32m 1519\u001b[0m \u001b[38;5;129;01mor\u001b[39;00m _global_forward_hooks \u001b[38;5;129;01mor\u001b[39;00m _global_forward_pre_hooks):\n\u001b[0;32m-> 1520\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mforward_call\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1522\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[1;32m 1523\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m\n",
|
412 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/accelerate/hooks.py:166\u001b[0m, in \u001b[0;36madd_hook_to_module.<locals>.new_forward\u001b[0;34m(module, *args, **kwargs)\u001b[0m\n\u001b[1;32m 164\u001b[0m output \u001b[38;5;241m=\u001b[39m module\u001b[38;5;241m.\u001b[39m_old_forward(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n\u001b[1;32m 165\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m--> 166\u001b[0m output \u001b[38;5;241m=\u001b[39m \u001b[43mmodule\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_old_forward\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 167\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m module\u001b[38;5;241m.\u001b[39m_hf_hook\u001b[38;5;241m.\u001b[39mpost_forward(module, output)\n",
|
413 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/bitsandbytes/nn/modules.py:468\u001b[0m, in \u001b[0;36mLinear4bit.forward\u001b[0;34m(self, x)\u001b[0m\n\u001b[1;32m 465\u001b[0m x \u001b[38;5;241m=\u001b[39m x\u001b[38;5;241m.\u001b[39mto(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mcompute_dtype)\n\u001b[1;32m 467\u001b[0m bias \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mbias \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m \u001b[38;5;28;01melse\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mbias\u001b[38;5;241m.\u001b[39mto(\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mcompute_dtype)\n\u001b[0;32m--> 468\u001b[0m out \u001b[38;5;241m=\u001b[39m \u001b[43mbnb\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmatmul_4bit\u001b[49m\u001b[43m(\u001b[49m\u001b[43mx\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mweight\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mt\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mbias\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mbias\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mquant_state\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mweight\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mquant_state\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 470\u001b[0m out \u001b[38;5;241m=\u001b[39m out\u001b[38;5;241m.\u001b[39mto(inp_dtype)\n\u001b[1;32m 472\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m out\n",
|
414 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/bitsandbytes/autograd/_functions.py:579\u001b[0m, in \u001b[0;36mmatmul_4bit\u001b[0;34m(A, B, quant_state, out, bias)\u001b[0m\n\u001b[1;32m 577\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m out\n\u001b[1;32m 578\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[0;32m--> 579\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mMatMul4Bit\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mapply\u001b[49m\u001b[43m(\u001b[49m\u001b[43mA\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mB\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mout\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mbias\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mquant_state\u001b[49m\u001b[43m)\u001b[49m\n",
|
415 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/autograd/function.py:553\u001b[0m, in \u001b[0;36mFunction.apply\u001b[0;34m(cls, *args, **kwargs)\u001b[0m\n\u001b[1;32m 550\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m torch\u001b[38;5;241m.\u001b[39m_C\u001b[38;5;241m.\u001b[39m_are_functorch_transforms_active():\n\u001b[1;32m 551\u001b[0m \u001b[38;5;66;03m# See NOTE: [functorch vjp and autograd interaction]\u001b[39;00m\n\u001b[1;32m 552\u001b[0m args \u001b[38;5;241m=\u001b[39m _functorch\u001b[38;5;241m.\u001b[39mutils\u001b[38;5;241m.\u001b[39munwrap_dead_wrappers(args)\n\u001b[0;32m--> 553\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43msuper\u001b[39;49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mapply\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m \u001b[38;5;66;03m# type: ignore[misc]\u001b[39;00m\n\u001b[1;32m 555\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m is_setup_ctx_defined:\n\u001b[1;32m 556\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mRuntimeError\u001b[39;00m(\n\u001b[1;32m 557\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mIn order to use an autograd.Function with functorch transforms \u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 558\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m(vmap, grad, jvp, jacrev, ...), it must override the setup_context \u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 559\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mstaticmethod. For more details, please see \u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 560\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mhttps://pytorch.org/docs/master/notes/extending.func.html\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 561\u001b[0m )\n",
|
416 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/bitsandbytes/autograd/_functions.py:509\u001b[0m, in \u001b[0;36mMatMul4Bit.forward\u001b[0;34m(ctx, A, B, out, bias, quant_state)\u001b[0m\n\u001b[1;32m 505\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m torch\u001b[38;5;241m.\u001b[39mempty(A\u001b[38;5;241m.\u001b[39mshape[:\u001b[38;5;241m-\u001b[39m\u001b[38;5;241m1\u001b[39m] \u001b[38;5;241m+\u001b[39m B_shape[:\u001b[38;5;241m1\u001b[39m], dtype\u001b[38;5;241m=\u001b[39mA\u001b[38;5;241m.\u001b[39mdtype, device\u001b[38;5;241m=\u001b[39mA\u001b[38;5;241m.\u001b[39mdevice)\n\u001b[1;32m 507\u001b[0m \u001b[38;5;66;03m# 1. Dequantize\u001b[39;00m\n\u001b[1;32m 508\u001b[0m \u001b[38;5;66;03m# 2. MatmulnN\u001b[39;00m\n\u001b[0;32m--> 509\u001b[0m output \u001b[38;5;241m=\u001b[39m \u001b[43mtorch\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mnn\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mfunctional\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mlinear\u001b[49m\u001b[43m(\u001b[49m\u001b[43mA\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mF\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mdequantize_4bit\u001b[49m\u001b[43m(\u001b[49m\u001b[43mB\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mquant_state\u001b[49m\u001b[43m)\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mto\u001b[49m\u001b[43m(\u001b[49m\u001b[43mA\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mdtype\u001b[49m\u001b[43m)\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mt\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mbias\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 511\u001b[0m \u001b[38;5;66;03m# 3. Save state\u001b[39;00m\n\u001b[1;32m 512\u001b[0m ctx\u001b[38;5;241m.\u001b[39mstate \u001b[38;5;241m=\u001b[39m quant_state\n",
|
417 |
+
"\u001b[0;31mOutOfMemoryError\u001b[0m: CUDA out of memory. Tried to allocate 132.00 MiB. GPU 0 has a total capacity of 23.65 GiB of which 38.69 MiB is free. Process 2450213 has 23.61 GiB memory in use. Of the allocated memory 22.91 GiB is allocated by PyTorch, and 243.12 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)"
|
418 |
+
]
|
419 |
+
}
|
420 |
+
],
|
421 |
+
"source": [
|
422 |
+
"from trl import RewardTrainer\n",
|
423 |
+
"trainer = RewardTrainer(\n",
|
424 |
+
" model = model,\n",
|
425 |
+
" args = training_args,\n",
|
426 |
+
" tokenizer= tokenizer,\n",
|
427 |
+
" train_dataset= traindata,\n",
|
428 |
+
" eval_dataset= val_data,\n",
|
429 |
+
" peft_config= peft_config\n",
|
430 |
+
")\n",
|
431 |
+
"trainer.train()\n",
|
432 |
+
"\n",
|
433 |
+
"trainer.save_model(save_path)\n",
|
434 |
+
"print('model saved at', save_path)"
|
435 |
+
]
|
436 |
+
},
|
437 |
+
{
|
438 |
+
"cell_type": "code",
|
439 |
+
"execution_count": null,
|
440 |
+
"id": "c61a7bbc-98cb-4419-9769-0726c94bc831",
|
441 |
+
"metadata": {},
|
442 |
+
"outputs": [],
|
443 |
+
"source": [
|
444 |
+
"traindata[0]['input_ids_chosen']"
|
445 |
+
]
|
446 |
+
},
|
447 |
+
{
|
448 |
+
"cell_type": "code",
|
449 |
+
"execution_count": null,
|
450 |
+
"id": "44e7ff33-416a-4d03-a64f-e72b0dc95d7c",
|
451 |
+
"metadata": {},
|
452 |
+
"outputs": [],
|
453 |
+
"source": [
|
454 |
+
"basemodel = 'mistralai/Mistral-7B-Instruct-v0.3'\n",
|
455 |
+
"model = AutoModelForSequenceClassification.from_pretrained(base_model, num_labels = 1)"
|
456 |
+
]
|
457 |
+
},
|
458 |
+
{
|
459 |
+
"cell_type": "code",
|
460 |
+
"execution_count": null,
|
461 |
+
"id": "62b9f6d7-9c26-4f07-9a83-58ab03f403db",
|
462 |
+
"metadata": {},
|
463 |
+
"outputs": [],
|
464 |
+
"source": [
|
465 |
+
"model(input_ids = torch.tensor(traindata[0]['input_ids_chosen']),\n",
|
466 |
+
" attention_mask = torch.tensor(traindata[0]['attention_mask_chosen']),\n",
|
467 |
+
" return_dict=True)\n"
|
468 |
+
]
|
469 |
+
},
|
470 |
+
{
|
471 |
+
"cell_type": "code",
|
472 |
+
"execution_count": null,
|
473 |
+
"id": "64b0abd3-28b0-462d-98bd-d61446b75935",
|
474 |
+
"metadata": {},
|
475 |
+
"outputs": [],
|
476 |
+
"source": [
|
477 |
+
"traindata[0]['input_ids_chosen']"
|
478 |
+
]
|
479 |
+
},
|
480 |
+
{
|
481 |
+
"cell_type": "code",
|
482 |
+
"execution_count": null,
|
483 |
+
"id": "cb854c8b-826a-43c1-87b3-a0b4cd3103e6",
|
484 |
+
"metadata": {},
|
485 |
+
"outputs": [],
|
486 |
+
"source": [
|
487 |
+
"tokenizer(traindata[0]['chosen_text'], truncation=True)"
|
488 |
+
]
|
489 |
+
},
|
490 |
+
{
|
491 |
+
"cell_type": "code",
|
492 |
+
"execution_count": null,
|
493 |
+
"id": "71d84ed8-deca-4a2b-8915-cd504e4f7f88",
|
494 |
+
"metadata": {},
|
495 |
+
"outputs": [],
|
496 |
+
"source": [
|
497 |
+
"import torch\n",
|
498 |
+
"import torch.nn as nn\n",
|
499 |
+
"import warnings\n",
|
500 |
+
"from peft import PeftModel, PeftConfig, get_peft_model, LoraConfig\n",
|
501 |
+
"from transformers import AutoModelForSequenceClassification, AutoTokenizer\n",
|
502 |
+
"from dataloader import StoryPairDataset\n",
|
503 |
+
"from trl import RewardTrainer, RewardConfig\n",
|
504 |
+
"import os\n",
|
505 |
+
"#os.environ[\"WANDB_PROJECT\"] = \"<my-amazing-project>\" # name your W&B project\n",
|
506 |
+
"os.environ[\"WANDB_LOG_MODEL\"] = \"checkpoint\" # log all model checkpoints\n",
|
507 |
+
"\n",
|
508 |
+
"\n",
|
509 |
+
"# datapath = 'readsy/stories/'\n",
|
510 |
+
"# pairpath = '../../../work/lawecon/Work/penghao/readsy_story_pairs0407.csv'\n",
|
511 |
+
"# model_name = \"../../../work/lawecon/Work/penghao/SFTmodels/gemma-2b_sftm3genre10\"\n",
|
512 |
+
"# base_model = '../../../work/lawecon/Work/penghao/gemma/gemma-2b'\n",
|
513 |
+
"mode='m3' if 'm3' in model_name else 'm2'\n",
|
514 |
+
"if 'random' in model_name:\n",
|
515 |
+
" split_by = 'random'\n",
|
516 |
+
"elif 'time' in model_name:\n",
|
517 |
+
" split_by = 'time'\n",
|
518 |
+
"else:\n",
|
519 |
+
" split_by = 'random'\n",
|
520 |
+
"lease_likes = 10\n",
|
521 |
+
"max_seq_length = 2048*2 # Choose any! We auto support RoPE Scaling internally!\n",
|
522 |
+
"dtype = None # None for auto detection. Float16 for Tesla T4, V100, Bfloat16 for Ampere+\n",
|
523 |
+
"load_in_4bit = True # Use 4bit quantization to reduce memory usage. Can be False.\n",
|
524 |
+
"margin = False\n",
|
525 |
+
"save_path = '../../../work/lawecon/Work/penghao/reward_models/' +model_name + '_rm' + 'margin' if margin else '_no_margin'\n",
|
526 |
+
"if margin:\n",
|
527 |
+
" save_path += 'margin'\n",
|
528 |
+
"\n",
|
529 |
+
"model = AutoModelForSequenceClassification.from_pretrained(base_model, load_in_4bit=True)\n",
|
530 |
+
"model = PeftModel.from_pretrained(model, model_name)\n",
|
531 |
+
"tokenizer = AutoTokenizer.from_pretrained(base_model)\n",
|
532 |
+
"#model = nn.Sequential(model, nn.Linear(model.config.hidden_size, 1), nn.Sigmoid())\n"
|
533 |
+
]
|
534 |
+
},
|
535 |
+
{
|
536 |
+
"cell_type": "code",
|
537 |
+
"execution_count": null,
|
538 |
+
"id": "bcc13555-b49f-4bbc-b4cc-b44a74b2a987",
|
539 |
+
"metadata": {},
|
540 |
+
"outputs": [],
|
541 |
+
"source": []
|
542 |
+
}
|
543 |
+
],
|
544 |
+
"metadata": {
|
545 |
+
"kernelspec": {
|
546 |
+
"display_name": "Python 3 (ipykernel)",
|
547 |
+
"language": "python",
|
548 |
+
"name": "python3"
|
549 |
+
},
|
550 |
+
"language_info": {
|
551 |
+
"codemirror_mode": {
|
552 |
+
"name": "ipython",
|
553 |
+
"version": 3
|
554 |
+
},
|
555 |
+
"file_extension": ".py",
|
556 |
+
"mimetype": "text/x-python",
|
557 |
+
"name": "python",
|
558 |
+
"nbconvert_exporter": "python",
|
559 |
+
"pygments_lexer": "ipython3",
|
560 |
+
"version": "3.10.13"
|
561 |
+
}
|
562 |
+
},
|
563 |
+
"nbformat": 4,
|
564 |
+
"nbformat_minor": 5
|
565 |
+
}
|
README.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: google/gemma-2-9b
|
3 |
+
library_name: peft
|
4 |
+
license: gemma
|
5 |
+
tags:
|
6 |
+
- trl
|
7 |
+
- reward-trainer
|
8 |
+
- generated_from_trainer
|
9 |
+
model-index:
|
10 |
+
- name: workspace
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/penghaowang14/huggingface/runs/2dg983o2)
|
18 |
+
# workspace
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [google/gemma-2-9b](https://huggingface.co/google/gemma-2-9b) on the None dataset.
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- learning_rate: 0.0002
|
40 |
+
- train_batch_size: 4
|
41 |
+
- eval_batch_size: 4
|
42 |
+
- seed: 42
|
43 |
+
- gradient_accumulation_steps: 16
|
44 |
+
- total_train_batch_size: 64
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- num_epochs: 1.0
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
+
### Framework versions
|
54 |
+
|
55 |
+
- PEFT 0.12.0
|
56 |
+
- Transformers 4.43.2
|
57 |
+
- Pytorch 2.2.0
|
58 |
+
- Datasets 2.20.0
|
59 |
+
- Tokenizers 0.19.1
|
RMmodels/gemma-2-9b_sftm3genre36007200/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: google/gemma-2-9b
|
3 |
+
library_name: peft
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.12.0
|
RMmodels/gemma-2-9b_sftm3genre36007200/adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "google/gemma-2-9b",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 16,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 64,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"v_proj",
|
24 |
+
"o_proj",
|
25 |
+
"q_proj",
|
26 |
+
"k_proj"
|
27 |
+
],
|
28 |
+
"task_type": "CAUSAL_LM",
|
29 |
+
"use_dora": false,
|
30 |
+
"use_rslora": false
|
31 |
+
}
|
RMmodels/gemma-2-9b_sftm3genre36007200/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a7b47235a73dadbfe04c47a58fcf387d1e01f23b7db05520e13eebbbd51b9f89
|
3 |
+
size 286306976
|
RMmodels/gemma-2-9b_sftm3genre36007200/special_tokens_map.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<start_of_turn>",
|
4 |
+
"<end_of_turn>"
|
5 |
+
],
|
6 |
+
"bos_token": {
|
7 |
+
"content": "<bos>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"eos_token": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
},
|
20 |
+
"pad_token": {
|
21 |
+
"content": "<eos>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false
|
26 |
+
},
|
27 |
+
"unk_token": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false
|
33 |
+
}
|
34 |
+
}
|
RMmodels/gemma-2-9b_sftm3genre36007200/tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8bdd6fa579b0cae69393298845f25133763e90c5814db935ee4496d161aca4da
|
3 |
+
size 17518624
|
RMmodels/gemma-2-9b_sftm3genre36007200/tokenizer_config.json
ADDED
@@ -0,0 +1,1760 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<pad>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "<bos>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"3": {
|
30 |
+
"content": "<unk>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"4": {
|
38 |
+
"content": "<mask>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": false
|
44 |
+
},
|
45 |
+
"5": {
|
46 |
+
"content": "<2mass>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": false
|
52 |
+
},
|
53 |
+
"6": {
|
54 |
+
"content": "[@BOS@]",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": false,
|
58 |
+
"single_word": false,
|
59 |
+
"special": false
|
60 |
+
},
|
61 |
+
"7": {
|
62 |
+
"content": "<unused0>",
|
63 |
+
"lstrip": false,
|
64 |
+
"normalized": false,
|
65 |
+
"rstrip": false,
|
66 |
+
"single_word": false,
|
67 |
+
"special": false
|
68 |
+
},
|
69 |
+
"8": {
|
70 |
+
"content": "<unused1>",
|
71 |
+
"lstrip": false,
|
72 |
+
"normalized": false,
|
73 |
+
"rstrip": false,
|
74 |
+
"single_word": false,
|
75 |
+
"special": false
|
76 |
+
},
|
77 |
+
"9": {
|
78 |
+
"content": "<unused2>",
|
79 |
+
"lstrip": false,
|
80 |
+
"normalized": false,
|
81 |
+
"rstrip": false,
|
82 |
+
"single_word": false,
|
83 |
+
"special": false
|
84 |
+
},
|
85 |
+
"10": {
|
86 |
+
"content": "<unused3>",
|
87 |
+
"lstrip": false,
|
88 |
+
"normalized": false,
|
89 |
+
"rstrip": false,
|
90 |
+
"single_word": false,
|
91 |
+
"special": false
|
92 |
+
},
|
93 |
+
"11": {
|
94 |
+
"content": "<unused4>",
|
95 |
+
"lstrip": false,
|
96 |
+
"normalized": false,
|
97 |
+
"rstrip": false,
|
98 |
+
"single_word": false,
|
99 |
+
"special": false
|
100 |
+
},
|
101 |
+
"12": {
|
102 |
+
"content": "<unused5>",
|
103 |
+
"lstrip": false,
|
104 |
+
"normalized": false,
|
105 |
+
"rstrip": false,
|
106 |
+
"single_word": false,
|
107 |
+
"special": false
|
108 |
+
},
|
109 |
+
"13": {
|
110 |
+
"content": "<unused6>",
|
111 |
+
"lstrip": false,
|
112 |
+
"normalized": false,
|
113 |
+
"rstrip": false,
|
114 |
+
"single_word": false,
|
115 |
+
"special": false
|
116 |
+
},
|
117 |
+
"14": {
|
118 |
+
"content": "<unused7>",
|
119 |
+
"lstrip": false,
|
120 |
+
"normalized": false,
|
121 |
+
"rstrip": false,
|
122 |
+
"single_word": false,
|
123 |
+
"special": false
|
124 |
+
},
|
125 |
+
"15": {
|
126 |
+
"content": "<unused8>",
|
127 |
+
"lstrip": false,
|
128 |
+
"normalized": false,
|
129 |
+
"rstrip": false,
|
130 |
+
"single_word": false,
|
131 |
+
"special": false
|
132 |
+
},
|
133 |
+
"16": {
|
134 |
+
"content": "<unused9>",
|
135 |
+
"lstrip": false,
|
136 |
+
"normalized": false,
|
137 |
+
"rstrip": false,
|
138 |
+
"single_word": false,
|
139 |
+
"special": false
|
140 |
+
},
|
141 |
+
"17": {
|
142 |
+
"content": "<unused10>",
|
143 |
+
"lstrip": false,
|
144 |
+
"normalized": false,
|
145 |
+
"rstrip": false,
|
146 |
+
"single_word": false,
|
147 |
+
"special": false
|
148 |
+
},
|
149 |
+
"18": {
|
150 |
+
"content": "<unused11>",
|
151 |
+
"lstrip": false,
|
152 |
+
"normalized": false,
|
153 |
+
"rstrip": false,
|
154 |
+
"single_word": false,
|
155 |
+
"special": false
|
156 |
+
},
|
157 |
+
"19": {
|
158 |
+
"content": "<unused12>",
|
159 |
+
"lstrip": false,
|
160 |
+
"normalized": false,
|
161 |
+
"rstrip": false,
|
162 |
+
"single_word": false,
|
163 |
+
"special": false
|
164 |
+
},
|
165 |
+
"20": {
|
166 |
+
"content": "<unused13>",
|
167 |
+
"lstrip": false,
|
168 |
+
"normalized": false,
|
169 |
+
"rstrip": false,
|
170 |
+
"single_word": false,
|
171 |
+
"special": false
|
172 |
+
},
|
173 |
+
"21": {
|
174 |
+
"content": "<unused14>",
|
175 |
+
"lstrip": false,
|
176 |
+
"normalized": false,
|
177 |
+
"rstrip": false,
|
178 |
+
"single_word": false,
|
179 |
+
"special": false
|
180 |
+
},
|
181 |
+
"22": {
|
182 |
+
"content": "<unused15>",
|
183 |
+
"lstrip": false,
|
184 |
+
"normalized": false,
|
185 |
+
"rstrip": false,
|
186 |
+
"single_word": false,
|
187 |
+
"special": false
|
188 |
+
},
|
189 |
+
"23": {
|
190 |
+
"content": "<unused16>",
|
191 |
+
"lstrip": false,
|
192 |
+
"normalized": false,
|
193 |
+
"rstrip": false,
|
194 |
+
"single_word": false,
|
195 |
+
"special": false
|
196 |
+
},
|
197 |
+
"24": {
|
198 |
+
"content": "<unused17>",
|
199 |
+
"lstrip": false,
|
200 |
+
"normalized": false,
|
201 |
+
"rstrip": false,
|
202 |
+
"single_word": false,
|
203 |
+
"special": false
|
204 |
+
},
|
205 |
+
"25": {
|
206 |
+
"content": "<unused18>",
|
207 |
+
"lstrip": false,
|
208 |
+
"normalized": false,
|
209 |
+
"rstrip": false,
|
210 |
+
"single_word": false,
|
211 |
+
"special": false
|
212 |
+
},
|
213 |
+
"26": {
|
214 |
+
"content": "<unused19>",
|
215 |
+
"lstrip": false,
|
216 |
+
"normalized": false,
|
217 |
+
"rstrip": false,
|
218 |
+
"single_word": false,
|
219 |
+
"special": false
|
220 |
+
},
|
221 |
+
"27": {
|
222 |
+
"content": "<unused20>",
|
223 |
+
"lstrip": false,
|
224 |
+
"normalized": false,
|
225 |
+
"rstrip": false,
|
226 |
+
"single_word": false,
|
227 |
+
"special": false
|
228 |
+
},
|
229 |
+
"28": {
|
230 |
+
"content": "<unused21>",
|
231 |
+
"lstrip": false,
|
232 |
+
"normalized": false,
|
233 |
+
"rstrip": false,
|
234 |
+
"single_word": false,
|
235 |
+
"special": false
|
236 |
+
},
|
237 |
+
"29": {
|
238 |
+
"content": "<unused22>",
|
239 |
+
"lstrip": false,
|
240 |
+
"normalized": false,
|
241 |
+
"rstrip": false,
|
242 |
+
"single_word": false,
|
243 |
+
"special": false
|
244 |
+
},
|
245 |
+
"30": {
|
246 |
+
"content": "<unused23>",
|
247 |
+
"lstrip": false,
|
248 |
+
"normalized": false,
|
249 |
+
"rstrip": false,
|
250 |
+
"single_word": false,
|
251 |
+
"special": false
|
252 |
+
},
|
253 |
+
"31": {
|
254 |
+
"content": "<unused24>",
|
255 |
+
"lstrip": false,
|
256 |
+
"normalized": false,
|
257 |
+
"rstrip": false,
|
258 |
+
"single_word": false,
|
259 |
+
"special": false
|
260 |
+
},
|
261 |
+
"32": {
|
262 |
+
"content": "<unused25>",
|
263 |
+
"lstrip": false,
|
264 |
+
"normalized": false,
|
265 |
+
"rstrip": false,
|
266 |
+
"single_word": false,
|
267 |
+
"special": false
|
268 |
+
},
|
269 |
+
"33": {
|
270 |
+
"content": "<unused26>",
|
271 |
+
"lstrip": false,
|
272 |
+
"normalized": false,
|
273 |
+
"rstrip": false,
|
274 |
+
"single_word": false,
|
275 |
+
"special": false
|
276 |
+
},
|
277 |
+
"34": {
|
278 |
+
"content": "<unused27>",
|
279 |
+
"lstrip": false,
|
280 |
+
"normalized": false,
|
281 |
+
"rstrip": false,
|
282 |
+
"single_word": false,
|
283 |
+
"special": false
|
284 |
+
},
|
285 |
+
"35": {
|
286 |
+
"content": "<unused28>",
|
287 |
+
"lstrip": false,
|
288 |
+
"normalized": false,
|
289 |
+
"rstrip": false,
|
290 |
+
"single_word": false,
|
291 |
+
"special": false
|
292 |
+
},
|
293 |
+
"36": {
|
294 |
+
"content": "<unused29>",
|
295 |
+
"lstrip": false,
|
296 |
+
"normalized": false,
|
297 |
+
"rstrip": false,
|
298 |
+
"single_word": false,
|
299 |
+
"special": false
|
300 |
+
},
|
301 |
+
"37": {
|
302 |
+
"content": "<unused30>",
|
303 |
+
"lstrip": false,
|
304 |
+
"normalized": false,
|
305 |
+
"rstrip": false,
|
306 |
+
"single_word": false,
|
307 |
+
"special": false
|
308 |
+
},
|
309 |
+
"38": {
|
310 |
+
"content": "<unused31>",
|
311 |
+
"lstrip": false,
|
312 |
+
"normalized": false,
|
313 |
+
"rstrip": false,
|
314 |
+
"single_word": false,
|
315 |
+
"special": false
|
316 |
+
},
|
317 |
+
"39": {
|
318 |
+
"content": "<unused32>",
|
319 |
+
"lstrip": false,
|
320 |
+
"normalized": false,
|
321 |
+
"rstrip": false,
|
322 |
+
"single_word": false,
|
323 |
+
"special": false
|
324 |
+
},
|
325 |
+
"40": {
|
326 |
+
"content": "<unused33>",
|
327 |
+
"lstrip": false,
|
328 |
+
"normalized": false,
|
329 |
+
"rstrip": false,
|
330 |
+
"single_word": false,
|
331 |
+
"special": false
|
332 |
+
},
|
333 |
+
"41": {
|
334 |
+
"content": "<unused34>",
|
335 |
+
"lstrip": false,
|
336 |
+
"normalized": false,
|
337 |
+
"rstrip": false,
|
338 |
+
"single_word": false,
|
339 |
+
"special": false
|
340 |
+
},
|
341 |
+
"42": {
|
342 |
+
"content": "<unused35>",
|
343 |
+
"lstrip": false,
|
344 |
+
"normalized": false,
|
345 |
+
"rstrip": false,
|
346 |
+
"single_word": false,
|
347 |
+
"special": false
|
348 |
+
},
|
349 |
+
"43": {
|
350 |
+
"content": "<unused36>",
|
351 |
+
"lstrip": false,
|
352 |
+
"normalized": false,
|
353 |
+
"rstrip": false,
|
354 |
+
"single_word": false,
|
355 |
+
"special": false
|
356 |
+
},
|
357 |
+
"44": {
|
358 |
+
"content": "<unused37>",
|
359 |
+
"lstrip": false,
|
360 |
+
"normalized": false,
|
361 |
+
"rstrip": false,
|
362 |
+
"single_word": false,
|
363 |
+
"special": false
|
364 |
+
},
|
365 |
+
"45": {
|
366 |
+
"content": "<unused38>",
|
367 |
+
"lstrip": false,
|
368 |
+
"normalized": false,
|
369 |
+
"rstrip": false,
|
370 |
+
"single_word": false,
|
371 |
+
"special": false
|
372 |
+
},
|
373 |
+
"46": {
|
374 |
+
"content": "<unused39>",
|
375 |
+
"lstrip": false,
|
376 |
+
"normalized": false,
|
377 |
+
"rstrip": false,
|
378 |
+
"single_word": false,
|
379 |
+
"special": false
|
380 |
+
},
|
381 |
+
"47": {
|
382 |
+
"content": "<unused40>",
|
383 |
+
"lstrip": false,
|
384 |
+
"normalized": false,
|
385 |
+
"rstrip": false,
|
386 |
+
"single_word": false,
|
387 |
+
"special": false
|
388 |
+
},
|
389 |
+
"48": {
|
390 |
+
"content": "<unused41>",
|
391 |
+
"lstrip": false,
|
392 |
+
"normalized": false,
|
393 |
+
"rstrip": false,
|
394 |
+
"single_word": false,
|
395 |
+
"special": false
|
396 |
+
},
|
397 |
+
"49": {
|
398 |
+
"content": "<unused42>",
|
399 |
+
"lstrip": false,
|
400 |
+
"normalized": false,
|
401 |
+
"rstrip": false,
|
402 |
+
"single_word": false,
|
403 |
+
"special": false
|
404 |
+
},
|
405 |
+
"50": {
|
406 |
+
"content": "<unused43>",
|
407 |
+
"lstrip": false,
|
408 |
+
"normalized": false,
|
409 |
+
"rstrip": false,
|
410 |
+
"single_word": false,
|
411 |
+
"special": false
|
412 |
+
},
|
413 |
+
"51": {
|
414 |
+
"content": "<unused44>",
|
415 |
+
"lstrip": false,
|
416 |
+
"normalized": false,
|
417 |
+
"rstrip": false,
|
418 |
+
"single_word": false,
|
419 |
+
"special": false
|
420 |
+
},
|
421 |
+
"52": {
|
422 |
+
"content": "<unused45>",
|
423 |
+
"lstrip": false,
|
424 |
+
"normalized": false,
|
425 |
+
"rstrip": false,
|
426 |
+
"single_word": false,
|
427 |
+
"special": false
|
428 |
+
},
|
429 |
+
"53": {
|
430 |
+
"content": "<unused46>",
|
431 |
+
"lstrip": false,
|
432 |
+
"normalized": false,
|
433 |
+
"rstrip": false,
|
434 |
+
"single_word": false,
|
435 |
+
"special": false
|
436 |
+
},
|
437 |
+
"54": {
|
438 |
+
"content": "<unused47>",
|
439 |
+
"lstrip": false,
|
440 |
+
"normalized": false,
|
441 |
+
"rstrip": false,
|
442 |
+
"single_word": false,
|
443 |
+
"special": false
|
444 |
+
},
|
445 |
+
"55": {
|
446 |
+
"content": "<unused48>",
|
447 |
+
"lstrip": false,
|
448 |
+
"normalized": false,
|
449 |
+
"rstrip": false,
|
450 |
+
"single_word": false,
|
451 |
+
"special": false
|
452 |
+
},
|
453 |
+
"56": {
|
454 |
+
"content": "<unused49>",
|
455 |
+
"lstrip": false,
|
456 |
+
"normalized": false,
|
457 |
+
"rstrip": false,
|
458 |
+
"single_word": false,
|
459 |
+
"special": false
|
460 |
+
},
|
461 |
+
"57": {
|
462 |
+
"content": "<unused50>",
|
463 |
+
"lstrip": false,
|
464 |
+
"normalized": false,
|
465 |
+
"rstrip": false,
|
466 |
+
"single_word": false,
|
467 |
+
"special": false
|
468 |
+
},
|
469 |
+
"58": {
|
470 |
+
"content": "<unused51>",
|
471 |
+
"lstrip": false,
|
472 |
+
"normalized": false,
|
473 |
+
"rstrip": false,
|
474 |
+
"single_word": false,
|
475 |
+
"special": false
|
476 |
+
},
|
477 |
+
"59": {
|
478 |
+
"content": "<unused52>",
|
479 |
+
"lstrip": false,
|
480 |
+
"normalized": false,
|
481 |
+
"rstrip": false,
|
482 |
+
"single_word": false,
|
483 |
+
"special": false
|
484 |
+
},
|
485 |
+
"60": {
|
486 |
+
"content": "<unused53>",
|
487 |
+
"lstrip": false,
|
488 |
+
"normalized": false,
|
489 |
+
"rstrip": false,
|
490 |
+
"single_word": false,
|
491 |
+
"special": false
|
492 |
+
},
|
493 |
+
"61": {
|
494 |
+
"content": "<unused54>",
|
495 |
+
"lstrip": false,
|
496 |
+
"normalized": false,
|
497 |
+
"rstrip": false,
|
498 |
+
"single_word": false,
|
499 |
+
"special": false
|
500 |
+
},
|
501 |
+
"62": {
|
502 |
+
"content": "<unused55>",
|
503 |
+
"lstrip": false,
|
504 |
+
"normalized": false,
|
505 |
+
"rstrip": false,
|
506 |
+
"single_word": false,
|
507 |
+
"special": false
|
508 |
+
},
|
509 |
+
"63": {
|
510 |
+
"content": "<unused56>",
|
511 |
+
"lstrip": false,
|
512 |
+
"normalized": false,
|
513 |
+
"rstrip": false,
|
514 |
+
"single_word": false,
|
515 |
+
"special": false
|
516 |
+
},
|
517 |
+
"64": {
|
518 |
+
"content": "<unused57>",
|
519 |
+
"lstrip": false,
|
520 |
+
"normalized": false,
|
521 |
+
"rstrip": false,
|
522 |
+
"single_word": false,
|
523 |
+
"special": false
|
524 |
+
},
|
525 |
+
"65": {
|
526 |
+
"content": "<unused58>",
|
527 |
+
"lstrip": false,
|
528 |
+
"normalized": false,
|
529 |
+
"rstrip": false,
|
530 |
+
"single_word": false,
|
531 |
+
"special": false
|
532 |
+
},
|
533 |
+
"66": {
|
534 |
+
"content": "<unused59>",
|
535 |
+
"lstrip": false,
|
536 |
+
"normalized": false,
|
537 |
+
"rstrip": false,
|
538 |
+
"single_word": false,
|
539 |
+
"special": false
|
540 |
+
},
|
541 |
+
"67": {
|
542 |
+
"content": "<unused60>",
|
543 |
+
"lstrip": false,
|
544 |
+
"normalized": false,
|
545 |
+
"rstrip": false,
|
546 |
+
"single_word": false,
|
547 |
+
"special": false
|
548 |
+
},
|
549 |
+
"68": {
|
550 |
+
"content": "<unused61>",
|
551 |
+
"lstrip": false,
|
552 |
+
"normalized": false,
|
553 |
+
"rstrip": false,
|
554 |
+
"single_word": false,
|
555 |
+
"special": false
|
556 |
+
},
|
557 |
+
"69": {
|
558 |
+
"content": "<unused62>",
|
559 |
+
"lstrip": false,
|
560 |
+
"normalized": false,
|
561 |
+
"rstrip": false,
|
562 |
+
"single_word": false,
|
563 |
+
"special": false
|
564 |
+
},
|
565 |
+
"70": {
|
566 |
+
"content": "<unused63>",
|
567 |
+
"lstrip": false,
|
568 |
+
"normalized": false,
|
569 |
+
"rstrip": false,
|
570 |
+
"single_word": false,
|
571 |
+
"special": false
|
572 |
+
},
|
573 |
+
"71": {
|
574 |
+
"content": "<unused64>",
|
575 |
+
"lstrip": false,
|
576 |
+
"normalized": false,
|
577 |
+
"rstrip": false,
|
578 |
+
"single_word": false,
|
579 |
+
"special": false
|
580 |
+
},
|
581 |
+
"72": {
|
582 |
+
"content": "<unused65>",
|
583 |
+
"lstrip": false,
|
584 |
+
"normalized": false,
|
585 |
+
"rstrip": false,
|
586 |
+
"single_word": false,
|
587 |
+
"special": false
|
588 |
+
},
|
589 |
+
"73": {
|
590 |
+
"content": "<unused66>",
|
591 |
+
"lstrip": false,
|
592 |
+
"normalized": false,
|
593 |
+
"rstrip": false,
|
594 |
+
"single_word": false,
|
595 |
+
"special": false
|
596 |
+
},
|
597 |
+
"74": {
|
598 |
+
"content": "<unused67>",
|
599 |
+
"lstrip": false,
|
600 |
+
"normalized": false,
|
601 |
+
"rstrip": false,
|
602 |
+
"single_word": false,
|
603 |
+
"special": false
|
604 |
+
},
|
605 |
+
"75": {
|
606 |
+
"content": "<unused68>",
|
607 |
+
"lstrip": false,
|
608 |
+
"normalized": false,
|
609 |
+
"rstrip": false,
|
610 |
+
"single_word": false,
|
611 |
+
"special": false
|
612 |
+
},
|
613 |
+
"76": {
|
614 |
+
"content": "<unused69>",
|
615 |
+
"lstrip": false,
|
616 |
+
"normalized": false,
|
617 |
+
"rstrip": false,
|
618 |
+
"single_word": false,
|
619 |
+
"special": false
|
620 |
+
},
|
621 |
+
"77": {
|
622 |
+
"content": "<unused70>",
|
623 |
+
"lstrip": false,
|
624 |
+
"normalized": false,
|
625 |
+
"rstrip": false,
|
626 |
+
"single_word": false,
|
627 |
+
"special": false
|
628 |
+
},
|
629 |
+
"78": {
|
630 |
+
"content": "<unused71>",
|
631 |
+
"lstrip": false,
|
632 |
+
"normalized": false,
|
633 |
+
"rstrip": false,
|
634 |
+
"single_word": false,
|
635 |
+
"special": false
|
636 |
+
},
|
637 |
+
"79": {
|
638 |
+
"content": "<unused72>",
|
639 |
+
"lstrip": false,
|
640 |
+
"normalized": false,
|
641 |
+
"rstrip": false,
|
642 |
+
"single_word": false,
|
643 |
+
"special": false
|
644 |
+
},
|
645 |
+
"80": {
|
646 |
+
"content": "<unused73>",
|
647 |
+
"lstrip": false,
|
648 |
+
"normalized": false,
|
649 |
+
"rstrip": false,
|
650 |
+
"single_word": false,
|
651 |
+
"special": false
|
652 |
+
},
|
653 |
+
"81": {
|
654 |
+
"content": "<unused74>",
|
655 |
+
"lstrip": false,
|
656 |
+
"normalized": false,
|
657 |
+
"rstrip": false,
|
658 |
+
"single_word": false,
|
659 |
+
"special": false
|
660 |
+
},
|
661 |
+
"82": {
|
662 |
+
"content": "<unused75>",
|
663 |
+
"lstrip": false,
|
664 |
+
"normalized": false,
|
665 |
+
"rstrip": false,
|
666 |
+
"single_word": false,
|
667 |
+
"special": false
|
668 |
+
},
|
669 |
+
"83": {
|
670 |
+
"content": "<unused76>",
|
671 |
+
"lstrip": false,
|
672 |
+
"normalized": false,
|
673 |
+
"rstrip": false,
|
674 |
+
"single_word": false,
|
675 |
+
"special": false
|
676 |
+
},
|
677 |
+
"84": {
|
678 |
+
"content": "<unused77>",
|
679 |
+
"lstrip": false,
|
680 |
+
"normalized": false,
|
681 |
+
"rstrip": false,
|
682 |
+
"single_word": false,
|
683 |
+
"special": false
|
684 |
+
},
|
685 |
+
"85": {
|
686 |
+
"content": "<unused78>",
|
687 |
+
"lstrip": false,
|
688 |
+
"normalized": false,
|
689 |
+
"rstrip": false,
|
690 |
+
"single_word": false,
|
691 |
+
"special": false
|
692 |
+
},
|
693 |
+
"86": {
|
694 |
+
"content": "<unused79>",
|
695 |
+
"lstrip": false,
|
696 |
+
"normalized": false,
|
697 |
+
"rstrip": false,
|
698 |
+
"single_word": false,
|
699 |
+
"special": false
|
700 |
+
},
|
701 |
+
"87": {
|
702 |
+
"content": "<unused80>",
|
703 |
+
"lstrip": false,
|
704 |
+
"normalized": false,
|
705 |
+
"rstrip": false,
|
706 |
+
"single_word": false,
|
707 |
+
"special": false
|
708 |
+
},
|
709 |
+
"88": {
|
710 |
+
"content": "<unused81>",
|
711 |
+
"lstrip": false,
|
712 |
+
"normalized": false,
|
713 |
+
"rstrip": false,
|
714 |
+
"single_word": false,
|
715 |
+
"special": false
|
716 |
+
},
|
717 |
+
"89": {
|
718 |
+
"content": "<unused82>",
|
719 |
+
"lstrip": false,
|
720 |
+
"normalized": false,
|
721 |
+
"rstrip": false,
|
722 |
+
"single_word": false,
|
723 |
+
"special": false
|
724 |
+
},
|
725 |
+
"90": {
|
726 |
+
"content": "<unused83>",
|
727 |
+
"lstrip": false,
|
728 |
+
"normalized": false,
|
729 |
+
"rstrip": false,
|
730 |
+
"single_word": false,
|
731 |
+
"special": false
|
732 |
+
},
|
733 |
+
"91": {
|
734 |
+
"content": "<unused84>",
|
735 |
+
"lstrip": false,
|
736 |
+
"normalized": false,
|
737 |
+
"rstrip": false,
|
738 |
+
"single_word": false,
|
739 |
+
"special": false
|
740 |
+
},
|
741 |
+
"92": {
|
742 |
+
"content": "<unused85>",
|
743 |
+
"lstrip": false,
|
744 |
+
"normalized": false,
|
745 |
+
"rstrip": false,
|
746 |
+
"single_word": false,
|
747 |
+
"special": false
|
748 |
+
},
|
749 |
+
"93": {
|
750 |
+
"content": "<unused86>",
|
751 |
+
"lstrip": false,
|
752 |
+
"normalized": false,
|
753 |
+
"rstrip": false,
|
754 |
+
"single_word": false,
|
755 |
+
"special": false
|
756 |
+
},
|
757 |
+
"94": {
|
758 |
+
"content": "<unused87>",
|
759 |
+
"lstrip": false,
|
760 |
+
"normalized": false,
|
761 |
+
"rstrip": false,
|
762 |
+
"single_word": false,
|
763 |
+
"special": false
|
764 |
+
},
|
765 |
+
"95": {
|
766 |
+
"content": "<unused88>",
|
767 |
+
"lstrip": false,
|
768 |
+
"normalized": false,
|
769 |
+
"rstrip": false,
|
770 |
+
"single_word": false,
|
771 |
+
"special": false
|
772 |
+
},
|
773 |
+
"96": {
|
774 |
+
"content": "<unused89>",
|
775 |
+
"lstrip": false,
|
776 |
+
"normalized": false,
|
777 |
+
"rstrip": false,
|
778 |
+
"single_word": false,
|
779 |
+
"special": false
|
780 |
+
},
|
781 |
+
"97": {
|
782 |
+
"content": "<unused90>",
|
783 |
+
"lstrip": false,
|
784 |
+
"normalized": false,
|
785 |
+
"rstrip": false,
|
786 |
+
"single_word": false,
|
787 |
+
"special": false
|
788 |
+
},
|
789 |
+
"98": {
|
790 |
+
"content": "<unused91>",
|
791 |
+
"lstrip": false,
|
792 |
+
"normalized": false,
|
793 |
+
"rstrip": false,
|
794 |
+
"single_word": false,
|
795 |
+
"special": false
|
796 |
+
},
|
797 |
+
"99": {
|
798 |
+
"content": "<unused92>",
|
799 |
+
"lstrip": false,
|
800 |
+
"normalized": false,
|
801 |
+
"rstrip": false,
|
802 |
+
"single_word": false,
|
803 |
+
"special": false
|
804 |
+
},
|
805 |
+
"100": {
|
806 |
+
"content": "<unused93>",
|
807 |
+
"lstrip": false,
|
808 |
+
"normalized": false,
|
809 |
+
"rstrip": false,
|
810 |
+
"single_word": false,
|
811 |
+
"special": false
|
812 |
+
},
|
813 |
+
"101": {
|
814 |
+
"content": "<unused94>",
|
815 |
+
"lstrip": false,
|
816 |
+
"normalized": false,
|
817 |
+
"rstrip": false,
|
818 |
+
"single_word": false,
|
819 |
+
"special": false
|
820 |
+
},
|
821 |
+
"102": {
|
822 |
+
"content": "<unused95>",
|
823 |
+
"lstrip": false,
|
824 |
+
"normalized": false,
|
825 |
+
"rstrip": false,
|
826 |
+
"single_word": false,
|
827 |
+
"special": false
|
828 |
+
},
|
829 |
+
"103": {
|
830 |
+
"content": "<unused96>",
|
831 |
+
"lstrip": false,
|
832 |
+
"normalized": false,
|
833 |
+
"rstrip": false,
|
834 |
+
"single_word": false,
|
835 |
+
"special": false
|
836 |
+
},
|
837 |
+
"104": {
|
838 |
+
"content": "<unused97>",
|
839 |
+
"lstrip": false,
|
840 |
+
"normalized": false,
|
841 |
+
"rstrip": false,
|
842 |
+
"single_word": false,
|
843 |
+
"special": false
|
844 |
+
},
|
845 |
+
"105": {
|
846 |
+
"content": "<unused98>",
|
847 |
+
"lstrip": false,
|
848 |
+
"normalized": false,
|
849 |
+
"rstrip": false,
|
850 |
+
"single_word": false,
|
851 |
+
"special": false
|
852 |
+
},
|
853 |
+
"106": {
|
854 |
+
"content": "<start_of_turn>",
|
855 |
+
"lstrip": false,
|
856 |
+
"normalized": false,
|
857 |
+
"rstrip": false,
|
858 |
+
"single_word": false,
|
859 |
+
"special": true
|
860 |
+
},
|
861 |
+
"107": {
|
862 |
+
"content": "<end_of_turn>",
|
863 |
+
"lstrip": false,
|
864 |
+
"normalized": false,
|
865 |
+
"rstrip": false,
|
866 |
+
"single_word": false,
|
867 |
+
"special": true
|
868 |
+
},
|
869 |
+
"108": {
|
870 |
+
"content": "\n",
|
871 |
+
"lstrip": false,
|
872 |
+
"normalized": false,
|
873 |
+
"rstrip": false,
|
874 |
+
"single_word": false,
|
875 |
+
"special": false
|
876 |
+
},
|
877 |
+
"109": {
|
878 |
+
"content": "\n\n",
|
879 |
+
"lstrip": false,
|
880 |
+
"normalized": false,
|
881 |
+
"rstrip": false,
|
882 |
+
"single_word": false,
|
883 |
+
"special": false
|
884 |
+
},
|
885 |
+
"110": {
|
886 |
+
"content": "\n\n\n",
|
887 |
+
"lstrip": false,
|
888 |
+
"normalized": false,
|
889 |
+
"rstrip": false,
|
890 |
+
"single_word": false,
|
891 |
+
"special": false
|
892 |
+
},
|
893 |
+
"111": {
|
894 |
+
"content": "\n\n\n\n",
|
895 |
+
"lstrip": false,
|
896 |
+
"normalized": false,
|
897 |
+
"rstrip": false,
|
898 |
+
"single_word": false,
|
899 |
+
"special": false
|
900 |
+
},
|
901 |
+
"112": {
|
902 |
+
"content": "\n\n\n\n\n",
|
903 |
+
"lstrip": false,
|
904 |
+
"normalized": false,
|
905 |
+
"rstrip": false,
|
906 |
+
"single_word": false,
|
907 |
+
"special": false
|
908 |
+
},
|
909 |
+
"113": {
|
910 |
+
"content": "\n\n\n\n\n\n",
|
911 |
+
"lstrip": false,
|
912 |
+
"normalized": false,
|
913 |
+
"rstrip": false,
|
914 |
+
"single_word": false,
|
915 |
+
"special": false
|
916 |
+
},
|
917 |
+
"114": {
|
918 |
+
"content": "\n\n\n\n\n\n\n",
|
919 |
+
"lstrip": false,
|
920 |
+
"normalized": false,
|
921 |
+
"rstrip": false,
|
922 |
+
"single_word": false,
|
923 |
+
"special": false
|
924 |
+
},
|
925 |
+
"115": {
|
926 |
+
"content": "\n\n\n\n\n\n\n\n",
|
927 |
+
"lstrip": false,
|
928 |
+
"normalized": false,
|
929 |
+
"rstrip": false,
|
930 |
+
"single_word": false,
|
931 |
+
"special": false
|
932 |
+
},
|
933 |
+
"116": {
|
934 |
+
"content": "\n\n\n\n\n\n\n\n\n",
|
935 |
+
"lstrip": false,
|
936 |
+
"normalized": false,
|
937 |
+
"rstrip": false,
|
938 |
+
"single_word": false,
|
939 |
+
"special": false
|
940 |
+
},
|
941 |
+
"117": {
|
942 |
+
"content": "\n\n\n\n\n\n\n\n\n\n",
|
943 |
+
"lstrip": false,
|
944 |
+
"normalized": false,
|
945 |
+
"rstrip": false,
|
946 |
+
"single_word": false,
|
947 |
+
"special": false
|
948 |
+
},
|
949 |
+
"118": {
|
950 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n",
|
951 |
+
"lstrip": false,
|
952 |
+
"normalized": false,
|
953 |
+
"rstrip": false,
|
954 |
+
"single_word": false,
|
955 |
+
"special": false
|
956 |
+
},
|
957 |
+
"119": {
|
958 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n",
|
959 |
+
"lstrip": false,
|
960 |
+
"normalized": false,
|
961 |
+
"rstrip": false,
|
962 |
+
"single_word": false,
|
963 |
+
"special": false
|
964 |
+
},
|
965 |
+
"120": {
|
966 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
967 |
+
"lstrip": false,
|
968 |
+
"normalized": false,
|
969 |
+
"rstrip": false,
|
970 |
+
"single_word": false,
|
971 |
+
"special": false
|
972 |
+
},
|
973 |
+
"121": {
|
974 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
975 |
+
"lstrip": false,
|
976 |
+
"normalized": false,
|
977 |
+
"rstrip": false,
|
978 |
+
"single_word": false,
|
979 |
+
"special": false
|
980 |
+
},
|
981 |
+
"122": {
|
982 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
983 |
+
"lstrip": false,
|
984 |
+
"normalized": false,
|
985 |
+
"rstrip": false,
|
986 |
+
"single_word": false,
|
987 |
+
"special": false
|
988 |
+
},
|
989 |
+
"123": {
|
990 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
991 |
+
"lstrip": false,
|
992 |
+
"normalized": false,
|
993 |
+
"rstrip": false,
|
994 |
+
"single_word": false,
|
995 |
+
"special": false
|
996 |
+
},
|
997 |
+
"124": {
|
998 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
999 |
+
"lstrip": false,
|
1000 |
+
"normalized": false,
|
1001 |
+
"rstrip": false,
|
1002 |
+
"single_word": false,
|
1003 |
+
"special": false
|
1004 |
+
},
|
1005 |
+
"125": {
|
1006 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1007 |
+
"lstrip": false,
|
1008 |
+
"normalized": false,
|
1009 |
+
"rstrip": false,
|
1010 |
+
"single_word": false,
|
1011 |
+
"special": false
|
1012 |
+
},
|
1013 |
+
"126": {
|
1014 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1015 |
+
"lstrip": false,
|
1016 |
+
"normalized": false,
|
1017 |
+
"rstrip": false,
|
1018 |
+
"single_word": false,
|
1019 |
+
"special": false
|
1020 |
+
},
|
1021 |
+
"127": {
|
1022 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1023 |
+
"lstrip": false,
|
1024 |
+
"normalized": false,
|
1025 |
+
"rstrip": false,
|
1026 |
+
"single_word": false,
|
1027 |
+
"special": false
|
1028 |
+
},
|
1029 |
+
"128": {
|
1030 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1031 |
+
"lstrip": false,
|
1032 |
+
"normalized": false,
|
1033 |
+
"rstrip": false,
|
1034 |
+
"single_word": false,
|
1035 |
+
"special": false
|
1036 |
+
},
|
1037 |
+
"129": {
|
1038 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1039 |
+
"lstrip": false,
|
1040 |
+
"normalized": false,
|
1041 |
+
"rstrip": false,
|
1042 |
+
"single_word": false,
|
1043 |
+
"special": false
|
1044 |
+
},
|
1045 |
+
"130": {
|
1046 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1047 |
+
"lstrip": false,
|
1048 |
+
"normalized": false,
|
1049 |
+
"rstrip": false,
|
1050 |
+
"single_word": false,
|
1051 |
+
"special": false
|
1052 |
+
},
|
1053 |
+
"131": {
|
1054 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1055 |
+
"lstrip": false,
|
1056 |
+
"normalized": false,
|
1057 |
+
"rstrip": false,
|
1058 |
+
"single_word": false,
|
1059 |
+
"special": false
|
1060 |
+
},
|
1061 |
+
"132": {
|
1062 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1063 |
+
"lstrip": false,
|
1064 |
+
"normalized": false,
|
1065 |
+
"rstrip": false,
|
1066 |
+
"single_word": false,
|
1067 |
+
"special": false
|
1068 |
+
},
|
1069 |
+
"133": {
|
1070 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1071 |
+
"lstrip": false,
|
1072 |
+
"normalized": false,
|
1073 |
+
"rstrip": false,
|
1074 |
+
"single_word": false,
|
1075 |
+
"special": false
|
1076 |
+
},
|
1077 |
+
"134": {
|
1078 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1079 |
+
"lstrip": false,
|
1080 |
+
"normalized": false,
|
1081 |
+
"rstrip": false,
|
1082 |
+
"single_word": false,
|
1083 |
+
"special": false
|
1084 |
+
},
|
1085 |
+
"135": {
|
1086 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1087 |
+
"lstrip": false,
|
1088 |
+
"normalized": false,
|
1089 |
+
"rstrip": false,
|
1090 |
+
"single_word": false,
|
1091 |
+
"special": false
|
1092 |
+
},
|
1093 |
+
"136": {
|
1094 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1095 |
+
"lstrip": false,
|
1096 |
+
"normalized": false,
|
1097 |
+
"rstrip": false,
|
1098 |
+
"single_word": false,
|
1099 |
+
"special": false
|
1100 |
+
},
|
1101 |
+
"137": {
|
1102 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1103 |
+
"lstrip": false,
|
1104 |
+
"normalized": false,
|
1105 |
+
"rstrip": false,
|
1106 |
+
"single_word": false,
|
1107 |
+
"special": false
|
1108 |
+
},
|
1109 |
+
"138": {
|
1110 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1111 |
+
"lstrip": false,
|
1112 |
+
"normalized": false,
|
1113 |
+
"rstrip": false,
|
1114 |
+
"single_word": false,
|
1115 |
+
"special": false
|
1116 |
+
},
|
1117 |
+
"139": {
|
1118 |
+
"content": "▁▁",
|
1119 |
+
"lstrip": false,
|
1120 |
+
"normalized": false,
|
1121 |
+
"rstrip": false,
|
1122 |
+
"single_word": false,
|
1123 |
+
"special": false
|
1124 |
+
},
|
1125 |
+
"140": {
|
1126 |
+
"content": "▁▁▁",
|
1127 |
+
"lstrip": false,
|
1128 |
+
"normalized": false,
|
1129 |
+
"rstrip": false,
|
1130 |
+
"single_word": false,
|
1131 |
+
"special": false
|
1132 |
+
},
|
1133 |
+
"141": {
|
1134 |
+
"content": "▁▁▁▁",
|
1135 |
+
"lstrip": false,
|
1136 |
+
"normalized": false,
|
1137 |
+
"rstrip": false,
|
1138 |
+
"single_word": false,
|
1139 |
+
"special": false
|
1140 |
+
},
|
1141 |
+
"142": {
|
1142 |
+
"content": "▁▁▁▁▁",
|
1143 |
+
"lstrip": false,
|
1144 |
+
"normalized": false,
|
1145 |
+
"rstrip": false,
|
1146 |
+
"single_word": false,
|
1147 |
+
"special": false
|
1148 |
+
},
|
1149 |
+
"143": {
|
1150 |
+
"content": "▁▁▁▁▁▁",
|
1151 |
+
"lstrip": false,
|
1152 |
+
"normalized": false,
|
1153 |
+
"rstrip": false,
|
1154 |
+
"single_word": false,
|
1155 |
+
"special": false
|
1156 |
+
},
|
1157 |
+
"144": {
|
1158 |
+
"content": "▁▁▁▁▁▁▁",
|
1159 |
+
"lstrip": false,
|
1160 |
+
"normalized": false,
|
1161 |
+
"rstrip": false,
|
1162 |
+
"single_word": false,
|
1163 |
+
"special": false
|
1164 |
+
},
|
1165 |
+
"145": {
|
1166 |
+
"content": "▁▁▁▁▁▁▁▁",
|
1167 |
+
"lstrip": false,
|
1168 |
+
"normalized": false,
|
1169 |
+
"rstrip": false,
|
1170 |
+
"single_word": false,
|
1171 |
+
"special": false
|
1172 |
+
},
|
1173 |
+
"146": {
|
1174 |
+
"content": "▁▁▁▁▁▁▁▁▁",
|
1175 |
+
"lstrip": false,
|
1176 |
+
"normalized": false,
|
1177 |
+
"rstrip": false,
|
1178 |
+
"single_word": false,
|
1179 |
+
"special": false
|
1180 |
+
},
|
1181 |
+
"147": {
|
1182 |
+
"content": "▁▁▁▁▁▁▁▁▁▁",
|
1183 |
+
"lstrip": false,
|
1184 |
+
"normalized": false,
|
1185 |
+
"rstrip": false,
|
1186 |
+
"single_word": false,
|
1187 |
+
"special": false
|
1188 |
+
},
|
1189 |
+
"148": {
|
1190 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁",
|
1191 |
+
"lstrip": false,
|
1192 |
+
"normalized": false,
|
1193 |
+
"rstrip": false,
|
1194 |
+
"single_word": false,
|
1195 |
+
"special": false
|
1196 |
+
},
|
1197 |
+
"149": {
|
1198 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁",
|
1199 |
+
"lstrip": false,
|
1200 |
+
"normalized": false,
|
1201 |
+
"rstrip": false,
|
1202 |
+
"single_word": false,
|
1203 |
+
"special": false
|
1204 |
+
},
|
1205 |
+
"150": {
|
1206 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1207 |
+
"lstrip": false,
|
1208 |
+
"normalized": false,
|
1209 |
+
"rstrip": false,
|
1210 |
+
"single_word": false,
|
1211 |
+
"special": false
|
1212 |
+
},
|
1213 |
+
"151": {
|
1214 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1215 |
+
"lstrip": false,
|
1216 |
+
"normalized": false,
|
1217 |
+
"rstrip": false,
|
1218 |
+
"single_word": false,
|
1219 |
+
"special": false
|
1220 |
+
},
|
1221 |
+
"152": {
|
1222 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1223 |
+
"lstrip": false,
|
1224 |
+
"normalized": false,
|
1225 |
+
"rstrip": false,
|
1226 |
+
"single_word": false,
|
1227 |
+
"special": false
|
1228 |
+
},
|
1229 |
+
"153": {
|
1230 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1231 |
+
"lstrip": false,
|
1232 |
+
"normalized": false,
|
1233 |
+
"rstrip": false,
|
1234 |
+
"single_word": false,
|
1235 |
+
"special": false
|
1236 |
+
},
|
1237 |
+
"154": {
|
1238 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1239 |
+
"lstrip": false,
|
1240 |
+
"normalized": false,
|
1241 |
+
"rstrip": false,
|
1242 |
+
"single_word": false,
|
1243 |
+
"special": false
|
1244 |
+
},
|
1245 |
+
"155": {
|
1246 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1247 |
+
"lstrip": false,
|
1248 |
+
"normalized": false,
|
1249 |
+
"rstrip": false,
|
1250 |
+
"single_word": false,
|
1251 |
+
"special": false
|
1252 |
+
},
|
1253 |
+
"156": {
|
1254 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1255 |
+
"lstrip": false,
|
1256 |
+
"normalized": false,
|
1257 |
+
"rstrip": false,
|
1258 |
+
"single_word": false,
|
1259 |
+
"special": false
|
1260 |
+
},
|
1261 |
+
"157": {
|
1262 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1263 |
+
"lstrip": false,
|
1264 |
+
"normalized": false,
|
1265 |
+
"rstrip": false,
|
1266 |
+
"single_word": false,
|
1267 |
+
"special": false
|
1268 |
+
},
|
1269 |
+
"158": {
|
1270 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1271 |
+
"lstrip": false,
|
1272 |
+
"normalized": false,
|
1273 |
+
"rstrip": false,
|
1274 |
+
"single_word": false,
|
1275 |
+
"special": false
|
1276 |
+
},
|
1277 |
+
"159": {
|
1278 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1279 |
+
"lstrip": false,
|
1280 |
+
"normalized": false,
|
1281 |
+
"rstrip": false,
|
1282 |
+
"single_word": false,
|
1283 |
+
"special": false
|
1284 |
+
},
|
1285 |
+
"160": {
|
1286 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1287 |
+
"lstrip": false,
|
1288 |
+
"normalized": false,
|
1289 |
+
"rstrip": false,
|
1290 |
+
"single_word": false,
|
1291 |
+
"special": false
|
1292 |
+
},
|
1293 |
+
"161": {
|
1294 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1295 |
+
"lstrip": false,
|
1296 |
+
"normalized": false,
|
1297 |
+
"rstrip": false,
|
1298 |
+
"single_word": false,
|
1299 |
+
"special": false
|
1300 |
+
},
|
1301 |
+
"162": {
|
1302 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1303 |
+
"lstrip": false,
|
1304 |
+
"normalized": false,
|
1305 |
+
"rstrip": false,
|
1306 |
+
"single_word": false,
|
1307 |
+
"special": false
|
1308 |
+
},
|
1309 |
+
"163": {
|
1310 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1311 |
+
"lstrip": false,
|
1312 |
+
"normalized": false,
|
1313 |
+
"rstrip": false,
|
1314 |
+
"single_word": false,
|
1315 |
+
"special": false
|
1316 |
+
},
|
1317 |
+
"164": {
|
1318 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1319 |
+
"lstrip": false,
|
1320 |
+
"normalized": false,
|
1321 |
+
"rstrip": false,
|
1322 |
+
"single_word": false,
|
1323 |
+
"special": false
|
1324 |
+
},
|
1325 |
+
"165": {
|
1326 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1327 |
+
"lstrip": false,
|
1328 |
+
"normalized": false,
|
1329 |
+
"rstrip": false,
|
1330 |
+
"single_word": false,
|
1331 |
+
"special": false
|
1332 |
+
},
|
1333 |
+
"166": {
|
1334 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1335 |
+
"lstrip": false,
|
1336 |
+
"normalized": false,
|
1337 |
+
"rstrip": false,
|
1338 |
+
"single_word": false,
|
1339 |
+
"special": false
|
1340 |
+
},
|
1341 |
+
"167": {
|
1342 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1343 |
+
"lstrip": false,
|
1344 |
+
"normalized": false,
|
1345 |
+
"rstrip": false,
|
1346 |
+
"single_word": false,
|
1347 |
+
"special": false
|
1348 |
+
},
|
1349 |
+
"168": {
|
1350 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1351 |
+
"lstrip": false,
|
1352 |
+
"normalized": false,
|
1353 |
+
"rstrip": false,
|
1354 |
+
"single_word": false,
|
1355 |
+
"special": false
|
1356 |
+
},
|
1357 |
+
"169": {
|
1358 |
+
"content": "<table>",
|
1359 |
+
"lstrip": false,
|
1360 |
+
"normalized": false,
|
1361 |
+
"rstrip": false,
|
1362 |
+
"single_word": false,
|
1363 |
+
"special": false
|
1364 |
+
},
|
1365 |
+
"170": {
|
1366 |
+
"content": "<caption>",
|
1367 |
+
"lstrip": false,
|
1368 |
+
"normalized": false,
|
1369 |
+
"rstrip": false,
|
1370 |
+
"single_word": false,
|
1371 |
+
"special": false
|
1372 |
+
},
|
1373 |
+
"171": {
|
1374 |
+
"content": "<thead>",
|
1375 |
+
"lstrip": false,
|
1376 |
+
"normalized": false,
|
1377 |
+
"rstrip": false,
|
1378 |
+
"single_word": false,
|
1379 |
+
"special": false
|
1380 |
+
},
|
1381 |
+
"172": {
|
1382 |
+
"content": "<tbody>",
|
1383 |
+
"lstrip": false,
|
1384 |
+
"normalized": false,
|
1385 |
+
"rstrip": false,
|
1386 |
+
"single_word": false,
|
1387 |
+
"special": false
|
1388 |
+
},
|
1389 |
+
"173": {
|
1390 |
+
"content": "<tfoot>",
|
1391 |
+
"lstrip": false,
|
1392 |
+
"normalized": false,
|
1393 |
+
"rstrip": false,
|
1394 |
+
"single_word": false,
|
1395 |
+
"special": false
|
1396 |
+
},
|
1397 |
+
"174": {
|
1398 |
+
"content": "<tr>",
|
1399 |
+
"lstrip": false,
|
1400 |
+
"normalized": false,
|
1401 |
+
"rstrip": false,
|
1402 |
+
"single_word": false,
|
1403 |
+
"special": false
|
1404 |
+
},
|
1405 |
+
"175": {
|
1406 |
+
"content": "<th>",
|
1407 |
+
"lstrip": false,
|
1408 |
+
"normalized": false,
|
1409 |
+
"rstrip": false,
|
1410 |
+
"single_word": false,
|
1411 |
+
"special": false
|
1412 |
+
},
|
1413 |
+
"176": {
|
1414 |
+
"content": "<td>",
|
1415 |
+
"lstrip": false,
|
1416 |
+
"normalized": false,
|
1417 |
+
"rstrip": false,
|
1418 |
+
"single_word": false,
|
1419 |
+
"special": false
|
1420 |
+
},
|
1421 |
+
"177": {
|
1422 |
+
"content": "</table>",
|
1423 |
+
"lstrip": false,
|
1424 |
+
"normalized": false,
|
1425 |
+
"rstrip": false,
|
1426 |
+
"single_word": false,
|
1427 |
+
"special": false
|
1428 |
+
},
|
1429 |
+
"178": {
|
1430 |
+
"content": "</caption>",
|
1431 |
+
"lstrip": false,
|
1432 |
+
"normalized": false,
|
1433 |
+
"rstrip": false,
|
1434 |
+
"single_word": false,
|
1435 |
+
"special": false
|
1436 |
+
},
|
1437 |
+
"179": {
|
1438 |
+
"content": "</thead>",
|
1439 |
+
"lstrip": false,
|
1440 |
+
"normalized": false,
|
1441 |
+
"rstrip": false,
|
1442 |
+
"single_word": false,
|
1443 |
+
"special": false
|
1444 |
+
},
|
1445 |
+
"180": {
|
1446 |
+
"content": "</tbody>",
|
1447 |
+
"lstrip": false,
|
1448 |
+
"normalized": false,
|
1449 |
+
"rstrip": false,
|
1450 |
+
"single_word": false,
|
1451 |
+
"special": false
|
1452 |
+
},
|
1453 |
+
"181": {
|
1454 |
+
"content": "</tfoot>",
|
1455 |
+
"lstrip": false,
|
1456 |
+
"normalized": false,
|
1457 |
+
"rstrip": false,
|
1458 |
+
"single_word": false,
|
1459 |
+
"special": false
|
1460 |
+
},
|
1461 |
+
"182": {
|
1462 |
+
"content": "</tr>",
|
1463 |
+
"lstrip": false,
|
1464 |
+
"normalized": false,
|
1465 |
+
"rstrip": false,
|
1466 |
+
"single_word": false,
|
1467 |
+
"special": false
|
1468 |
+
},
|
1469 |
+
"183": {
|
1470 |
+
"content": "</th>",
|
1471 |
+
"lstrip": false,
|
1472 |
+
"normalized": false,
|
1473 |
+
"rstrip": false,
|
1474 |
+
"single_word": false,
|
1475 |
+
"special": false
|
1476 |
+
},
|
1477 |
+
"184": {
|
1478 |
+
"content": "</td>",
|
1479 |
+
"lstrip": false,
|
1480 |
+
"normalized": false,
|
1481 |
+
"rstrip": false,
|
1482 |
+
"single_word": false,
|
1483 |
+
"special": false
|
1484 |
+
},
|
1485 |
+
"185": {
|
1486 |
+
"content": "<h1>",
|
1487 |
+
"lstrip": false,
|
1488 |
+
"normalized": false,
|
1489 |
+
"rstrip": false,
|
1490 |
+
"single_word": false,
|
1491 |
+
"special": false
|
1492 |
+
},
|
1493 |
+
"186": {
|
1494 |
+
"content": "<h2>",
|
1495 |
+
"lstrip": false,
|
1496 |
+
"normalized": false,
|
1497 |
+
"rstrip": false,
|
1498 |
+
"single_word": false,
|
1499 |
+
"special": false
|
1500 |
+
},
|
1501 |
+
"187": {
|
1502 |
+
"content": "<h3>",
|
1503 |
+
"lstrip": false,
|
1504 |
+
"normalized": false,
|
1505 |
+
"rstrip": false,
|
1506 |
+
"single_word": false,
|
1507 |
+
"special": false
|
1508 |
+
},
|
1509 |
+
"188": {
|
1510 |
+
"content": "<h4>",
|
1511 |
+
"lstrip": false,
|
1512 |
+
"normalized": false,
|
1513 |
+
"rstrip": false,
|
1514 |
+
"single_word": false,
|
1515 |
+
"special": false
|
1516 |
+
},
|
1517 |
+
"189": {
|
1518 |
+
"content": "<h5>",
|
1519 |
+
"lstrip": false,
|
1520 |
+
"normalized": false,
|
1521 |
+
"rstrip": false,
|
1522 |
+
"single_word": false,
|
1523 |
+
"special": false
|
1524 |
+
},
|
1525 |
+
"190": {
|
1526 |
+
"content": "<h6>",
|
1527 |
+
"lstrip": false,
|
1528 |
+
"normalized": false,
|
1529 |
+
"rstrip": false,
|
1530 |
+
"single_word": false,
|
1531 |
+
"special": false
|
1532 |
+
},
|
1533 |
+
"191": {
|
1534 |
+
"content": "<blockquote>",
|
1535 |
+
"lstrip": false,
|
1536 |
+
"normalized": false,
|
1537 |
+
"rstrip": false,
|
1538 |
+
"single_word": false,
|
1539 |
+
"special": false
|
1540 |
+
},
|
1541 |
+
"192": {
|
1542 |
+
"content": "</h1>",
|
1543 |
+
"lstrip": false,
|
1544 |
+
"normalized": false,
|
1545 |
+
"rstrip": false,
|
1546 |
+
"single_word": false,
|
1547 |
+
"special": false
|
1548 |
+
},
|
1549 |
+
"193": {
|
1550 |
+
"content": "</h2>",
|
1551 |
+
"lstrip": false,
|
1552 |
+
"normalized": false,
|
1553 |
+
"rstrip": false,
|
1554 |
+
"single_word": false,
|
1555 |
+
"special": false
|
1556 |
+
},
|
1557 |
+
"194": {
|
1558 |
+
"content": "</h3>",
|
1559 |
+
"lstrip": false,
|
1560 |
+
"normalized": false,
|
1561 |
+
"rstrip": false,
|
1562 |
+
"single_word": false,
|
1563 |
+
"special": false
|
1564 |
+
},
|
1565 |
+
"195": {
|
1566 |
+
"content": "</h4>",
|
1567 |
+
"lstrip": false,
|
1568 |
+
"normalized": false,
|
1569 |
+
"rstrip": false,
|
1570 |
+
"single_word": false,
|
1571 |
+
"special": false
|
1572 |
+
},
|
1573 |
+
"196": {
|
1574 |
+
"content": "</h5>",
|
1575 |
+
"lstrip": false,
|
1576 |
+
"normalized": false,
|
1577 |
+
"rstrip": false,
|
1578 |
+
"single_word": false,
|
1579 |
+
"special": false
|
1580 |
+
},
|
1581 |
+
"197": {
|
1582 |
+
"content": "</h6>",
|
1583 |
+
"lstrip": false,
|
1584 |
+
"normalized": false,
|
1585 |
+
"rstrip": false,
|
1586 |
+
"single_word": false,
|
1587 |
+
"special": false
|
1588 |
+
},
|
1589 |
+
"198": {
|
1590 |
+
"content": "</blockquote>",
|
1591 |
+
"lstrip": false,
|
1592 |
+
"normalized": false,
|
1593 |
+
"rstrip": false,
|
1594 |
+
"single_word": false,
|
1595 |
+
"special": false
|
1596 |
+
},
|
1597 |
+
"199": {
|
1598 |
+
"content": "<strong>",
|
1599 |
+
"lstrip": false,
|
1600 |
+
"normalized": false,
|
1601 |
+
"rstrip": false,
|
1602 |
+
"single_word": false,
|
1603 |
+
"special": false
|
1604 |
+
},
|
1605 |
+
"200": {
|
1606 |
+
"content": "<em>",
|
1607 |
+
"lstrip": false,
|
1608 |
+
"normalized": false,
|
1609 |
+
"rstrip": false,
|
1610 |
+
"single_word": false,
|
1611 |
+
"special": false
|
1612 |
+
},
|
1613 |
+
"201": {
|
1614 |
+
"content": "<b>",
|
1615 |
+
"lstrip": false,
|
1616 |
+
"normalized": false,
|
1617 |
+
"rstrip": false,
|
1618 |
+
"single_word": false,
|
1619 |
+
"special": false
|
1620 |
+
},
|
1621 |
+
"202": {
|
1622 |
+
"content": "<i>",
|
1623 |
+
"lstrip": false,
|
1624 |
+
"normalized": false,
|
1625 |
+
"rstrip": false,
|
1626 |
+
"single_word": false,
|
1627 |
+
"special": false
|
1628 |
+
},
|
1629 |
+
"203": {
|
1630 |
+
"content": "<u>",
|
1631 |
+
"lstrip": false,
|
1632 |
+
"normalized": false,
|
1633 |
+
"rstrip": false,
|
1634 |
+
"single_word": false,
|
1635 |
+
"special": false
|
1636 |
+
},
|
1637 |
+
"204": {
|
1638 |
+
"content": "<s>",
|
1639 |
+
"lstrip": false,
|
1640 |
+
"normalized": false,
|
1641 |
+
"rstrip": false,
|
1642 |
+
"single_word": false,
|
1643 |
+
"special": false
|
1644 |
+
},
|
1645 |
+
"205": {
|
1646 |
+
"content": "<sub>",
|
1647 |
+
"lstrip": false,
|
1648 |
+
"normalized": false,
|
1649 |
+
"rstrip": false,
|
1650 |
+
"single_word": false,
|
1651 |
+
"special": false
|
1652 |
+
},
|
1653 |
+
"206": {
|
1654 |
+
"content": "<sup>",
|
1655 |
+
"lstrip": false,
|
1656 |
+
"normalized": false,
|
1657 |
+
"rstrip": false,
|
1658 |
+
"single_word": false,
|
1659 |
+
"special": false
|
1660 |
+
},
|
1661 |
+
"207": {
|
1662 |
+
"content": "<code>",
|
1663 |
+
"lstrip": false,
|
1664 |
+
"normalized": false,
|
1665 |
+
"rstrip": false,
|
1666 |
+
"single_word": false,
|
1667 |
+
"special": false
|
1668 |
+
},
|
1669 |
+
"208": {
|
1670 |
+
"content": "</strong>",
|
1671 |
+
"lstrip": false,
|
1672 |
+
"normalized": false,
|
1673 |
+
"rstrip": false,
|
1674 |
+
"single_word": false,
|
1675 |
+
"special": false
|
1676 |
+
},
|
1677 |
+
"209": {
|
1678 |
+
"content": "</em>",
|
1679 |
+
"lstrip": false,
|
1680 |
+
"normalized": false,
|
1681 |
+
"rstrip": false,
|
1682 |
+
"single_word": false,
|
1683 |
+
"special": false
|
1684 |
+
},
|
1685 |
+
"210": {
|
1686 |
+
"content": "</b>",
|
1687 |
+
"lstrip": false,
|
1688 |
+
"normalized": false,
|
1689 |
+
"rstrip": false,
|
1690 |
+
"single_word": false,
|
1691 |
+
"special": false
|
1692 |
+
},
|
1693 |
+
"211": {
|
1694 |
+
"content": "</i>",
|
1695 |
+
"lstrip": false,
|
1696 |
+
"normalized": false,
|
1697 |
+
"rstrip": false,
|
1698 |
+
"single_word": false,
|
1699 |
+
"special": false
|
1700 |
+
},
|
1701 |
+
"212": {
|
1702 |
+
"content": "</u>",
|
1703 |
+
"lstrip": false,
|
1704 |
+
"normalized": false,
|
1705 |
+
"rstrip": false,
|
1706 |
+
"single_word": false,
|
1707 |
+
"special": false
|
1708 |
+
},
|
1709 |
+
"213": {
|
1710 |
+
"content": "</s>",
|
1711 |
+
"lstrip": false,
|
1712 |
+
"normalized": false,
|
1713 |
+
"rstrip": false,
|
1714 |
+
"single_word": false,
|
1715 |
+
"special": false
|
1716 |
+
},
|
1717 |
+
"214": {
|
1718 |
+
"content": "</sub>",
|
1719 |
+
"lstrip": false,
|
1720 |
+
"normalized": false,
|
1721 |
+
"rstrip": false,
|
1722 |
+
"single_word": false,
|
1723 |
+
"special": false
|
1724 |
+
},
|
1725 |
+
"215": {
|
1726 |
+
"content": "</sup>",
|
1727 |
+
"lstrip": false,
|
1728 |
+
"normalized": false,
|
1729 |
+
"rstrip": false,
|
1730 |
+
"single_word": false,
|
1731 |
+
"special": false
|
1732 |
+
},
|
1733 |
+
"216": {
|
1734 |
+
"content": "</code>",
|
1735 |
+
"lstrip": false,
|
1736 |
+
"normalized": false,
|
1737 |
+
"rstrip": false,
|
1738 |
+
"single_word": false,
|
1739 |
+
"special": false
|
1740 |
+
}
|
1741 |
+
},
|
1742 |
+
"additional_special_tokens": [
|
1743 |
+
"<start_of_turn>",
|
1744 |
+
"<end_of_turn>"
|
1745 |
+
],
|
1746 |
+
"bos_token": "<bos>",
|
1747 |
+
"clean_up_tokenization_spaces": false,
|
1748 |
+
"eos_token": "<eos>",
|
1749 |
+
"max_length": 4096,
|
1750 |
+
"model_max_length": 1000000000000000019884624838656,
|
1751 |
+
"pad_token": "<eos>",
|
1752 |
+
"sp_model_kwargs": {},
|
1753 |
+
"spaces_between_special_tokens": false,
|
1754 |
+
"stride": 0,
|
1755 |
+
"tokenizer_class": "GemmaTokenizer",
|
1756 |
+
"truncation_side": "right",
|
1757 |
+
"truncation_strategy": "longest_first",
|
1758 |
+
"unk_token": "<unk>",
|
1759 |
+
"use_default_system_prompt": false
|
1760 |
+
}
|
RMmodels/gemma-2-9b_sftm3genre36007200/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e5c83e3b3b73d2647d74b5ae783cd66e92823acac7fcaf02b787aea1f2046579
|
3 |
+
size 5176
|
SFTmodels/gemma-2-9b_sftm2genre100714/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: google/gemma-2-9b
|
3 |
+
library_name: peft
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.12.0
|
SFTmodels/gemma-2-9b_sftm2genre100714/adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "google/gemma-2-9b",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 16,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 64,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"o_proj",
|
24 |
+
"q_proj",
|
25 |
+
"k_proj",
|
26 |
+
"v_proj"
|
27 |
+
],
|
28 |
+
"task_type": "CAUSAL_LM",
|
29 |
+
"use_dora": false,
|
30 |
+
"use_rslora": false
|
31 |
+
}
|
SFTmodels/gemma-2-9b_sftm2genre100714/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e090ba720934c8ad68e0f9e96ac348cdf2eadbde7919e22558b302b5747fedd5
|
3 |
+
size 286306976
|
SFTmodels/gemma-2-9b_sftm2genre100714/special_tokens_map.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<start_of_turn>",
|
4 |
+
"<end_of_turn>"
|
5 |
+
],
|
6 |
+
"bos_token": {
|
7 |
+
"content": "<bos>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"eos_token": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
},
|
20 |
+
"pad_token": "<eos>",
|
21 |
+
"unk_token": {
|
22 |
+
"content": "<unk>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false
|
27 |
+
}
|
28 |
+
}
|
SFTmodels/gemma-2-9b_sftm2genre100714/tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8bdd6fa579b0cae69393298845f25133763e90c5814db935ee4496d161aca4da
|
3 |
+
size 17518624
|
SFTmodels/gemma-2-9b_sftm2genre100714/tokenizer_config.json
ADDED
@@ -0,0 +1,1756 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<pad>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "<bos>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"3": {
|
30 |
+
"content": "<unk>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"4": {
|
38 |
+
"content": "<mask>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": false
|
44 |
+
},
|
45 |
+
"5": {
|
46 |
+
"content": "<2mass>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": false
|
52 |
+
},
|
53 |
+
"6": {
|
54 |
+
"content": "[@BOS@]",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": false,
|
58 |
+
"single_word": false,
|
59 |
+
"special": false
|
60 |
+
},
|
61 |
+
"7": {
|
62 |
+
"content": "<unused0>",
|
63 |
+
"lstrip": false,
|
64 |
+
"normalized": false,
|
65 |
+
"rstrip": false,
|
66 |
+
"single_word": false,
|
67 |
+
"special": false
|
68 |
+
},
|
69 |
+
"8": {
|
70 |
+
"content": "<unused1>",
|
71 |
+
"lstrip": false,
|
72 |
+
"normalized": false,
|
73 |
+
"rstrip": false,
|
74 |
+
"single_word": false,
|
75 |
+
"special": false
|
76 |
+
},
|
77 |
+
"9": {
|
78 |
+
"content": "<unused2>",
|
79 |
+
"lstrip": false,
|
80 |
+
"normalized": false,
|
81 |
+
"rstrip": false,
|
82 |
+
"single_word": false,
|
83 |
+
"special": false
|
84 |
+
},
|
85 |
+
"10": {
|
86 |
+
"content": "<unused3>",
|
87 |
+
"lstrip": false,
|
88 |
+
"normalized": false,
|
89 |
+
"rstrip": false,
|
90 |
+
"single_word": false,
|
91 |
+
"special": false
|
92 |
+
},
|
93 |
+
"11": {
|
94 |
+
"content": "<unused4>",
|
95 |
+
"lstrip": false,
|
96 |
+
"normalized": false,
|
97 |
+
"rstrip": false,
|
98 |
+
"single_word": false,
|
99 |
+
"special": false
|
100 |
+
},
|
101 |
+
"12": {
|
102 |
+
"content": "<unused5>",
|
103 |
+
"lstrip": false,
|
104 |
+
"normalized": false,
|
105 |
+
"rstrip": false,
|
106 |
+
"single_word": false,
|
107 |
+
"special": false
|
108 |
+
},
|
109 |
+
"13": {
|
110 |
+
"content": "<unused6>",
|
111 |
+
"lstrip": false,
|
112 |
+
"normalized": false,
|
113 |
+
"rstrip": false,
|
114 |
+
"single_word": false,
|
115 |
+
"special": false
|
116 |
+
},
|
117 |
+
"14": {
|
118 |
+
"content": "<unused7>",
|
119 |
+
"lstrip": false,
|
120 |
+
"normalized": false,
|
121 |
+
"rstrip": false,
|
122 |
+
"single_word": false,
|
123 |
+
"special": false
|
124 |
+
},
|
125 |
+
"15": {
|
126 |
+
"content": "<unused8>",
|
127 |
+
"lstrip": false,
|
128 |
+
"normalized": false,
|
129 |
+
"rstrip": false,
|
130 |
+
"single_word": false,
|
131 |
+
"special": false
|
132 |
+
},
|
133 |
+
"16": {
|
134 |
+
"content": "<unused9>",
|
135 |
+
"lstrip": false,
|
136 |
+
"normalized": false,
|
137 |
+
"rstrip": false,
|
138 |
+
"single_word": false,
|
139 |
+
"special": false
|
140 |
+
},
|
141 |
+
"17": {
|
142 |
+
"content": "<unused10>",
|
143 |
+
"lstrip": false,
|
144 |
+
"normalized": false,
|
145 |
+
"rstrip": false,
|
146 |
+
"single_word": false,
|
147 |
+
"special": false
|
148 |
+
},
|
149 |
+
"18": {
|
150 |
+
"content": "<unused11>",
|
151 |
+
"lstrip": false,
|
152 |
+
"normalized": false,
|
153 |
+
"rstrip": false,
|
154 |
+
"single_word": false,
|
155 |
+
"special": false
|
156 |
+
},
|
157 |
+
"19": {
|
158 |
+
"content": "<unused12>",
|
159 |
+
"lstrip": false,
|
160 |
+
"normalized": false,
|
161 |
+
"rstrip": false,
|
162 |
+
"single_word": false,
|
163 |
+
"special": false
|
164 |
+
},
|
165 |
+
"20": {
|
166 |
+
"content": "<unused13>",
|
167 |
+
"lstrip": false,
|
168 |
+
"normalized": false,
|
169 |
+
"rstrip": false,
|
170 |
+
"single_word": false,
|
171 |
+
"special": false
|
172 |
+
},
|
173 |
+
"21": {
|
174 |
+
"content": "<unused14>",
|
175 |
+
"lstrip": false,
|
176 |
+
"normalized": false,
|
177 |
+
"rstrip": false,
|
178 |
+
"single_word": false,
|
179 |
+
"special": false
|
180 |
+
},
|
181 |
+
"22": {
|
182 |
+
"content": "<unused15>",
|
183 |
+
"lstrip": false,
|
184 |
+
"normalized": false,
|
185 |
+
"rstrip": false,
|
186 |
+
"single_word": false,
|
187 |
+
"special": false
|
188 |
+
},
|
189 |
+
"23": {
|
190 |
+
"content": "<unused16>",
|
191 |
+
"lstrip": false,
|
192 |
+
"normalized": false,
|
193 |
+
"rstrip": false,
|
194 |
+
"single_word": false,
|
195 |
+
"special": false
|
196 |
+
},
|
197 |
+
"24": {
|
198 |
+
"content": "<unused17>",
|
199 |
+
"lstrip": false,
|
200 |
+
"normalized": false,
|
201 |
+
"rstrip": false,
|
202 |
+
"single_word": false,
|
203 |
+
"special": false
|
204 |
+
},
|
205 |
+
"25": {
|
206 |
+
"content": "<unused18>",
|
207 |
+
"lstrip": false,
|
208 |
+
"normalized": false,
|
209 |
+
"rstrip": false,
|
210 |
+
"single_word": false,
|
211 |
+
"special": false
|
212 |
+
},
|
213 |
+
"26": {
|
214 |
+
"content": "<unused19>",
|
215 |
+
"lstrip": false,
|
216 |
+
"normalized": false,
|
217 |
+
"rstrip": false,
|
218 |
+
"single_word": false,
|
219 |
+
"special": false
|
220 |
+
},
|
221 |
+
"27": {
|
222 |
+
"content": "<unused20>",
|
223 |
+
"lstrip": false,
|
224 |
+
"normalized": false,
|
225 |
+
"rstrip": false,
|
226 |
+
"single_word": false,
|
227 |
+
"special": false
|
228 |
+
},
|
229 |
+
"28": {
|
230 |
+
"content": "<unused21>",
|
231 |
+
"lstrip": false,
|
232 |
+
"normalized": false,
|
233 |
+
"rstrip": false,
|
234 |
+
"single_word": false,
|
235 |
+
"special": false
|
236 |
+
},
|
237 |
+
"29": {
|
238 |
+
"content": "<unused22>",
|
239 |
+
"lstrip": false,
|
240 |
+
"normalized": false,
|
241 |
+
"rstrip": false,
|
242 |
+
"single_word": false,
|
243 |
+
"special": false
|
244 |
+
},
|
245 |
+
"30": {
|
246 |
+
"content": "<unused23>",
|
247 |
+
"lstrip": false,
|
248 |
+
"normalized": false,
|
249 |
+
"rstrip": false,
|
250 |
+
"single_word": false,
|
251 |
+
"special": false
|
252 |
+
},
|
253 |
+
"31": {
|
254 |
+
"content": "<unused24>",
|
255 |
+
"lstrip": false,
|
256 |
+
"normalized": false,
|
257 |
+
"rstrip": false,
|
258 |
+
"single_word": false,
|
259 |
+
"special": false
|
260 |
+
},
|
261 |
+
"32": {
|
262 |
+
"content": "<unused25>",
|
263 |
+
"lstrip": false,
|
264 |
+
"normalized": false,
|
265 |
+
"rstrip": false,
|
266 |
+
"single_word": false,
|
267 |
+
"special": false
|
268 |
+
},
|
269 |
+
"33": {
|
270 |
+
"content": "<unused26>",
|
271 |
+
"lstrip": false,
|
272 |
+
"normalized": false,
|
273 |
+
"rstrip": false,
|
274 |
+
"single_word": false,
|
275 |
+
"special": false
|
276 |
+
},
|
277 |
+
"34": {
|
278 |
+
"content": "<unused27>",
|
279 |
+
"lstrip": false,
|
280 |
+
"normalized": false,
|
281 |
+
"rstrip": false,
|
282 |
+
"single_word": false,
|
283 |
+
"special": false
|
284 |
+
},
|
285 |
+
"35": {
|
286 |
+
"content": "<unused28>",
|
287 |
+
"lstrip": false,
|
288 |
+
"normalized": false,
|
289 |
+
"rstrip": false,
|
290 |
+
"single_word": false,
|
291 |
+
"special": false
|
292 |
+
},
|
293 |
+
"36": {
|
294 |
+
"content": "<unused29>",
|
295 |
+
"lstrip": false,
|
296 |
+
"normalized": false,
|
297 |
+
"rstrip": false,
|
298 |
+
"single_word": false,
|
299 |
+
"special": false
|
300 |
+
},
|
301 |
+
"37": {
|
302 |
+
"content": "<unused30>",
|
303 |
+
"lstrip": false,
|
304 |
+
"normalized": false,
|
305 |
+
"rstrip": false,
|
306 |
+
"single_word": false,
|
307 |
+
"special": false
|
308 |
+
},
|
309 |
+
"38": {
|
310 |
+
"content": "<unused31>",
|
311 |
+
"lstrip": false,
|
312 |
+
"normalized": false,
|
313 |
+
"rstrip": false,
|
314 |
+
"single_word": false,
|
315 |
+
"special": false
|
316 |
+
},
|
317 |
+
"39": {
|
318 |
+
"content": "<unused32>",
|
319 |
+
"lstrip": false,
|
320 |
+
"normalized": false,
|
321 |
+
"rstrip": false,
|
322 |
+
"single_word": false,
|
323 |
+
"special": false
|
324 |
+
},
|
325 |
+
"40": {
|
326 |
+
"content": "<unused33>",
|
327 |
+
"lstrip": false,
|
328 |
+
"normalized": false,
|
329 |
+
"rstrip": false,
|
330 |
+
"single_word": false,
|
331 |
+
"special": false
|
332 |
+
},
|
333 |
+
"41": {
|
334 |
+
"content": "<unused34>",
|
335 |
+
"lstrip": false,
|
336 |
+
"normalized": false,
|
337 |
+
"rstrip": false,
|
338 |
+
"single_word": false,
|
339 |
+
"special": false
|
340 |
+
},
|
341 |
+
"42": {
|
342 |
+
"content": "<unused35>",
|
343 |
+
"lstrip": false,
|
344 |
+
"normalized": false,
|
345 |
+
"rstrip": false,
|
346 |
+
"single_word": false,
|
347 |
+
"special": false
|
348 |
+
},
|
349 |
+
"43": {
|
350 |
+
"content": "<unused36>",
|
351 |
+
"lstrip": false,
|
352 |
+
"normalized": false,
|
353 |
+
"rstrip": false,
|
354 |
+
"single_word": false,
|
355 |
+
"special": false
|
356 |
+
},
|
357 |
+
"44": {
|
358 |
+
"content": "<unused37>",
|
359 |
+
"lstrip": false,
|
360 |
+
"normalized": false,
|
361 |
+
"rstrip": false,
|
362 |
+
"single_word": false,
|
363 |
+
"special": false
|
364 |
+
},
|
365 |
+
"45": {
|
366 |
+
"content": "<unused38>",
|
367 |
+
"lstrip": false,
|
368 |
+
"normalized": false,
|
369 |
+
"rstrip": false,
|
370 |
+
"single_word": false,
|
371 |
+
"special": false
|
372 |
+
},
|
373 |
+
"46": {
|
374 |
+
"content": "<unused39>",
|
375 |
+
"lstrip": false,
|
376 |
+
"normalized": false,
|
377 |
+
"rstrip": false,
|
378 |
+
"single_word": false,
|
379 |
+
"special": false
|
380 |
+
},
|
381 |
+
"47": {
|
382 |
+
"content": "<unused40>",
|
383 |
+
"lstrip": false,
|
384 |
+
"normalized": false,
|
385 |
+
"rstrip": false,
|
386 |
+
"single_word": false,
|
387 |
+
"special": false
|
388 |
+
},
|
389 |
+
"48": {
|
390 |
+
"content": "<unused41>",
|
391 |
+
"lstrip": false,
|
392 |
+
"normalized": false,
|
393 |
+
"rstrip": false,
|
394 |
+
"single_word": false,
|
395 |
+
"special": false
|
396 |
+
},
|
397 |
+
"49": {
|
398 |
+
"content": "<unused42>",
|
399 |
+
"lstrip": false,
|
400 |
+
"normalized": false,
|
401 |
+
"rstrip": false,
|
402 |
+
"single_word": false,
|
403 |
+
"special": false
|
404 |
+
},
|
405 |
+
"50": {
|
406 |
+
"content": "<unused43>",
|
407 |
+
"lstrip": false,
|
408 |
+
"normalized": false,
|
409 |
+
"rstrip": false,
|
410 |
+
"single_word": false,
|
411 |
+
"special": false
|
412 |
+
},
|
413 |
+
"51": {
|
414 |
+
"content": "<unused44>",
|
415 |
+
"lstrip": false,
|
416 |
+
"normalized": false,
|
417 |
+
"rstrip": false,
|
418 |
+
"single_word": false,
|
419 |
+
"special": false
|
420 |
+
},
|
421 |
+
"52": {
|
422 |
+
"content": "<unused45>",
|
423 |
+
"lstrip": false,
|
424 |
+
"normalized": false,
|
425 |
+
"rstrip": false,
|
426 |
+
"single_word": false,
|
427 |
+
"special": false
|
428 |
+
},
|
429 |
+
"53": {
|
430 |
+
"content": "<unused46>",
|
431 |
+
"lstrip": false,
|
432 |
+
"normalized": false,
|
433 |
+
"rstrip": false,
|
434 |
+
"single_word": false,
|
435 |
+
"special": false
|
436 |
+
},
|
437 |
+
"54": {
|
438 |
+
"content": "<unused47>",
|
439 |
+
"lstrip": false,
|
440 |
+
"normalized": false,
|
441 |
+
"rstrip": false,
|
442 |
+
"single_word": false,
|
443 |
+
"special": false
|
444 |
+
},
|
445 |
+
"55": {
|
446 |
+
"content": "<unused48>",
|
447 |
+
"lstrip": false,
|
448 |
+
"normalized": false,
|
449 |
+
"rstrip": false,
|
450 |
+
"single_word": false,
|
451 |
+
"special": false
|
452 |
+
},
|
453 |
+
"56": {
|
454 |
+
"content": "<unused49>",
|
455 |
+
"lstrip": false,
|
456 |
+
"normalized": false,
|
457 |
+
"rstrip": false,
|
458 |
+
"single_word": false,
|
459 |
+
"special": false
|
460 |
+
},
|
461 |
+
"57": {
|
462 |
+
"content": "<unused50>",
|
463 |
+
"lstrip": false,
|
464 |
+
"normalized": false,
|
465 |
+
"rstrip": false,
|
466 |
+
"single_word": false,
|
467 |
+
"special": false
|
468 |
+
},
|
469 |
+
"58": {
|
470 |
+
"content": "<unused51>",
|
471 |
+
"lstrip": false,
|
472 |
+
"normalized": false,
|
473 |
+
"rstrip": false,
|
474 |
+
"single_word": false,
|
475 |
+
"special": false
|
476 |
+
},
|
477 |
+
"59": {
|
478 |
+
"content": "<unused52>",
|
479 |
+
"lstrip": false,
|
480 |
+
"normalized": false,
|
481 |
+
"rstrip": false,
|
482 |
+
"single_word": false,
|
483 |
+
"special": false
|
484 |
+
},
|
485 |
+
"60": {
|
486 |
+
"content": "<unused53>",
|
487 |
+
"lstrip": false,
|
488 |
+
"normalized": false,
|
489 |
+
"rstrip": false,
|
490 |
+
"single_word": false,
|
491 |
+
"special": false
|
492 |
+
},
|
493 |
+
"61": {
|
494 |
+
"content": "<unused54>",
|
495 |
+
"lstrip": false,
|
496 |
+
"normalized": false,
|
497 |
+
"rstrip": false,
|
498 |
+
"single_word": false,
|
499 |
+
"special": false
|
500 |
+
},
|
501 |
+
"62": {
|
502 |
+
"content": "<unused55>",
|
503 |
+
"lstrip": false,
|
504 |
+
"normalized": false,
|
505 |
+
"rstrip": false,
|
506 |
+
"single_word": false,
|
507 |
+
"special": false
|
508 |
+
},
|
509 |
+
"63": {
|
510 |
+
"content": "<unused56>",
|
511 |
+
"lstrip": false,
|
512 |
+
"normalized": false,
|
513 |
+
"rstrip": false,
|
514 |
+
"single_word": false,
|
515 |
+
"special": false
|
516 |
+
},
|
517 |
+
"64": {
|
518 |
+
"content": "<unused57>",
|
519 |
+
"lstrip": false,
|
520 |
+
"normalized": false,
|
521 |
+
"rstrip": false,
|
522 |
+
"single_word": false,
|
523 |
+
"special": false
|
524 |
+
},
|
525 |
+
"65": {
|
526 |
+
"content": "<unused58>",
|
527 |
+
"lstrip": false,
|
528 |
+
"normalized": false,
|
529 |
+
"rstrip": false,
|
530 |
+
"single_word": false,
|
531 |
+
"special": false
|
532 |
+
},
|
533 |
+
"66": {
|
534 |
+
"content": "<unused59>",
|
535 |
+
"lstrip": false,
|
536 |
+
"normalized": false,
|
537 |
+
"rstrip": false,
|
538 |
+
"single_word": false,
|
539 |
+
"special": false
|
540 |
+
},
|
541 |
+
"67": {
|
542 |
+
"content": "<unused60>",
|
543 |
+
"lstrip": false,
|
544 |
+
"normalized": false,
|
545 |
+
"rstrip": false,
|
546 |
+
"single_word": false,
|
547 |
+
"special": false
|
548 |
+
},
|
549 |
+
"68": {
|
550 |
+
"content": "<unused61>",
|
551 |
+
"lstrip": false,
|
552 |
+
"normalized": false,
|
553 |
+
"rstrip": false,
|
554 |
+
"single_word": false,
|
555 |
+
"special": false
|
556 |
+
},
|
557 |
+
"69": {
|
558 |
+
"content": "<unused62>",
|
559 |
+
"lstrip": false,
|
560 |
+
"normalized": false,
|
561 |
+
"rstrip": false,
|
562 |
+
"single_word": false,
|
563 |
+
"special": false
|
564 |
+
},
|
565 |
+
"70": {
|
566 |
+
"content": "<unused63>",
|
567 |
+
"lstrip": false,
|
568 |
+
"normalized": false,
|
569 |
+
"rstrip": false,
|
570 |
+
"single_word": false,
|
571 |
+
"special": false
|
572 |
+
},
|
573 |
+
"71": {
|
574 |
+
"content": "<unused64>",
|
575 |
+
"lstrip": false,
|
576 |
+
"normalized": false,
|
577 |
+
"rstrip": false,
|
578 |
+
"single_word": false,
|
579 |
+
"special": false
|
580 |
+
},
|
581 |
+
"72": {
|
582 |
+
"content": "<unused65>",
|
583 |
+
"lstrip": false,
|
584 |
+
"normalized": false,
|
585 |
+
"rstrip": false,
|
586 |
+
"single_word": false,
|
587 |
+
"special": false
|
588 |
+
},
|
589 |
+
"73": {
|
590 |
+
"content": "<unused66>",
|
591 |
+
"lstrip": false,
|
592 |
+
"normalized": false,
|
593 |
+
"rstrip": false,
|
594 |
+
"single_word": false,
|
595 |
+
"special": false
|
596 |
+
},
|
597 |
+
"74": {
|
598 |
+
"content": "<unused67>",
|
599 |
+
"lstrip": false,
|
600 |
+
"normalized": false,
|
601 |
+
"rstrip": false,
|
602 |
+
"single_word": false,
|
603 |
+
"special": false
|
604 |
+
},
|
605 |
+
"75": {
|
606 |
+
"content": "<unused68>",
|
607 |
+
"lstrip": false,
|
608 |
+
"normalized": false,
|
609 |
+
"rstrip": false,
|
610 |
+
"single_word": false,
|
611 |
+
"special": false
|
612 |
+
},
|
613 |
+
"76": {
|
614 |
+
"content": "<unused69>",
|
615 |
+
"lstrip": false,
|
616 |
+
"normalized": false,
|
617 |
+
"rstrip": false,
|
618 |
+
"single_word": false,
|
619 |
+
"special": false
|
620 |
+
},
|
621 |
+
"77": {
|
622 |
+
"content": "<unused70>",
|
623 |
+
"lstrip": false,
|
624 |
+
"normalized": false,
|
625 |
+
"rstrip": false,
|
626 |
+
"single_word": false,
|
627 |
+
"special": false
|
628 |
+
},
|
629 |
+
"78": {
|
630 |
+
"content": "<unused71>",
|
631 |
+
"lstrip": false,
|
632 |
+
"normalized": false,
|
633 |
+
"rstrip": false,
|
634 |
+
"single_word": false,
|
635 |
+
"special": false
|
636 |
+
},
|
637 |
+
"79": {
|
638 |
+
"content": "<unused72>",
|
639 |
+
"lstrip": false,
|
640 |
+
"normalized": false,
|
641 |
+
"rstrip": false,
|
642 |
+
"single_word": false,
|
643 |
+
"special": false
|
644 |
+
},
|
645 |
+
"80": {
|
646 |
+
"content": "<unused73>",
|
647 |
+
"lstrip": false,
|
648 |
+
"normalized": false,
|
649 |
+
"rstrip": false,
|
650 |
+
"single_word": false,
|
651 |
+
"special": false
|
652 |
+
},
|
653 |
+
"81": {
|
654 |
+
"content": "<unused74>",
|
655 |
+
"lstrip": false,
|
656 |
+
"normalized": false,
|
657 |
+
"rstrip": false,
|
658 |
+
"single_word": false,
|
659 |
+
"special": false
|
660 |
+
},
|
661 |
+
"82": {
|
662 |
+
"content": "<unused75>",
|
663 |
+
"lstrip": false,
|
664 |
+
"normalized": false,
|
665 |
+
"rstrip": false,
|
666 |
+
"single_word": false,
|
667 |
+
"special": false
|
668 |
+
},
|
669 |
+
"83": {
|
670 |
+
"content": "<unused76>",
|
671 |
+
"lstrip": false,
|
672 |
+
"normalized": false,
|
673 |
+
"rstrip": false,
|
674 |
+
"single_word": false,
|
675 |
+
"special": false
|
676 |
+
},
|
677 |
+
"84": {
|
678 |
+
"content": "<unused77>",
|
679 |
+
"lstrip": false,
|
680 |
+
"normalized": false,
|
681 |
+
"rstrip": false,
|
682 |
+
"single_word": false,
|
683 |
+
"special": false
|
684 |
+
},
|
685 |
+
"85": {
|
686 |
+
"content": "<unused78>",
|
687 |
+
"lstrip": false,
|
688 |
+
"normalized": false,
|
689 |
+
"rstrip": false,
|
690 |
+
"single_word": false,
|
691 |
+
"special": false
|
692 |
+
},
|
693 |
+
"86": {
|
694 |
+
"content": "<unused79>",
|
695 |
+
"lstrip": false,
|
696 |
+
"normalized": false,
|
697 |
+
"rstrip": false,
|
698 |
+
"single_word": false,
|
699 |
+
"special": false
|
700 |
+
},
|
701 |
+
"87": {
|
702 |
+
"content": "<unused80>",
|
703 |
+
"lstrip": false,
|
704 |
+
"normalized": false,
|
705 |
+
"rstrip": false,
|
706 |
+
"single_word": false,
|
707 |
+
"special": false
|
708 |
+
},
|
709 |
+
"88": {
|
710 |
+
"content": "<unused81>",
|
711 |
+
"lstrip": false,
|
712 |
+
"normalized": false,
|
713 |
+
"rstrip": false,
|
714 |
+
"single_word": false,
|
715 |
+
"special": false
|
716 |
+
},
|
717 |
+
"89": {
|
718 |
+
"content": "<unused82>",
|
719 |
+
"lstrip": false,
|
720 |
+
"normalized": false,
|
721 |
+
"rstrip": false,
|
722 |
+
"single_word": false,
|
723 |
+
"special": false
|
724 |
+
},
|
725 |
+
"90": {
|
726 |
+
"content": "<unused83>",
|
727 |
+
"lstrip": false,
|
728 |
+
"normalized": false,
|
729 |
+
"rstrip": false,
|
730 |
+
"single_word": false,
|
731 |
+
"special": false
|
732 |
+
},
|
733 |
+
"91": {
|
734 |
+
"content": "<unused84>",
|
735 |
+
"lstrip": false,
|
736 |
+
"normalized": false,
|
737 |
+
"rstrip": false,
|
738 |
+
"single_word": false,
|
739 |
+
"special": false
|
740 |
+
},
|
741 |
+
"92": {
|
742 |
+
"content": "<unused85>",
|
743 |
+
"lstrip": false,
|
744 |
+
"normalized": false,
|
745 |
+
"rstrip": false,
|
746 |
+
"single_word": false,
|
747 |
+
"special": false
|
748 |
+
},
|
749 |
+
"93": {
|
750 |
+
"content": "<unused86>",
|
751 |
+
"lstrip": false,
|
752 |
+
"normalized": false,
|
753 |
+
"rstrip": false,
|
754 |
+
"single_word": false,
|
755 |
+
"special": false
|
756 |
+
},
|
757 |
+
"94": {
|
758 |
+
"content": "<unused87>",
|
759 |
+
"lstrip": false,
|
760 |
+
"normalized": false,
|
761 |
+
"rstrip": false,
|
762 |
+
"single_word": false,
|
763 |
+
"special": false
|
764 |
+
},
|
765 |
+
"95": {
|
766 |
+
"content": "<unused88>",
|
767 |
+
"lstrip": false,
|
768 |
+
"normalized": false,
|
769 |
+
"rstrip": false,
|
770 |
+
"single_word": false,
|
771 |
+
"special": false
|
772 |
+
},
|
773 |
+
"96": {
|
774 |
+
"content": "<unused89>",
|
775 |
+
"lstrip": false,
|
776 |
+
"normalized": false,
|
777 |
+
"rstrip": false,
|
778 |
+
"single_word": false,
|
779 |
+
"special": false
|
780 |
+
},
|
781 |
+
"97": {
|
782 |
+
"content": "<unused90>",
|
783 |
+
"lstrip": false,
|
784 |
+
"normalized": false,
|
785 |
+
"rstrip": false,
|
786 |
+
"single_word": false,
|
787 |
+
"special": false
|
788 |
+
},
|
789 |
+
"98": {
|
790 |
+
"content": "<unused91>",
|
791 |
+
"lstrip": false,
|
792 |
+
"normalized": false,
|
793 |
+
"rstrip": false,
|
794 |
+
"single_word": false,
|
795 |
+
"special": false
|
796 |
+
},
|
797 |
+
"99": {
|
798 |
+
"content": "<unused92>",
|
799 |
+
"lstrip": false,
|
800 |
+
"normalized": false,
|
801 |
+
"rstrip": false,
|
802 |
+
"single_word": false,
|
803 |
+
"special": false
|
804 |
+
},
|
805 |
+
"100": {
|
806 |
+
"content": "<unused93>",
|
807 |
+
"lstrip": false,
|
808 |
+
"normalized": false,
|
809 |
+
"rstrip": false,
|
810 |
+
"single_word": false,
|
811 |
+
"special": false
|
812 |
+
},
|
813 |
+
"101": {
|
814 |
+
"content": "<unused94>",
|
815 |
+
"lstrip": false,
|
816 |
+
"normalized": false,
|
817 |
+
"rstrip": false,
|
818 |
+
"single_word": false,
|
819 |
+
"special": false
|
820 |
+
},
|
821 |
+
"102": {
|
822 |
+
"content": "<unused95>",
|
823 |
+
"lstrip": false,
|
824 |
+
"normalized": false,
|
825 |
+
"rstrip": false,
|
826 |
+
"single_word": false,
|
827 |
+
"special": false
|
828 |
+
},
|
829 |
+
"103": {
|
830 |
+
"content": "<unused96>",
|
831 |
+
"lstrip": false,
|
832 |
+
"normalized": false,
|
833 |
+
"rstrip": false,
|
834 |
+
"single_word": false,
|
835 |
+
"special": false
|
836 |
+
},
|
837 |
+
"104": {
|
838 |
+
"content": "<unused97>",
|
839 |
+
"lstrip": false,
|
840 |
+
"normalized": false,
|
841 |
+
"rstrip": false,
|
842 |
+
"single_word": false,
|
843 |
+
"special": false
|
844 |
+
},
|
845 |
+
"105": {
|
846 |
+
"content": "<unused98>",
|
847 |
+
"lstrip": false,
|
848 |
+
"normalized": false,
|
849 |
+
"rstrip": false,
|
850 |
+
"single_word": false,
|
851 |
+
"special": false
|
852 |
+
},
|
853 |
+
"106": {
|
854 |
+
"content": "<start_of_turn>",
|
855 |
+
"lstrip": false,
|
856 |
+
"normalized": false,
|
857 |
+
"rstrip": false,
|
858 |
+
"single_word": false,
|
859 |
+
"special": true
|
860 |
+
},
|
861 |
+
"107": {
|
862 |
+
"content": "<end_of_turn>",
|
863 |
+
"lstrip": false,
|
864 |
+
"normalized": false,
|
865 |
+
"rstrip": false,
|
866 |
+
"single_word": false,
|
867 |
+
"special": true
|
868 |
+
},
|
869 |
+
"108": {
|
870 |
+
"content": "\n",
|
871 |
+
"lstrip": false,
|
872 |
+
"normalized": false,
|
873 |
+
"rstrip": false,
|
874 |
+
"single_word": false,
|
875 |
+
"special": false
|
876 |
+
},
|
877 |
+
"109": {
|
878 |
+
"content": "\n\n",
|
879 |
+
"lstrip": false,
|
880 |
+
"normalized": false,
|
881 |
+
"rstrip": false,
|
882 |
+
"single_word": false,
|
883 |
+
"special": false
|
884 |
+
},
|
885 |
+
"110": {
|
886 |
+
"content": "\n\n\n",
|
887 |
+
"lstrip": false,
|
888 |
+
"normalized": false,
|
889 |
+
"rstrip": false,
|
890 |
+
"single_word": false,
|
891 |
+
"special": false
|
892 |
+
},
|
893 |
+
"111": {
|
894 |
+
"content": "\n\n\n\n",
|
895 |
+
"lstrip": false,
|
896 |
+
"normalized": false,
|
897 |
+
"rstrip": false,
|
898 |
+
"single_word": false,
|
899 |
+
"special": false
|
900 |
+
},
|
901 |
+
"112": {
|
902 |
+
"content": "\n\n\n\n\n",
|
903 |
+
"lstrip": false,
|
904 |
+
"normalized": false,
|
905 |
+
"rstrip": false,
|
906 |
+
"single_word": false,
|
907 |
+
"special": false
|
908 |
+
},
|
909 |
+
"113": {
|
910 |
+
"content": "\n\n\n\n\n\n",
|
911 |
+
"lstrip": false,
|
912 |
+
"normalized": false,
|
913 |
+
"rstrip": false,
|
914 |
+
"single_word": false,
|
915 |
+
"special": false
|
916 |
+
},
|
917 |
+
"114": {
|
918 |
+
"content": "\n\n\n\n\n\n\n",
|
919 |
+
"lstrip": false,
|
920 |
+
"normalized": false,
|
921 |
+
"rstrip": false,
|
922 |
+
"single_word": false,
|
923 |
+
"special": false
|
924 |
+
},
|
925 |
+
"115": {
|
926 |
+
"content": "\n\n\n\n\n\n\n\n",
|
927 |
+
"lstrip": false,
|
928 |
+
"normalized": false,
|
929 |
+
"rstrip": false,
|
930 |
+
"single_word": false,
|
931 |
+
"special": false
|
932 |
+
},
|
933 |
+
"116": {
|
934 |
+
"content": "\n\n\n\n\n\n\n\n\n",
|
935 |
+
"lstrip": false,
|
936 |
+
"normalized": false,
|
937 |
+
"rstrip": false,
|
938 |
+
"single_word": false,
|
939 |
+
"special": false
|
940 |
+
},
|
941 |
+
"117": {
|
942 |
+
"content": "\n\n\n\n\n\n\n\n\n\n",
|
943 |
+
"lstrip": false,
|
944 |
+
"normalized": false,
|
945 |
+
"rstrip": false,
|
946 |
+
"single_word": false,
|
947 |
+
"special": false
|
948 |
+
},
|
949 |
+
"118": {
|
950 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n",
|
951 |
+
"lstrip": false,
|
952 |
+
"normalized": false,
|
953 |
+
"rstrip": false,
|
954 |
+
"single_word": false,
|
955 |
+
"special": false
|
956 |
+
},
|
957 |
+
"119": {
|
958 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n",
|
959 |
+
"lstrip": false,
|
960 |
+
"normalized": false,
|
961 |
+
"rstrip": false,
|
962 |
+
"single_word": false,
|
963 |
+
"special": false
|
964 |
+
},
|
965 |
+
"120": {
|
966 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
967 |
+
"lstrip": false,
|
968 |
+
"normalized": false,
|
969 |
+
"rstrip": false,
|
970 |
+
"single_word": false,
|
971 |
+
"special": false
|
972 |
+
},
|
973 |
+
"121": {
|
974 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
975 |
+
"lstrip": false,
|
976 |
+
"normalized": false,
|
977 |
+
"rstrip": false,
|
978 |
+
"single_word": false,
|
979 |
+
"special": false
|
980 |
+
},
|
981 |
+
"122": {
|
982 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
983 |
+
"lstrip": false,
|
984 |
+
"normalized": false,
|
985 |
+
"rstrip": false,
|
986 |
+
"single_word": false,
|
987 |
+
"special": false
|
988 |
+
},
|
989 |
+
"123": {
|
990 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
991 |
+
"lstrip": false,
|
992 |
+
"normalized": false,
|
993 |
+
"rstrip": false,
|
994 |
+
"single_word": false,
|
995 |
+
"special": false
|
996 |
+
},
|
997 |
+
"124": {
|
998 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
999 |
+
"lstrip": false,
|
1000 |
+
"normalized": false,
|
1001 |
+
"rstrip": false,
|
1002 |
+
"single_word": false,
|
1003 |
+
"special": false
|
1004 |
+
},
|
1005 |
+
"125": {
|
1006 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1007 |
+
"lstrip": false,
|
1008 |
+
"normalized": false,
|
1009 |
+
"rstrip": false,
|
1010 |
+
"single_word": false,
|
1011 |
+
"special": false
|
1012 |
+
},
|
1013 |
+
"126": {
|
1014 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1015 |
+
"lstrip": false,
|
1016 |
+
"normalized": false,
|
1017 |
+
"rstrip": false,
|
1018 |
+
"single_word": false,
|
1019 |
+
"special": false
|
1020 |
+
},
|
1021 |
+
"127": {
|
1022 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1023 |
+
"lstrip": false,
|
1024 |
+
"normalized": false,
|
1025 |
+
"rstrip": false,
|
1026 |
+
"single_word": false,
|
1027 |
+
"special": false
|
1028 |
+
},
|
1029 |
+
"128": {
|
1030 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1031 |
+
"lstrip": false,
|
1032 |
+
"normalized": false,
|
1033 |
+
"rstrip": false,
|
1034 |
+
"single_word": false,
|
1035 |
+
"special": false
|
1036 |
+
},
|
1037 |
+
"129": {
|
1038 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1039 |
+
"lstrip": false,
|
1040 |
+
"normalized": false,
|
1041 |
+
"rstrip": false,
|
1042 |
+
"single_word": false,
|
1043 |
+
"special": false
|
1044 |
+
},
|
1045 |
+
"130": {
|
1046 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1047 |
+
"lstrip": false,
|
1048 |
+
"normalized": false,
|
1049 |
+
"rstrip": false,
|
1050 |
+
"single_word": false,
|
1051 |
+
"special": false
|
1052 |
+
},
|
1053 |
+
"131": {
|
1054 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1055 |
+
"lstrip": false,
|
1056 |
+
"normalized": false,
|
1057 |
+
"rstrip": false,
|
1058 |
+
"single_word": false,
|
1059 |
+
"special": false
|
1060 |
+
},
|
1061 |
+
"132": {
|
1062 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1063 |
+
"lstrip": false,
|
1064 |
+
"normalized": false,
|
1065 |
+
"rstrip": false,
|
1066 |
+
"single_word": false,
|
1067 |
+
"special": false
|
1068 |
+
},
|
1069 |
+
"133": {
|
1070 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1071 |
+
"lstrip": false,
|
1072 |
+
"normalized": false,
|
1073 |
+
"rstrip": false,
|
1074 |
+
"single_word": false,
|
1075 |
+
"special": false
|
1076 |
+
},
|
1077 |
+
"134": {
|
1078 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1079 |
+
"lstrip": false,
|
1080 |
+
"normalized": false,
|
1081 |
+
"rstrip": false,
|
1082 |
+
"single_word": false,
|
1083 |
+
"special": false
|
1084 |
+
},
|
1085 |
+
"135": {
|
1086 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1087 |
+
"lstrip": false,
|
1088 |
+
"normalized": false,
|
1089 |
+
"rstrip": false,
|
1090 |
+
"single_word": false,
|
1091 |
+
"special": false
|
1092 |
+
},
|
1093 |
+
"136": {
|
1094 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1095 |
+
"lstrip": false,
|
1096 |
+
"normalized": false,
|
1097 |
+
"rstrip": false,
|
1098 |
+
"single_word": false,
|
1099 |
+
"special": false
|
1100 |
+
},
|
1101 |
+
"137": {
|
1102 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1103 |
+
"lstrip": false,
|
1104 |
+
"normalized": false,
|
1105 |
+
"rstrip": false,
|
1106 |
+
"single_word": false,
|
1107 |
+
"special": false
|
1108 |
+
},
|
1109 |
+
"138": {
|
1110 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1111 |
+
"lstrip": false,
|
1112 |
+
"normalized": false,
|
1113 |
+
"rstrip": false,
|
1114 |
+
"single_word": false,
|
1115 |
+
"special": false
|
1116 |
+
},
|
1117 |
+
"139": {
|
1118 |
+
"content": "▁▁",
|
1119 |
+
"lstrip": false,
|
1120 |
+
"normalized": false,
|
1121 |
+
"rstrip": false,
|
1122 |
+
"single_word": false,
|
1123 |
+
"special": false
|
1124 |
+
},
|
1125 |
+
"140": {
|
1126 |
+
"content": "▁▁▁",
|
1127 |
+
"lstrip": false,
|
1128 |
+
"normalized": false,
|
1129 |
+
"rstrip": false,
|
1130 |
+
"single_word": false,
|
1131 |
+
"special": false
|
1132 |
+
},
|
1133 |
+
"141": {
|
1134 |
+
"content": "▁▁▁▁",
|
1135 |
+
"lstrip": false,
|
1136 |
+
"normalized": false,
|
1137 |
+
"rstrip": false,
|
1138 |
+
"single_word": false,
|
1139 |
+
"special": false
|
1140 |
+
},
|
1141 |
+
"142": {
|
1142 |
+
"content": "▁▁▁▁▁",
|
1143 |
+
"lstrip": false,
|
1144 |
+
"normalized": false,
|
1145 |
+
"rstrip": false,
|
1146 |
+
"single_word": false,
|
1147 |
+
"special": false
|
1148 |
+
},
|
1149 |
+
"143": {
|
1150 |
+
"content": "▁▁▁▁▁▁",
|
1151 |
+
"lstrip": false,
|
1152 |
+
"normalized": false,
|
1153 |
+
"rstrip": false,
|
1154 |
+
"single_word": false,
|
1155 |
+
"special": false
|
1156 |
+
},
|
1157 |
+
"144": {
|
1158 |
+
"content": "▁▁▁▁▁▁▁",
|
1159 |
+
"lstrip": false,
|
1160 |
+
"normalized": false,
|
1161 |
+
"rstrip": false,
|
1162 |
+
"single_word": false,
|
1163 |
+
"special": false
|
1164 |
+
},
|
1165 |
+
"145": {
|
1166 |
+
"content": "▁▁▁▁▁▁▁▁",
|
1167 |
+
"lstrip": false,
|
1168 |
+
"normalized": false,
|
1169 |
+
"rstrip": false,
|
1170 |
+
"single_word": false,
|
1171 |
+
"special": false
|
1172 |
+
},
|
1173 |
+
"146": {
|
1174 |
+
"content": "▁▁▁▁▁▁▁▁▁",
|
1175 |
+
"lstrip": false,
|
1176 |
+
"normalized": false,
|
1177 |
+
"rstrip": false,
|
1178 |
+
"single_word": false,
|
1179 |
+
"special": false
|
1180 |
+
},
|
1181 |
+
"147": {
|
1182 |
+
"content": "▁▁▁▁▁▁▁▁▁▁",
|
1183 |
+
"lstrip": false,
|
1184 |
+
"normalized": false,
|
1185 |
+
"rstrip": false,
|
1186 |
+
"single_word": false,
|
1187 |
+
"special": false
|
1188 |
+
},
|
1189 |
+
"148": {
|
1190 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁",
|
1191 |
+
"lstrip": false,
|
1192 |
+
"normalized": false,
|
1193 |
+
"rstrip": false,
|
1194 |
+
"single_word": false,
|
1195 |
+
"special": false
|
1196 |
+
},
|
1197 |
+
"149": {
|
1198 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁",
|
1199 |
+
"lstrip": false,
|
1200 |
+
"normalized": false,
|
1201 |
+
"rstrip": false,
|
1202 |
+
"single_word": false,
|
1203 |
+
"special": false
|
1204 |
+
},
|
1205 |
+
"150": {
|
1206 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1207 |
+
"lstrip": false,
|
1208 |
+
"normalized": false,
|
1209 |
+
"rstrip": false,
|
1210 |
+
"single_word": false,
|
1211 |
+
"special": false
|
1212 |
+
},
|
1213 |
+
"151": {
|
1214 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1215 |
+
"lstrip": false,
|
1216 |
+
"normalized": false,
|
1217 |
+
"rstrip": false,
|
1218 |
+
"single_word": false,
|
1219 |
+
"special": false
|
1220 |
+
},
|
1221 |
+
"152": {
|
1222 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1223 |
+
"lstrip": false,
|
1224 |
+
"normalized": false,
|
1225 |
+
"rstrip": false,
|
1226 |
+
"single_word": false,
|
1227 |
+
"special": false
|
1228 |
+
},
|
1229 |
+
"153": {
|
1230 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1231 |
+
"lstrip": false,
|
1232 |
+
"normalized": false,
|
1233 |
+
"rstrip": false,
|
1234 |
+
"single_word": false,
|
1235 |
+
"special": false
|
1236 |
+
},
|
1237 |
+
"154": {
|
1238 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1239 |
+
"lstrip": false,
|
1240 |
+
"normalized": false,
|
1241 |
+
"rstrip": false,
|
1242 |
+
"single_word": false,
|
1243 |
+
"special": false
|
1244 |
+
},
|
1245 |
+
"155": {
|
1246 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1247 |
+
"lstrip": false,
|
1248 |
+
"normalized": false,
|
1249 |
+
"rstrip": false,
|
1250 |
+
"single_word": false,
|
1251 |
+
"special": false
|
1252 |
+
},
|
1253 |
+
"156": {
|
1254 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1255 |
+
"lstrip": false,
|
1256 |
+
"normalized": false,
|
1257 |
+
"rstrip": false,
|
1258 |
+
"single_word": false,
|
1259 |
+
"special": false
|
1260 |
+
},
|
1261 |
+
"157": {
|
1262 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1263 |
+
"lstrip": false,
|
1264 |
+
"normalized": false,
|
1265 |
+
"rstrip": false,
|
1266 |
+
"single_word": false,
|
1267 |
+
"special": false
|
1268 |
+
},
|
1269 |
+
"158": {
|
1270 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1271 |
+
"lstrip": false,
|
1272 |
+
"normalized": false,
|
1273 |
+
"rstrip": false,
|
1274 |
+
"single_word": false,
|
1275 |
+
"special": false
|
1276 |
+
},
|
1277 |
+
"159": {
|
1278 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1279 |
+
"lstrip": false,
|
1280 |
+
"normalized": false,
|
1281 |
+
"rstrip": false,
|
1282 |
+
"single_word": false,
|
1283 |
+
"special": false
|
1284 |
+
},
|
1285 |
+
"160": {
|
1286 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1287 |
+
"lstrip": false,
|
1288 |
+
"normalized": false,
|
1289 |
+
"rstrip": false,
|
1290 |
+
"single_word": false,
|
1291 |
+
"special": false
|
1292 |
+
},
|
1293 |
+
"161": {
|
1294 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1295 |
+
"lstrip": false,
|
1296 |
+
"normalized": false,
|
1297 |
+
"rstrip": false,
|
1298 |
+
"single_word": false,
|
1299 |
+
"special": false
|
1300 |
+
},
|
1301 |
+
"162": {
|
1302 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1303 |
+
"lstrip": false,
|
1304 |
+
"normalized": false,
|
1305 |
+
"rstrip": false,
|
1306 |
+
"single_word": false,
|
1307 |
+
"special": false
|
1308 |
+
},
|
1309 |
+
"163": {
|
1310 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1311 |
+
"lstrip": false,
|
1312 |
+
"normalized": false,
|
1313 |
+
"rstrip": false,
|
1314 |
+
"single_word": false,
|
1315 |
+
"special": false
|
1316 |
+
},
|
1317 |
+
"164": {
|
1318 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1319 |
+
"lstrip": false,
|
1320 |
+
"normalized": false,
|
1321 |
+
"rstrip": false,
|
1322 |
+
"single_word": false,
|
1323 |
+
"special": false
|
1324 |
+
},
|
1325 |
+
"165": {
|
1326 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1327 |
+
"lstrip": false,
|
1328 |
+
"normalized": false,
|
1329 |
+
"rstrip": false,
|
1330 |
+
"single_word": false,
|
1331 |
+
"special": false
|
1332 |
+
},
|
1333 |
+
"166": {
|
1334 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1335 |
+
"lstrip": false,
|
1336 |
+
"normalized": false,
|
1337 |
+
"rstrip": false,
|
1338 |
+
"single_word": false,
|
1339 |
+
"special": false
|
1340 |
+
},
|
1341 |
+
"167": {
|
1342 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1343 |
+
"lstrip": false,
|
1344 |
+
"normalized": false,
|
1345 |
+
"rstrip": false,
|
1346 |
+
"single_word": false,
|
1347 |
+
"special": false
|
1348 |
+
},
|
1349 |
+
"168": {
|
1350 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1351 |
+
"lstrip": false,
|
1352 |
+
"normalized": false,
|
1353 |
+
"rstrip": false,
|
1354 |
+
"single_word": false,
|
1355 |
+
"special": false
|
1356 |
+
},
|
1357 |
+
"169": {
|
1358 |
+
"content": "<table>",
|
1359 |
+
"lstrip": false,
|
1360 |
+
"normalized": false,
|
1361 |
+
"rstrip": false,
|
1362 |
+
"single_word": false,
|
1363 |
+
"special": false
|
1364 |
+
},
|
1365 |
+
"170": {
|
1366 |
+
"content": "<caption>",
|
1367 |
+
"lstrip": false,
|
1368 |
+
"normalized": false,
|
1369 |
+
"rstrip": false,
|
1370 |
+
"single_word": false,
|
1371 |
+
"special": false
|
1372 |
+
},
|
1373 |
+
"171": {
|
1374 |
+
"content": "<thead>",
|
1375 |
+
"lstrip": false,
|
1376 |
+
"normalized": false,
|
1377 |
+
"rstrip": false,
|
1378 |
+
"single_word": false,
|
1379 |
+
"special": false
|
1380 |
+
},
|
1381 |
+
"172": {
|
1382 |
+
"content": "<tbody>",
|
1383 |
+
"lstrip": false,
|
1384 |
+
"normalized": false,
|
1385 |
+
"rstrip": false,
|
1386 |
+
"single_word": false,
|
1387 |
+
"special": false
|
1388 |
+
},
|
1389 |
+
"173": {
|
1390 |
+
"content": "<tfoot>",
|
1391 |
+
"lstrip": false,
|
1392 |
+
"normalized": false,
|
1393 |
+
"rstrip": false,
|
1394 |
+
"single_word": false,
|
1395 |
+
"special": false
|
1396 |
+
},
|
1397 |
+
"174": {
|
1398 |
+
"content": "<tr>",
|
1399 |
+
"lstrip": false,
|
1400 |
+
"normalized": false,
|
1401 |
+
"rstrip": false,
|
1402 |
+
"single_word": false,
|
1403 |
+
"special": false
|
1404 |
+
},
|
1405 |
+
"175": {
|
1406 |
+
"content": "<th>",
|
1407 |
+
"lstrip": false,
|
1408 |
+
"normalized": false,
|
1409 |
+
"rstrip": false,
|
1410 |
+
"single_word": false,
|
1411 |
+
"special": false
|
1412 |
+
},
|
1413 |
+
"176": {
|
1414 |
+
"content": "<td>",
|
1415 |
+
"lstrip": false,
|
1416 |
+
"normalized": false,
|
1417 |
+
"rstrip": false,
|
1418 |
+
"single_word": false,
|
1419 |
+
"special": false
|
1420 |
+
},
|
1421 |
+
"177": {
|
1422 |
+
"content": "</table>",
|
1423 |
+
"lstrip": false,
|
1424 |
+
"normalized": false,
|
1425 |
+
"rstrip": false,
|
1426 |
+
"single_word": false,
|
1427 |
+
"special": false
|
1428 |
+
},
|
1429 |
+
"178": {
|
1430 |
+
"content": "</caption>",
|
1431 |
+
"lstrip": false,
|
1432 |
+
"normalized": false,
|
1433 |
+
"rstrip": false,
|
1434 |
+
"single_word": false,
|
1435 |
+
"special": false
|
1436 |
+
},
|
1437 |
+
"179": {
|
1438 |
+
"content": "</thead>",
|
1439 |
+
"lstrip": false,
|
1440 |
+
"normalized": false,
|
1441 |
+
"rstrip": false,
|
1442 |
+
"single_word": false,
|
1443 |
+
"special": false
|
1444 |
+
},
|
1445 |
+
"180": {
|
1446 |
+
"content": "</tbody>",
|
1447 |
+
"lstrip": false,
|
1448 |
+
"normalized": false,
|
1449 |
+
"rstrip": false,
|
1450 |
+
"single_word": false,
|
1451 |
+
"special": false
|
1452 |
+
},
|
1453 |
+
"181": {
|
1454 |
+
"content": "</tfoot>",
|
1455 |
+
"lstrip": false,
|
1456 |
+
"normalized": false,
|
1457 |
+
"rstrip": false,
|
1458 |
+
"single_word": false,
|
1459 |
+
"special": false
|
1460 |
+
},
|
1461 |
+
"182": {
|
1462 |
+
"content": "</tr>",
|
1463 |
+
"lstrip": false,
|
1464 |
+
"normalized": false,
|
1465 |
+
"rstrip": false,
|
1466 |
+
"single_word": false,
|
1467 |
+
"special": false
|
1468 |
+
},
|
1469 |
+
"183": {
|
1470 |
+
"content": "</th>",
|
1471 |
+
"lstrip": false,
|
1472 |
+
"normalized": false,
|
1473 |
+
"rstrip": false,
|
1474 |
+
"single_word": false,
|
1475 |
+
"special": false
|
1476 |
+
},
|
1477 |
+
"184": {
|
1478 |
+
"content": "</td>",
|
1479 |
+
"lstrip": false,
|
1480 |
+
"normalized": false,
|
1481 |
+
"rstrip": false,
|
1482 |
+
"single_word": false,
|
1483 |
+
"special": false
|
1484 |
+
},
|
1485 |
+
"185": {
|
1486 |
+
"content": "<h1>",
|
1487 |
+
"lstrip": false,
|
1488 |
+
"normalized": false,
|
1489 |
+
"rstrip": false,
|
1490 |
+
"single_word": false,
|
1491 |
+
"special": false
|
1492 |
+
},
|
1493 |
+
"186": {
|
1494 |
+
"content": "<h2>",
|
1495 |
+
"lstrip": false,
|
1496 |
+
"normalized": false,
|
1497 |
+
"rstrip": false,
|
1498 |
+
"single_word": false,
|
1499 |
+
"special": false
|
1500 |
+
},
|
1501 |
+
"187": {
|
1502 |
+
"content": "<h3>",
|
1503 |
+
"lstrip": false,
|
1504 |
+
"normalized": false,
|
1505 |
+
"rstrip": false,
|
1506 |
+
"single_word": false,
|
1507 |
+
"special": false
|
1508 |
+
},
|
1509 |
+
"188": {
|
1510 |
+
"content": "<h4>",
|
1511 |
+
"lstrip": false,
|
1512 |
+
"normalized": false,
|
1513 |
+
"rstrip": false,
|
1514 |
+
"single_word": false,
|
1515 |
+
"special": false
|
1516 |
+
},
|
1517 |
+
"189": {
|
1518 |
+
"content": "<h5>",
|
1519 |
+
"lstrip": false,
|
1520 |
+
"normalized": false,
|
1521 |
+
"rstrip": false,
|
1522 |
+
"single_word": false,
|
1523 |
+
"special": false
|
1524 |
+
},
|
1525 |
+
"190": {
|
1526 |
+
"content": "<h6>",
|
1527 |
+
"lstrip": false,
|
1528 |
+
"normalized": false,
|
1529 |
+
"rstrip": false,
|
1530 |
+
"single_word": false,
|
1531 |
+
"special": false
|
1532 |
+
},
|
1533 |
+
"191": {
|
1534 |
+
"content": "<blockquote>",
|
1535 |
+
"lstrip": false,
|
1536 |
+
"normalized": false,
|
1537 |
+
"rstrip": false,
|
1538 |
+
"single_word": false,
|
1539 |
+
"special": false
|
1540 |
+
},
|
1541 |
+
"192": {
|
1542 |
+
"content": "</h1>",
|
1543 |
+
"lstrip": false,
|
1544 |
+
"normalized": false,
|
1545 |
+
"rstrip": false,
|
1546 |
+
"single_word": false,
|
1547 |
+
"special": false
|
1548 |
+
},
|
1549 |
+
"193": {
|
1550 |
+
"content": "</h2>",
|
1551 |
+
"lstrip": false,
|
1552 |
+
"normalized": false,
|
1553 |
+
"rstrip": false,
|
1554 |
+
"single_word": false,
|
1555 |
+
"special": false
|
1556 |
+
},
|
1557 |
+
"194": {
|
1558 |
+
"content": "</h3>",
|
1559 |
+
"lstrip": false,
|
1560 |
+
"normalized": false,
|
1561 |
+
"rstrip": false,
|
1562 |
+
"single_word": false,
|
1563 |
+
"special": false
|
1564 |
+
},
|
1565 |
+
"195": {
|
1566 |
+
"content": "</h4>",
|
1567 |
+
"lstrip": false,
|
1568 |
+
"normalized": false,
|
1569 |
+
"rstrip": false,
|
1570 |
+
"single_word": false,
|
1571 |
+
"special": false
|
1572 |
+
},
|
1573 |
+
"196": {
|
1574 |
+
"content": "</h5>",
|
1575 |
+
"lstrip": false,
|
1576 |
+
"normalized": false,
|
1577 |
+
"rstrip": false,
|
1578 |
+
"single_word": false,
|
1579 |
+
"special": false
|
1580 |
+
},
|
1581 |
+
"197": {
|
1582 |
+
"content": "</h6>",
|
1583 |
+
"lstrip": false,
|
1584 |
+
"normalized": false,
|
1585 |
+
"rstrip": false,
|
1586 |
+
"single_word": false,
|
1587 |
+
"special": false
|
1588 |
+
},
|
1589 |
+
"198": {
|
1590 |
+
"content": "</blockquote>",
|
1591 |
+
"lstrip": false,
|
1592 |
+
"normalized": false,
|
1593 |
+
"rstrip": false,
|
1594 |
+
"single_word": false,
|
1595 |
+
"special": false
|
1596 |
+
},
|
1597 |
+
"199": {
|
1598 |
+
"content": "<strong>",
|
1599 |
+
"lstrip": false,
|
1600 |
+
"normalized": false,
|
1601 |
+
"rstrip": false,
|
1602 |
+
"single_word": false,
|
1603 |
+
"special": false
|
1604 |
+
},
|
1605 |
+
"200": {
|
1606 |
+
"content": "<em>",
|
1607 |
+
"lstrip": false,
|
1608 |
+
"normalized": false,
|
1609 |
+
"rstrip": false,
|
1610 |
+
"single_word": false,
|
1611 |
+
"special": false
|
1612 |
+
},
|
1613 |
+
"201": {
|
1614 |
+
"content": "<b>",
|
1615 |
+
"lstrip": false,
|
1616 |
+
"normalized": false,
|
1617 |
+
"rstrip": false,
|
1618 |
+
"single_word": false,
|
1619 |
+
"special": false
|
1620 |
+
},
|
1621 |
+
"202": {
|
1622 |
+
"content": "<i>",
|
1623 |
+
"lstrip": false,
|
1624 |
+
"normalized": false,
|
1625 |
+
"rstrip": false,
|
1626 |
+
"single_word": false,
|
1627 |
+
"special": false
|
1628 |
+
},
|
1629 |
+
"203": {
|
1630 |
+
"content": "<u>",
|
1631 |
+
"lstrip": false,
|
1632 |
+
"normalized": false,
|
1633 |
+
"rstrip": false,
|
1634 |
+
"single_word": false,
|
1635 |
+
"special": false
|
1636 |
+
},
|
1637 |
+
"204": {
|
1638 |
+
"content": "<s>",
|
1639 |
+
"lstrip": false,
|
1640 |
+
"normalized": false,
|
1641 |
+
"rstrip": false,
|
1642 |
+
"single_word": false,
|
1643 |
+
"special": false
|
1644 |
+
},
|
1645 |
+
"205": {
|
1646 |
+
"content": "<sub>",
|
1647 |
+
"lstrip": false,
|
1648 |
+
"normalized": false,
|
1649 |
+
"rstrip": false,
|
1650 |
+
"single_word": false,
|
1651 |
+
"special": false
|
1652 |
+
},
|
1653 |
+
"206": {
|
1654 |
+
"content": "<sup>",
|
1655 |
+
"lstrip": false,
|
1656 |
+
"normalized": false,
|
1657 |
+
"rstrip": false,
|
1658 |
+
"single_word": false,
|
1659 |
+
"special": false
|
1660 |
+
},
|
1661 |
+
"207": {
|
1662 |
+
"content": "<code>",
|
1663 |
+
"lstrip": false,
|
1664 |
+
"normalized": false,
|
1665 |
+
"rstrip": false,
|
1666 |
+
"single_word": false,
|
1667 |
+
"special": false
|
1668 |
+
},
|
1669 |
+
"208": {
|
1670 |
+
"content": "</strong>",
|
1671 |
+
"lstrip": false,
|
1672 |
+
"normalized": false,
|
1673 |
+
"rstrip": false,
|
1674 |
+
"single_word": false,
|
1675 |
+
"special": false
|
1676 |
+
},
|
1677 |
+
"209": {
|
1678 |
+
"content": "</em>",
|
1679 |
+
"lstrip": false,
|
1680 |
+
"normalized": false,
|
1681 |
+
"rstrip": false,
|
1682 |
+
"single_word": false,
|
1683 |
+
"special": false
|
1684 |
+
},
|
1685 |
+
"210": {
|
1686 |
+
"content": "</b>",
|
1687 |
+
"lstrip": false,
|
1688 |
+
"normalized": false,
|
1689 |
+
"rstrip": false,
|
1690 |
+
"single_word": false,
|
1691 |
+
"special": false
|
1692 |
+
},
|
1693 |
+
"211": {
|
1694 |
+
"content": "</i>",
|
1695 |
+
"lstrip": false,
|
1696 |
+
"normalized": false,
|
1697 |
+
"rstrip": false,
|
1698 |
+
"single_word": false,
|
1699 |
+
"special": false
|
1700 |
+
},
|
1701 |
+
"212": {
|
1702 |
+
"content": "</u>",
|
1703 |
+
"lstrip": false,
|
1704 |
+
"normalized": false,
|
1705 |
+
"rstrip": false,
|
1706 |
+
"single_word": false,
|
1707 |
+
"special": false
|
1708 |
+
},
|
1709 |
+
"213": {
|
1710 |
+
"content": "</s>",
|
1711 |
+
"lstrip": false,
|
1712 |
+
"normalized": false,
|
1713 |
+
"rstrip": false,
|
1714 |
+
"single_word": false,
|
1715 |
+
"special": false
|
1716 |
+
},
|
1717 |
+
"214": {
|
1718 |
+
"content": "</sub>",
|
1719 |
+
"lstrip": false,
|
1720 |
+
"normalized": false,
|
1721 |
+
"rstrip": false,
|
1722 |
+
"single_word": false,
|
1723 |
+
"special": false
|
1724 |
+
},
|
1725 |
+
"215": {
|
1726 |
+
"content": "</sup>",
|
1727 |
+
"lstrip": false,
|
1728 |
+
"normalized": false,
|
1729 |
+
"rstrip": false,
|
1730 |
+
"single_word": false,
|
1731 |
+
"special": false
|
1732 |
+
},
|
1733 |
+
"216": {
|
1734 |
+
"content": "</code>",
|
1735 |
+
"lstrip": false,
|
1736 |
+
"normalized": false,
|
1737 |
+
"rstrip": false,
|
1738 |
+
"single_word": false,
|
1739 |
+
"special": false
|
1740 |
+
}
|
1741 |
+
},
|
1742 |
+
"additional_special_tokens": [
|
1743 |
+
"<start_of_turn>",
|
1744 |
+
"<end_of_turn>"
|
1745 |
+
],
|
1746 |
+
"bos_token": "<bos>",
|
1747 |
+
"clean_up_tokenization_spaces": false,
|
1748 |
+
"eos_token": "<eos>",
|
1749 |
+
"model_max_length": 1000000000000000019884624838656,
|
1750 |
+
"pad_token": "<eos>",
|
1751 |
+
"sp_model_kwargs": {},
|
1752 |
+
"spaces_between_special_tokens": false,
|
1753 |
+
"tokenizer_class": "GemmaTokenizer",
|
1754 |
+
"unk_token": "<unk>",
|
1755 |
+
"use_default_system_prompt": false
|
1756 |
+
}
|
SFTmodels/gemma-2-9b_sftm2genre100714/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7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provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.12.0
|
SFTmodels/gemma-2-9b_sftm3genre1800/adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "google/gemma-2-9b",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 16,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 64,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"q_proj",
|
24 |
+
"o_proj",
|
25 |
+
"v_proj",
|
26 |
+
"k_proj"
|
27 |
+
],
|
28 |
+
"task_type": "CAUSAL_LM",
|
29 |
+
"use_dora": false,
|
30 |
+
"use_rslora": false
|
31 |
+
}
|
SFTmodels/gemma-2-9b_sftm3genre1800/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cabf6c3c3b9a919b111a5ab5b28a17c63e78c31037471a11a21a22426bccb98d
|
3 |
+
size 286306976
|
SFTmodels/gemma-2-9b_sftm3genre1800/special_tokens_map.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<start_of_turn>",
|
4 |
+
"<end_of_turn>"
|
5 |
+
],
|
6 |
+
"bos_token": {
|
7 |
+
"content": "<bos>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"eos_token": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
},
|
20 |
+
"pad_token": "<eos>",
|
21 |
+
"unk_token": {
|
22 |
+
"content": "<unk>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false
|
27 |
+
}
|
28 |
+
}
|
SFTmodels/gemma-2-9b_sftm3genre1800/tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8bdd6fa579b0cae69393298845f25133763e90c5814db935ee4496d161aca4da
|
3 |
+
size 17518624
|
SFTmodels/gemma-2-9b_sftm3genre1800/tokenizer_config.json
ADDED
@@ -0,0 +1,1756 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<pad>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "<bos>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"3": {
|
30 |
+
"content": "<unk>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"4": {
|
38 |
+
"content": "<mask>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": false
|
44 |
+
},
|
45 |
+
"5": {
|
46 |
+
"content": "<2mass>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": false
|
52 |
+
},
|
53 |
+
"6": {
|
54 |
+
"content": "[@BOS@]",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": false,
|
58 |
+
"single_word": false,
|
59 |
+
"special": false
|
60 |
+
},
|
61 |
+
"7": {
|
62 |
+
"content": "<unused0>",
|
63 |
+
"lstrip": false,
|
64 |
+
"normalized": false,
|
65 |
+
"rstrip": false,
|
66 |
+
"single_word": false,
|
67 |
+
"special": false
|
68 |
+
},
|
69 |
+
"8": {
|
70 |
+
"content": "<unused1>",
|
71 |
+
"lstrip": false,
|
72 |
+
"normalized": false,
|
73 |
+
"rstrip": false,
|
74 |
+
"single_word": false,
|
75 |
+
"special": false
|
76 |
+
},
|
77 |
+
"9": {
|
78 |
+
"content": "<unused2>",
|
79 |
+
"lstrip": false,
|
80 |
+
"normalized": false,
|
81 |
+
"rstrip": false,
|
82 |
+
"single_word": false,
|
83 |
+
"special": false
|
84 |
+
},
|
85 |
+
"10": {
|
86 |
+
"content": "<unused3>",
|
87 |
+
"lstrip": false,
|
88 |
+
"normalized": false,
|
89 |
+
"rstrip": false,
|
90 |
+
"single_word": false,
|
91 |
+
"special": false
|
92 |
+
},
|
93 |
+
"11": {
|
94 |
+
"content": "<unused4>",
|
95 |
+
"lstrip": false,
|
96 |
+
"normalized": false,
|
97 |
+
"rstrip": false,
|
98 |
+
"single_word": false,
|
99 |
+
"special": false
|
100 |
+
},
|
101 |
+
"12": {
|
102 |
+
"content": "<unused5>",
|
103 |
+
"lstrip": false,
|
104 |
+
"normalized": false,
|
105 |
+
"rstrip": false,
|
106 |
+
"single_word": false,
|
107 |
+
"special": false
|
108 |
+
},
|
109 |
+
"13": {
|
110 |
+
"content": "<unused6>",
|
111 |
+
"lstrip": false,
|
112 |
+
"normalized": false,
|
113 |
+
"rstrip": false,
|
114 |
+
"single_word": false,
|
115 |
+
"special": false
|
116 |
+
},
|
117 |
+
"14": {
|
118 |
+
"content": "<unused7>",
|
119 |
+
"lstrip": false,
|
120 |
+
"normalized": false,
|
121 |
+
"rstrip": false,
|
122 |
+
"single_word": false,
|
123 |
+
"special": false
|
124 |
+
},
|
125 |
+
"15": {
|
126 |
+
"content": "<unused8>",
|
127 |
+
"lstrip": false,
|
128 |
+
"normalized": false,
|
129 |
+
"rstrip": false,
|
130 |
+
"single_word": false,
|
131 |
+
"special": false
|
132 |
+
},
|
133 |
+
"16": {
|
134 |
+
"content": "<unused9>",
|
135 |
+
"lstrip": false,
|
136 |
+
"normalized": false,
|
137 |
+
"rstrip": false,
|
138 |
+
"single_word": false,
|
139 |
+
"special": false
|
140 |
+
},
|
141 |
+
"17": {
|
142 |
+
"content": "<unused10>",
|
143 |
+
"lstrip": false,
|
144 |
+
"normalized": false,
|
145 |
+
"rstrip": false,
|
146 |
+
"single_word": false,
|
147 |
+
"special": false
|
148 |
+
},
|
149 |
+
"18": {
|
150 |
+
"content": "<unused11>",
|
151 |
+
"lstrip": false,
|
152 |
+
"normalized": false,
|
153 |
+
"rstrip": false,
|
154 |
+
"single_word": false,
|
155 |
+
"special": false
|
156 |
+
},
|
157 |
+
"19": {
|
158 |
+
"content": "<unused12>",
|
159 |
+
"lstrip": false,
|
160 |
+
"normalized": false,
|
161 |
+
"rstrip": false,
|
162 |
+
"single_word": false,
|
163 |
+
"special": false
|
164 |
+
},
|
165 |
+
"20": {
|
166 |
+
"content": "<unused13>",
|
167 |
+
"lstrip": false,
|
168 |
+
"normalized": false,
|
169 |
+
"rstrip": false,
|
170 |
+
"single_word": false,
|
171 |
+
"special": false
|
172 |
+
},
|
173 |
+
"21": {
|
174 |
+
"content": "<unused14>",
|
175 |
+
"lstrip": false,
|
176 |
+
"normalized": false,
|
177 |
+
"rstrip": false,
|
178 |
+
"single_word": false,
|
179 |
+
"special": false
|
180 |
+
},
|
181 |
+
"22": {
|
182 |
+
"content": "<unused15>",
|
183 |
+
"lstrip": false,
|
184 |
+
"normalized": false,
|
185 |
+
"rstrip": false,
|
186 |
+
"single_word": false,
|
187 |
+
"special": false
|
188 |
+
},
|
189 |
+
"23": {
|
190 |
+
"content": "<unused16>",
|
191 |
+
"lstrip": false,
|
192 |
+
"normalized": false,
|
193 |
+
"rstrip": false,
|
194 |
+
"single_word": false,
|
195 |
+
"special": false
|
196 |
+
},
|
197 |
+
"24": {
|
198 |
+
"content": "<unused17>",
|
199 |
+
"lstrip": false,
|
200 |
+
"normalized": false,
|
201 |
+
"rstrip": false,
|
202 |
+
"single_word": false,
|
203 |
+
"special": false
|
204 |
+
},
|
205 |
+
"25": {
|
206 |
+
"content": "<unused18>",
|
207 |
+
"lstrip": false,
|
208 |
+
"normalized": false,
|
209 |
+
"rstrip": false,
|
210 |
+
"single_word": false,
|
211 |
+
"special": false
|
212 |
+
},
|
213 |
+
"26": {
|
214 |
+
"content": "<unused19>",
|
215 |
+
"lstrip": false,
|
216 |
+
"normalized": false,
|
217 |
+
"rstrip": false,
|
218 |
+
"single_word": false,
|
219 |
+
"special": false
|
220 |
+
},
|
221 |
+
"27": {
|
222 |
+
"content": "<unused20>",
|
223 |
+
"lstrip": false,
|
224 |
+
"normalized": false,
|
225 |
+
"rstrip": false,
|
226 |
+
"single_word": false,
|
227 |
+
"special": false
|
228 |
+
},
|
229 |
+
"28": {
|
230 |
+
"content": "<unused21>",
|
231 |
+
"lstrip": false,
|
232 |
+
"normalized": false,
|
233 |
+
"rstrip": false,
|
234 |
+
"single_word": false,
|
235 |
+
"special": false
|
236 |
+
},
|
237 |
+
"29": {
|
238 |
+
"content": "<unused22>",
|
239 |
+
"lstrip": false,
|
240 |
+
"normalized": false,
|
241 |
+
"rstrip": false,
|
242 |
+
"single_word": false,
|
243 |
+
"special": false
|
244 |
+
},
|
245 |
+
"30": {
|
246 |
+
"content": "<unused23>",
|
247 |
+
"lstrip": false,
|
248 |
+
"normalized": false,
|
249 |
+
"rstrip": false,
|
250 |
+
"single_word": false,
|
251 |
+
"special": false
|
252 |
+
},
|
253 |
+
"31": {
|
254 |
+
"content": "<unused24>",
|
255 |
+
"lstrip": false,
|
256 |
+
"normalized": false,
|
257 |
+
"rstrip": false,
|
258 |
+
"single_word": false,
|
259 |
+
"special": false
|
260 |
+
},
|
261 |
+
"32": {
|
262 |
+
"content": "<unused25>",
|
263 |
+
"lstrip": false,
|
264 |
+
"normalized": false,
|
265 |
+
"rstrip": false,
|
266 |
+
"single_word": false,
|
267 |
+
"special": false
|
268 |
+
},
|
269 |
+
"33": {
|
270 |
+
"content": "<unused26>",
|
271 |
+
"lstrip": false,
|
272 |
+
"normalized": false,
|
273 |
+
"rstrip": false,
|
274 |
+
"single_word": false,
|
275 |
+
"special": false
|
276 |
+
},
|
277 |
+
"34": {
|
278 |
+
"content": "<unused27>",
|
279 |
+
"lstrip": false,
|
280 |
+
"normalized": false,
|
281 |
+
"rstrip": false,
|
282 |
+
"single_word": false,
|
283 |
+
"special": false
|
284 |
+
},
|
285 |
+
"35": {
|
286 |
+
"content": "<unused28>",
|
287 |
+
"lstrip": false,
|
288 |
+
"normalized": false,
|
289 |
+
"rstrip": false,
|
290 |
+
"single_word": false,
|
291 |
+
"special": false
|
292 |
+
},
|
293 |
+
"36": {
|
294 |
+
"content": "<unused29>",
|
295 |
+
"lstrip": false,
|
296 |
+
"normalized": false,
|
297 |
+
"rstrip": false,
|
298 |
+
"single_word": false,
|
299 |
+
"special": false
|
300 |
+
},
|
301 |
+
"37": {
|
302 |
+
"content": "<unused30>",
|
303 |
+
"lstrip": false,
|
304 |
+
"normalized": false,
|
305 |
+
"rstrip": false,
|
306 |
+
"single_word": false,
|
307 |
+
"special": false
|
308 |
+
},
|
309 |
+
"38": {
|
310 |
+
"content": "<unused31>",
|
311 |
+
"lstrip": false,
|
312 |
+
"normalized": false,
|
313 |
+
"rstrip": false,
|
314 |
+
"single_word": false,
|
315 |
+
"special": false
|
316 |
+
},
|
317 |
+
"39": {
|
318 |
+
"content": "<unused32>",
|
319 |
+
"lstrip": false,
|
320 |
+
"normalized": false,
|
321 |
+
"rstrip": false,
|
322 |
+
"single_word": false,
|
323 |
+
"special": false
|
324 |
+
},
|
325 |
+
"40": {
|
326 |
+
"content": "<unused33>",
|
327 |
+
"lstrip": false,
|
328 |
+
"normalized": false,
|
329 |
+
"rstrip": false,
|
330 |
+
"single_word": false,
|
331 |
+
"special": false
|
332 |
+
},
|
333 |
+
"41": {
|
334 |
+
"content": "<unused34>",
|
335 |
+
"lstrip": false,
|
336 |
+
"normalized": false,
|
337 |
+
"rstrip": false,
|
338 |
+
"single_word": false,
|
339 |
+
"special": false
|
340 |
+
},
|
341 |
+
"42": {
|
342 |
+
"content": "<unused35>",
|
343 |
+
"lstrip": false,
|
344 |
+
"normalized": false,
|
345 |
+
"rstrip": false,
|
346 |
+
"single_word": false,
|
347 |
+
"special": false
|
348 |
+
},
|
349 |
+
"43": {
|
350 |
+
"content": "<unused36>",
|
351 |
+
"lstrip": false,
|
352 |
+
"normalized": false,
|
353 |
+
"rstrip": false,
|
354 |
+
"single_word": false,
|
355 |
+
"special": false
|
356 |
+
},
|
357 |
+
"44": {
|
358 |
+
"content": "<unused37>",
|
359 |
+
"lstrip": false,
|
360 |
+
"normalized": false,
|
361 |
+
"rstrip": false,
|
362 |
+
"single_word": false,
|
363 |
+
"special": false
|
364 |
+
},
|
365 |
+
"45": {
|
366 |
+
"content": "<unused38>",
|
367 |
+
"lstrip": false,
|
368 |
+
"normalized": false,
|
369 |
+
"rstrip": false,
|
370 |
+
"single_word": false,
|
371 |
+
"special": false
|
372 |
+
},
|
373 |
+
"46": {
|
374 |
+
"content": "<unused39>",
|
375 |
+
"lstrip": false,
|
376 |
+
"normalized": false,
|
377 |
+
"rstrip": false,
|
378 |
+
"single_word": false,
|
379 |
+
"special": false
|
380 |
+
},
|
381 |
+
"47": {
|
382 |
+
"content": "<unused40>",
|
383 |
+
"lstrip": false,
|
384 |
+
"normalized": false,
|
385 |
+
"rstrip": false,
|
386 |
+
"single_word": false,
|
387 |
+
"special": false
|
388 |
+
},
|
389 |
+
"48": {
|
390 |
+
"content": "<unused41>",
|
391 |
+
"lstrip": false,
|
392 |
+
"normalized": false,
|
393 |
+
"rstrip": false,
|
394 |
+
"single_word": false,
|
395 |
+
"special": false
|
396 |
+
},
|
397 |
+
"49": {
|
398 |
+
"content": "<unused42>",
|
399 |
+
"lstrip": false,
|
400 |
+
"normalized": false,
|
401 |
+
"rstrip": false,
|
402 |
+
"single_word": false,
|
403 |
+
"special": false
|
404 |
+
},
|
405 |
+
"50": {
|
406 |
+
"content": "<unused43>",
|
407 |
+
"lstrip": false,
|
408 |
+
"normalized": false,
|
409 |
+
"rstrip": false,
|
410 |
+
"single_word": false,
|
411 |
+
"special": false
|
412 |
+
},
|
413 |
+
"51": {
|
414 |
+
"content": "<unused44>",
|
415 |
+
"lstrip": false,
|
416 |
+
"normalized": false,
|
417 |
+
"rstrip": false,
|
418 |
+
"single_word": false,
|
419 |
+
"special": false
|
420 |
+
},
|
421 |
+
"52": {
|
422 |
+
"content": "<unused45>",
|
423 |
+
"lstrip": false,
|
424 |
+
"normalized": false,
|
425 |
+
"rstrip": false,
|
426 |
+
"single_word": false,
|
427 |
+
"special": false
|
428 |
+
},
|
429 |
+
"53": {
|
430 |
+
"content": "<unused46>",
|
431 |
+
"lstrip": false,
|
432 |
+
"normalized": false,
|
433 |
+
"rstrip": false,
|
434 |
+
"single_word": false,
|
435 |
+
"special": false
|
436 |
+
},
|
437 |
+
"54": {
|
438 |
+
"content": "<unused47>",
|
439 |
+
"lstrip": false,
|
440 |
+
"normalized": false,
|
441 |
+
"rstrip": false,
|
442 |
+
"single_word": false,
|
443 |
+
"special": false
|
444 |
+
},
|
445 |
+
"55": {
|
446 |
+
"content": "<unused48>",
|
447 |
+
"lstrip": false,
|
448 |
+
"normalized": false,
|
449 |
+
"rstrip": false,
|
450 |
+
"single_word": false,
|
451 |
+
"special": false
|
452 |
+
},
|
453 |
+
"56": {
|
454 |
+
"content": "<unused49>",
|
455 |
+
"lstrip": false,
|
456 |
+
"normalized": false,
|
457 |
+
"rstrip": false,
|
458 |
+
"single_word": false,
|
459 |
+
"special": false
|
460 |
+
},
|
461 |
+
"57": {
|
462 |
+
"content": "<unused50>",
|
463 |
+
"lstrip": false,
|
464 |
+
"normalized": false,
|
465 |
+
"rstrip": false,
|
466 |
+
"single_word": false,
|
467 |
+
"special": false
|
468 |
+
},
|
469 |
+
"58": {
|
470 |
+
"content": "<unused51>",
|
471 |
+
"lstrip": false,
|
472 |
+
"normalized": false,
|
473 |
+
"rstrip": false,
|
474 |
+
"single_word": false,
|
475 |
+
"special": false
|
476 |
+
},
|
477 |
+
"59": {
|
478 |
+
"content": "<unused52>",
|
479 |
+
"lstrip": false,
|
480 |
+
"normalized": false,
|
481 |
+
"rstrip": false,
|
482 |
+
"single_word": false,
|
483 |
+
"special": false
|
484 |
+
},
|
485 |
+
"60": {
|
486 |
+
"content": "<unused53>",
|
487 |
+
"lstrip": false,
|
488 |
+
"normalized": false,
|
489 |
+
"rstrip": false,
|
490 |
+
"single_word": false,
|
491 |
+
"special": false
|
492 |
+
},
|
493 |
+
"61": {
|
494 |
+
"content": "<unused54>",
|
495 |
+
"lstrip": false,
|
496 |
+
"normalized": false,
|
497 |
+
"rstrip": false,
|
498 |
+
"single_word": false,
|
499 |
+
"special": false
|
500 |
+
},
|
501 |
+
"62": {
|
502 |
+
"content": "<unused55>",
|
503 |
+
"lstrip": false,
|
504 |
+
"normalized": false,
|
505 |
+
"rstrip": false,
|
506 |
+
"single_word": false,
|
507 |
+
"special": false
|
508 |
+
},
|
509 |
+
"63": {
|
510 |
+
"content": "<unused56>",
|
511 |
+
"lstrip": false,
|
512 |
+
"normalized": false,
|
513 |
+
"rstrip": false,
|
514 |
+
"single_word": false,
|
515 |
+
"special": false
|
516 |
+
},
|
517 |
+
"64": {
|
518 |
+
"content": "<unused57>",
|
519 |
+
"lstrip": false,
|
520 |
+
"normalized": false,
|
521 |
+
"rstrip": false,
|
522 |
+
"single_word": false,
|
523 |
+
"special": false
|
524 |
+
},
|
525 |
+
"65": {
|
526 |
+
"content": "<unused58>",
|
527 |
+
"lstrip": false,
|
528 |
+
"normalized": false,
|
529 |
+
"rstrip": false,
|
530 |
+
"single_word": false,
|
531 |
+
"special": false
|
532 |
+
},
|
533 |
+
"66": {
|
534 |
+
"content": "<unused59>",
|
535 |
+
"lstrip": false,
|
536 |
+
"normalized": false,
|
537 |
+
"rstrip": false,
|
538 |
+
"single_word": false,
|
539 |
+
"special": false
|
540 |
+
},
|
541 |
+
"67": {
|
542 |
+
"content": "<unused60>",
|
543 |
+
"lstrip": false,
|
544 |
+
"normalized": false,
|
545 |
+
"rstrip": false,
|
546 |
+
"single_word": false,
|
547 |
+
"special": false
|
548 |
+
},
|
549 |
+
"68": {
|
550 |
+
"content": "<unused61>",
|
551 |
+
"lstrip": false,
|
552 |
+
"normalized": false,
|
553 |
+
"rstrip": false,
|
554 |
+
"single_word": false,
|
555 |
+
"special": false
|
556 |
+
},
|
557 |
+
"69": {
|
558 |
+
"content": "<unused62>",
|
559 |
+
"lstrip": false,
|
560 |
+
"normalized": false,
|
561 |
+
"rstrip": false,
|
562 |
+
"single_word": false,
|
563 |
+
"special": false
|
564 |
+
},
|
565 |
+
"70": {
|
566 |
+
"content": "<unused63>",
|
567 |
+
"lstrip": false,
|
568 |
+
"normalized": false,
|
569 |
+
"rstrip": false,
|
570 |
+
"single_word": false,
|
571 |
+
"special": false
|
572 |
+
},
|
573 |
+
"71": {
|
574 |
+
"content": "<unused64>",
|
575 |
+
"lstrip": false,
|
576 |
+
"normalized": false,
|
577 |
+
"rstrip": false,
|
578 |
+
"single_word": false,
|
579 |
+
"special": false
|
580 |
+
},
|
581 |
+
"72": {
|
582 |
+
"content": "<unused65>",
|
583 |
+
"lstrip": false,
|
584 |
+
"normalized": false,
|
585 |
+
"rstrip": false,
|
586 |
+
"single_word": false,
|
587 |
+
"special": false
|
588 |
+
},
|
589 |
+
"73": {
|
590 |
+
"content": "<unused66>",
|
591 |
+
"lstrip": false,
|
592 |
+
"normalized": false,
|
593 |
+
"rstrip": false,
|
594 |
+
"single_word": false,
|
595 |
+
"special": false
|
596 |
+
},
|
597 |
+
"74": {
|
598 |
+
"content": "<unused67>",
|
599 |
+
"lstrip": false,
|
600 |
+
"normalized": false,
|
601 |
+
"rstrip": false,
|
602 |
+
"single_word": false,
|
603 |
+
"special": false
|
604 |
+
},
|
605 |
+
"75": {
|
606 |
+
"content": "<unused68>",
|
607 |
+
"lstrip": false,
|
608 |
+
"normalized": false,
|
609 |
+
"rstrip": false,
|
610 |
+
"single_word": false,
|
611 |
+
"special": false
|
612 |
+
},
|
613 |
+
"76": {
|
614 |
+
"content": "<unused69>",
|
615 |
+
"lstrip": false,
|
616 |
+
"normalized": false,
|
617 |
+
"rstrip": false,
|
618 |
+
"single_word": false,
|
619 |
+
"special": false
|
620 |
+
},
|
621 |
+
"77": {
|
622 |
+
"content": "<unused70>",
|
623 |
+
"lstrip": false,
|
624 |
+
"normalized": false,
|
625 |
+
"rstrip": false,
|
626 |
+
"single_word": false,
|
627 |
+
"special": false
|
628 |
+
},
|
629 |
+
"78": {
|
630 |
+
"content": "<unused71>",
|
631 |
+
"lstrip": false,
|
632 |
+
"normalized": false,
|
633 |
+
"rstrip": false,
|
634 |
+
"single_word": false,
|
635 |
+
"special": false
|
636 |
+
},
|
637 |
+
"79": {
|
638 |
+
"content": "<unused72>",
|
639 |
+
"lstrip": false,
|
640 |
+
"normalized": false,
|
641 |
+
"rstrip": false,
|
642 |
+
"single_word": false,
|
643 |
+
"special": false
|
644 |
+
},
|
645 |
+
"80": {
|
646 |
+
"content": "<unused73>",
|
647 |
+
"lstrip": false,
|
648 |
+
"normalized": false,
|
649 |
+
"rstrip": false,
|
650 |
+
"single_word": false,
|
651 |
+
"special": false
|
652 |
+
},
|
653 |
+
"81": {
|
654 |
+
"content": "<unused74>",
|
655 |
+
"lstrip": false,
|
656 |
+
"normalized": false,
|
657 |
+
"rstrip": false,
|
658 |
+
"single_word": false,
|
659 |
+
"special": false
|
660 |
+
},
|
661 |
+
"82": {
|
662 |
+
"content": "<unused75>",
|
663 |
+
"lstrip": false,
|
664 |
+
"normalized": false,
|
665 |
+
"rstrip": false,
|
666 |
+
"single_word": false,
|
667 |
+
"special": false
|
668 |
+
},
|
669 |
+
"83": {
|
670 |
+
"content": "<unused76>",
|
671 |
+
"lstrip": false,
|
672 |
+
"normalized": false,
|
673 |
+
"rstrip": false,
|
674 |
+
"single_word": false,
|
675 |
+
"special": false
|
676 |
+
},
|
677 |
+
"84": {
|
678 |
+
"content": "<unused77>",
|
679 |
+
"lstrip": false,
|
680 |
+
"normalized": false,
|
681 |
+
"rstrip": false,
|
682 |
+
"single_word": false,
|
683 |
+
"special": false
|
684 |
+
},
|
685 |
+
"85": {
|
686 |
+
"content": "<unused78>",
|
687 |
+
"lstrip": false,
|
688 |
+
"normalized": false,
|
689 |
+
"rstrip": false,
|
690 |
+
"single_word": false,
|
691 |
+
"special": false
|
692 |
+
},
|
693 |
+
"86": {
|
694 |
+
"content": "<unused79>",
|
695 |
+
"lstrip": false,
|
696 |
+
"normalized": false,
|
697 |
+
"rstrip": false,
|
698 |
+
"single_word": false,
|
699 |
+
"special": false
|
700 |
+
},
|
701 |
+
"87": {
|
702 |
+
"content": "<unused80>",
|
703 |
+
"lstrip": false,
|
704 |
+
"normalized": false,
|
705 |
+
"rstrip": false,
|
706 |
+
"single_word": false,
|
707 |
+
"special": false
|
708 |
+
},
|
709 |
+
"88": {
|
710 |
+
"content": "<unused81>",
|
711 |
+
"lstrip": false,
|
712 |
+
"normalized": false,
|
713 |
+
"rstrip": false,
|
714 |
+
"single_word": false,
|
715 |
+
"special": false
|
716 |
+
},
|
717 |
+
"89": {
|
718 |
+
"content": "<unused82>",
|
719 |
+
"lstrip": false,
|
720 |
+
"normalized": false,
|
721 |
+
"rstrip": false,
|
722 |
+
"single_word": false,
|
723 |
+
"special": false
|
724 |
+
},
|
725 |
+
"90": {
|
726 |
+
"content": "<unused83>",
|
727 |
+
"lstrip": false,
|
728 |
+
"normalized": false,
|
729 |
+
"rstrip": false,
|
730 |
+
"single_word": false,
|
731 |
+
"special": false
|
732 |
+
},
|
733 |
+
"91": {
|
734 |
+
"content": "<unused84>",
|
735 |
+
"lstrip": false,
|
736 |
+
"normalized": false,
|
737 |
+
"rstrip": false,
|
738 |
+
"single_word": false,
|
739 |
+
"special": false
|
740 |
+
},
|
741 |
+
"92": {
|
742 |
+
"content": "<unused85>",
|
743 |
+
"lstrip": false,
|
744 |
+
"normalized": false,
|
745 |
+
"rstrip": false,
|
746 |
+
"single_word": false,
|
747 |
+
"special": false
|
748 |
+
},
|
749 |
+
"93": {
|
750 |
+
"content": "<unused86>",
|
751 |
+
"lstrip": false,
|
752 |
+
"normalized": false,
|
753 |
+
"rstrip": false,
|
754 |
+
"single_word": false,
|
755 |
+
"special": false
|
756 |
+
},
|
757 |
+
"94": {
|
758 |
+
"content": "<unused87>",
|
759 |
+
"lstrip": false,
|
760 |
+
"normalized": false,
|
761 |
+
"rstrip": false,
|
762 |
+
"single_word": false,
|
763 |
+
"special": false
|
764 |
+
},
|
765 |
+
"95": {
|
766 |
+
"content": "<unused88>",
|
767 |
+
"lstrip": false,
|
768 |
+
"normalized": false,
|
769 |
+
"rstrip": false,
|
770 |
+
"single_word": false,
|
771 |
+
"special": false
|
772 |
+
},
|
773 |
+
"96": {
|
774 |
+
"content": "<unused89>",
|
775 |
+
"lstrip": false,
|
776 |
+
"normalized": false,
|
777 |
+
"rstrip": false,
|
778 |
+
"single_word": false,
|
779 |
+
"special": false
|
780 |
+
},
|
781 |
+
"97": {
|
782 |
+
"content": "<unused90>",
|
783 |
+
"lstrip": false,
|
784 |
+
"normalized": false,
|
785 |
+
"rstrip": false,
|
786 |
+
"single_word": false,
|
787 |
+
"special": false
|
788 |
+
},
|
789 |
+
"98": {
|
790 |
+
"content": "<unused91>",
|
791 |
+
"lstrip": false,
|
792 |
+
"normalized": false,
|
793 |
+
"rstrip": false,
|
794 |
+
"single_word": false,
|
795 |
+
"special": false
|
796 |
+
},
|
797 |
+
"99": {
|
798 |
+
"content": "<unused92>",
|
799 |
+
"lstrip": false,
|
800 |
+
"normalized": false,
|
801 |
+
"rstrip": false,
|
802 |
+
"single_word": false,
|
803 |
+
"special": false
|
804 |
+
},
|
805 |
+
"100": {
|
806 |
+
"content": "<unused93>",
|
807 |
+
"lstrip": false,
|
808 |
+
"normalized": false,
|
809 |
+
"rstrip": false,
|
810 |
+
"single_word": false,
|
811 |
+
"special": false
|
812 |
+
},
|
813 |
+
"101": {
|
814 |
+
"content": "<unused94>",
|
815 |
+
"lstrip": false,
|
816 |
+
"normalized": false,
|
817 |
+
"rstrip": false,
|
818 |
+
"single_word": false,
|
819 |
+
"special": false
|
820 |
+
},
|
821 |
+
"102": {
|
822 |
+
"content": "<unused95>",
|
823 |
+
"lstrip": false,
|
824 |
+
"normalized": false,
|
825 |
+
"rstrip": false,
|
826 |
+
"single_word": false,
|
827 |
+
"special": false
|
828 |
+
},
|
829 |
+
"103": {
|
830 |
+
"content": "<unused96>",
|
831 |
+
"lstrip": false,
|
832 |
+
"normalized": false,
|
833 |
+
"rstrip": false,
|
834 |
+
"single_word": false,
|
835 |
+
"special": false
|
836 |
+
},
|
837 |
+
"104": {
|
838 |
+
"content": "<unused97>",
|
839 |
+
"lstrip": false,
|
840 |
+
"normalized": false,
|
841 |
+
"rstrip": false,
|
842 |
+
"single_word": false,
|
843 |
+
"special": false
|
844 |
+
},
|
845 |
+
"105": {
|
846 |
+
"content": "<unused98>",
|
847 |
+
"lstrip": false,
|
848 |
+
"normalized": false,
|
849 |
+
"rstrip": false,
|
850 |
+
"single_word": false,
|
851 |
+
"special": false
|
852 |
+
},
|
853 |
+
"106": {
|
854 |
+
"content": "<start_of_turn>",
|
855 |
+
"lstrip": false,
|
856 |
+
"normalized": false,
|
857 |
+
"rstrip": false,
|
858 |
+
"single_word": false,
|
859 |
+
"special": true
|
860 |
+
},
|
861 |
+
"107": {
|
862 |
+
"content": "<end_of_turn>",
|
863 |
+
"lstrip": false,
|
864 |
+
"normalized": false,
|
865 |
+
"rstrip": false,
|
866 |
+
"single_word": false,
|
867 |
+
"special": true
|
868 |
+
},
|
869 |
+
"108": {
|
870 |
+
"content": "\n",
|
871 |
+
"lstrip": false,
|
872 |
+
"normalized": false,
|
873 |
+
"rstrip": false,
|
874 |
+
"single_word": false,
|
875 |
+
"special": false
|
876 |
+
},
|
877 |
+
"109": {
|
878 |
+
"content": "\n\n",
|
879 |
+
"lstrip": false,
|
880 |
+
"normalized": false,
|
881 |
+
"rstrip": false,
|
882 |
+
"single_word": false,
|
883 |
+
"special": false
|
884 |
+
},
|
885 |
+
"110": {
|
886 |
+
"content": "\n\n\n",
|
887 |
+
"lstrip": false,
|
888 |
+
"normalized": false,
|
889 |
+
"rstrip": false,
|
890 |
+
"single_word": false,
|
891 |
+
"special": false
|
892 |
+
},
|
893 |
+
"111": {
|
894 |
+
"content": "\n\n\n\n",
|
895 |
+
"lstrip": false,
|
896 |
+
"normalized": false,
|
897 |
+
"rstrip": false,
|
898 |
+
"single_word": false,
|
899 |
+
"special": false
|
900 |
+
},
|
901 |
+
"112": {
|
902 |
+
"content": "\n\n\n\n\n",
|
903 |
+
"lstrip": false,
|
904 |
+
"normalized": false,
|
905 |
+
"rstrip": false,
|
906 |
+
"single_word": false,
|
907 |
+
"special": false
|
908 |
+
},
|
909 |
+
"113": {
|
910 |
+
"content": "\n\n\n\n\n\n",
|
911 |
+
"lstrip": false,
|
912 |
+
"normalized": false,
|
913 |
+
"rstrip": false,
|
914 |
+
"single_word": false,
|
915 |
+
"special": false
|
916 |
+
},
|
917 |
+
"114": {
|
918 |
+
"content": "\n\n\n\n\n\n\n",
|
919 |
+
"lstrip": false,
|
920 |
+
"normalized": false,
|
921 |
+
"rstrip": false,
|
922 |
+
"single_word": false,
|
923 |
+
"special": false
|
924 |
+
},
|
925 |
+
"115": {
|
926 |
+
"content": "\n\n\n\n\n\n\n\n",
|
927 |
+
"lstrip": false,
|
928 |
+
"normalized": false,
|
929 |
+
"rstrip": false,
|
930 |
+
"single_word": false,
|
931 |
+
"special": false
|
932 |
+
},
|
933 |
+
"116": {
|
934 |
+
"content": "\n\n\n\n\n\n\n\n\n",
|
935 |
+
"lstrip": false,
|
936 |
+
"normalized": false,
|
937 |
+
"rstrip": false,
|
938 |
+
"single_word": false,
|
939 |
+
"special": false
|
940 |
+
},
|
941 |
+
"117": {
|
942 |
+
"content": "\n\n\n\n\n\n\n\n\n\n",
|
943 |
+
"lstrip": false,
|
944 |
+
"normalized": false,
|
945 |
+
"rstrip": false,
|
946 |
+
"single_word": false,
|
947 |
+
"special": false
|
948 |
+
},
|
949 |
+
"118": {
|
950 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n",
|
951 |
+
"lstrip": false,
|
952 |
+
"normalized": false,
|
953 |
+
"rstrip": false,
|
954 |
+
"single_word": false,
|
955 |
+
"special": false
|
956 |
+
},
|
957 |
+
"119": {
|
958 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n",
|
959 |
+
"lstrip": false,
|
960 |
+
"normalized": false,
|
961 |
+
"rstrip": false,
|
962 |
+
"single_word": false,
|
963 |
+
"special": false
|
964 |
+
},
|
965 |
+
"120": {
|
966 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
967 |
+
"lstrip": false,
|
968 |
+
"normalized": false,
|
969 |
+
"rstrip": false,
|
970 |
+
"single_word": false,
|
971 |
+
"special": false
|
972 |
+
},
|
973 |
+
"121": {
|
974 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
975 |
+
"lstrip": false,
|
976 |
+
"normalized": false,
|
977 |
+
"rstrip": false,
|
978 |
+
"single_word": false,
|
979 |
+
"special": false
|
980 |
+
},
|
981 |
+
"122": {
|
982 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
983 |
+
"lstrip": false,
|
984 |
+
"normalized": false,
|
985 |
+
"rstrip": false,
|
986 |
+
"single_word": false,
|
987 |
+
"special": false
|
988 |
+
},
|
989 |
+
"123": {
|
990 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
991 |
+
"lstrip": false,
|
992 |
+
"normalized": false,
|
993 |
+
"rstrip": false,
|
994 |
+
"single_word": false,
|
995 |
+
"special": false
|
996 |
+
},
|
997 |
+
"124": {
|
998 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
999 |
+
"lstrip": false,
|
1000 |
+
"normalized": false,
|
1001 |
+
"rstrip": false,
|
1002 |
+
"single_word": false,
|
1003 |
+
"special": false
|
1004 |
+
},
|
1005 |
+
"125": {
|
1006 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1007 |
+
"lstrip": false,
|
1008 |
+
"normalized": false,
|
1009 |
+
"rstrip": false,
|
1010 |
+
"single_word": false,
|
1011 |
+
"special": false
|
1012 |
+
},
|
1013 |
+
"126": {
|
1014 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1015 |
+
"lstrip": false,
|
1016 |
+
"normalized": false,
|
1017 |
+
"rstrip": false,
|
1018 |
+
"single_word": false,
|
1019 |
+
"special": false
|
1020 |
+
},
|
1021 |
+
"127": {
|
1022 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1023 |
+
"lstrip": false,
|
1024 |
+
"normalized": false,
|
1025 |
+
"rstrip": false,
|
1026 |
+
"single_word": false,
|
1027 |
+
"special": false
|
1028 |
+
},
|
1029 |
+
"128": {
|
1030 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1031 |
+
"lstrip": false,
|
1032 |
+
"normalized": false,
|
1033 |
+
"rstrip": false,
|
1034 |
+
"single_word": false,
|
1035 |
+
"special": false
|
1036 |
+
},
|
1037 |
+
"129": {
|
1038 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1039 |
+
"lstrip": false,
|
1040 |
+
"normalized": false,
|
1041 |
+
"rstrip": false,
|
1042 |
+
"single_word": false,
|
1043 |
+
"special": false
|
1044 |
+
},
|
1045 |
+
"130": {
|
1046 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1047 |
+
"lstrip": false,
|
1048 |
+
"normalized": false,
|
1049 |
+
"rstrip": false,
|
1050 |
+
"single_word": false,
|
1051 |
+
"special": false
|
1052 |
+
},
|
1053 |
+
"131": {
|
1054 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1055 |
+
"lstrip": false,
|
1056 |
+
"normalized": false,
|
1057 |
+
"rstrip": false,
|
1058 |
+
"single_word": false,
|
1059 |
+
"special": false
|
1060 |
+
},
|
1061 |
+
"132": {
|
1062 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1063 |
+
"lstrip": false,
|
1064 |
+
"normalized": false,
|
1065 |
+
"rstrip": false,
|
1066 |
+
"single_word": false,
|
1067 |
+
"special": false
|
1068 |
+
},
|
1069 |
+
"133": {
|
1070 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1071 |
+
"lstrip": false,
|
1072 |
+
"normalized": false,
|
1073 |
+
"rstrip": false,
|
1074 |
+
"single_word": false,
|
1075 |
+
"special": false
|
1076 |
+
},
|
1077 |
+
"134": {
|
1078 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1079 |
+
"lstrip": false,
|
1080 |
+
"normalized": false,
|
1081 |
+
"rstrip": false,
|
1082 |
+
"single_word": false,
|
1083 |
+
"special": false
|
1084 |
+
},
|
1085 |
+
"135": {
|
1086 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1087 |
+
"lstrip": false,
|
1088 |
+
"normalized": false,
|
1089 |
+
"rstrip": false,
|
1090 |
+
"single_word": false,
|
1091 |
+
"special": false
|
1092 |
+
},
|
1093 |
+
"136": {
|
1094 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1095 |
+
"lstrip": false,
|
1096 |
+
"normalized": false,
|
1097 |
+
"rstrip": false,
|
1098 |
+
"single_word": false,
|
1099 |
+
"special": false
|
1100 |
+
},
|
1101 |
+
"137": {
|
1102 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1103 |
+
"lstrip": false,
|
1104 |
+
"normalized": false,
|
1105 |
+
"rstrip": false,
|
1106 |
+
"single_word": false,
|
1107 |
+
"special": false
|
1108 |
+
},
|
1109 |
+
"138": {
|
1110 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1111 |
+
"lstrip": false,
|
1112 |
+
"normalized": false,
|
1113 |
+
"rstrip": false,
|
1114 |
+
"single_word": false,
|
1115 |
+
"special": false
|
1116 |
+
},
|
1117 |
+
"139": {
|
1118 |
+
"content": "▁▁",
|
1119 |
+
"lstrip": false,
|
1120 |
+
"normalized": false,
|
1121 |
+
"rstrip": false,
|
1122 |
+
"single_word": false,
|
1123 |
+
"special": false
|
1124 |
+
},
|
1125 |
+
"140": {
|
1126 |
+
"content": "▁▁▁",
|
1127 |
+
"lstrip": false,
|
1128 |
+
"normalized": false,
|
1129 |
+
"rstrip": false,
|
1130 |
+
"single_word": false,
|
1131 |
+
"special": false
|
1132 |
+
},
|
1133 |
+
"141": {
|
1134 |
+
"content": "▁▁▁▁",
|
1135 |
+
"lstrip": false,
|
1136 |
+
"normalized": false,
|
1137 |
+
"rstrip": false,
|
1138 |
+
"single_word": false,
|
1139 |
+
"special": false
|
1140 |
+
},
|
1141 |
+
"142": {
|
1142 |
+
"content": "▁▁▁▁▁",
|
1143 |
+
"lstrip": false,
|
1144 |
+
"normalized": false,
|
1145 |
+
"rstrip": false,
|
1146 |
+
"single_word": false,
|
1147 |
+
"special": false
|
1148 |
+
},
|
1149 |
+
"143": {
|
1150 |
+
"content": "▁▁▁▁▁▁",
|
1151 |
+
"lstrip": false,
|
1152 |
+
"normalized": false,
|
1153 |
+
"rstrip": false,
|
1154 |
+
"single_word": false,
|
1155 |
+
"special": false
|
1156 |
+
},
|
1157 |
+
"144": {
|
1158 |
+
"content": "▁▁▁▁▁▁▁",
|
1159 |
+
"lstrip": false,
|
1160 |
+
"normalized": false,
|
1161 |
+
"rstrip": false,
|
1162 |
+
"single_word": false,
|
1163 |
+
"special": false
|
1164 |
+
},
|
1165 |
+
"145": {
|
1166 |
+
"content": "▁▁▁▁▁▁▁▁",
|
1167 |
+
"lstrip": false,
|
1168 |
+
"normalized": false,
|
1169 |
+
"rstrip": false,
|
1170 |
+
"single_word": false,
|
1171 |
+
"special": false
|
1172 |
+
},
|
1173 |
+
"146": {
|
1174 |
+
"content": "▁▁▁▁▁▁▁▁▁",
|
1175 |
+
"lstrip": false,
|
1176 |
+
"normalized": false,
|
1177 |
+
"rstrip": false,
|
1178 |
+
"single_word": false,
|
1179 |
+
"special": false
|
1180 |
+
},
|
1181 |
+
"147": {
|
1182 |
+
"content": "▁▁▁▁▁▁▁▁▁▁",
|
1183 |
+
"lstrip": false,
|
1184 |
+
"normalized": false,
|
1185 |
+
"rstrip": false,
|
1186 |
+
"single_word": false,
|
1187 |
+
"special": false
|
1188 |
+
},
|
1189 |
+
"148": {
|
1190 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁",
|
1191 |
+
"lstrip": false,
|
1192 |
+
"normalized": false,
|
1193 |
+
"rstrip": false,
|
1194 |
+
"single_word": false,
|
1195 |
+
"special": false
|
1196 |
+
},
|
1197 |
+
"149": {
|
1198 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁",
|
1199 |
+
"lstrip": false,
|
1200 |
+
"normalized": false,
|
1201 |
+
"rstrip": false,
|
1202 |
+
"single_word": false,
|
1203 |
+
"special": false
|
1204 |
+
},
|
1205 |
+
"150": {
|
1206 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1207 |
+
"lstrip": false,
|
1208 |
+
"normalized": false,
|
1209 |
+
"rstrip": false,
|
1210 |
+
"single_word": false,
|
1211 |
+
"special": false
|
1212 |
+
},
|
1213 |
+
"151": {
|
1214 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1215 |
+
"lstrip": false,
|
1216 |
+
"normalized": false,
|
1217 |
+
"rstrip": false,
|
1218 |
+
"single_word": false,
|
1219 |
+
"special": false
|
1220 |
+
},
|
1221 |
+
"152": {
|
1222 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1223 |
+
"lstrip": false,
|
1224 |
+
"normalized": false,
|
1225 |
+
"rstrip": false,
|
1226 |
+
"single_word": false,
|
1227 |
+
"special": false
|
1228 |
+
},
|
1229 |
+
"153": {
|
1230 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1231 |
+
"lstrip": false,
|
1232 |
+
"normalized": false,
|
1233 |
+
"rstrip": false,
|
1234 |
+
"single_word": false,
|
1235 |
+
"special": false
|
1236 |
+
},
|
1237 |
+
"154": {
|
1238 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1239 |
+
"lstrip": false,
|
1240 |
+
"normalized": false,
|
1241 |
+
"rstrip": false,
|
1242 |
+
"single_word": false,
|
1243 |
+
"special": false
|
1244 |
+
},
|
1245 |
+
"155": {
|
1246 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1247 |
+
"lstrip": false,
|
1248 |
+
"normalized": false,
|
1249 |
+
"rstrip": false,
|
1250 |
+
"single_word": false,
|
1251 |
+
"special": false
|
1252 |
+
},
|
1253 |
+
"156": {
|
1254 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1255 |
+
"lstrip": false,
|
1256 |
+
"normalized": false,
|
1257 |
+
"rstrip": false,
|
1258 |
+
"single_word": false,
|
1259 |
+
"special": false
|
1260 |
+
},
|
1261 |
+
"157": {
|
1262 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1263 |
+
"lstrip": false,
|
1264 |
+
"normalized": false,
|
1265 |
+
"rstrip": false,
|
1266 |
+
"single_word": false,
|
1267 |
+
"special": false
|
1268 |
+
},
|
1269 |
+
"158": {
|
1270 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1271 |
+
"lstrip": false,
|
1272 |
+
"normalized": false,
|
1273 |
+
"rstrip": false,
|
1274 |
+
"single_word": false,
|
1275 |
+
"special": false
|
1276 |
+
},
|
1277 |
+
"159": {
|
1278 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1279 |
+
"lstrip": false,
|
1280 |
+
"normalized": false,
|
1281 |
+
"rstrip": false,
|
1282 |
+
"single_word": false,
|
1283 |
+
"special": false
|
1284 |
+
},
|
1285 |
+
"160": {
|
1286 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1287 |
+
"lstrip": false,
|
1288 |
+
"normalized": false,
|
1289 |
+
"rstrip": false,
|
1290 |
+
"single_word": false,
|
1291 |
+
"special": false
|
1292 |
+
},
|
1293 |
+
"161": {
|
1294 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1295 |
+
"lstrip": false,
|
1296 |
+
"normalized": false,
|
1297 |
+
"rstrip": false,
|
1298 |
+
"single_word": false,
|
1299 |
+
"special": false
|
1300 |
+
},
|
1301 |
+
"162": {
|
1302 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1303 |
+
"lstrip": false,
|
1304 |
+
"normalized": false,
|
1305 |
+
"rstrip": false,
|
1306 |
+
"single_word": false,
|
1307 |
+
"special": false
|
1308 |
+
},
|
1309 |
+
"163": {
|
1310 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1311 |
+
"lstrip": false,
|
1312 |
+
"normalized": false,
|
1313 |
+
"rstrip": false,
|
1314 |
+
"single_word": false,
|
1315 |
+
"special": false
|
1316 |
+
},
|
1317 |
+
"164": {
|
1318 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1319 |
+
"lstrip": false,
|
1320 |
+
"normalized": false,
|
1321 |
+
"rstrip": false,
|
1322 |
+
"single_word": false,
|
1323 |
+
"special": false
|
1324 |
+
},
|
1325 |
+
"165": {
|
1326 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1327 |
+
"lstrip": false,
|
1328 |
+
"normalized": false,
|
1329 |
+
"rstrip": false,
|
1330 |
+
"single_word": false,
|
1331 |
+
"special": false
|
1332 |
+
},
|
1333 |
+
"166": {
|
1334 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1335 |
+
"lstrip": false,
|
1336 |
+
"normalized": false,
|
1337 |
+
"rstrip": false,
|
1338 |
+
"single_word": false,
|
1339 |
+
"special": false
|
1340 |
+
},
|
1341 |
+
"167": {
|
1342 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1343 |
+
"lstrip": false,
|
1344 |
+
"normalized": false,
|
1345 |
+
"rstrip": false,
|
1346 |
+
"single_word": false,
|
1347 |
+
"special": false
|
1348 |
+
},
|
1349 |
+
"168": {
|
1350 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1351 |
+
"lstrip": false,
|
1352 |
+
"normalized": false,
|
1353 |
+
"rstrip": false,
|
1354 |
+
"single_word": false,
|
1355 |
+
"special": false
|
1356 |
+
},
|
1357 |
+
"169": {
|
1358 |
+
"content": "<table>",
|
1359 |
+
"lstrip": false,
|
1360 |
+
"normalized": false,
|
1361 |
+
"rstrip": false,
|
1362 |
+
"single_word": false,
|
1363 |
+
"special": false
|
1364 |
+
},
|
1365 |
+
"170": {
|
1366 |
+
"content": "<caption>",
|
1367 |
+
"lstrip": false,
|
1368 |
+
"normalized": false,
|
1369 |
+
"rstrip": false,
|
1370 |
+
"single_word": false,
|
1371 |
+
"special": false
|
1372 |
+
},
|
1373 |
+
"171": {
|
1374 |
+
"content": "<thead>",
|
1375 |
+
"lstrip": false,
|
1376 |
+
"normalized": false,
|
1377 |
+
"rstrip": false,
|
1378 |
+
"single_word": false,
|
1379 |
+
"special": false
|
1380 |
+
},
|
1381 |
+
"172": {
|
1382 |
+
"content": "<tbody>",
|
1383 |
+
"lstrip": false,
|
1384 |
+
"normalized": false,
|
1385 |
+
"rstrip": false,
|
1386 |
+
"single_word": false,
|
1387 |
+
"special": false
|
1388 |
+
},
|
1389 |
+
"173": {
|
1390 |
+
"content": "<tfoot>",
|
1391 |
+
"lstrip": false,
|
1392 |
+
"normalized": false,
|
1393 |
+
"rstrip": false,
|
1394 |
+
"single_word": false,
|
1395 |
+
"special": false
|
1396 |
+
},
|
1397 |
+
"174": {
|
1398 |
+
"content": "<tr>",
|
1399 |
+
"lstrip": false,
|
1400 |
+
"normalized": false,
|
1401 |
+
"rstrip": false,
|
1402 |
+
"single_word": false,
|
1403 |
+
"special": false
|
1404 |
+
},
|
1405 |
+
"175": {
|
1406 |
+
"content": "<th>",
|
1407 |
+
"lstrip": false,
|
1408 |
+
"normalized": false,
|
1409 |
+
"rstrip": false,
|
1410 |
+
"single_word": false,
|
1411 |
+
"special": false
|
1412 |
+
},
|
1413 |
+
"176": {
|
1414 |
+
"content": "<td>",
|
1415 |
+
"lstrip": false,
|
1416 |
+
"normalized": false,
|
1417 |
+
"rstrip": false,
|
1418 |
+
"single_word": false,
|
1419 |
+
"special": false
|
1420 |
+
},
|
1421 |
+
"177": {
|
1422 |
+
"content": "</table>",
|
1423 |
+
"lstrip": false,
|
1424 |
+
"normalized": false,
|
1425 |
+
"rstrip": false,
|
1426 |
+
"single_word": false,
|
1427 |
+
"special": false
|
1428 |
+
},
|
1429 |
+
"178": {
|
1430 |
+
"content": "</caption>",
|
1431 |
+
"lstrip": false,
|
1432 |
+
"normalized": false,
|
1433 |
+
"rstrip": false,
|
1434 |
+
"single_word": false,
|
1435 |
+
"special": false
|
1436 |
+
},
|
1437 |
+
"179": {
|
1438 |
+
"content": "</thead>",
|
1439 |
+
"lstrip": false,
|
1440 |
+
"normalized": false,
|
1441 |
+
"rstrip": false,
|
1442 |
+
"single_word": false,
|
1443 |
+
"special": false
|
1444 |
+
},
|
1445 |
+
"180": {
|
1446 |
+
"content": "</tbody>",
|
1447 |
+
"lstrip": false,
|
1448 |
+
"normalized": false,
|
1449 |
+
"rstrip": false,
|
1450 |
+
"single_word": false,
|
1451 |
+
"special": false
|
1452 |
+
},
|
1453 |
+
"181": {
|
1454 |
+
"content": "</tfoot>",
|
1455 |
+
"lstrip": false,
|
1456 |
+
"normalized": false,
|
1457 |
+
"rstrip": false,
|
1458 |
+
"single_word": false,
|
1459 |
+
"special": false
|
1460 |
+
},
|
1461 |
+
"182": {
|
1462 |
+
"content": "</tr>",
|
1463 |
+
"lstrip": false,
|
1464 |
+
"normalized": false,
|
1465 |
+
"rstrip": false,
|
1466 |
+
"single_word": false,
|
1467 |
+
"special": false
|
1468 |
+
},
|
1469 |
+
"183": {
|
1470 |
+
"content": "</th>",
|
1471 |
+
"lstrip": false,
|
1472 |
+
"normalized": false,
|
1473 |
+
"rstrip": false,
|
1474 |
+
"single_word": false,
|
1475 |
+
"special": false
|
1476 |
+
},
|
1477 |
+
"184": {
|
1478 |
+
"content": "</td>",
|
1479 |
+
"lstrip": false,
|
1480 |
+
"normalized": false,
|
1481 |
+
"rstrip": false,
|
1482 |
+
"single_word": false,
|
1483 |
+
"special": false
|
1484 |
+
},
|
1485 |
+
"185": {
|
1486 |
+
"content": "<h1>",
|
1487 |
+
"lstrip": false,
|
1488 |
+
"normalized": false,
|
1489 |
+
"rstrip": false,
|
1490 |
+
"single_word": false,
|
1491 |
+
"special": false
|
1492 |
+
},
|
1493 |
+
"186": {
|
1494 |
+
"content": "<h2>",
|
1495 |
+
"lstrip": false,
|
1496 |
+
"normalized": false,
|
1497 |
+
"rstrip": false,
|
1498 |
+
"single_word": false,
|
1499 |
+
"special": false
|
1500 |
+
},
|
1501 |
+
"187": {
|
1502 |
+
"content": "<h3>",
|
1503 |
+
"lstrip": false,
|
1504 |
+
"normalized": false,
|
1505 |
+
"rstrip": false,
|
1506 |
+
"single_word": false,
|
1507 |
+
"special": false
|
1508 |
+
},
|
1509 |
+
"188": {
|
1510 |
+
"content": "<h4>",
|
1511 |
+
"lstrip": false,
|
1512 |
+
"normalized": false,
|
1513 |
+
"rstrip": false,
|
1514 |
+
"single_word": false,
|
1515 |
+
"special": false
|
1516 |
+
},
|
1517 |
+
"189": {
|
1518 |
+
"content": "<h5>",
|
1519 |
+
"lstrip": false,
|
1520 |
+
"normalized": false,
|
1521 |
+
"rstrip": false,
|
1522 |
+
"single_word": false,
|
1523 |
+
"special": false
|
1524 |
+
},
|
1525 |
+
"190": {
|
1526 |
+
"content": "<h6>",
|
1527 |
+
"lstrip": false,
|
1528 |
+
"normalized": false,
|
1529 |
+
"rstrip": false,
|
1530 |
+
"single_word": false,
|
1531 |
+
"special": false
|
1532 |
+
},
|
1533 |
+
"191": {
|
1534 |
+
"content": "<blockquote>",
|
1535 |
+
"lstrip": false,
|
1536 |
+
"normalized": false,
|
1537 |
+
"rstrip": false,
|
1538 |
+
"single_word": false,
|
1539 |
+
"special": false
|
1540 |
+
},
|
1541 |
+
"192": {
|
1542 |
+
"content": "</h1>",
|
1543 |
+
"lstrip": false,
|
1544 |
+
"normalized": false,
|
1545 |
+
"rstrip": false,
|
1546 |
+
"single_word": false,
|
1547 |
+
"special": false
|
1548 |
+
},
|
1549 |
+
"193": {
|
1550 |
+
"content": "</h2>",
|
1551 |
+
"lstrip": false,
|
1552 |
+
"normalized": false,
|
1553 |
+
"rstrip": false,
|
1554 |
+
"single_word": false,
|
1555 |
+
"special": false
|
1556 |
+
},
|
1557 |
+
"194": {
|
1558 |
+
"content": "</h3>",
|
1559 |
+
"lstrip": false,
|
1560 |
+
"normalized": false,
|
1561 |
+
"rstrip": false,
|
1562 |
+
"single_word": false,
|
1563 |
+
"special": false
|
1564 |
+
},
|
1565 |
+
"195": {
|
1566 |
+
"content": "</h4>",
|
1567 |
+
"lstrip": false,
|
1568 |
+
"normalized": false,
|
1569 |
+
"rstrip": false,
|
1570 |
+
"single_word": false,
|
1571 |
+
"special": false
|
1572 |
+
},
|
1573 |
+
"196": {
|
1574 |
+
"content": "</h5>",
|
1575 |
+
"lstrip": false,
|
1576 |
+
"normalized": false,
|
1577 |
+
"rstrip": false,
|
1578 |
+
"single_word": false,
|
1579 |
+
"special": false
|
1580 |
+
},
|
1581 |
+
"197": {
|
1582 |
+
"content": "</h6>",
|
1583 |
+
"lstrip": false,
|
1584 |
+
"normalized": false,
|
1585 |
+
"rstrip": false,
|
1586 |
+
"single_word": false,
|
1587 |
+
"special": false
|
1588 |
+
},
|
1589 |
+
"198": {
|
1590 |
+
"content": "</blockquote>",
|
1591 |
+
"lstrip": false,
|
1592 |
+
"normalized": false,
|
1593 |
+
"rstrip": false,
|
1594 |
+
"single_word": false,
|
1595 |
+
"special": false
|
1596 |
+
},
|
1597 |
+
"199": {
|
1598 |
+
"content": "<strong>",
|
1599 |
+
"lstrip": false,
|
1600 |
+
"normalized": false,
|
1601 |
+
"rstrip": false,
|
1602 |
+
"single_word": false,
|
1603 |
+
"special": false
|
1604 |
+
},
|
1605 |
+
"200": {
|
1606 |
+
"content": "<em>",
|
1607 |
+
"lstrip": false,
|
1608 |
+
"normalized": false,
|
1609 |
+
"rstrip": false,
|
1610 |
+
"single_word": false,
|
1611 |
+
"special": false
|
1612 |
+
},
|
1613 |
+
"201": {
|
1614 |
+
"content": "<b>",
|
1615 |
+
"lstrip": false,
|
1616 |
+
"normalized": false,
|
1617 |
+
"rstrip": false,
|
1618 |
+
"single_word": false,
|
1619 |
+
"special": false
|
1620 |
+
},
|
1621 |
+
"202": {
|
1622 |
+
"content": "<i>",
|
1623 |
+
"lstrip": false,
|
1624 |
+
"normalized": false,
|
1625 |
+
"rstrip": false,
|
1626 |
+
"single_word": false,
|
1627 |
+
"special": false
|
1628 |
+
},
|
1629 |
+
"203": {
|
1630 |
+
"content": "<u>",
|
1631 |
+
"lstrip": false,
|
1632 |
+
"normalized": false,
|
1633 |
+
"rstrip": false,
|
1634 |
+
"single_word": false,
|
1635 |
+
"special": false
|
1636 |
+
},
|
1637 |
+
"204": {
|
1638 |
+
"content": "<s>",
|
1639 |
+
"lstrip": false,
|
1640 |
+
"normalized": false,
|
1641 |
+
"rstrip": false,
|
1642 |
+
"single_word": false,
|
1643 |
+
"special": false
|
1644 |
+
},
|
1645 |
+
"205": {
|
1646 |
+
"content": "<sub>",
|
1647 |
+
"lstrip": false,
|
1648 |
+
"normalized": false,
|
1649 |
+
"rstrip": false,
|
1650 |
+
"single_word": false,
|
1651 |
+
"special": false
|
1652 |
+
},
|
1653 |
+
"206": {
|
1654 |
+
"content": "<sup>",
|
1655 |
+
"lstrip": false,
|
1656 |
+
"normalized": false,
|
1657 |
+
"rstrip": false,
|
1658 |
+
"single_word": false,
|
1659 |
+
"special": false
|
1660 |
+
},
|
1661 |
+
"207": {
|
1662 |
+
"content": "<code>",
|
1663 |
+
"lstrip": false,
|
1664 |
+
"normalized": false,
|
1665 |
+
"rstrip": false,
|
1666 |
+
"single_word": false,
|
1667 |
+
"special": false
|
1668 |
+
},
|
1669 |
+
"208": {
|
1670 |
+
"content": "</strong>",
|
1671 |
+
"lstrip": false,
|
1672 |
+
"normalized": false,
|
1673 |
+
"rstrip": false,
|
1674 |
+
"single_word": false,
|
1675 |
+
"special": false
|
1676 |
+
},
|
1677 |
+
"209": {
|
1678 |
+
"content": "</em>",
|
1679 |
+
"lstrip": false,
|
1680 |
+
"normalized": false,
|
1681 |
+
"rstrip": false,
|
1682 |
+
"single_word": false,
|
1683 |
+
"special": false
|
1684 |
+
},
|
1685 |
+
"210": {
|
1686 |
+
"content": "</b>",
|
1687 |
+
"lstrip": false,
|
1688 |
+
"normalized": false,
|
1689 |
+
"rstrip": false,
|
1690 |
+
"single_word": false,
|
1691 |
+
"special": false
|
1692 |
+
},
|
1693 |
+
"211": {
|
1694 |
+
"content": "</i>",
|
1695 |
+
"lstrip": false,
|
1696 |
+
"normalized": false,
|
1697 |
+
"rstrip": false,
|
1698 |
+
"single_word": false,
|
1699 |
+
"special": false
|
1700 |
+
},
|
1701 |
+
"212": {
|
1702 |
+
"content": "</u>",
|
1703 |
+
"lstrip": false,
|
1704 |
+
"normalized": false,
|
1705 |
+
"rstrip": false,
|
1706 |
+
"single_word": false,
|
1707 |
+
"special": false
|
1708 |
+
},
|
1709 |
+
"213": {
|
1710 |
+
"content": "</s>",
|
1711 |
+
"lstrip": false,
|
1712 |
+
"normalized": false,
|
1713 |
+
"rstrip": false,
|
1714 |
+
"single_word": false,
|
1715 |
+
"special": false
|
1716 |
+
},
|
1717 |
+
"214": {
|
1718 |
+
"content": "</sub>",
|
1719 |
+
"lstrip": false,
|
1720 |
+
"normalized": false,
|
1721 |
+
"rstrip": false,
|
1722 |
+
"single_word": false,
|
1723 |
+
"special": false
|
1724 |
+
},
|
1725 |
+
"215": {
|
1726 |
+
"content": "</sup>",
|
1727 |
+
"lstrip": false,
|
1728 |
+
"normalized": false,
|
1729 |
+
"rstrip": false,
|
1730 |
+
"single_word": false,
|
1731 |
+
"special": false
|
1732 |
+
},
|
1733 |
+
"216": {
|
1734 |
+
"content": "</code>",
|
1735 |
+
"lstrip": false,
|
1736 |
+
"normalized": false,
|
1737 |
+
"rstrip": false,
|
1738 |
+
"single_word": false,
|
1739 |
+
"special": false
|
1740 |
+
}
|
1741 |
+
},
|
1742 |
+
"additional_special_tokens": [
|
1743 |
+
"<start_of_turn>",
|
1744 |
+
"<end_of_turn>"
|
1745 |
+
],
|
1746 |
+
"bos_token": "<bos>",
|
1747 |
+
"clean_up_tokenization_spaces": false,
|
1748 |
+
"eos_token": "<eos>",
|
1749 |
+
"model_max_length": 1000000000000000019884624838656,
|
1750 |
+
"pad_token": "<eos>",
|
1751 |
+
"sp_model_kwargs": {},
|
1752 |
+
"spaces_between_special_tokens": false,
|
1753 |
+
"tokenizer_class": "GemmaTokenizer",
|
1754 |
+
"unk_token": "<unk>",
|
1755 |
+
"use_default_system_prompt": false
|
1756 |
+
}
|
SFTmodels/gemma-2-9b_sftm3genre1800/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5e94b3ae9c3c61dd262197617aca5e013c566231a36267808564a9f5d05a18db
|
3 |
+
size 6072
|
SFTmodels/gemma-2-9b_sftm3genre3600/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: google/gemma-2-9b
|
3 |
+
library_name: peft
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.12.0
|
SFTmodels/gemma-2-9b_sftm3genre3600/adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "google/gemma-2-9b",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 16,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 64,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"k_proj",
|
24 |
+
"q_proj",
|
25 |
+
"v_proj",
|
26 |
+
"o_proj"
|
27 |
+
],
|
28 |
+
"task_type": "CAUSAL_LM",
|
29 |
+
"use_dora": false,
|
30 |
+
"use_rslora": false
|
31 |
+
}
|
SFTmodels/gemma-2-9b_sftm3genre3600/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d3c8f57945841496c6431e3184432274606c6e53b6c42a814bc85a1bd09e336e
|
3 |
+
size 286306976
|
SFTmodels/gemma-2-9b_sftm3genre3600/special_tokens_map.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<start_of_turn>",
|
4 |
+
"<end_of_turn>"
|
5 |
+
],
|
6 |
+
"bos_token": {
|
7 |
+
"content": "<bos>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"eos_token": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
},
|
20 |
+
"pad_token": "<eos>",
|
21 |
+
"unk_token": {
|
22 |
+
"content": "<unk>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false
|
27 |
+
}
|
28 |
+
}
|
SFTmodels/gemma-2-9b_sftm3genre3600/tokenizer.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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<pad>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "<bos>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"3": {
|
30 |
+
"content": "<unk>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"4": {
|
38 |
+
"content": "<mask>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": false
|
44 |
+
},
|
45 |
+
"5": {
|
46 |
+
"content": "<2mass>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": false
|
52 |
+
},
|
53 |
+
"6": {
|
54 |
+
"content": "[@BOS@]",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": false,
|
58 |
+
"single_word": false,
|
59 |
+
"special": false
|
60 |
+
},
|
61 |
+
"7": {
|
62 |
+
"content": "<unused0>",
|
63 |
+
"lstrip": false,
|
64 |
+
"normalized": false,
|
65 |
+
"rstrip": false,
|
66 |
+
"single_word": false,
|
67 |
+
"special": false
|
68 |
+
},
|
69 |
+
"8": {
|
70 |
+
"content": "<unused1>",
|
71 |
+
"lstrip": false,
|
72 |
+
"normalized": false,
|
73 |
+
"rstrip": false,
|
74 |
+
"single_word": false,
|
75 |
+
"special": false
|
76 |
+
},
|
77 |
+
"9": {
|
78 |
+
"content": "<unused2>",
|
79 |
+
"lstrip": false,
|
80 |
+
"normalized": false,
|
81 |
+
"rstrip": false,
|
82 |
+
"single_word": false,
|
83 |
+
"special": false
|
84 |
+
},
|
85 |
+
"10": {
|
86 |
+
"content": "<unused3>",
|
87 |
+
"lstrip": false,
|
88 |
+
"normalized": false,
|
89 |
+
"rstrip": false,
|
90 |
+
"single_word": false,
|
91 |
+
"special": false
|
92 |
+
},
|
93 |
+
"11": {
|
94 |
+
"content": "<unused4>",
|
95 |
+
"lstrip": false,
|
96 |
+
"normalized": false,
|
97 |
+
"rstrip": false,
|
98 |
+
"single_word": false,
|
99 |
+
"special": false
|
100 |
+
},
|
101 |
+
"12": {
|
102 |
+
"content": "<unused5>",
|
103 |
+
"lstrip": false,
|
104 |
+
"normalized": false,
|
105 |
+
"rstrip": false,
|
106 |
+
"single_word": false,
|
107 |
+
"special": false
|
108 |
+
},
|
109 |
+
"13": {
|
110 |
+
"content": "<unused6>",
|
111 |
+
"lstrip": false,
|
112 |
+
"normalized": false,
|
113 |
+
"rstrip": false,
|
114 |
+
"single_word": false,
|
115 |
+
"special": false
|
116 |
+
},
|
117 |
+
"14": {
|
118 |
+
"content": "<unused7>",
|
119 |
+
"lstrip": false,
|
120 |
+
"normalized": false,
|
121 |
+
"rstrip": false,
|
122 |
+
"single_word": false,
|
123 |
+
"special": false
|
124 |
+
},
|
125 |
+
"15": {
|
126 |
+
"content": "<unused8>",
|
127 |
+
"lstrip": false,
|
128 |
+
"normalized": false,
|
129 |
+
"rstrip": false,
|
130 |
+
"single_word": false,
|
131 |
+
"special": false
|
132 |
+
},
|
133 |
+
"16": {
|
134 |
+
"content": "<unused9>",
|
135 |
+
"lstrip": false,
|
136 |
+
"normalized": false,
|
137 |
+
"rstrip": false,
|
138 |
+
"single_word": false,
|
139 |
+
"special": false
|
140 |
+
},
|
141 |
+
"17": {
|
142 |
+
"content": "<unused10>",
|
143 |
+
"lstrip": false,
|
144 |
+
"normalized": false,
|
145 |
+
"rstrip": false,
|
146 |
+
"single_word": false,
|
147 |
+
"special": false
|
148 |
+
},
|
149 |
+
"18": {
|
150 |
+
"content": "<unused11>",
|
151 |
+
"lstrip": false,
|
152 |
+
"normalized": false,
|
153 |
+
"rstrip": false,
|
154 |
+
"single_word": false,
|
155 |
+
"special": false
|
156 |
+
},
|
157 |
+
"19": {
|
158 |
+
"content": "<unused12>",
|
159 |
+
"lstrip": false,
|
160 |
+
"normalized": false,
|
161 |
+
"rstrip": false,
|
162 |
+
"single_word": false,
|
163 |
+
"special": false
|
164 |
+
},
|
165 |
+
"20": {
|
166 |
+
"content": "<unused13>",
|
167 |
+
"lstrip": false,
|
168 |
+
"normalized": false,
|
169 |
+
"rstrip": false,
|
170 |
+
"single_word": false,
|
171 |
+
"special": false
|
172 |
+
},
|
173 |
+
"21": {
|
174 |
+
"content": "<unused14>",
|
175 |
+
"lstrip": false,
|
176 |
+
"normalized": false,
|
177 |
+
"rstrip": false,
|
178 |
+
"single_word": false,
|
179 |
+
"special": false
|
180 |
+
},
|
181 |
+
"22": {
|
182 |
+
"content": "<unused15>",
|
183 |
+
"lstrip": false,
|
184 |
+
"normalized": false,
|
185 |
+
"rstrip": false,
|
186 |
+
"single_word": false,
|
187 |
+
"special": false
|
188 |
+
},
|
189 |
+
"23": {
|
190 |
+
"content": "<unused16>",
|
191 |
+
"lstrip": false,
|
192 |
+
"normalized": false,
|
193 |
+
"rstrip": false,
|
194 |
+
"single_word": false,
|
195 |
+
"special": false
|
196 |
+
},
|
197 |
+
"24": {
|
198 |
+
"content": "<unused17>",
|
199 |
+
"lstrip": false,
|
200 |
+
"normalized": false,
|
201 |
+
"rstrip": false,
|
202 |
+
"single_word": false,
|
203 |
+
"special": false
|
204 |
+
},
|
205 |
+
"25": {
|
206 |
+
"content": "<unused18>",
|
207 |
+
"lstrip": false,
|
208 |
+
"normalized": false,
|
209 |
+
"rstrip": false,
|
210 |
+
"single_word": false,
|
211 |
+
"special": false
|
212 |
+
},
|
213 |
+
"26": {
|
214 |
+
"content": "<unused19>",
|
215 |
+
"lstrip": false,
|
216 |
+
"normalized": false,
|
217 |
+
"rstrip": false,
|
218 |
+
"single_word": false,
|
219 |
+
"special": false
|
220 |
+
},
|
221 |
+
"27": {
|
222 |
+
"content": "<unused20>",
|
223 |
+
"lstrip": false,
|
224 |
+
"normalized": false,
|
225 |
+
"rstrip": false,
|
226 |
+
"single_word": false,
|
227 |
+
"special": false
|
228 |
+
},
|
229 |
+
"28": {
|
230 |
+
"content": "<unused21>",
|
231 |
+
"lstrip": false,
|
232 |
+
"normalized": false,
|
233 |
+
"rstrip": false,
|
234 |
+
"single_word": false,
|
235 |
+
"special": false
|
236 |
+
},
|
237 |
+
"29": {
|
238 |
+
"content": "<unused22>",
|
239 |
+
"lstrip": false,
|
240 |
+
"normalized": false,
|
241 |
+
"rstrip": false,
|
242 |
+
"single_word": false,
|
243 |
+
"special": false
|
244 |
+
},
|
245 |
+
"30": {
|
246 |
+
"content": "<unused23>",
|
247 |
+
"lstrip": false,
|
248 |
+
"normalized": false,
|
249 |
+
"rstrip": false,
|
250 |
+
"single_word": false,
|
251 |
+
"special": false
|
252 |
+
},
|
253 |
+
"31": {
|
254 |
+
"content": "<unused24>",
|
255 |
+
"lstrip": false,
|
256 |
+
"normalized": false,
|
257 |
+
"rstrip": false,
|
258 |
+
"single_word": false,
|
259 |
+
"special": false
|
260 |
+
},
|
261 |
+
"32": {
|
262 |
+
"content": "<unused25>",
|
263 |
+
"lstrip": false,
|
264 |
+
"normalized": false,
|
265 |
+
"rstrip": false,
|
266 |
+
"single_word": false,
|
267 |
+
"special": false
|
268 |
+
},
|
269 |
+
"33": {
|
270 |
+
"content": "<unused26>",
|
271 |
+
"lstrip": false,
|
272 |
+
"normalized": false,
|
273 |
+
"rstrip": false,
|
274 |
+
"single_word": false,
|
275 |
+
"special": false
|
276 |
+
},
|
277 |
+
"34": {
|
278 |
+
"content": "<unused27>",
|
279 |
+
"lstrip": false,
|
280 |
+
"normalized": false,
|
281 |
+
"rstrip": false,
|
282 |
+
"single_word": false,
|
283 |
+
"special": false
|
284 |
+
},
|
285 |
+
"35": {
|
286 |
+
"content": "<unused28>",
|
287 |
+
"lstrip": false,
|
288 |
+
"normalized": false,
|
289 |
+
"rstrip": false,
|
290 |
+
"single_word": false,
|
291 |
+
"special": false
|
292 |
+
},
|
293 |
+
"36": {
|
294 |
+
"content": "<unused29>",
|
295 |
+
"lstrip": false,
|
296 |
+
"normalized": false,
|
297 |
+
"rstrip": false,
|
298 |
+
"single_word": false,
|
299 |
+
"special": false
|
300 |
+
},
|
301 |
+
"37": {
|
302 |
+
"content": "<unused30>",
|
303 |
+
"lstrip": false,
|
304 |
+
"normalized": false,
|
305 |
+
"rstrip": false,
|
306 |
+
"single_word": false,
|
307 |
+
"special": false
|
308 |
+
},
|
309 |
+
"38": {
|
310 |
+
"content": "<unused31>",
|
311 |
+
"lstrip": false,
|
312 |
+
"normalized": false,
|
313 |
+
"rstrip": false,
|
314 |
+
"single_word": false,
|
315 |
+
"special": false
|
316 |
+
},
|
317 |
+
"39": {
|
318 |
+
"content": "<unused32>",
|
319 |
+
"lstrip": false,
|
320 |
+
"normalized": false,
|
321 |
+
"rstrip": false,
|
322 |
+
"single_word": false,
|
323 |
+
"special": false
|
324 |
+
},
|
325 |
+
"40": {
|
326 |
+
"content": "<unused33>",
|
327 |
+
"lstrip": false,
|
328 |
+
"normalized": false,
|
329 |
+
"rstrip": false,
|
330 |
+
"single_word": false,
|
331 |
+
"special": false
|
332 |
+
},
|
333 |
+
"41": {
|
334 |
+
"content": "<unused34>",
|
335 |
+
"lstrip": false,
|
336 |
+
"normalized": false,
|
337 |
+
"rstrip": false,
|
338 |
+
"single_word": false,
|
339 |
+
"special": false
|
340 |
+
},
|
341 |
+
"42": {
|
342 |
+
"content": "<unused35>",
|
343 |
+
"lstrip": false,
|
344 |
+
"normalized": false,
|
345 |
+
"rstrip": false,
|
346 |
+
"single_word": false,
|
347 |
+
"special": false
|
348 |
+
},
|
349 |
+
"43": {
|
350 |
+
"content": "<unused36>",
|
351 |
+
"lstrip": false,
|
352 |
+
"normalized": false,
|
353 |
+
"rstrip": false,
|
354 |
+
"single_word": false,
|
355 |
+
"special": false
|
356 |
+
},
|
357 |
+
"44": {
|
358 |
+
"content": "<unused37>",
|
359 |
+
"lstrip": false,
|
360 |
+
"normalized": false,
|
361 |
+
"rstrip": false,
|
362 |
+
"single_word": false,
|
363 |
+
"special": false
|
364 |
+
},
|
365 |
+
"45": {
|
366 |
+
"content": "<unused38>",
|
367 |
+
"lstrip": false,
|
368 |
+
"normalized": false,
|
369 |
+
"rstrip": false,
|
370 |
+
"single_word": false,
|
371 |
+
"special": false
|
372 |
+
},
|
373 |
+
"46": {
|
374 |
+
"content": "<unused39>",
|
375 |
+
"lstrip": false,
|
376 |
+
"normalized": false,
|
377 |
+
"rstrip": false,
|
378 |
+
"single_word": false,
|
379 |
+
"special": false
|
380 |
+
},
|
381 |
+
"47": {
|
382 |
+
"content": "<unused40>",
|
383 |
+
"lstrip": false,
|
384 |
+
"normalized": false,
|
385 |
+
"rstrip": false,
|
386 |
+
"single_word": false,
|
387 |
+
"special": false
|
388 |
+
},
|
389 |
+
"48": {
|
390 |
+
"content": "<unused41>",
|
391 |
+
"lstrip": false,
|
392 |
+
"normalized": false,
|
393 |
+
"rstrip": false,
|
394 |
+
"single_word": false,
|
395 |
+
"special": false
|
396 |
+
},
|
397 |
+
"49": {
|
398 |
+
"content": "<unused42>",
|
399 |
+
"lstrip": false,
|
400 |
+
"normalized": false,
|
401 |
+
"rstrip": false,
|
402 |
+
"single_word": false,
|
403 |
+
"special": false
|
404 |
+
},
|
405 |
+
"50": {
|
406 |
+
"content": "<unused43>",
|
407 |
+
"lstrip": false,
|
408 |
+
"normalized": false,
|
409 |
+
"rstrip": false,
|
410 |
+
"single_word": false,
|
411 |
+
"special": false
|
412 |
+
},
|
413 |
+
"51": {
|
414 |
+
"content": "<unused44>",
|
415 |
+
"lstrip": false,
|
416 |
+
"normalized": false,
|
417 |
+
"rstrip": false,
|
418 |
+
"single_word": false,
|
419 |
+
"special": false
|
420 |
+
},
|
421 |
+
"52": {
|
422 |
+
"content": "<unused45>",
|
423 |
+
"lstrip": false,
|
424 |
+
"normalized": false,
|
425 |
+
"rstrip": false,
|
426 |
+
"single_word": false,
|
427 |
+
"special": false
|
428 |
+
},
|
429 |
+
"53": {
|
430 |
+
"content": "<unused46>",
|
431 |
+
"lstrip": false,
|
432 |
+
"normalized": false,
|
433 |
+
"rstrip": false,
|
434 |
+
"single_word": false,
|
435 |
+
"special": false
|
436 |
+
},
|
437 |
+
"54": {
|
438 |
+
"content": "<unused47>",
|
439 |
+
"lstrip": false,
|
440 |
+
"normalized": false,
|
441 |
+
"rstrip": false,
|
442 |
+
"single_word": false,
|
443 |
+
"special": false
|
444 |
+
},
|
445 |
+
"55": {
|
446 |
+
"content": "<unused48>",
|
447 |
+
"lstrip": false,
|
448 |
+
"normalized": false,
|
449 |
+
"rstrip": false,
|
450 |
+
"single_word": false,
|
451 |
+
"special": false
|
452 |
+
},
|
453 |
+
"56": {
|
454 |
+
"content": "<unused49>",
|
455 |
+
"lstrip": false,
|
456 |
+
"normalized": false,
|
457 |
+
"rstrip": false,
|
458 |
+
"single_word": false,
|
459 |
+
"special": false
|
460 |
+
},
|
461 |
+
"57": {
|
462 |
+
"content": "<unused50>",
|
463 |
+
"lstrip": false,
|
464 |
+
"normalized": false,
|
465 |
+
"rstrip": false,
|
466 |
+
"single_word": false,
|
467 |
+
"special": false
|
468 |
+
},
|
469 |
+
"58": {
|
470 |
+
"content": "<unused51>",
|
471 |
+
"lstrip": false,
|
472 |
+
"normalized": false,
|
473 |
+
"rstrip": false,
|
474 |
+
"single_word": false,
|
475 |
+
"special": false
|
476 |
+
},
|
477 |
+
"59": {
|
478 |
+
"content": "<unused52>",
|
479 |
+
"lstrip": false,
|
480 |
+
"normalized": false,
|
481 |
+
"rstrip": false,
|
482 |
+
"single_word": false,
|
483 |
+
"special": false
|
484 |
+
},
|
485 |
+
"60": {
|
486 |
+
"content": "<unused53>",
|
487 |
+
"lstrip": false,
|
488 |
+
"normalized": false,
|
489 |
+
"rstrip": false,
|
490 |
+
"single_word": false,
|
491 |
+
"special": false
|
492 |
+
},
|
493 |
+
"61": {
|
494 |
+
"content": "<unused54>",
|
495 |
+
"lstrip": false,
|
496 |
+
"normalized": false,
|
497 |
+
"rstrip": false,
|
498 |
+
"single_word": false,
|
499 |
+
"special": false
|
500 |
+
},
|
501 |
+
"62": {
|
502 |
+
"content": "<unused55>",
|
503 |
+
"lstrip": false,
|
504 |
+
"normalized": false,
|
505 |
+
"rstrip": false,
|
506 |
+
"single_word": false,
|
507 |
+
"special": false
|
508 |
+
},
|
509 |
+
"63": {
|
510 |
+
"content": "<unused56>",
|
511 |
+
"lstrip": false,
|
512 |
+
"normalized": false,
|
513 |
+
"rstrip": false,
|
514 |
+
"single_word": false,
|
515 |
+
"special": false
|
516 |
+
},
|
517 |
+
"64": {
|
518 |
+
"content": "<unused57>",
|
519 |
+
"lstrip": false,
|
520 |
+
"normalized": false,
|
521 |
+
"rstrip": false,
|
522 |
+
"single_word": false,
|
523 |
+
"special": false
|
524 |
+
},
|
525 |
+
"65": {
|
526 |
+
"content": "<unused58>",
|
527 |
+
"lstrip": false,
|
528 |
+
"normalized": false,
|
529 |
+
"rstrip": false,
|
530 |
+
"single_word": false,
|
531 |
+
"special": false
|
532 |
+
},
|
533 |
+
"66": {
|
534 |
+
"content": "<unused59>",
|
535 |
+
"lstrip": false,
|
536 |
+
"normalized": false,
|
537 |
+
"rstrip": false,
|
538 |
+
"single_word": false,
|
539 |
+
"special": false
|
540 |
+
},
|
541 |
+
"67": {
|
542 |
+
"content": "<unused60>",
|
543 |
+
"lstrip": false,
|
544 |
+
"normalized": false,
|
545 |
+
"rstrip": false,
|
546 |
+
"single_word": false,
|
547 |
+
"special": false
|
548 |
+
},
|
549 |
+
"68": {
|
550 |
+
"content": "<unused61>",
|
551 |
+
"lstrip": false,
|
552 |
+
"normalized": false,
|
553 |
+
"rstrip": false,
|
554 |
+
"single_word": false,
|
555 |
+
"special": false
|
556 |
+
},
|
557 |
+
"69": {
|
558 |
+
"content": "<unused62>",
|
559 |
+
"lstrip": false,
|
560 |
+
"normalized": false,
|
561 |
+
"rstrip": false,
|
562 |
+
"single_word": false,
|
563 |
+
"special": false
|
564 |
+
},
|
565 |
+
"70": {
|
566 |
+
"content": "<unused63>",
|
567 |
+
"lstrip": false,
|
568 |
+
"normalized": false,
|
569 |
+
"rstrip": false,
|
570 |
+
"single_word": false,
|
571 |
+
"special": false
|
572 |
+
},
|
573 |
+
"71": {
|
574 |
+
"content": "<unused64>",
|
575 |
+
"lstrip": false,
|
576 |
+
"normalized": false,
|
577 |
+
"rstrip": false,
|
578 |
+
"single_word": false,
|
579 |
+
"special": false
|
580 |
+
},
|
581 |
+
"72": {
|
582 |
+
"content": "<unused65>",
|
583 |
+
"lstrip": false,
|
584 |
+
"normalized": false,
|
585 |
+
"rstrip": false,
|
586 |
+
"single_word": false,
|
587 |
+
"special": false
|
588 |
+
},
|
589 |
+
"73": {
|
590 |
+
"content": "<unused66>",
|
591 |
+
"lstrip": false,
|
592 |
+
"normalized": false,
|
593 |
+
"rstrip": false,
|
594 |
+
"single_word": false,
|
595 |
+
"special": false
|
596 |
+
},
|
597 |
+
"74": {
|
598 |
+
"content": "<unused67>",
|
599 |
+
"lstrip": false,
|
600 |
+
"normalized": false,
|
601 |
+
"rstrip": false,
|
602 |
+
"single_word": false,
|
603 |
+
"special": false
|
604 |
+
},
|
605 |
+
"75": {
|
606 |
+
"content": "<unused68>",
|
607 |
+
"lstrip": false,
|
608 |
+
"normalized": false,
|
609 |
+
"rstrip": false,
|
610 |
+
"single_word": false,
|
611 |
+
"special": false
|
612 |
+
},
|
613 |
+
"76": {
|
614 |
+
"content": "<unused69>",
|
615 |
+
"lstrip": false,
|
616 |
+
"normalized": false,
|
617 |
+
"rstrip": false,
|
618 |
+
"single_word": false,
|
619 |
+
"special": false
|
620 |
+
},
|
621 |
+
"77": {
|
622 |
+
"content": "<unused70>",
|
623 |
+
"lstrip": false,
|
624 |
+
"normalized": false,
|
625 |
+
"rstrip": false,
|
626 |
+
"single_word": false,
|
627 |
+
"special": false
|
628 |
+
},
|
629 |
+
"78": {
|
630 |
+
"content": "<unused71>",
|
631 |
+
"lstrip": false,
|
632 |
+
"normalized": false,
|
633 |
+
"rstrip": false,
|
634 |
+
"single_word": false,
|
635 |
+
"special": false
|
636 |
+
},
|
637 |
+
"79": {
|
638 |
+
"content": "<unused72>",
|
639 |
+
"lstrip": false,
|
640 |
+
"normalized": false,
|
641 |
+
"rstrip": false,
|
642 |
+
"single_word": false,
|
643 |
+
"special": false
|
644 |
+
},
|
645 |
+
"80": {
|
646 |
+
"content": "<unused73>",
|
647 |
+
"lstrip": false,
|
648 |
+
"normalized": false,
|
649 |
+
"rstrip": false,
|
650 |
+
"single_word": false,
|
651 |
+
"special": false
|
652 |
+
},
|
653 |
+
"81": {
|
654 |
+
"content": "<unused74>",
|
655 |
+
"lstrip": false,
|
656 |
+
"normalized": false,
|
657 |
+
"rstrip": false,
|
658 |
+
"single_word": false,
|
659 |
+
"special": false
|
660 |
+
},
|
661 |
+
"82": {
|
662 |
+
"content": "<unused75>",
|
663 |
+
"lstrip": false,
|
664 |
+
"normalized": false,
|
665 |
+
"rstrip": false,
|
666 |
+
"single_word": false,
|
667 |
+
"special": false
|
668 |
+
},
|
669 |
+
"83": {
|
670 |
+
"content": "<unused76>",
|
671 |
+
"lstrip": false,
|
672 |
+
"normalized": false,
|
673 |
+
"rstrip": false,
|
674 |
+
"single_word": false,
|
675 |
+
"special": false
|
676 |
+
},
|
677 |
+
"84": {
|
678 |
+
"content": "<unused77>",
|
679 |
+
"lstrip": false,
|
680 |
+
"normalized": false,
|
681 |
+
"rstrip": false,
|
682 |
+
"single_word": false,
|
683 |
+
"special": false
|
684 |
+
},
|
685 |
+
"85": {
|
686 |
+
"content": "<unused78>",
|
687 |
+
"lstrip": false,
|
688 |
+
"normalized": false,
|
689 |
+
"rstrip": false,
|
690 |
+
"single_word": false,
|
691 |
+
"special": false
|
692 |
+
},
|
693 |
+
"86": {
|
694 |
+
"content": "<unused79>",
|
695 |
+
"lstrip": false,
|
696 |
+
"normalized": false,
|
697 |
+
"rstrip": false,
|
698 |
+
"single_word": false,
|
699 |
+
"special": false
|
700 |
+
},
|
701 |
+
"87": {
|
702 |
+
"content": "<unused80>",
|
703 |
+
"lstrip": false,
|
704 |
+
"normalized": false,
|
705 |
+
"rstrip": false,
|
706 |
+
"single_word": false,
|
707 |
+
"special": false
|
708 |
+
},
|
709 |
+
"88": {
|
710 |
+
"content": "<unused81>",
|
711 |
+
"lstrip": false,
|
712 |
+
"normalized": false,
|
713 |
+
"rstrip": false,
|
714 |
+
"single_word": false,
|
715 |
+
"special": false
|
716 |
+
},
|
717 |
+
"89": {
|
718 |
+
"content": "<unused82>",
|
719 |
+
"lstrip": false,
|
720 |
+
"normalized": false,
|
721 |
+
"rstrip": false,
|
722 |
+
"single_word": false,
|
723 |
+
"special": false
|
724 |
+
},
|
725 |
+
"90": {
|
726 |
+
"content": "<unused83>",
|
727 |
+
"lstrip": false,
|
728 |
+
"normalized": false,
|
729 |
+
"rstrip": false,
|
730 |
+
"single_word": false,
|
731 |
+
"special": false
|
732 |
+
},
|
733 |
+
"91": {
|
734 |
+
"content": "<unused84>",
|
735 |
+
"lstrip": false,
|
736 |
+
"normalized": false,
|
737 |
+
"rstrip": false,
|
738 |
+
"single_word": false,
|
739 |
+
"special": false
|
740 |
+
},
|
741 |
+
"92": {
|
742 |
+
"content": "<unused85>",
|
743 |
+
"lstrip": false,
|
744 |
+
"normalized": false,
|
745 |
+
"rstrip": false,
|
746 |
+
"single_word": false,
|
747 |
+
"special": false
|
748 |
+
},
|
749 |
+
"93": {
|
750 |
+
"content": "<unused86>",
|
751 |
+
"lstrip": false,
|
752 |
+
"normalized": false,
|
753 |
+
"rstrip": false,
|
754 |
+
"single_word": false,
|
755 |
+
"special": false
|
756 |
+
},
|
757 |
+
"94": {
|
758 |
+
"content": "<unused87>",
|
759 |
+
"lstrip": false,
|
760 |
+
"normalized": false,
|
761 |
+
"rstrip": false,
|
762 |
+
"single_word": false,
|
763 |
+
"special": false
|
764 |
+
},
|
765 |
+
"95": {
|
766 |
+
"content": "<unused88>",
|
767 |
+
"lstrip": false,
|
768 |
+
"normalized": false,
|
769 |
+
"rstrip": false,
|
770 |
+
"single_word": false,
|
771 |
+
"special": false
|
772 |
+
},
|
773 |
+
"96": {
|
774 |
+
"content": "<unused89>",
|
775 |
+
"lstrip": false,
|
776 |
+
"normalized": false,
|
777 |
+
"rstrip": false,
|
778 |
+
"single_word": false,
|
779 |
+
"special": false
|
780 |
+
},
|
781 |
+
"97": {
|
782 |
+
"content": "<unused90>",
|
783 |
+
"lstrip": false,
|
784 |
+
"normalized": false,
|
785 |
+
"rstrip": false,
|
786 |
+
"single_word": false,
|
787 |
+
"special": false
|
788 |
+
},
|
789 |
+
"98": {
|
790 |
+
"content": "<unused91>",
|
791 |
+
"lstrip": false,
|
792 |
+
"normalized": false,
|
793 |
+
"rstrip": false,
|
794 |
+
"single_word": false,
|
795 |
+
"special": false
|
796 |
+
},
|
797 |
+
"99": {
|
798 |
+
"content": "<unused92>",
|
799 |
+
"lstrip": false,
|
800 |
+
"normalized": false,
|
801 |
+
"rstrip": false,
|
802 |
+
"single_word": false,
|
803 |
+
"special": false
|
804 |
+
},
|
805 |
+
"100": {
|
806 |
+
"content": "<unused93>",
|
807 |
+
"lstrip": false,
|
808 |
+
"normalized": false,
|
809 |
+
"rstrip": false,
|
810 |
+
"single_word": false,
|
811 |
+
"special": false
|
812 |
+
},
|
813 |
+
"101": {
|
814 |
+
"content": "<unused94>",
|
815 |
+
"lstrip": false,
|
816 |
+
"normalized": false,
|
817 |
+
"rstrip": false,
|
818 |
+
"single_word": false,
|
819 |
+
"special": false
|
820 |
+
},
|
821 |
+
"102": {
|
822 |
+
"content": "<unused95>",
|
823 |
+
"lstrip": false,
|
824 |
+
"normalized": false,
|
825 |
+
"rstrip": false,
|
826 |
+
"single_word": false,
|
827 |
+
"special": false
|
828 |
+
},
|
829 |
+
"103": {
|
830 |
+
"content": "<unused96>",
|
831 |
+
"lstrip": false,
|
832 |
+
"normalized": false,
|
833 |
+
"rstrip": false,
|
834 |
+
"single_word": false,
|
835 |
+
"special": false
|
836 |
+
},
|
837 |
+
"104": {
|
838 |
+
"content": "<unused97>",
|
839 |
+
"lstrip": false,
|
840 |
+
"normalized": false,
|
841 |
+
"rstrip": false,
|
842 |
+
"single_word": false,
|
843 |
+
"special": false
|
844 |
+
},
|
845 |
+
"105": {
|
846 |
+
"content": "<unused98>",
|
847 |
+
"lstrip": false,
|
848 |
+
"normalized": false,
|
849 |
+
"rstrip": false,
|
850 |
+
"single_word": false,
|
851 |
+
"special": false
|
852 |
+
},
|
853 |
+
"106": {
|
854 |
+
"content": "<start_of_turn>",
|
855 |
+
"lstrip": false,
|
856 |
+
"normalized": false,
|
857 |
+
"rstrip": false,
|
858 |
+
"single_word": false,
|
859 |
+
"special": true
|
860 |
+
},
|
861 |
+
"107": {
|
862 |
+
"content": "<end_of_turn>",
|
863 |
+
"lstrip": false,
|
864 |
+
"normalized": false,
|
865 |
+
"rstrip": false,
|
866 |
+
"single_word": false,
|
867 |
+
"special": true
|
868 |
+
},
|
869 |
+
"108": {
|
870 |
+
"content": "\n",
|
871 |
+
"lstrip": false,
|
872 |
+
"normalized": false,
|
873 |
+
"rstrip": false,
|
874 |
+
"single_word": false,
|
875 |
+
"special": false
|
876 |
+
},
|
877 |
+
"109": {
|
878 |
+
"content": "\n\n",
|
879 |
+
"lstrip": false,
|
880 |
+
"normalized": false,
|
881 |
+
"rstrip": false,
|
882 |
+
"single_word": false,
|
883 |
+
"special": false
|
884 |
+
},
|
885 |
+
"110": {
|
886 |
+
"content": "\n\n\n",
|
887 |
+
"lstrip": false,
|
888 |
+
"normalized": false,
|
889 |
+
"rstrip": false,
|
890 |
+
"single_word": false,
|
891 |
+
"special": false
|
892 |
+
},
|
893 |
+
"111": {
|
894 |
+
"content": "\n\n\n\n",
|
895 |
+
"lstrip": false,
|
896 |
+
"normalized": false,
|
897 |
+
"rstrip": false,
|
898 |
+
"single_word": false,
|
899 |
+
"special": false
|
900 |
+
},
|
901 |
+
"112": {
|
902 |
+
"content": "\n\n\n\n\n",
|
903 |
+
"lstrip": false,
|
904 |
+
"normalized": false,
|
905 |
+
"rstrip": false,
|
906 |
+
"single_word": false,
|
907 |
+
"special": false
|
908 |
+
},
|
909 |
+
"113": {
|
910 |
+
"content": "\n\n\n\n\n\n",
|
911 |
+
"lstrip": false,
|
912 |
+
"normalized": false,
|
913 |
+
"rstrip": false,
|
914 |
+
"single_word": false,
|
915 |
+
"special": false
|
916 |
+
},
|
917 |
+
"114": {
|
918 |
+
"content": "\n\n\n\n\n\n\n",
|
919 |
+
"lstrip": false,
|
920 |
+
"normalized": false,
|
921 |
+
"rstrip": false,
|
922 |
+
"single_word": false,
|
923 |
+
"special": false
|
924 |
+
},
|
925 |
+
"115": {
|
926 |
+
"content": "\n\n\n\n\n\n\n\n",
|
927 |
+
"lstrip": false,
|
928 |
+
"normalized": false,
|
929 |
+
"rstrip": false,
|
930 |
+
"single_word": false,
|
931 |
+
"special": false
|
932 |
+
},
|
933 |
+
"116": {
|
934 |
+
"content": "\n\n\n\n\n\n\n\n\n",
|
935 |
+
"lstrip": false,
|
936 |
+
"normalized": false,
|
937 |
+
"rstrip": false,
|
938 |
+
"single_word": false,
|
939 |
+
"special": false
|
940 |
+
},
|
941 |
+
"117": {
|
942 |
+
"content": "\n\n\n\n\n\n\n\n\n\n",
|
943 |
+
"lstrip": false,
|
944 |
+
"normalized": false,
|
945 |
+
"rstrip": false,
|
946 |
+
"single_word": false,
|
947 |
+
"special": false
|
948 |
+
},
|
949 |
+
"118": {
|
950 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n",
|
951 |
+
"lstrip": false,
|
952 |
+
"normalized": false,
|
953 |
+
"rstrip": false,
|
954 |
+
"single_word": false,
|
955 |
+
"special": false
|
956 |
+
},
|
957 |
+
"119": {
|
958 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n",
|
959 |
+
"lstrip": false,
|
960 |
+
"normalized": false,
|
961 |
+
"rstrip": false,
|
962 |
+
"single_word": false,
|
963 |
+
"special": false
|
964 |
+
},
|
965 |
+
"120": {
|
966 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
967 |
+
"lstrip": false,
|
968 |
+
"normalized": false,
|
969 |
+
"rstrip": false,
|
970 |
+
"single_word": false,
|
971 |
+
"special": false
|
972 |
+
},
|
973 |
+
"121": {
|
974 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
975 |
+
"lstrip": false,
|
976 |
+
"normalized": false,
|
977 |
+
"rstrip": false,
|
978 |
+
"single_word": false,
|
979 |
+
"special": false
|
980 |
+
},
|
981 |
+
"122": {
|
982 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
983 |
+
"lstrip": false,
|
984 |
+
"normalized": false,
|
985 |
+
"rstrip": false,
|
986 |
+
"single_word": false,
|
987 |
+
"special": false
|
988 |
+
},
|
989 |
+
"123": {
|
990 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
991 |
+
"lstrip": false,
|
992 |
+
"normalized": false,
|
993 |
+
"rstrip": false,
|
994 |
+
"single_word": false,
|
995 |
+
"special": false
|
996 |
+
},
|
997 |
+
"124": {
|
998 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
999 |
+
"lstrip": false,
|
1000 |
+
"normalized": false,
|
1001 |
+
"rstrip": false,
|
1002 |
+
"single_word": false,
|
1003 |
+
"special": false
|
1004 |
+
},
|
1005 |
+
"125": {
|
1006 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1007 |
+
"lstrip": false,
|
1008 |
+
"normalized": false,
|
1009 |
+
"rstrip": false,
|
1010 |
+
"single_word": false,
|
1011 |
+
"special": false
|
1012 |
+
},
|
1013 |
+
"126": {
|
1014 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1015 |
+
"lstrip": false,
|
1016 |
+
"normalized": false,
|
1017 |
+
"rstrip": false,
|
1018 |
+
"single_word": false,
|
1019 |
+
"special": false
|
1020 |
+
},
|
1021 |
+
"127": {
|
1022 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1023 |
+
"lstrip": false,
|
1024 |
+
"normalized": false,
|
1025 |
+
"rstrip": false,
|
1026 |
+
"single_word": false,
|
1027 |
+
"special": false
|
1028 |
+
},
|
1029 |
+
"128": {
|
1030 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1031 |
+
"lstrip": false,
|
1032 |
+
"normalized": false,
|
1033 |
+
"rstrip": false,
|
1034 |
+
"single_word": false,
|
1035 |
+
"special": false
|
1036 |
+
},
|
1037 |
+
"129": {
|
1038 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1039 |
+
"lstrip": false,
|
1040 |
+
"normalized": false,
|
1041 |
+
"rstrip": false,
|
1042 |
+
"single_word": false,
|
1043 |
+
"special": false
|
1044 |
+
},
|
1045 |
+
"130": {
|
1046 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1047 |
+
"lstrip": false,
|
1048 |
+
"normalized": false,
|
1049 |
+
"rstrip": false,
|
1050 |
+
"single_word": false,
|
1051 |
+
"special": false
|
1052 |
+
},
|
1053 |
+
"131": {
|
1054 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1055 |
+
"lstrip": false,
|
1056 |
+
"normalized": false,
|
1057 |
+
"rstrip": false,
|
1058 |
+
"single_word": false,
|
1059 |
+
"special": false
|
1060 |
+
},
|
1061 |
+
"132": {
|
1062 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1063 |
+
"lstrip": false,
|
1064 |
+
"normalized": false,
|
1065 |
+
"rstrip": false,
|
1066 |
+
"single_word": false,
|
1067 |
+
"special": false
|
1068 |
+
},
|
1069 |
+
"133": {
|
1070 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1071 |
+
"lstrip": false,
|
1072 |
+
"normalized": false,
|
1073 |
+
"rstrip": false,
|
1074 |
+
"single_word": false,
|
1075 |
+
"special": false
|
1076 |
+
},
|
1077 |
+
"134": {
|
1078 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1079 |
+
"lstrip": false,
|
1080 |
+
"normalized": false,
|
1081 |
+
"rstrip": false,
|
1082 |
+
"single_word": false,
|
1083 |
+
"special": false
|
1084 |
+
},
|
1085 |
+
"135": {
|
1086 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1087 |
+
"lstrip": false,
|
1088 |
+
"normalized": false,
|
1089 |
+
"rstrip": false,
|
1090 |
+
"single_word": false,
|
1091 |
+
"special": false
|
1092 |
+
},
|
1093 |
+
"136": {
|
1094 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1095 |
+
"lstrip": false,
|
1096 |
+
"normalized": false,
|
1097 |
+
"rstrip": false,
|
1098 |
+
"single_word": false,
|
1099 |
+
"special": false
|
1100 |
+
},
|
1101 |
+
"137": {
|
1102 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1103 |
+
"lstrip": false,
|
1104 |
+
"normalized": false,
|
1105 |
+
"rstrip": false,
|
1106 |
+
"single_word": false,
|
1107 |
+
"special": false
|
1108 |
+
},
|
1109 |
+
"138": {
|
1110 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1111 |
+
"lstrip": false,
|
1112 |
+
"normalized": false,
|
1113 |
+
"rstrip": false,
|
1114 |
+
"single_word": false,
|
1115 |
+
"special": false
|
1116 |
+
},
|
1117 |
+
"139": {
|
1118 |
+
"content": "▁▁",
|
1119 |
+
"lstrip": false,
|
1120 |
+
"normalized": false,
|
1121 |
+
"rstrip": false,
|
1122 |
+
"single_word": false,
|
1123 |
+
"special": false
|
1124 |
+
},
|
1125 |
+
"140": {
|
1126 |
+
"content": "▁▁▁",
|
1127 |
+
"lstrip": false,
|
1128 |
+
"normalized": false,
|
1129 |
+
"rstrip": false,
|
1130 |
+
"single_word": false,
|
1131 |
+
"special": false
|
1132 |
+
},
|
1133 |
+
"141": {
|
1134 |
+
"content": "▁▁▁▁",
|
1135 |
+
"lstrip": false,
|
1136 |
+
"normalized": false,
|
1137 |
+
"rstrip": false,
|
1138 |
+
"single_word": false,
|
1139 |
+
"special": false
|
1140 |
+
},
|
1141 |
+
"142": {
|
1142 |
+
"content": "▁▁▁▁▁",
|
1143 |
+
"lstrip": false,
|
1144 |
+
"normalized": false,
|
1145 |
+
"rstrip": false,
|
1146 |
+
"single_word": false,
|
1147 |
+
"special": false
|
1148 |
+
},
|
1149 |
+
"143": {
|
1150 |
+
"content": "▁▁▁▁▁▁",
|
1151 |
+
"lstrip": false,
|
1152 |
+
"normalized": false,
|
1153 |
+
"rstrip": false,
|
1154 |
+
"single_word": false,
|
1155 |
+
"special": false
|
1156 |
+
},
|
1157 |
+
"144": {
|
1158 |
+
"content": "▁▁▁▁▁▁▁",
|
1159 |
+
"lstrip": false,
|
1160 |
+
"normalized": false,
|
1161 |
+
"rstrip": false,
|
1162 |
+
"single_word": false,
|
1163 |
+
"special": false
|
1164 |
+
},
|
1165 |
+
"145": {
|
1166 |
+
"content": "▁▁▁▁▁▁▁▁",
|
1167 |
+
"lstrip": false,
|
1168 |
+
"normalized": false,
|
1169 |
+
"rstrip": false,
|
1170 |
+
"single_word": false,
|
1171 |
+
"special": false
|
1172 |
+
},
|
1173 |
+
"146": {
|
1174 |
+
"content": "▁▁▁▁▁▁▁▁▁",
|
1175 |
+
"lstrip": false,
|
1176 |
+
"normalized": false,
|
1177 |
+
"rstrip": false,
|
1178 |
+
"single_word": false,
|
1179 |
+
"special": false
|
1180 |
+
},
|
1181 |
+
"147": {
|
1182 |
+
"content": "▁▁▁▁▁▁▁▁▁▁",
|
1183 |
+
"lstrip": false,
|
1184 |
+
"normalized": false,
|
1185 |
+
"rstrip": false,
|
1186 |
+
"single_word": false,
|
1187 |
+
"special": false
|
1188 |
+
},
|
1189 |
+
"148": {
|
1190 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁",
|
1191 |
+
"lstrip": false,
|
1192 |
+
"normalized": false,
|
1193 |
+
"rstrip": false,
|
1194 |
+
"single_word": false,
|
1195 |
+
"special": false
|
1196 |
+
},
|
1197 |
+
"149": {
|
1198 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁",
|
1199 |
+
"lstrip": false,
|
1200 |
+
"normalized": false,
|
1201 |
+
"rstrip": false,
|
1202 |
+
"single_word": false,
|
1203 |
+
"special": false
|
1204 |
+
},
|
1205 |
+
"150": {
|
1206 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1207 |
+
"lstrip": false,
|
1208 |
+
"normalized": false,
|
1209 |
+
"rstrip": false,
|
1210 |
+
"single_word": false,
|
1211 |
+
"special": false
|
1212 |
+
},
|
1213 |
+
"151": {
|
1214 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1215 |
+
"lstrip": false,
|
1216 |
+
"normalized": false,
|
1217 |
+
"rstrip": false,
|
1218 |
+
"single_word": false,
|
1219 |
+
"special": false
|
1220 |
+
},
|
1221 |
+
"152": {
|
1222 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1223 |
+
"lstrip": false,
|
1224 |
+
"normalized": false,
|
1225 |
+
"rstrip": false,
|
1226 |
+
"single_word": false,
|
1227 |
+
"special": false
|
1228 |
+
},
|
1229 |
+
"153": {
|
1230 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1231 |
+
"lstrip": false,
|
1232 |
+
"normalized": false,
|
1233 |
+
"rstrip": false,
|
1234 |
+
"single_word": false,
|
1235 |
+
"special": false
|
1236 |
+
},
|
1237 |
+
"154": {
|
1238 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1239 |
+
"lstrip": false,
|
1240 |
+
"normalized": false,
|
1241 |
+
"rstrip": false,
|
1242 |
+
"single_word": false,
|
1243 |
+
"special": false
|
1244 |
+
},
|
1245 |
+
"155": {
|
1246 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1247 |
+
"lstrip": false,
|
1248 |
+
"normalized": false,
|
1249 |
+
"rstrip": false,
|
1250 |
+
"single_word": false,
|
1251 |
+
"special": false
|
1252 |
+
},
|
1253 |
+
"156": {
|
1254 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1255 |
+
"lstrip": false,
|
1256 |
+
"normalized": false,
|
1257 |
+
"rstrip": false,
|
1258 |
+
"single_word": false,
|
1259 |
+
"special": false
|
1260 |
+
},
|
1261 |
+
"157": {
|
1262 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1263 |
+
"lstrip": false,
|
1264 |
+
"normalized": false,
|
1265 |
+
"rstrip": false,
|
1266 |
+
"single_word": false,
|
1267 |
+
"special": false
|
1268 |
+
},
|
1269 |
+
"158": {
|
1270 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1271 |
+
"lstrip": false,
|
1272 |
+
"normalized": false,
|
1273 |
+
"rstrip": false,
|
1274 |
+
"single_word": false,
|
1275 |
+
"special": false
|
1276 |
+
},
|
1277 |
+
"159": {
|
1278 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1279 |
+
"lstrip": false,
|
1280 |
+
"normalized": false,
|
1281 |
+
"rstrip": false,
|
1282 |
+
"single_word": false,
|
1283 |
+
"special": false
|
1284 |
+
},
|
1285 |
+
"160": {
|
1286 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1287 |
+
"lstrip": false,
|
1288 |
+
"normalized": false,
|
1289 |
+
"rstrip": false,
|
1290 |
+
"single_word": false,
|
1291 |
+
"special": false
|
1292 |
+
},
|
1293 |
+
"161": {
|
1294 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1295 |
+
"lstrip": false,
|
1296 |
+
"normalized": false,
|
1297 |
+
"rstrip": false,
|
1298 |
+
"single_word": false,
|
1299 |
+
"special": false
|
1300 |
+
},
|
1301 |
+
"162": {
|
1302 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1303 |
+
"lstrip": false,
|
1304 |
+
"normalized": false,
|
1305 |
+
"rstrip": false,
|
1306 |
+
"single_word": false,
|
1307 |
+
"special": false
|
1308 |
+
},
|
1309 |
+
"163": {
|
1310 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1311 |
+
"lstrip": false,
|
1312 |
+
"normalized": false,
|
1313 |
+
"rstrip": false,
|
1314 |
+
"single_word": false,
|
1315 |
+
"special": false
|
1316 |
+
},
|
1317 |
+
"164": {
|
1318 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1319 |
+
"lstrip": false,
|
1320 |
+
"normalized": false,
|
1321 |
+
"rstrip": false,
|
1322 |
+
"single_word": false,
|
1323 |
+
"special": false
|
1324 |
+
},
|
1325 |
+
"165": {
|
1326 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1327 |
+
"lstrip": false,
|
1328 |
+
"normalized": false,
|
1329 |
+
"rstrip": false,
|
1330 |
+
"single_word": false,
|
1331 |
+
"special": false
|
1332 |
+
},
|
1333 |
+
"166": {
|
1334 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1335 |
+
"lstrip": false,
|
1336 |
+
"normalized": false,
|
1337 |
+
"rstrip": false,
|
1338 |
+
"single_word": false,
|
1339 |
+
"special": false
|
1340 |
+
},
|
1341 |
+
"167": {
|
1342 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1343 |
+
"lstrip": false,
|
1344 |
+
"normalized": false,
|
1345 |
+
"rstrip": false,
|
1346 |
+
"single_word": false,
|
1347 |
+
"special": false
|
1348 |
+
},
|
1349 |
+
"168": {
|
1350 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1351 |
+
"lstrip": false,
|
1352 |
+
"normalized": false,
|
1353 |
+
"rstrip": false,
|
1354 |
+
"single_word": false,
|
1355 |
+
"special": false
|
1356 |
+
},
|
1357 |
+
"169": {
|
1358 |
+
"content": "<table>",
|
1359 |
+
"lstrip": false,
|
1360 |
+
"normalized": false,
|
1361 |
+
"rstrip": false,
|
1362 |
+
"single_word": false,
|
1363 |
+
"special": false
|
1364 |
+
},
|
1365 |
+
"170": {
|
1366 |
+
"content": "<caption>",
|
1367 |
+
"lstrip": false,
|
1368 |
+
"normalized": false,
|
1369 |
+
"rstrip": false,
|
1370 |
+
"single_word": false,
|
1371 |
+
"special": false
|
1372 |
+
},
|
1373 |
+
"171": {
|
1374 |
+
"content": "<thead>",
|
1375 |
+
"lstrip": false,
|
1376 |
+
"normalized": false,
|
1377 |
+
"rstrip": false,
|
1378 |
+
"single_word": false,
|
1379 |
+
"special": false
|
1380 |
+
},
|
1381 |
+
"172": {
|
1382 |
+
"content": "<tbody>",
|
1383 |
+
"lstrip": false,
|
1384 |
+
"normalized": false,
|
1385 |
+
"rstrip": false,
|
1386 |
+
"single_word": false,
|
1387 |
+
"special": false
|
1388 |
+
},
|
1389 |
+
"173": {
|
1390 |
+
"content": "<tfoot>",
|
1391 |
+
"lstrip": false,
|
1392 |
+
"normalized": false,
|
1393 |
+
"rstrip": false,
|
1394 |
+
"single_word": false,
|
1395 |
+
"special": false
|
1396 |
+
},
|
1397 |
+
"174": {
|
1398 |
+
"content": "<tr>",
|
1399 |
+
"lstrip": false,
|
1400 |
+
"normalized": false,
|
1401 |
+
"rstrip": false,
|
1402 |
+
"single_word": false,
|
1403 |
+
"special": false
|
1404 |
+
},
|
1405 |
+
"175": {
|
1406 |
+
"content": "<th>",
|
1407 |
+
"lstrip": false,
|
1408 |
+
"normalized": false,
|
1409 |
+
"rstrip": false,
|
1410 |
+
"single_word": false,
|
1411 |
+
"special": false
|
1412 |
+
},
|
1413 |
+
"176": {
|
1414 |
+
"content": "<td>",
|
1415 |
+
"lstrip": false,
|
1416 |
+
"normalized": false,
|
1417 |
+
"rstrip": false,
|
1418 |
+
"single_word": false,
|
1419 |
+
"special": false
|
1420 |
+
},
|
1421 |
+
"177": {
|
1422 |
+
"content": "</table>",
|
1423 |
+
"lstrip": false,
|
1424 |
+
"normalized": false,
|
1425 |
+
"rstrip": false,
|
1426 |
+
"single_word": false,
|
1427 |
+
"special": false
|
1428 |
+
},
|
1429 |
+
"178": {
|
1430 |
+
"content": "</caption>",
|
1431 |
+
"lstrip": false,
|
1432 |
+
"normalized": false,
|
1433 |
+
"rstrip": false,
|
1434 |
+
"single_word": false,
|
1435 |
+
"special": false
|
1436 |
+
},
|
1437 |
+
"179": {
|
1438 |
+
"content": "</thead>",
|
1439 |
+
"lstrip": false,
|
1440 |
+
"normalized": false,
|
1441 |
+
"rstrip": false,
|
1442 |
+
"single_word": false,
|
1443 |
+
"special": false
|
1444 |
+
},
|
1445 |
+
"180": {
|
1446 |
+
"content": "</tbody>",
|
1447 |
+
"lstrip": false,
|
1448 |
+
"normalized": false,
|
1449 |
+
"rstrip": false,
|
1450 |
+
"single_word": false,
|
1451 |
+
"special": false
|
1452 |
+
},
|
1453 |
+
"181": {
|
1454 |
+
"content": "</tfoot>",
|
1455 |
+
"lstrip": false,
|
1456 |
+
"normalized": false,
|
1457 |
+
"rstrip": false,
|
1458 |
+
"single_word": false,
|
1459 |
+
"special": false
|
1460 |
+
},
|
1461 |
+
"182": {
|
1462 |
+
"content": "</tr>",
|
1463 |
+
"lstrip": false,
|
1464 |
+
"normalized": false,
|
1465 |
+
"rstrip": false,
|
1466 |
+
"single_word": false,
|
1467 |
+
"special": false
|
1468 |
+
},
|
1469 |
+
"183": {
|
1470 |
+
"content": "</th>",
|
1471 |
+
"lstrip": false,
|
1472 |
+
"normalized": false,
|
1473 |
+
"rstrip": false,
|
1474 |
+
"single_word": false,
|
1475 |
+
"special": false
|
1476 |
+
},
|
1477 |
+
"184": {
|
1478 |
+
"content": "</td>",
|
1479 |
+
"lstrip": false,
|
1480 |
+
"normalized": false,
|
1481 |
+
"rstrip": false,
|
1482 |
+
"single_word": false,
|
1483 |
+
"special": false
|
1484 |
+
},
|
1485 |
+
"185": {
|
1486 |
+
"content": "<h1>",
|
1487 |
+
"lstrip": false,
|
1488 |
+
"normalized": false,
|
1489 |
+
"rstrip": false,
|
1490 |
+
"single_word": false,
|
1491 |
+
"special": false
|
1492 |
+
},
|
1493 |
+
"186": {
|
1494 |
+
"content": "<h2>",
|
1495 |
+
"lstrip": false,
|
1496 |
+
"normalized": false,
|
1497 |
+
"rstrip": false,
|
1498 |
+
"single_word": false,
|
1499 |
+
"special": false
|
1500 |
+
},
|
1501 |
+
"187": {
|
1502 |
+
"content": "<h3>",
|
1503 |
+
"lstrip": false,
|
1504 |
+
"normalized": false,
|
1505 |
+
"rstrip": false,
|
1506 |
+
"single_word": false,
|
1507 |
+
"special": false
|
1508 |
+
},
|
1509 |
+
"188": {
|
1510 |
+
"content": "<h4>",
|
1511 |
+
"lstrip": false,
|
1512 |
+
"normalized": false,
|
1513 |
+
"rstrip": false,
|
1514 |
+
"single_word": false,
|
1515 |
+
"special": false
|
1516 |
+
},
|
1517 |
+
"189": {
|
1518 |
+
"content": "<h5>",
|
1519 |
+
"lstrip": false,
|
1520 |
+
"normalized": false,
|
1521 |
+
"rstrip": false,
|
1522 |
+
"single_word": false,
|
1523 |
+
"special": false
|
1524 |
+
},
|
1525 |
+
"190": {
|
1526 |
+
"content": "<h6>",
|
1527 |
+
"lstrip": false,
|
1528 |
+
"normalized": false,
|
1529 |
+
"rstrip": false,
|
1530 |
+
"single_word": false,
|
1531 |
+
"special": false
|
1532 |
+
},
|
1533 |
+
"191": {
|
1534 |
+
"content": "<blockquote>",
|
1535 |
+
"lstrip": false,
|
1536 |
+
"normalized": false,
|
1537 |
+
"rstrip": false,
|
1538 |
+
"single_word": false,
|
1539 |
+
"special": false
|
1540 |
+
},
|
1541 |
+
"192": {
|
1542 |
+
"content": "</h1>",
|
1543 |
+
"lstrip": false,
|
1544 |
+
"normalized": false,
|
1545 |
+
"rstrip": false,
|
1546 |
+
"single_word": false,
|
1547 |
+
"special": false
|
1548 |
+
},
|
1549 |
+
"193": {
|
1550 |
+
"content": "</h2>",
|
1551 |
+
"lstrip": false,
|
1552 |
+
"normalized": false,
|
1553 |
+
"rstrip": false,
|
1554 |
+
"single_word": false,
|
1555 |
+
"special": false
|
1556 |
+
},
|
1557 |
+
"194": {
|
1558 |
+
"content": "</h3>",
|
1559 |
+
"lstrip": false,
|
1560 |
+
"normalized": false,
|
1561 |
+
"rstrip": false,
|
1562 |
+
"single_word": false,
|
1563 |
+
"special": false
|
1564 |
+
},
|
1565 |
+
"195": {
|
1566 |
+
"content": "</h4>",
|
1567 |
+
"lstrip": false,
|
1568 |
+
"normalized": false,
|
1569 |
+
"rstrip": false,
|
1570 |
+
"single_word": false,
|
1571 |
+
"special": false
|
1572 |
+
},
|
1573 |
+
"196": {
|
1574 |
+
"content": "</h5>",
|
1575 |
+
"lstrip": false,
|
1576 |
+
"normalized": false,
|
1577 |
+
"rstrip": false,
|
1578 |
+
"single_word": false,
|
1579 |
+
"special": false
|
1580 |
+
},
|
1581 |
+
"197": {
|
1582 |
+
"content": "</h6>",
|
1583 |
+
"lstrip": false,
|
1584 |
+
"normalized": false,
|
1585 |
+
"rstrip": false,
|
1586 |
+
"single_word": false,
|
1587 |
+
"special": false
|
1588 |
+
},
|
1589 |
+
"198": {
|
1590 |
+
"content": "</blockquote>",
|
1591 |
+
"lstrip": false,
|
1592 |
+
"normalized": false,
|
1593 |
+
"rstrip": false,
|
1594 |
+
"single_word": false,
|
1595 |
+
"special": false
|
1596 |
+
},
|
1597 |
+
"199": {
|
1598 |
+
"content": "<strong>",
|
1599 |
+
"lstrip": false,
|
1600 |
+
"normalized": false,
|
1601 |
+
"rstrip": false,
|
1602 |
+
"single_word": false,
|
1603 |
+
"special": false
|
1604 |
+
},
|
1605 |
+
"200": {
|
1606 |
+
"content": "<em>",
|
1607 |
+
"lstrip": false,
|
1608 |
+
"normalized": false,
|
1609 |
+
"rstrip": false,
|
1610 |
+
"single_word": false,
|
1611 |
+
"special": false
|
1612 |
+
},
|
1613 |
+
"201": {
|
1614 |
+
"content": "<b>",
|
1615 |
+
"lstrip": false,
|
1616 |
+
"normalized": false,
|
1617 |
+
"rstrip": false,
|
1618 |
+
"single_word": false,
|
1619 |
+
"special": false
|
1620 |
+
},
|
1621 |
+
"202": {
|
1622 |
+
"content": "<i>",
|
1623 |
+
"lstrip": false,
|
1624 |
+
"normalized": false,
|
1625 |
+
"rstrip": false,
|
1626 |
+
"single_word": false,
|
1627 |
+
"special": false
|
1628 |
+
},
|
1629 |
+
"203": {
|
1630 |
+
"content": "<u>",
|
1631 |
+
"lstrip": false,
|
1632 |
+
"normalized": false,
|
1633 |
+
"rstrip": false,
|
1634 |
+
"single_word": false,
|
1635 |
+
"special": false
|
1636 |
+
},
|
1637 |
+
"204": {
|
1638 |
+
"content": "<s>",
|
1639 |
+
"lstrip": false,
|
1640 |
+
"normalized": false,
|
1641 |
+
"rstrip": false,
|
1642 |
+
"single_word": false,
|
1643 |
+
"special": false
|
1644 |
+
},
|
1645 |
+
"205": {
|
1646 |
+
"content": "<sub>",
|
1647 |
+
"lstrip": false,
|
1648 |
+
"normalized": false,
|
1649 |
+
"rstrip": false,
|
1650 |
+
"single_word": false,
|
1651 |
+
"special": false
|
1652 |
+
},
|
1653 |
+
"206": {
|
1654 |
+
"content": "<sup>",
|
1655 |
+
"lstrip": false,
|
1656 |
+
"normalized": false,
|
1657 |
+
"rstrip": false,
|
1658 |
+
"single_word": false,
|
1659 |
+
"special": false
|
1660 |
+
},
|
1661 |
+
"207": {
|
1662 |
+
"content": "<code>",
|
1663 |
+
"lstrip": false,
|
1664 |
+
"normalized": false,
|
1665 |
+
"rstrip": false,
|
1666 |
+
"single_word": false,
|
1667 |
+
"special": false
|
1668 |
+
},
|
1669 |
+
"208": {
|
1670 |
+
"content": "</strong>",
|
1671 |
+
"lstrip": false,
|
1672 |
+
"normalized": false,
|
1673 |
+
"rstrip": false,
|
1674 |
+
"single_word": false,
|
1675 |
+
"special": false
|
1676 |
+
},
|
1677 |
+
"209": {
|
1678 |
+
"content": "</em>",
|
1679 |
+
"lstrip": false,
|
1680 |
+
"normalized": false,
|
1681 |
+
"rstrip": false,
|
1682 |
+
"single_word": false,
|
1683 |
+
"special": false
|
1684 |
+
},
|
1685 |
+
"210": {
|
1686 |
+
"content": "</b>",
|
1687 |
+
"lstrip": false,
|
1688 |
+
"normalized": false,
|
1689 |
+
"rstrip": false,
|
1690 |
+
"single_word": false,
|
1691 |
+
"special": false
|
1692 |
+
},
|
1693 |
+
"211": {
|
1694 |
+
"content": "</i>",
|
1695 |
+
"lstrip": false,
|
1696 |
+
"normalized": false,
|
1697 |
+
"rstrip": false,
|
1698 |
+
"single_word": false,
|
1699 |
+
"special": false
|
1700 |
+
},
|
1701 |
+
"212": {
|
1702 |
+
"content": "</u>",
|
1703 |
+
"lstrip": false,
|
1704 |
+
"normalized": false,
|
1705 |
+
"rstrip": false,
|
1706 |
+
"single_word": false,
|
1707 |
+
"special": false
|
1708 |
+
},
|
1709 |
+
"213": {
|
1710 |
+
"content": "</s>",
|
1711 |
+
"lstrip": false,
|
1712 |
+
"normalized": false,
|
1713 |
+
"rstrip": false,
|
1714 |
+
"single_word": false,
|
1715 |
+
"special": false
|
1716 |
+
},
|
1717 |
+
"214": {
|
1718 |
+
"content": "</sub>",
|
1719 |
+
"lstrip": false,
|
1720 |
+
"normalized": false,
|
1721 |
+
"rstrip": false,
|
1722 |
+
"single_word": false,
|
1723 |
+
"special": false
|
1724 |
+
},
|
1725 |
+
"215": {
|
1726 |
+
"content": "</sup>",
|
1727 |
+
"lstrip": false,
|
1728 |
+
"normalized": false,
|
1729 |
+
"rstrip": false,
|
1730 |
+
"single_word": false,
|
1731 |
+
"special": false
|
1732 |
+
},
|
1733 |
+
"216": {
|
1734 |
+
"content": "</code>",
|
1735 |
+
"lstrip": false,
|
1736 |
+
"normalized": false,
|
1737 |
+
"rstrip": false,
|
1738 |
+
"single_word": false,
|
1739 |
+
"special": false
|
1740 |
+
}
|
1741 |
+
},
|
1742 |
+
"additional_special_tokens": [
|
1743 |
+
"<start_of_turn>",
|
1744 |
+
"<end_of_turn>"
|
1745 |
+
],
|
1746 |
+
"bos_token": "<bos>",
|
1747 |
+
"clean_up_tokenization_spaces": false,
|
1748 |
+
"eos_token": "<eos>",
|
1749 |
+
"model_max_length": 1000000000000000019884624838656,
|
1750 |
+
"pad_token": "<eos>",
|
1751 |
+
"sp_model_kwargs": {},
|
1752 |
+
"spaces_between_special_tokens": false,
|
1753 |
+
"tokenizer_class": "GemmaTokenizer",
|
1754 |
+
"unk_token": "<unk>",
|
1755 |
+
"use_default_system_prompt": false
|
1756 |
+
}
|
SFTmodels/gemma-2-9b_sftm3genre3600/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e5aa5d943ce89de0f4d67ebaf09bcea833c3abcfe1b9b2cb7e89f58e2b206e06
|
3 |
+
size 6072
|
SFTmodels/gemma-2-9b_sftm3genre7200/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: google/gemma-2-9b
|
3 |
+
library_name: peft
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.12.0
|
SFTmodels/gemma-2-9b_sftm3genre7200/adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "google/gemma-2-9b",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 16,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 64,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"q_proj",
|
24 |
+
"v_proj",
|
25 |
+
"k_proj",
|
26 |
+
"o_proj"
|
27 |
+
],
|
28 |
+
"task_type": "CAUSAL_LM",
|
29 |
+
"use_dora": false,
|
30 |
+
"use_rslora": false
|
31 |
+
}
|
SFTmodels/gemma-2-9b_sftm3genre7200/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4fca781d3d658164e44b22135f8d9156ef2b2c0dab9a9c15379b7b21c06d957c
|
3 |
+
size 286306976
|
SFTmodels/gemma-2-9b_sftm3genre7200/special_tokens_map.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<start_of_turn>",
|
4 |
+
"<end_of_turn>"
|
5 |
+
],
|
6 |
+
"bos_token": {
|
7 |
+
"content": "<bos>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"eos_token": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
},
|
20 |
+
"pad_token": "<eos>",
|
21 |
+
"unk_token": {
|
22 |
+
"content": "<unk>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false
|
27 |
+
}
|
28 |
+
}
|
SFTmodels/gemma-2-9b_sftm3genre7200/tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8bdd6fa579b0cae69393298845f25133763e90c5814db935ee4496d161aca4da
|
3 |
+
size 17518624
|
SFTmodels/gemma-2-9b_sftm3genre7200/tokenizer_config.json
ADDED
@@ -0,0 +1,1756 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<pad>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "<bos>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"3": {
|
30 |
+
"content": "<unk>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"4": {
|
38 |
+
"content": "<mask>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": false
|
44 |
+
},
|
45 |
+
"5": {
|
46 |
+
"content": "<2mass>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": false
|
52 |
+
},
|
53 |
+
"6": {
|
54 |
+
"content": "[@BOS@]",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": false,
|
58 |
+
"single_word": false,
|
59 |
+
"special": false
|
60 |
+
},
|
61 |
+
"7": {
|
62 |
+
"content": "<unused0>",
|
63 |
+
"lstrip": false,
|
64 |
+
"normalized": false,
|
65 |
+
"rstrip": false,
|
66 |
+
"single_word": false,
|
67 |
+
"special": false
|
68 |
+
},
|
69 |
+
"8": {
|
70 |
+
"content": "<unused1>",
|
71 |
+
"lstrip": false,
|
72 |
+
"normalized": false,
|
73 |
+
"rstrip": false,
|
74 |
+
"single_word": false,
|
75 |
+
"special": false
|
76 |
+
},
|
77 |
+
"9": {
|
78 |
+
"content": "<unused2>",
|
79 |
+
"lstrip": false,
|
80 |
+
"normalized": false,
|
81 |
+
"rstrip": false,
|
82 |
+
"single_word": false,
|
83 |
+
"special": false
|
84 |
+
},
|
85 |
+
"10": {
|
86 |
+
"content": "<unused3>",
|
87 |
+
"lstrip": false,
|
88 |
+
"normalized": false,
|
89 |
+
"rstrip": false,
|
90 |
+
"single_word": false,
|
91 |
+
"special": false
|
92 |
+
},
|
93 |
+
"11": {
|
94 |
+
"content": "<unused4>",
|
95 |
+
"lstrip": false,
|
96 |
+
"normalized": false,
|
97 |
+
"rstrip": false,
|
98 |
+
"single_word": false,
|
99 |
+
"special": false
|
100 |
+
},
|
101 |
+
"12": {
|
102 |
+
"content": "<unused5>",
|
103 |
+
"lstrip": false,
|
104 |
+
"normalized": false,
|
105 |
+
"rstrip": false,
|
106 |
+
"single_word": false,
|
107 |
+
"special": false
|
108 |
+
},
|
109 |
+
"13": {
|
110 |
+
"content": "<unused6>",
|
111 |
+
"lstrip": false,
|
112 |
+
"normalized": false,
|
113 |
+
"rstrip": false,
|
114 |
+
"single_word": false,
|
115 |
+
"special": false
|
116 |
+
},
|
117 |
+
"14": {
|
118 |
+
"content": "<unused7>",
|
119 |
+
"lstrip": false,
|
120 |
+
"normalized": false,
|
121 |
+
"rstrip": false,
|
122 |
+
"single_word": false,
|
123 |
+
"special": false
|
124 |
+
},
|
125 |
+
"15": {
|
126 |
+
"content": "<unused8>",
|
127 |
+
"lstrip": false,
|
128 |
+
"normalized": false,
|
129 |
+
"rstrip": false,
|
130 |
+
"single_word": false,
|
131 |
+
"special": false
|
132 |
+
},
|
133 |
+
"16": {
|
134 |
+
"content": "<unused9>",
|
135 |
+
"lstrip": false,
|
136 |
+
"normalized": false,
|
137 |
+
"rstrip": false,
|
138 |
+
"single_word": false,
|
139 |
+
"special": false
|
140 |
+
},
|
141 |
+
"17": {
|
142 |
+
"content": "<unused10>",
|
143 |
+
"lstrip": false,
|
144 |
+
"normalized": false,
|
145 |
+
"rstrip": false,
|
146 |
+
"single_word": false,
|
147 |
+
"special": false
|
148 |
+
},
|
149 |
+
"18": {
|
150 |
+
"content": "<unused11>",
|
151 |
+
"lstrip": false,
|
152 |
+
"normalized": false,
|
153 |
+
"rstrip": false,
|
154 |
+
"single_word": false,
|
155 |
+
"special": false
|
156 |
+
},
|
157 |
+
"19": {
|
158 |
+
"content": "<unused12>",
|
159 |
+
"lstrip": false,
|
160 |
+
"normalized": false,
|
161 |
+
"rstrip": false,
|
162 |
+
"single_word": false,
|
163 |
+
"special": false
|
164 |
+
},
|
165 |
+
"20": {
|
166 |
+
"content": "<unused13>",
|
167 |
+
"lstrip": false,
|
168 |
+
"normalized": false,
|
169 |
+
"rstrip": false,
|
170 |
+
"single_word": false,
|
171 |
+
"special": false
|
172 |
+
},
|
173 |
+
"21": {
|
174 |
+
"content": "<unused14>",
|
175 |
+
"lstrip": false,
|
176 |
+
"normalized": false,
|
177 |
+
"rstrip": false,
|
178 |
+
"single_word": false,
|
179 |
+
"special": false
|
180 |
+
},
|
181 |
+
"22": {
|
182 |
+
"content": "<unused15>",
|
183 |
+
"lstrip": false,
|
184 |
+
"normalized": false,
|
185 |
+
"rstrip": false,
|
186 |
+
"single_word": false,
|
187 |
+
"special": false
|
188 |
+
},
|
189 |
+
"23": {
|
190 |
+
"content": "<unused16>",
|
191 |
+
"lstrip": false,
|
192 |
+
"normalized": false,
|
193 |
+
"rstrip": false,
|
194 |
+
"single_word": false,
|
195 |
+
"special": false
|
196 |
+
},
|
197 |
+
"24": {
|
198 |
+
"content": "<unused17>",
|
199 |
+
"lstrip": false,
|
200 |
+
"normalized": false,
|
201 |
+
"rstrip": false,
|
202 |
+
"single_word": false,
|
203 |
+
"special": false
|
204 |
+
},
|
205 |
+
"25": {
|
206 |
+
"content": "<unused18>",
|
207 |
+
"lstrip": false,
|
208 |
+
"normalized": false,
|
209 |
+
"rstrip": false,
|
210 |
+
"single_word": false,
|
211 |
+
"special": false
|
212 |
+
},
|
213 |
+
"26": {
|
214 |
+
"content": "<unused19>",
|
215 |
+
"lstrip": false,
|
216 |
+
"normalized": false,
|
217 |
+
"rstrip": false,
|
218 |
+
"single_word": false,
|
219 |
+
"special": false
|
220 |
+
},
|
221 |
+
"27": {
|
222 |
+
"content": "<unused20>",
|
223 |
+
"lstrip": false,
|
224 |
+
"normalized": false,
|
225 |
+
"rstrip": false,
|
226 |
+
"single_word": false,
|
227 |
+
"special": false
|
228 |
+
},
|
229 |
+
"28": {
|
230 |
+
"content": "<unused21>",
|
231 |
+
"lstrip": false,
|
232 |
+
"normalized": false,
|
233 |
+
"rstrip": false,
|
234 |
+
"single_word": false,
|
235 |
+
"special": false
|
236 |
+
},
|
237 |
+
"29": {
|
238 |
+
"content": "<unused22>",
|
239 |
+
"lstrip": false,
|
240 |
+
"normalized": false,
|
241 |
+
"rstrip": false,
|
242 |
+
"single_word": false,
|
243 |
+
"special": false
|
244 |
+
},
|
245 |
+
"30": {
|
246 |
+
"content": "<unused23>",
|
247 |
+
"lstrip": false,
|
248 |
+
"normalized": false,
|
249 |
+
"rstrip": false,
|
250 |
+
"single_word": false,
|
251 |
+
"special": false
|
252 |
+
},
|
253 |
+
"31": {
|
254 |
+
"content": "<unused24>",
|
255 |
+
"lstrip": false,
|
256 |
+
"normalized": false,
|
257 |
+
"rstrip": false,
|
258 |
+
"single_word": false,
|
259 |
+
"special": false
|
260 |
+
},
|
261 |
+
"32": {
|
262 |
+
"content": "<unused25>",
|
263 |
+
"lstrip": false,
|
264 |
+
"normalized": false,
|
265 |
+
"rstrip": false,
|
266 |
+
"single_word": false,
|
267 |
+
"special": false
|
268 |
+
},
|
269 |
+
"33": {
|
270 |
+
"content": "<unused26>",
|
271 |
+
"lstrip": false,
|
272 |
+
"normalized": false,
|
273 |
+
"rstrip": false,
|
274 |
+
"single_word": false,
|
275 |
+
"special": false
|
276 |
+
},
|
277 |
+
"34": {
|
278 |
+
"content": "<unused27>",
|
279 |
+
"lstrip": false,
|
280 |
+
"normalized": false,
|
281 |
+
"rstrip": false,
|
282 |
+
"single_word": false,
|
283 |
+
"special": false
|
284 |
+
},
|
285 |
+
"35": {
|
286 |
+
"content": "<unused28>",
|
287 |
+
"lstrip": false,
|
288 |
+
"normalized": false,
|
289 |
+
"rstrip": false,
|
290 |
+
"single_word": false,
|
291 |
+
"special": false
|
292 |
+
},
|
293 |
+
"36": {
|
294 |
+
"content": "<unused29>",
|
295 |
+
"lstrip": false,
|
296 |
+
"normalized": false,
|
297 |
+
"rstrip": false,
|
298 |
+
"single_word": false,
|
299 |
+
"special": false
|
300 |
+
},
|
301 |
+
"37": {
|
302 |
+
"content": "<unused30>",
|
303 |
+
"lstrip": false,
|
304 |
+
"normalized": false,
|
305 |
+
"rstrip": false,
|
306 |
+
"single_word": false,
|
307 |
+
"special": false
|
308 |
+
},
|
309 |
+
"38": {
|
310 |
+
"content": "<unused31>",
|
311 |
+
"lstrip": false,
|
312 |
+
"normalized": false,
|
313 |
+
"rstrip": false,
|
314 |
+
"single_word": false,
|
315 |
+
"special": false
|
316 |
+
},
|
317 |
+
"39": {
|
318 |
+
"content": "<unused32>",
|
319 |
+
"lstrip": false,
|
320 |
+
"normalized": false,
|
321 |
+
"rstrip": false,
|
322 |
+
"single_word": false,
|
323 |
+
"special": false
|
324 |
+
},
|
325 |
+
"40": {
|
326 |
+
"content": "<unused33>",
|
327 |
+
"lstrip": false,
|
328 |
+
"normalized": false,
|
329 |
+
"rstrip": false,
|
330 |
+
"single_word": false,
|
331 |
+
"special": false
|
332 |
+
},
|
333 |
+
"41": {
|
334 |
+
"content": "<unused34>",
|
335 |
+
"lstrip": false,
|
336 |
+
"normalized": false,
|
337 |
+
"rstrip": false,
|
338 |
+
"single_word": false,
|
339 |
+
"special": false
|
340 |
+
},
|
341 |
+
"42": {
|
342 |
+
"content": "<unused35>",
|
343 |
+
"lstrip": false,
|
344 |
+
"normalized": false,
|
345 |
+
"rstrip": false,
|
346 |
+
"single_word": false,
|
347 |
+
"special": false
|
348 |
+
},
|
349 |
+
"43": {
|
350 |
+
"content": "<unused36>",
|
351 |
+
"lstrip": false,
|
352 |
+
"normalized": false,
|
353 |
+
"rstrip": false,
|
354 |
+
"single_word": false,
|
355 |
+
"special": false
|
356 |
+
},
|
357 |
+
"44": {
|
358 |
+
"content": "<unused37>",
|
359 |
+
"lstrip": false,
|
360 |
+
"normalized": false,
|
361 |
+
"rstrip": false,
|
362 |
+
"single_word": false,
|
363 |
+
"special": false
|
364 |
+
},
|
365 |
+
"45": {
|
366 |
+
"content": "<unused38>",
|
367 |
+
"lstrip": false,
|
368 |
+
"normalized": false,
|
369 |
+
"rstrip": false,
|
370 |
+
"single_word": false,
|
371 |
+
"special": false
|
372 |
+
},
|
373 |
+
"46": {
|
374 |
+
"content": "<unused39>",
|
375 |
+
"lstrip": false,
|
376 |
+
"normalized": false,
|
377 |
+
"rstrip": false,
|
378 |
+
"single_word": false,
|
379 |
+
"special": false
|
380 |
+
},
|
381 |
+
"47": {
|
382 |
+
"content": "<unused40>",
|
383 |
+
"lstrip": false,
|
384 |
+
"normalized": false,
|
385 |
+
"rstrip": false,
|
386 |
+
"single_word": false,
|
387 |
+
"special": false
|
388 |
+
},
|
389 |
+
"48": {
|
390 |
+
"content": "<unused41>",
|
391 |
+
"lstrip": false,
|
392 |
+
"normalized": false,
|
393 |
+
"rstrip": false,
|
394 |
+
"single_word": false,
|
395 |
+
"special": false
|
396 |
+
},
|
397 |
+
"49": {
|
398 |
+
"content": "<unused42>",
|
399 |
+
"lstrip": false,
|
400 |
+
"normalized": false,
|
401 |
+
"rstrip": false,
|
402 |
+
"single_word": false,
|
403 |
+
"special": false
|
404 |
+
},
|
405 |
+
"50": {
|
406 |
+
"content": "<unused43>",
|
407 |
+
"lstrip": false,
|
408 |
+
"normalized": false,
|
409 |
+
"rstrip": false,
|
410 |
+
"single_word": false,
|
411 |
+
"special": false
|
412 |
+
},
|
413 |
+
"51": {
|
414 |
+
"content": "<unused44>",
|
415 |
+
"lstrip": false,
|
416 |
+
"normalized": false,
|
417 |
+
"rstrip": false,
|
418 |
+
"single_word": false,
|
419 |
+
"special": false
|
420 |
+
},
|
421 |
+
"52": {
|
422 |
+
"content": "<unused45>",
|
423 |
+
"lstrip": false,
|
424 |
+
"normalized": false,
|
425 |
+
"rstrip": false,
|
426 |
+
"single_word": false,
|
427 |
+
"special": false
|
428 |
+
},
|
429 |
+
"53": {
|
430 |
+
"content": "<unused46>",
|
431 |
+
"lstrip": false,
|
432 |
+
"normalized": false,
|
433 |
+
"rstrip": false,
|
434 |
+
"single_word": false,
|
435 |
+
"special": false
|
436 |
+
},
|
437 |
+
"54": {
|
438 |
+
"content": "<unused47>",
|
439 |
+
"lstrip": false,
|
440 |
+
"normalized": false,
|
441 |
+
"rstrip": false,
|
442 |
+
"single_word": false,
|
443 |
+
"special": false
|
444 |
+
},
|
445 |
+
"55": {
|
446 |
+
"content": "<unused48>",
|
447 |
+
"lstrip": false,
|
448 |
+
"normalized": false,
|
449 |
+
"rstrip": false,
|
450 |
+
"single_word": false,
|
451 |
+
"special": false
|
452 |
+
},
|
453 |
+
"56": {
|
454 |
+
"content": "<unused49>",
|
455 |
+
"lstrip": false,
|
456 |
+
"normalized": false,
|
457 |
+
"rstrip": false,
|
458 |
+
"single_word": false,
|
459 |
+
"special": false
|
460 |
+
},
|
461 |
+
"57": {
|
462 |
+
"content": "<unused50>",
|
463 |
+
"lstrip": false,
|
464 |
+
"normalized": false,
|
465 |
+
"rstrip": false,
|
466 |
+
"single_word": false,
|
467 |
+
"special": false
|
468 |
+
},
|
469 |
+
"58": {
|
470 |
+
"content": "<unused51>",
|
471 |
+
"lstrip": false,
|
472 |
+
"normalized": false,
|
473 |
+
"rstrip": false,
|
474 |
+
"single_word": false,
|
475 |
+
"special": false
|
476 |
+
},
|
477 |
+
"59": {
|
478 |
+
"content": "<unused52>",
|
479 |
+
"lstrip": false,
|
480 |
+
"normalized": false,
|
481 |
+
"rstrip": false,
|
482 |
+
"single_word": false,
|
483 |
+
"special": false
|
484 |
+
},
|
485 |
+
"60": {
|
486 |
+
"content": "<unused53>",
|
487 |
+
"lstrip": false,
|
488 |
+
"normalized": false,
|
489 |
+
"rstrip": false,
|
490 |
+
"single_word": false,
|
491 |
+
"special": false
|
492 |
+
},
|
493 |
+
"61": {
|
494 |
+
"content": "<unused54>",
|
495 |
+
"lstrip": false,
|
496 |
+
"normalized": false,
|
497 |
+
"rstrip": false,
|
498 |
+
"single_word": false,
|
499 |
+
"special": false
|
500 |
+
},
|
501 |
+
"62": {
|
502 |
+
"content": "<unused55>",
|
503 |
+
"lstrip": false,
|
504 |
+
"normalized": false,
|
505 |
+
"rstrip": false,
|
506 |
+
"single_word": false,
|
507 |
+
"special": false
|
508 |
+
},
|
509 |
+
"63": {
|
510 |
+
"content": "<unused56>",
|
511 |
+
"lstrip": false,
|
512 |
+
"normalized": false,
|
513 |
+
"rstrip": false,
|
514 |
+
"single_word": false,
|
515 |
+
"special": false
|
516 |
+
},
|
517 |
+
"64": {
|
518 |
+
"content": "<unused57>",
|
519 |
+
"lstrip": false,
|
520 |
+
"normalized": false,
|
521 |
+
"rstrip": false,
|
522 |
+
"single_word": false,
|
523 |
+
"special": false
|
524 |
+
},
|
525 |
+
"65": {
|
526 |
+
"content": "<unused58>",
|
527 |
+
"lstrip": false,
|
528 |
+
"normalized": false,
|
529 |
+
"rstrip": false,
|
530 |
+
"single_word": false,
|
531 |
+
"special": false
|
532 |
+
},
|
533 |
+
"66": {
|
534 |
+
"content": "<unused59>",
|
535 |
+
"lstrip": false,
|
536 |
+
"normalized": false,
|
537 |
+
"rstrip": false,
|
538 |
+
"single_word": false,
|
539 |
+
"special": false
|
540 |
+
},
|
541 |
+
"67": {
|
542 |
+
"content": "<unused60>",
|
543 |
+
"lstrip": false,
|
544 |
+
"normalized": false,
|
545 |
+
"rstrip": false,
|
546 |
+
"single_word": false,
|
547 |
+
"special": false
|
548 |
+
},
|
549 |
+
"68": {
|
550 |
+
"content": "<unused61>",
|
551 |
+
"lstrip": false,
|
552 |
+
"normalized": false,
|
553 |
+
"rstrip": false,
|
554 |
+
"single_word": false,
|
555 |
+
"special": false
|
556 |
+
},
|
557 |
+
"69": {
|
558 |
+
"content": "<unused62>",
|
559 |
+
"lstrip": false,
|
560 |
+
"normalized": false,
|
561 |
+
"rstrip": false,
|
562 |
+
"single_word": false,
|
563 |
+
"special": false
|
564 |
+
},
|
565 |
+
"70": {
|
566 |
+
"content": "<unused63>",
|
567 |
+
"lstrip": false,
|
568 |
+
"normalized": false,
|
569 |
+
"rstrip": false,
|
570 |
+
"single_word": false,
|
571 |
+
"special": false
|
572 |
+
},
|
573 |
+
"71": {
|
574 |
+
"content": "<unused64>",
|
575 |
+
"lstrip": false,
|
576 |
+
"normalized": false,
|
577 |
+
"rstrip": false,
|
578 |
+
"single_word": false,
|
579 |
+
"special": false
|
580 |
+
},
|
581 |
+
"72": {
|
582 |
+
"content": "<unused65>",
|
583 |
+
"lstrip": false,
|
584 |
+
"normalized": false,
|
585 |
+
"rstrip": false,
|
586 |
+
"single_word": false,
|
587 |
+
"special": false
|
588 |
+
},
|
589 |
+
"73": {
|
590 |
+
"content": "<unused66>",
|
591 |
+
"lstrip": false,
|
592 |
+
"normalized": false,
|
593 |
+
"rstrip": false,
|
594 |
+
"single_word": false,
|
595 |
+
"special": false
|
596 |
+
},
|
597 |
+
"74": {
|
598 |
+
"content": "<unused67>",
|
599 |
+
"lstrip": false,
|
600 |
+
"normalized": false,
|
601 |
+
"rstrip": false,
|
602 |
+
"single_word": false,
|
603 |
+
"special": false
|
604 |
+
},
|
605 |
+
"75": {
|
606 |
+
"content": "<unused68>",
|
607 |
+
"lstrip": false,
|
608 |
+
"normalized": false,
|
609 |
+
"rstrip": false,
|
610 |
+
"single_word": false,
|
611 |
+
"special": false
|
612 |
+
},
|
613 |
+
"76": {
|
614 |
+
"content": "<unused69>",
|
615 |
+
"lstrip": false,
|
616 |
+
"normalized": false,
|
617 |
+
"rstrip": false,
|
618 |
+
"single_word": false,
|
619 |
+
"special": false
|
620 |
+
},
|
621 |
+
"77": {
|
622 |
+
"content": "<unused70>",
|
623 |
+
"lstrip": false,
|
624 |
+
"normalized": false,
|
625 |
+
"rstrip": false,
|
626 |
+
"single_word": false,
|
627 |
+
"special": false
|
628 |
+
},
|
629 |
+
"78": {
|
630 |
+
"content": "<unused71>",
|
631 |
+
"lstrip": false,
|
632 |
+
"normalized": false,
|
633 |
+
"rstrip": false,
|
634 |
+
"single_word": false,
|
635 |
+
"special": false
|
636 |
+
},
|
637 |
+
"79": {
|
638 |
+
"content": "<unused72>",
|
639 |
+
"lstrip": false,
|
640 |
+
"normalized": false,
|
641 |
+
"rstrip": false,
|
642 |
+
"single_word": false,
|
643 |
+
"special": false
|
644 |
+
},
|
645 |
+
"80": {
|
646 |
+
"content": "<unused73>",
|
647 |
+
"lstrip": false,
|
648 |
+
"normalized": false,
|
649 |
+
"rstrip": false,
|
650 |
+
"single_word": false,
|
651 |
+
"special": false
|
652 |
+
},
|
653 |
+
"81": {
|
654 |
+
"content": "<unused74>",
|
655 |
+
"lstrip": false,
|
656 |
+
"normalized": false,
|
657 |
+
"rstrip": false,
|
658 |
+
"single_word": false,
|
659 |
+
"special": false
|
660 |
+
},
|
661 |
+
"82": {
|
662 |
+
"content": "<unused75>",
|
663 |
+
"lstrip": false,
|
664 |
+
"normalized": false,
|
665 |
+
"rstrip": false,
|
666 |
+
"single_word": false,
|
667 |
+
"special": false
|
668 |
+
},
|
669 |
+
"83": {
|
670 |
+
"content": "<unused76>",
|
671 |
+
"lstrip": false,
|
672 |
+
"normalized": false,
|
673 |
+
"rstrip": false,
|
674 |
+
"single_word": false,
|
675 |
+
"special": false
|
676 |
+
},
|
677 |
+
"84": {
|
678 |
+
"content": "<unused77>",
|
679 |
+
"lstrip": false,
|
680 |
+
"normalized": false,
|
681 |
+
"rstrip": false,
|
682 |
+
"single_word": false,
|
683 |
+
"special": false
|
684 |
+
},
|
685 |
+
"85": {
|
686 |
+
"content": "<unused78>",
|
687 |
+
"lstrip": false,
|
688 |
+
"normalized": false,
|
689 |
+
"rstrip": false,
|
690 |
+
"single_word": false,
|
691 |
+
"special": false
|
692 |
+
},
|
693 |
+
"86": {
|
694 |
+
"content": "<unused79>",
|
695 |
+
"lstrip": false,
|
696 |
+
"normalized": false,
|
697 |
+
"rstrip": false,
|
698 |
+
"single_word": false,
|
699 |
+
"special": false
|
700 |
+
},
|
701 |
+
"87": {
|
702 |
+
"content": "<unused80>",
|
703 |
+
"lstrip": false,
|
704 |
+
"normalized": false,
|
705 |
+
"rstrip": false,
|
706 |
+
"single_word": false,
|
707 |
+
"special": false
|
708 |
+
},
|
709 |
+
"88": {
|
710 |
+
"content": "<unused81>",
|
711 |
+
"lstrip": false,
|
712 |
+
"normalized": false,
|
713 |
+
"rstrip": false,
|
714 |
+
"single_word": false,
|
715 |
+
"special": false
|
716 |
+
},
|
717 |
+
"89": {
|
718 |
+
"content": "<unused82>",
|
719 |
+
"lstrip": false,
|
720 |
+
"normalized": false,
|
721 |
+
"rstrip": false,
|
722 |
+
"single_word": false,
|
723 |
+
"special": false
|
724 |
+
},
|
725 |
+
"90": {
|
726 |
+
"content": "<unused83>",
|
727 |
+
"lstrip": false,
|
728 |
+
"normalized": false,
|
729 |
+
"rstrip": false,
|
730 |
+
"single_word": false,
|
731 |
+
"special": false
|
732 |
+
},
|
733 |
+
"91": {
|
734 |
+
"content": "<unused84>",
|
735 |
+
"lstrip": false,
|
736 |
+
"normalized": false,
|
737 |
+
"rstrip": false,
|
738 |
+
"single_word": false,
|
739 |
+
"special": false
|
740 |
+
},
|
741 |
+
"92": {
|
742 |
+
"content": "<unused85>",
|
743 |
+
"lstrip": false,
|
744 |
+
"normalized": false,
|
745 |
+
"rstrip": false,
|
746 |
+
"single_word": false,
|
747 |
+
"special": false
|
748 |
+
},
|
749 |
+
"93": {
|
750 |
+
"content": "<unused86>",
|
751 |
+
"lstrip": false,
|
752 |
+
"normalized": false,
|
753 |
+
"rstrip": false,
|
754 |
+
"single_word": false,
|
755 |
+
"special": false
|
756 |
+
},
|
757 |
+
"94": {
|
758 |
+
"content": "<unused87>",
|
759 |
+
"lstrip": false,
|
760 |
+
"normalized": false,
|
761 |
+
"rstrip": false,
|
762 |
+
"single_word": false,
|
763 |
+
"special": false
|
764 |
+
},
|
765 |
+
"95": {
|
766 |
+
"content": "<unused88>",
|
767 |
+
"lstrip": false,
|
768 |
+
"normalized": false,
|
769 |
+
"rstrip": false,
|
770 |
+
"single_word": false,
|
771 |
+
"special": false
|
772 |
+
},
|
773 |
+
"96": {
|
774 |
+
"content": "<unused89>",
|
775 |
+
"lstrip": false,
|
776 |
+
"normalized": false,
|
777 |
+
"rstrip": false,
|
778 |
+
"single_word": false,
|
779 |
+
"special": false
|
780 |
+
},
|
781 |
+
"97": {
|
782 |
+
"content": "<unused90>",
|
783 |
+
"lstrip": false,
|
784 |
+
"normalized": false,
|
785 |
+
"rstrip": false,
|
786 |
+
"single_word": false,
|
787 |
+
"special": false
|
788 |
+
},
|
789 |
+
"98": {
|
790 |
+
"content": "<unused91>",
|
791 |
+
"lstrip": false,
|
792 |
+
"normalized": false,
|
793 |
+
"rstrip": false,
|
794 |
+
"single_word": false,
|
795 |
+
"special": false
|
796 |
+
},
|
797 |
+
"99": {
|
798 |
+
"content": "<unused92>",
|
799 |
+
"lstrip": false,
|
800 |
+
"normalized": false,
|
801 |
+
"rstrip": false,
|
802 |
+
"single_word": false,
|
803 |
+
"special": false
|
804 |
+
},
|
805 |
+
"100": {
|
806 |
+
"content": "<unused93>",
|
807 |
+
"lstrip": false,
|
808 |
+
"normalized": false,
|
809 |
+
"rstrip": false,
|
810 |
+
"single_word": false,
|
811 |
+
"special": false
|
812 |
+
},
|
813 |
+
"101": {
|
814 |
+
"content": "<unused94>",
|
815 |
+
"lstrip": false,
|
816 |
+
"normalized": false,
|
817 |
+
"rstrip": false,
|
818 |
+
"single_word": false,
|
819 |
+
"special": false
|
820 |
+
},
|
821 |
+
"102": {
|
822 |
+
"content": "<unused95>",
|
823 |
+
"lstrip": false,
|
824 |
+
"normalized": false,
|
825 |
+
"rstrip": false,
|
826 |
+
"single_word": false,
|
827 |
+
"special": false
|
828 |
+
},
|
829 |
+
"103": {
|
830 |
+
"content": "<unused96>",
|
831 |
+
"lstrip": false,
|
832 |
+
"normalized": false,
|
833 |
+
"rstrip": false,
|
834 |
+
"single_word": false,
|
835 |
+
"special": false
|
836 |
+
},
|
837 |
+
"104": {
|
838 |
+
"content": "<unused97>",
|
839 |
+
"lstrip": false,
|
840 |
+
"normalized": false,
|
841 |
+
"rstrip": false,
|
842 |
+
"single_word": false,
|
843 |
+
"special": false
|
844 |
+
},
|
845 |
+
"105": {
|
846 |
+
"content": "<unused98>",
|
847 |
+
"lstrip": false,
|
848 |
+
"normalized": false,
|
849 |
+
"rstrip": false,
|
850 |
+
"single_word": false,
|
851 |
+
"special": false
|
852 |
+
},
|
853 |
+
"106": {
|
854 |
+
"content": "<start_of_turn>",
|
855 |
+
"lstrip": false,
|
856 |
+
"normalized": false,
|
857 |
+
"rstrip": false,
|
858 |
+
"single_word": false,
|
859 |
+
"special": true
|
860 |
+
},
|
861 |
+
"107": {
|
862 |
+
"content": "<end_of_turn>",
|
863 |
+
"lstrip": false,
|
864 |
+
"normalized": false,
|
865 |
+
"rstrip": false,
|
866 |
+
"single_word": false,
|
867 |
+
"special": true
|
868 |
+
},
|
869 |
+
"108": {
|
870 |
+
"content": "\n",
|
871 |
+
"lstrip": false,
|
872 |
+
"normalized": false,
|
873 |
+
"rstrip": false,
|
874 |
+
"single_word": false,
|
875 |
+
"special": false
|
876 |
+
},
|
877 |
+
"109": {
|
878 |
+
"content": "\n\n",
|
879 |
+
"lstrip": false,
|
880 |
+
"normalized": false,
|
881 |
+
"rstrip": false,
|
882 |
+
"single_word": false,
|
883 |
+
"special": false
|
884 |
+
},
|
885 |
+
"110": {
|
886 |
+
"content": "\n\n\n",
|
887 |
+
"lstrip": false,
|
888 |
+
"normalized": false,
|
889 |
+
"rstrip": false,
|
890 |
+
"single_word": false,
|
891 |
+
"special": false
|
892 |
+
},
|
893 |
+
"111": {
|
894 |
+
"content": "\n\n\n\n",
|
895 |
+
"lstrip": false,
|
896 |
+
"normalized": false,
|
897 |
+
"rstrip": false,
|
898 |
+
"single_word": false,
|
899 |
+
"special": false
|
900 |
+
},
|
901 |
+
"112": {
|
902 |
+
"content": "\n\n\n\n\n",
|
903 |
+
"lstrip": false,
|
904 |
+
"normalized": false,
|
905 |
+
"rstrip": false,
|
906 |
+
"single_word": false,
|
907 |
+
"special": false
|
908 |
+
},
|
909 |
+
"113": {
|
910 |
+
"content": "\n\n\n\n\n\n",
|
911 |
+
"lstrip": false,
|
912 |
+
"normalized": false,
|
913 |
+
"rstrip": false,
|
914 |
+
"single_word": false,
|
915 |
+
"special": false
|
916 |
+
},
|
917 |
+
"114": {
|
918 |
+
"content": "\n\n\n\n\n\n\n",
|
919 |
+
"lstrip": false,
|
920 |
+
"normalized": false,
|
921 |
+
"rstrip": false,
|
922 |
+
"single_word": false,
|
923 |
+
"special": false
|
924 |
+
},
|
925 |
+
"115": {
|
926 |
+
"content": "\n\n\n\n\n\n\n\n",
|
927 |
+
"lstrip": false,
|
928 |
+
"normalized": false,
|
929 |
+
"rstrip": false,
|
930 |
+
"single_word": false,
|
931 |
+
"special": false
|
932 |
+
},
|
933 |
+
"116": {
|
934 |
+
"content": "\n\n\n\n\n\n\n\n\n",
|
935 |
+
"lstrip": false,
|
936 |
+
"normalized": false,
|
937 |
+
"rstrip": false,
|
938 |
+
"single_word": false,
|
939 |
+
"special": false
|
940 |
+
},
|
941 |
+
"117": {
|
942 |
+
"content": "\n\n\n\n\n\n\n\n\n\n",
|
943 |
+
"lstrip": false,
|
944 |
+
"normalized": false,
|
945 |
+
"rstrip": false,
|
946 |
+
"single_word": false,
|
947 |
+
"special": false
|
948 |
+
},
|
949 |
+
"118": {
|
950 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n",
|
951 |
+
"lstrip": false,
|
952 |
+
"normalized": false,
|
953 |
+
"rstrip": false,
|
954 |
+
"single_word": false,
|
955 |
+
"special": false
|
956 |
+
},
|
957 |
+
"119": {
|
958 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n",
|
959 |
+
"lstrip": false,
|
960 |
+
"normalized": false,
|
961 |
+
"rstrip": false,
|
962 |
+
"single_word": false,
|
963 |
+
"special": false
|
964 |
+
},
|
965 |
+
"120": {
|
966 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
967 |
+
"lstrip": false,
|
968 |
+
"normalized": false,
|
969 |
+
"rstrip": false,
|
970 |
+
"single_word": false,
|
971 |
+
"special": false
|
972 |
+
},
|
973 |
+
"121": {
|
974 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
975 |
+
"lstrip": false,
|
976 |
+
"normalized": false,
|
977 |
+
"rstrip": false,
|
978 |
+
"single_word": false,
|
979 |
+
"special": false
|
980 |
+
},
|
981 |
+
"122": {
|
982 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
983 |
+
"lstrip": false,
|
984 |
+
"normalized": false,
|
985 |
+
"rstrip": false,
|
986 |
+
"single_word": false,
|
987 |
+
"special": false
|
988 |
+
},
|
989 |
+
"123": {
|
990 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
991 |
+
"lstrip": false,
|
992 |
+
"normalized": false,
|
993 |
+
"rstrip": false,
|
994 |
+
"single_word": false,
|
995 |
+
"special": false
|
996 |
+
},
|
997 |
+
"124": {
|
998 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
999 |
+
"lstrip": false,
|
1000 |
+
"normalized": false,
|
1001 |
+
"rstrip": false,
|
1002 |
+
"single_word": false,
|
1003 |
+
"special": false
|
1004 |
+
},
|
1005 |
+
"125": {
|
1006 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1007 |
+
"lstrip": false,
|
1008 |
+
"normalized": false,
|
1009 |
+
"rstrip": false,
|
1010 |
+
"single_word": false,
|
1011 |
+
"special": false
|
1012 |
+
},
|
1013 |
+
"126": {
|
1014 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1015 |
+
"lstrip": false,
|
1016 |
+
"normalized": false,
|
1017 |
+
"rstrip": false,
|
1018 |
+
"single_word": false,
|
1019 |
+
"special": false
|
1020 |
+
},
|
1021 |
+
"127": {
|
1022 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1023 |
+
"lstrip": false,
|
1024 |
+
"normalized": false,
|
1025 |
+
"rstrip": false,
|
1026 |
+
"single_word": false,
|
1027 |
+
"special": false
|
1028 |
+
},
|
1029 |
+
"128": {
|
1030 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1031 |
+
"lstrip": false,
|
1032 |
+
"normalized": false,
|
1033 |
+
"rstrip": false,
|
1034 |
+
"single_word": false,
|
1035 |
+
"special": false
|
1036 |
+
},
|
1037 |
+
"129": {
|
1038 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1039 |
+
"lstrip": false,
|
1040 |
+
"normalized": false,
|
1041 |
+
"rstrip": false,
|
1042 |
+
"single_word": false,
|
1043 |
+
"special": false
|
1044 |
+
},
|
1045 |
+
"130": {
|
1046 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1047 |
+
"lstrip": false,
|
1048 |
+
"normalized": false,
|
1049 |
+
"rstrip": false,
|
1050 |
+
"single_word": false,
|
1051 |
+
"special": false
|
1052 |
+
},
|
1053 |
+
"131": {
|
1054 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1055 |
+
"lstrip": false,
|
1056 |
+
"normalized": false,
|
1057 |
+
"rstrip": false,
|
1058 |
+
"single_word": false,
|
1059 |
+
"special": false
|
1060 |
+
},
|
1061 |
+
"132": {
|
1062 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1063 |
+
"lstrip": false,
|
1064 |
+
"normalized": false,
|
1065 |
+
"rstrip": false,
|
1066 |
+
"single_word": false,
|
1067 |
+
"special": false
|
1068 |
+
},
|
1069 |
+
"133": {
|
1070 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1071 |
+
"lstrip": false,
|
1072 |
+
"normalized": false,
|
1073 |
+
"rstrip": false,
|
1074 |
+
"single_word": false,
|
1075 |
+
"special": false
|
1076 |
+
},
|
1077 |
+
"134": {
|
1078 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1079 |
+
"lstrip": false,
|
1080 |
+
"normalized": false,
|
1081 |
+
"rstrip": false,
|
1082 |
+
"single_word": false,
|
1083 |
+
"special": false
|
1084 |
+
},
|
1085 |
+
"135": {
|
1086 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1087 |
+
"lstrip": false,
|
1088 |
+
"normalized": false,
|
1089 |
+
"rstrip": false,
|
1090 |
+
"single_word": false,
|
1091 |
+
"special": false
|
1092 |
+
},
|
1093 |
+
"136": {
|
1094 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1095 |
+
"lstrip": false,
|
1096 |
+
"normalized": false,
|
1097 |
+
"rstrip": false,
|
1098 |
+
"single_word": false,
|
1099 |
+
"special": false
|
1100 |
+
},
|
1101 |
+
"137": {
|
1102 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1103 |
+
"lstrip": false,
|
1104 |
+
"normalized": false,
|
1105 |
+
"rstrip": false,
|
1106 |
+
"single_word": false,
|
1107 |
+
"special": false
|
1108 |
+
},
|
1109 |
+
"138": {
|
1110 |
+
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
|
1111 |
+
"lstrip": false,
|
1112 |
+
"normalized": false,
|
1113 |
+
"rstrip": false,
|
1114 |
+
"single_word": false,
|
1115 |
+
"special": false
|
1116 |
+
},
|
1117 |
+
"139": {
|
1118 |
+
"content": "▁▁",
|
1119 |
+
"lstrip": false,
|
1120 |
+
"normalized": false,
|
1121 |
+
"rstrip": false,
|
1122 |
+
"single_word": false,
|
1123 |
+
"special": false
|
1124 |
+
},
|
1125 |
+
"140": {
|
1126 |
+
"content": "▁▁▁",
|
1127 |
+
"lstrip": false,
|
1128 |
+
"normalized": false,
|
1129 |
+
"rstrip": false,
|
1130 |
+
"single_word": false,
|
1131 |
+
"special": false
|
1132 |
+
},
|
1133 |
+
"141": {
|
1134 |
+
"content": "▁▁▁▁",
|
1135 |
+
"lstrip": false,
|
1136 |
+
"normalized": false,
|
1137 |
+
"rstrip": false,
|
1138 |
+
"single_word": false,
|
1139 |
+
"special": false
|
1140 |
+
},
|
1141 |
+
"142": {
|
1142 |
+
"content": "▁▁▁▁▁",
|
1143 |
+
"lstrip": false,
|
1144 |
+
"normalized": false,
|
1145 |
+
"rstrip": false,
|
1146 |
+
"single_word": false,
|
1147 |
+
"special": false
|
1148 |
+
},
|
1149 |
+
"143": {
|
1150 |
+
"content": "▁▁▁▁▁▁",
|
1151 |
+
"lstrip": false,
|
1152 |
+
"normalized": false,
|
1153 |
+
"rstrip": false,
|
1154 |
+
"single_word": false,
|
1155 |
+
"special": false
|
1156 |
+
},
|
1157 |
+
"144": {
|
1158 |
+
"content": "▁▁▁▁▁▁▁",
|
1159 |
+
"lstrip": false,
|
1160 |
+
"normalized": false,
|
1161 |
+
"rstrip": false,
|
1162 |
+
"single_word": false,
|
1163 |
+
"special": false
|
1164 |
+
},
|
1165 |
+
"145": {
|
1166 |
+
"content": "▁▁▁▁▁▁▁▁",
|
1167 |
+
"lstrip": false,
|
1168 |
+
"normalized": false,
|
1169 |
+
"rstrip": false,
|
1170 |
+
"single_word": false,
|
1171 |
+
"special": false
|
1172 |
+
},
|
1173 |
+
"146": {
|
1174 |
+
"content": "▁▁▁▁▁▁▁▁▁",
|
1175 |
+
"lstrip": false,
|
1176 |
+
"normalized": false,
|
1177 |
+
"rstrip": false,
|
1178 |
+
"single_word": false,
|
1179 |
+
"special": false
|
1180 |
+
},
|
1181 |
+
"147": {
|
1182 |
+
"content": "▁▁▁▁▁▁▁▁▁▁",
|
1183 |
+
"lstrip": false,
|
1184 |
+
"normalized": false,
|
1185 |
+
"rstrip": false,
|
1186 |
+
"single_word": false,
|
1187 |
+
"special": false
|
1188 |
+
},
|
1189 |
+
"148": {
|
1190 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁",
|
1191 |
+
"lstrip": false,
|
1192 |
+
"normalized": false,
|
1193 |
+
"rstrip": false,
|
1194 |
+
"single_word": false,
|
1195 |
+
"special": false
|
1196 |
+
},
|
1197 |
+
"149": {
|
1198 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁",
|
1199 |
+
"lstrip": false,
|
1200 |
+
"normalized": false,
|
1201 |
+
"rstrip": false,
|
1202 |
+
"single_word": false,
|
1203 |
+
"special": false
|
1204 |
+
},
|
1205 |
+
"150": {
|
1206 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1207 |
+
"lstrip": false,
|
1208 |
+
"normalized": false,
|
1209 |
+
"rstrip": false,
|
1210 |
+
"single_word": false,
|
1211 |
+
"special": false
|
1212 |
+
},
|
1213 |
+
"151": {
|
1214 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1215 |
+
"lstrip": false,
|
1216 |
+
"normalized": false,
|
1217 |
+
"rstrip": false,
|
1218 |
+
"single_word": false,
|
1219 |
+
"special": false
|
1220 |
+
},
|
1221 |
+
"152": {
|
1222 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1223 |
+
"lstrip": false,
|
1224 |
+
"normalized": false,
|
1225 |
+
"rstrip": false,
|
1226 |
+
"single_word": false,
|
1227 |
+
"special": false
|
1228 |
+
},
|
1229 |
+
"153": {
|
1230 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1231 |
+
"lstrip": false,
|
1232 |
+
"normalized": false,
|
1233 |
+
"rstrip": false,
|
1234 |
+
"single_word": false,
|
1235 |
+
"special": false
|
1236 |
+
},
|
1237 |
+
"154": {
|
1238 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1239 |
+
"lstrip": false,
|
1240 |
+
"normalized": false,
|
1241 |
+
"rstrip": false,
|
1242 |
+
"single_word": false,
|
1243 |
+
"special": false
|
1244 |
+
},
|
1245 |
+
"155": {
|
1246 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1247 |
+
"lstrip": false,
|
1248 |
+
"normalized": false,
|
1249 |
+
"rstrip": false,
|
1250 |
+
"single_word": false,
|
1251 |
+
"special": false
|
1252 |
+
},
|
1253 |
+
"156": {
|
1254 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1255 |
+
"lstrip": false,
|
1256 |
+
"normalized": false,
|
1257 |
+
"rstrip": false,
|
1258 |
+
"single_word": false,
|
1259 |
+
"special": false
|
1260 |
+
},
|
1261 |
+
"157": {
|
1262 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1263 |
+
"lstrip": false,
|
1264 |
+
"normalized": false,
|
1265 |
+
"rstrip": false,
|
1266 |
+
"single_word": false,
|
1267 |
+
"special": false
|
1268 |
+
},
|
1269 |
+
"158": {
|
1270 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1271 |
+
"lstrip": false,
|
1272 |
+
"normalized": false,
|
1273 |
+
"rstrip": false,
|
1274 |
+
"single_word": false,
|
1275 |
+
"special": false
|
1276 |
+
},
|
1277 |
+
"159": {
|
1278 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1279 |
+
"lstrip": false,
|
1280 |
+
"normalized": false,
|
1281 |
+
"rstrip": false,
|
1282 |
+
"single_word": false,
|
1283 |
+
"special": false
|
1284 |
+
},
|
1285 |
+
"160": {
|
1286 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1287 |
+
"lstrip": false,
|
1288 |
+
"normalized": false,
|
1289 |
+
"rstrip": false,
|
1290 |
+
"single_word": false,
|
1291 |
+
"special": false
|
1292 |
+
},
|
1293 |
+
"161": {
|
1294 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1295 |
+
"lstrip": false,
|
1296 |
+
"normalized": false,
|
1297 |
+
"rstrip": false,
|
1298 |
+
"single_word": false,
|
1299 |
+
"special": false
|
1300 |
+
},
|
1301 |
+
"162": {
|
1302 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1303 |
+
"lstrip": false,
|
1304 |
+
"normalized": false,
|
1305 |
+
"rstrip": false,
|
1306 |
+
"single_word": false,
|
1307 |
+
"special": false
|
1308 |
+
},
|
1309 |
+
"163": {
|
1310 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1311 |
+
"lstrip": false,
|
1312 |
+
"normalized": false,
|
1313 |
+
"rstrip": false,
|
1314 |
+
"single_word": false,
|
1315 |
+
"special": false
|
1316 |
+
},
|
1317 |
+
"164": {
|
1318 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1319 |
+
"lstrip": false,
|
1320 |
+
"normalized": false,
|
1321 |
+
"rstrip": false,
|
1322 |
+
"single_word": false,
|
1323 |
+
"special": false
|
1324 |
+
},
|
1325 |
+
"165": {
|
1326 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1327 |
+
"lstrip": false,
|
1328 |
+
"normalized": false,
|
1329 |
+
"rstrip": false,
|
1330 |
+
"single_word": false,
|
1331 |
+
"special": false
|
1332 |
+
},
|
1333 |
+
"166": {
|
1334 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1335 |
+
"lstrip": false,
|
1336 |
+
"normalized": false,
|
1337 |
+
"rstrip": false,
|
1338 |
+
"single_word": false,
|
1339 |
+
"special": false
|
1340 |
+
},
|
1341 |
+
"167": {
|
1342 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1343 |
+
"lstrip": false,
|
1344 |
+
"normalized": false,
|
1345 |
+
"rstrip": false,
|
1346 |
+
"single_word": false,
|
1347 |
+
"special": false
|
1348 |
+
},
|
1349 |
+
"168": {
|
1350 |
+
"content": "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
|
1351 |
+
"lstrip": false,
|
1352 |
+
"normalized": false,
|
1353 |
+
"rstrip": false,
|
1354 |
+
"single_word": false,
|
1355 |
+
"special": false
|
1356 |
+
},
|
1357 |
+
"169": {
|
1358 |
+
"content": "<table>",
|
1359 |
+
"lstrip": false,
|
1360 |
+
"normalized": false,
|
1361 |
+
"rstrip": false,
|
1362 |
+
"single_word": false,
|
1363 |
+
"special": false
|
1364 |
+
},
|
1365 |
+
"170": {
|
1366 |
+
"content": "<caption>",
|
1367 |
+
"lstrip": false,
|
1368 |
+
"normalized": false,
|
1369 |
+
"rstrip": false,
|
1370 |
+
"single_word": false,
|
1371 |
+
"special": false
|
1372 |
+
},
|
1373 |
+
"171": {
|
1374 |
+
"content": "<thead>",
|
1375 |
+
"lstrip": false,
|
1376 |
+
"normalized": false,
|
1377 |
+
"rstrip": false,
|
1378 |
+
"single_word": false,
|
1379 |
+
"special": false
|
1380 |
+
},
|
1381 |
+
"172": {
|
1382 |
+
"content": "<tbody>",
|
1383 |
+
"lstrip": false,
|
1384 |
+
"normalized": false,
|
1385 |
+
"rstrip": false,
|
1386 |
+
"single_word": false,
|
1387 |
+
"special": false
|
1388 |
+
},
|
1389 |
+
"173": {
|
1390 |
+
"content": "<tfoot>",
|
1391 |
+
"lstrip": false,
|
1392 |
+
"normalized": false,
|
1393 |
+
"rstrip": false,
|
1394 |
+
"single_word": false,
|
1395 |
+
"special": false
|
1396 |
+
},
|
1397 |
+
"174": {
|
1398 |
+
"content": "<tr>",
|
1399 |
+
"lstrip": false,
|
1400 |
+
"normalized": false,
|
1401 |
+
"rstrip": false,
|
1402 |
+
"single_word": false,
|
1403 |
+
"special": false
|
1404 |
+
},
|
1405 |
+
"175": {
|
1406 |
+
"content": "<th>",
|
1407 |
+
"lstrip": false,
|
1408 |
+
"normalized": false,
|
1409 |
+
"rstrip": false,
|
1410 |
+
"single_word": false,
|
1411 |
+
"special": false
|
1412 |
+
},
|
1413 |
+
"176": {
|
1414 |
+
"content": "<td>",
|
1415 |
+
"lstrip": false,
|
1416 |
+
"normalized": false,
|
1417 |
+
"rstrip": false,
|
1418 |
+
"single_word": false,
|
1419 |
+
"special": false
|
1420 |
+
},
|
1421 |
+
"177": {
|
1422 |
+
"content": "</table>",
|
1423 |
+
"lstrip": false,
|
1424 |
+
"normalized": false,
|
1425 |
+
"rstrip": false,
|
1426 |
+
"single_word": false,
|
1427 |
+
"special": false
|
1428 |
+
},
|
1429 |
+
"178": {
|
1430 |
+
"content": "</caption>",
|
1431 |
+
"lstrip": false,
|
1432 |
+
"normalized": false,
|
1433 |
+
"rstrip": false,
|
1434 |
+
"single_word": false,
|
1435 |
+
"special": false
|
1436 |
+
},
|
1437 |
+
"179": {
|
1438 |
+
"content": "</thead>",
|
1439 |
+
"lstrip": false,
|
1440 |
+
"normalized": false,
|
1441 |
+
"rstrip": false,
|
1442 |
+
"single_word": false,
|
1443 |
+
"special": false
|
1444 |
+
},
|
1445 |
+
"180": {
|
1446 |
+
"content": "</tbody>",
|
1447 |
+
"lstrip": false,
|
1448 |
+
"normalized": false,
|
1449 |
+
"rstrip": false,
|
1450 |
+
"single_word": false,
|
1451 |
+
"special": false
|
1452 |
+
},
|
1453 |
+
"181": {
|
1454 |
+
"content": "</tfoot>",
|
1455 |
+
"lstrip": false,
|
1456 |
+
"normalized": false,
|
1457 |
+
"rstrip": false,
|
1458 |
+
"single_word": false,
|
1459 |
+
"special": false
|
1460 |
+
},
|
1461 |
+
"182": {
|
1462 |
+
"content": "</tr>",
|
1463 |
+
"lstrip": false,
|
1464 |
+
"normalized": false,
|
1465 |
+
"rstrip": false,
|
1466 |
+
"single_word": false,
|
1467 |
+
"special": false
|
1468 |
+
},
|
1469 |
+
"183": {
|
1470 |
+
"content": "</th>",
|
1471 |
+
"lstrip": false,
|
1472 |
+
"normalized": false,
|
1473 |
+
"rstrip": false,
|
1474 |
+
"single_word": false,
|
1475 |
+
"special": false
|
1476 |
+
},
|
1477 |
+
"184": {
|
1478 |
+
"content": "</td>",
|
1479 |
+
"lstrip": false,
|
1480 |
+
"normalized": false,
|
1481 |
+
"rstrip": false,
|
1482 |
+
"single_word": false,
|
1483 |
+
"special": false
|
1484 |
+
},
|
1485 |
+
"185": {
|
1486 |
+
"content": "<h1>",
|
1487 |
+
"lstrip": false,
|
1488 |
+
"normalized": false,
|
1489 |
+
"rstrip": false,
|
1490 |
+
"single_word": false,
|
1491 |
+
"special": false
|
1492 |
+
},
|
1493 |
+
"186": {
|
1494 |
+
"content": "<h2>",
|
1495 |
+
"lstrip": false,
|
1496 |
+
"normalized": false,
|
1497 |
+
"rstrip": false,
|
1498 |
+
"single_word": false,
|
1499 |
+
"special": false
|
1500 |
+
},
|
1501 |
+
"187": {
|
1502 |
+
"content": "<h3>",
|
1503 |
+
"lstrip": false,
|
1504 |
+
"normalized": false,
|
1505 |
+
"rstrip": false,
|
1506 |
+
"single_word": false,
|
1507 |
+
"special": false
|
1508 |
+
},
|
1509 |
+
"188": {
|
1510 |
+
"content": "<h4>",
|
1511 |
+
"lstrip": false,
|
1512 |
+
"normalized": false,
|
1513 |
+
"rstrip": false,
|
1514 |
+
"single_word": false,
|
1515 |
+
"special": false
|
1516 |
+
},
|
1517 |
+
"189": {
|
1518 |
+
"content": "<h5>",
|
1519 |
+
"lstrip": false,
|
1520 |
+
"normalized": false,
|
1521 |
+
"rstrip": false,
|
1522 |
+
"single_word": false,
|
1523 |
+
"special": false
|
1524 |
+
},
|
1525 |
+
"190": {
|
1526 |
+
"content": "<h6>",
|
1527 |
+
"lstrip": false,
|
1528 |
+
"normalized": false,
|
1529 |
+
"rstrip": false,
|
1530 |
+
"single_word": false,
|
1531 |
+
"special": false
|
1532 |
+
},
|
1533 |
+
"191": {
|
1534 |
+
"content": "<blockquote>",
|
1535 |
+
"lstrip": false,
|
1536 |
+
"normalized": false,
|
1537 |
+
"rstrip": false,
|
1538 |
+
"single_word": false,
|
1539 |
+
"special": false
|
1540 |
+
},
|
1541 |
+
"192": {
|
1542 |
+
"content": "</h1>",
|
1543 |
+
"lstrip": false,
|
1544 |
+
"normalized": false,
|
1545 |
+
"rstrip": false,
|
1546 |
+
"single_word": false,
|
1547 |
+
"special": false
|
1548 |
+
},
|
1549 |
+
"193": {
|
1550 |
+
"content": "</h2>",
|
1551 |
+
"lstrip": false,
|
1552 |
+
"normalized": false,
|
1553 |
+
"rstrip": false,
|
1554 |
+
"single_word": false,
|
1555 |
+
"special": false
|
1556 |
+
},
|
1557 |
+
"194": {
|
1558 |
+
"content": "</h3>",
|
1559 |
+
"lstrip": false,
|
1560 |
+
"normalized": false,
|
1561 |
+
"rstrip": false,
|
1562 |
+
"single_word": false,
|
1563 |
+
"special": false
|
1564 |
+
},
|
1565 |
+
"195": {
|
1566 |
+
"content": "</h4>",
|
1567 |
+
"lstrip": false,
|
1568 |
+
"normalized": false,
|
1569 |
+
"rstrip": false,
|
1570 |
+
"single_word": false,
|
1571 |
+
"special": false
|
1572 |
+
},
|
1573 |
+
"196": {
|
1574 |
+
"content": "</h5>",
|
1575 |
+
"lstrip": false,
|
1576 |
+
"normalized": false,
|
1577 |
+
"rstrip": false,
|
1578 |
+
"single_word": false,
|
1579 |
+
"special": false
|
1580 |
+
},
|
1581 |
+
"197": {
|
1582 |
+
"content": "</h6>",
|
1583 |
+
"lstrip": false,
|
1584 |
+
"normalized": false,
|
1585 |
+
"rstrip": false,
|
1586 |
+
"single_word": false,
|
1587 |
+
"special": false
|
1588 |
+
},
|
1589 |
+
"198": {
|
1590 |
+
"content": "</blockquote>",
|
1591 |
+
"lstrip": false,
|
1592 |
+
"normalized": false,
|
1593 |
+
"rstrip": false,
|
1594 |
+
"single_word": false,
|
1595 |
+
"special": false
|
1596 |
+
},
|
1597 |
+
"199": {
|
1598 |
+
"content": "<strong>",
|
1599 |
+
"lstrip": false,
|
1600 |
+
"normalized": false,
|
1601 |
+
"rstrip": false,
|
1602 |
+
"single_word": false,
|
1603 |
+
"special": false
|
1604 |
+
},
|
1605 |
+
"200": {
|
1606 |
+
"content": "<em>",
|
1607 |
+
"lstrip": false,
|
1608 |
+
"normalized": false,
|
1609 |
+
"rstrip": false,
|
1610 |
+
"single_word": false,
|
1611 |
+
"special": false
|
1612 |
+
},
|
1613 |
+
"201": {
|
1614 |
+
"content": "<b>",
|
1615 |
+
"lstrip": false,
|
1616 |
+
"normalized": false,
|
1617 |
+
"rstrip": false,
|
1618 |
+
"single_word": false,
|
1619 |
+
"special": false
|
1620 |
+
},
|
1621 |
+
"202": {
|
1622 |
+
"content": "<i>",
|
1623 |
+
"lstrip": false,
|
1624 |
+
"normalized": false,
|
1625 |
+
"rstrip": false,
|
1626 |
+
"single_word": false,
|
1627 |
+
"special": false
|
1628 |
+
},
|
1629 |
+
"203": {
|
1630 |
+
"content": "<u>",
|
1631 |
+
"lstrip": false,
|
1632 |
+
"normalized": false,
|
1633 |
+
"rstrip": false,
|
1634 |
+
"single_word": false,
|
1635 |
+
"special": false
|
1636 |
+
},
|
1637 |
+
"204": {
|
1638 |
+
"content": "<s>",
|
1639 |
+
"lstrip": false,
|
1640 |
+
"normalized": false,
|
1641 |
+
"rstrip": false,
|
1642 |
+
"single_word": false,
|
1643 |
+
"special": false
|
1644 |
+
},
|
1645 |
+
"205": {
|
1646 |
+
"content": "<sub>",
|
1647 |
+
"lstrip": false,
|
1648 |
+
"normalized": false,
|
1649 |
+
"rstrip": false,
|
1650 |
+
"single_word": false,
|
1651 |
+
"special": false
|
1652 |
+
},
|
1653 |
+
"206": {
|
1654 |
+
"content": "<sup>",
|
1655 |
+
"lstrip": false,
|
1656 |
+
"normalized": false,
|
1657 |
+
"rstrip": false,
|
1658 |
+
"single_word": false,
|
1659 |
+
"special": false
|
1660 |
+
},
|
1661 |
+
"207": {
|
1662 |
+
"content": "<code>",
|
1663 |
+
"lstrip": false,
|
1664 |
+
"normalized": false,
|
1665 |
+
"rstrip": false,
|
1666 |
+
"single_word": false,
|
1667 |
+
"special": false
|
1668 |
+
},
|
1669 |
+
"208": {
|
1670 |
+
"content": "</strong>",
|
1671 |
+
"lstrip": false,
|
1672 |
+
"normalized": false,
|
1673 |
+
"rstrip": false,
|
1674 |
+
"single_word": false,
|
1675 |
+
"special": false
|
1676 |
+
},
|
1677 |
+
"209": {
|
1678 |
+
"content": "</em>",
|
1679 |
+
"lstrip": false,
|
1680 |
+
"normalized": false,
|
1681 |
+
"rstrip": false,
|
1682 |
+
"single_word": false,
|
1683 |
+
"special": false
|
1684 |
+
},
|
1685 |
+
"210": {
|
1686 |
+
"content": "</b>",
|
1687 |
+
"lstrip": false,
|
1688 |
+
"normalized": false,
|
1689 |
+
"rstrip": false,
|
1690 |
+
"single_word": false,
|
1691 |
+
"special": false
|
1692 |
+
},
|
1693 |
+
"211": {
|
1694 |
+
"content": "</i>",
|
1695 |
+
"lstrip": false,
|
1696 |
+
"normalized": false,
|
1697 |
+
"rstrip": false,
|
1698 |
+
"single_word": false,
|
1699 |
+
"special": false
|
1700 |
+
},
|
1701 |
+
"212": {
|
1702 |
+
"content": "</u>",
|
1703 |
+
"lstrip": false,
|
1704 |
+
"normalized": false,
|
1705 |
+
"rstrip": false,
|
1706 |
+
"single_word": false,
|
1707 |
+
"special": false
|
1708 |
+
},
|
1709 |
+
"213": {
|
1710 |
+
"content": "</s>",
|
1711 |
+
"lstrip": false,
|
1712 |
+
"normalized": false,
|
1713 |
+
"rstrip": false,
|
1714 |
+
"single_word": false,
|
1715 |
+
"special": false
|
1716 |
+
},
|
1717 |
+
"214": {
|
1718 |
+
"content": "</sub>",
|
1719 |
+
"lstrip": false,
|
1720 |
+
"normalized": false,
|
1721 |
+
"rstrip": false,
|
1722 |
+
"single_word": false,
|
1723 |
+
"special": false
|
1724 |
+
},
|
1725 |
+
"215": {
|
1726 |
+
"content": "</sup>",
|
1727 |
+
"lstrip": false,
|
1728 |
+
"normalized": false,
|
1729 |
+
"rstrip": false,
|
1730 |
+
"single_word": false,
|
1731 |
+
"special": false
|
1732 |
+
},
|
1733 |
+
"216": {
|
1734 |
+
"content": "</code>",
|
1735 |
+
"lstrip": false,
|
1736 |
+
"normalized": false,
|
1737 |
+
"rstrip": false,
|
1738 |
+
"single_word": false,
|
1739 |
+
"special": false
|
1740 |
+
}
|
1741 |
+
},
|
1742 |
+
"additional_special_tokens": [
|
1743 |
+
"<start_of_turn>",
|
1744 |
+
"<end_of_turn>"
|
1745 |
+
],
|
1746 |
+
"bos_token": "<bos>",
|
1747 |
+
"clean_up_tokenization_spaces": false,
|
1748 |
+
"eos_token": "<eos>",
|
1749 |
+
"model_max_length": 1000000000000000019884624838656,
|
1750 |
+
"pad_token": "<eos>",
|
1751 |
+
"sp_model_kwargs": {},
|
1752 |
+
"spaces_between_special_tokens": false,
|
1753 |
+
"tokenizer_class": "GemmaTokenizer",
|
1754 |
+
"unk_token": "<unk>",
|
1755 |
+
"use_default_system_prompt": false
|
1756 |
+
}
|
SFTmodels/gemma-2-9b_sftm3genre7200/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb2e1fbc22ca1a44724292a648859373fcbe934ffac197dfc9c0be01a38da097
|
3 |
+
size 6072
|
Untitled.ipynb
ADDED
@@ -0,0 +1,744 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"id": "aa178322-0de1-46e3-bdaa-935d448cafda",
|
7 |
+
"metadata": {},
|
8 |
+
"outputs": [],
|
9 |
+
"source": [
|
10 |
+
"#SFT \n",
|
11 |
+
"from unsloth import FastLanguageModel\n",
|
12 |
+
"import torch\n",
|
13 |
+
"max_seq_length = 2048*4 # Choose any! We auto support RoPE Scaling internally!\n",
|
14 |
+
"dtype = None # None for auto detection. Float16 for Tesla T4, V100, Bfloat16 for Ampere+\n",
|
15 |
+
"load_in_4bit = True # Use 4bit quantization to reduce memory usage. Can be False.\n",
|
16 |
+
"datapath = 'readsy/stories/'\n",
|
17 |
+
"pairpath = 'readsy/pairs/readsy_story_pairs0407.csv'\n",
|
18 |
+
"mode='m3'\n",
|
19 |
+
"split_by = 'genre'\n",
|
20 |
+
"model_name = 'model/gemma/gemma-2b/'\n",
|
21 |
+
"lease_likes = 10\n",
|
22 |
+
"suffix = 'vast'\n",
|
23 |
+
"save_path = 'model/SFTmodels/' +model_name.split('/')[-1] + '_sft' + mode + split_by + str(lease_likes) + suffix\n"
|
24 |
+
]
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"cell_type": "code",
|
28 |
+
"execution_count": null,
|
29 |
+
"id": "280c81eb-4879-41d9-aea4-1dffc2edf836",
|
30 |
+
"metadata": {},
|
31 |
+
"outputs": [],
|
32 |
+
"source": [
|
33 |
+
"model, tokenizer = FastLanguageModel.from_pretrained(\n",
|
34 |
+
" model_name = model_name, # Choose ANY! eg teknium/OpenHermes-2.5-Mistral-7B\n",
|
35 |
+
" max_seq_length = max_seq_length,\n",
|
36 |
+
" dtype = dtype,\n",
|
37 |
+
" load_in_4bit = load_in_4bit,\n",
|
38 |
+
" # token = \"hf_...\", # use one if using gated models like meta-llama/Llama-2-7b-hf\n",
|
39 |
+
")\n",
|
40 |
+
"model = FastLanguageModel.get_peft_model(\n",
|
41 |
+
" model,\n",
|
42 |
+
" use_gradient_checkpointing = \"unsloth\",\n",
|
43 |
+
" r = 16, # Choose any number > 0 ! Suggested 8, 16, 32, 64, 128\n",
|
44 |
+
" target_modules = [\"q_proj\", \"k_proj\", \"v_proj\", \"o_proj\",\n",
|
45 |
+
" \"gate_proj\", \"up_proj\", \"down_proj\",],\n",
|
46 |
+
" lora_alpha = 16,\n",
|
47 |
+
" lora_dropout = 0, # Supports any, but = 0 is optimized\n",
|
48 |
+
" bias = \"none\", # Supports any, but = \"none\" is optimized\n",
|
49 |
+
" random_state = 3407,\n",
|
50 |
+
" use_rslora = False, # We support rank stabilized LoRA\n",
|
51 |
+
" loftq_config = None, # And LoftQ\n",
|
52 |
+
")\n"
|
53 |
+
]
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"cell_type": "code",
|
57 |
+
"execution_count": null,
|
58 |
+
"id": "5989150b-1ad0-4168-8a28-d0379045ddd7",
|
59 |
+
"metadata": {},
|
60 |
+
"outputs": [
|
61 |
+
{
|
62 |
+
"name": "stdout",
|
63 |
+
"output_type": "stream",
|
64 |
+
"text": [
|
65 |
+
"the total number of pairs is 29618\n",
|
66 |
+
"the number of effective pairs is 23244\n",
|
67 |
+
"Index(['prompt_id', 'prompt', 'story_id', 'story_title', 'story_author',\n",
|
68 |
+
" 'story_url', 'link', 'genre', 'is_sensitive', 'categories', 'likes',\n",
|
69 |
+
" 'story_text', 'posted_date', 'comments'],\n",
|
70 |
+
" dtype='object')\n",
|
71 |
+
"{'Horror': 1887, 'Middle School': 1770, 'Character': 1474, 'Thriller and Suspense': 1104, 'Adults': 1090, 'Fluff': 1070, 'Kids': 1063, 'Dialogue': 978, 'Mystery': 920, 'Science Fiction': 849, 'Teens': 824, 'Romance': 806, 'Angst': 802, 'Dramatic': 729, 'Summer': 715, 'Adventure': 697, 'High School': 639, 'Fiction': 585, 'Novel': 510, 'Dark': 505, 'Sad': 481, 'Winter': 432, 'Fantasy': 417, 'Narrative': 403, \"Valentine's Day\": 362, 'Spring': 304, 'Nonfiction': 283, 'Dystopian': 237, 'Short Story': 223, 'Funny': 219, 'Halloween': 208, 'Fall': 206, 'Holiday': 158, 'Historical Fiction': 118, 'Christmas': 89, 'Vampire': 54, 'Thanksgiving': 33}\n",
|
72 |
+
"the genre of test set is ['Horror']\n",
|
73 |
+
"the percentage of test set is 0.08118224057821373 where total is 23244\n"
|
74 |
+
]
|
75 |
+
}
|
76 |
+
],
|
77 |
+
"source": [
|
78 |
+
"from dataloader import StoryPairDataset\n",
|
79 |
+
"SPdataloader = StoryPairDataset(datapath,\n",
|
80 |
+
" pairpath,\n",
|
81 |
+
" tokenizer,\n",
|
82 |
+
" task='sft',\n",
|
83 |
+
" used_dataset_size=-1,\n",
|
84 |
+
" train_test_split=0.1,\n",
|
85 |
+
" split_by=split_by,\n",
|
86 |
+
" max_len=4096,\n",
|
87 |
+
" mode= mode,\n",
|
88 |
+
" max_time_window=3600,\n",
|
89 |
+
" least_likes= lease_likes,\n",
|
90 |
+
" margin=False)\n",
|
91 |
+
"\n"
|
92 |
+
]
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"cell_type": "code",
|
96 |
+
"execution_count": null,
|
97 |
+
"id": "ec67afee-86b1-4c91-b3ad-013db3e36bf5",
|
98 |
+
"metadata": {},
|
99 |
+
"outputs": [],
|
100 |
+
"source": []
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "code",
|
104 |
+
"execution_count": null,
|
105 |
+
"id": "3d804ea0-5619-49a8-87b7-1e6149589865",
|
106 |
+
"metadata": {},
|
107 |
+
"outputs": [],
|
108 |
+
"source": [
|
109 |
+
"save_path = 'model/SFTmodels/' +model_name.split('/')[-2] + '_sft' + mode + split_by + str(lease_likes) + suffix\n",
|
110 |
+
"from trl import SFTTrainer\n",
|
111 |
+
"from transformers import TrainingArguments\n",
|
112 |
+
"\n",
|
113 |
+
"trainer = SFTTrainer(\n",
|
114 |
+
" model = model,\n",
|
115 |
+
" tokenizer = tokenizer,\n",
|
116 |
+
" train_dataset = SPdataloader.dataset[\"train\"],\n",
|
117 |
+
" eval_dataset = SPdataloader.dataset[\"test\"],\n",
|
118 |
+
" dataset_text_field = \"text\",\n",
|
119 |
+
" max_seq_length = max_seq_length,\n",
|
120 |
+
" dataset_num_proc = 1,\n",
|
121 |
+
" packing = True, # Can make training 5x faster for short sequences.\n",
|
122 |
+
" args = TrainingArguments(\n",
|
123 |
+
" per_device_train_batch_size = 1,\n",
|
124 |
+
" gradient_accumulation_steps = 2,\n",
|
125 |
+
" warmup_steps = 5,\n",
|
126 |
+
" num_train_epochs = 1,\n",
|
127 |
+
" learning_rate = 1e-4,\n",
|
128 |
+
" fp16 = not torch.cuda.is_bf16_supported(),\n",
|
129 |
+
" bf16 = torch.cuda.is_bf16_supported(),\n",
|
130 |
+
" logging_steps = 1,\n",
|
131 |
+
" optim = \"adamw_8bit\",\n",
|
132 |
+
" weight_decay = 0.01,\n",
|
133 |
+
" lr_scheduler_type = \"cosine\",\n",
|
134 |
+
" seed = 3407,\n",
|
135 |
+
" output_dir = save_path,\n",
|
136 |
+
" ),\n",
|
137 |
+
")\n",
|
138 |
+
"trainer.train()\n",
|
139 |
+
"#save the model AND the tokenizer\n",
|
140 |
+
"trainer.save_model(save_path)\n",
|
141 |
+
"#trainer.save_tokenizer(save_path)\n",
|
142 |
+
"print('model saved at', save_path)\n"
|
143 |
+
]
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"cell_type": "code",
|
147 |
+
"execution_count": null,
|
148 |
+
"id": "2f85bcda-a568-4d4e-b2e1-4f06972df5d3",
|
149 |
+
"metadata": {},
|
150 |
+
"outputs": [],
|
151 |
+
"source": [
|
152 |
+
"#SFT \n",
|
153 |
+
"from unsloth import FastLanguageModel\n",
|
154 |
+
"import torch\n",
|
155 |
+
"max_seq_length = 2048*4 # Choose any! We auto support RoPE Scaling internally!\n",
|
156 |
+
"dtype = None # None for auto detection. Float16 for Tesla T4, V100, Bfloat16 for Ampere+\n",
|
157 |
+
"load_in_4bit = True # Use 4bit quantization to reduce memory usage. Can be False.\n",
|
158 |
+
"datapath = 'readsy/stories/'\n",
|
159 |
+
"pairpath = 'readsy/pairs/readsy_story_pairs0407.csv'\n",
|
160 |
+
"mode='m3'\n",
|
161 |
+
"split_by = 'time'\n",
|
162 |
+
"model_name = 'model/gemma/gemma-2b/'\n",
|
163 |
+
"lease_likes = 10\n",
|
164 |
+
"suffix = 'vast'\n",
|
165 |
+
"save_path = 'model/SFTmodels/' +model_name.split('/')[-1] + '_sft' + mode + split_by + str(lease_likes) + suffix\n",
|
166 |
+
"model, tokenizer = FastLanguageModel.from_pretrained(\n",
|
167 |
+
" model_name = model_name, # Choose ANY! eg teknium/OpenHermes-2.5-Mistral-7B\n",
|
168 |
+
" max_seq_length = max_seq_length,\n",
|
169 |
+
" dtype = dtype,\n",
|
170 |
+
" load_in_4bit = load_in_4bit,\n",
|
171 |
+
" # token = \"hf_...\", # use one if using gated models like meta-llama/Llama-2-7b-hf\n",
|
172 |
+
")\n",
|
173 |
+
"model = FastLanguageModel.get_peft_model(\n",
|
174 |
+
" model,\n",
|
175 |
+
" use_gradient_checkpointing = \"unsloth\",\n",
|
176 |
+
" r = 16, # Choose any number > 0 ! Suggested 8, 16, 32, 64, 128\n",
|
177 |
+
" target_modules = [\"q_proj\", \"k_proj\", \"v_proj\", \"o_proj\",\n",
|
178 |
+
" \"gate_proj\", \"up_proj\", \"down_proj\",],\n",
|
179 |
+
" lora_alpha = 16,\n",
|
180 |
+
" lora_dropout = 0, # Supports any, but = 0 is optimized\n",
|
181 |
+
" bias = \"none\", # Supports any, but = \"none\" is optimized\n",
|
182 |
+
" random_state = 3407,\n",
|
183 |
+
" use_rslora = False, # We support rank stabilized LoRA\n",
|
184 |
+
" loftq_config = None, # And LoftQ\n",
|
185 |
+
")\n",
|
186 |
+
"from dataloader import StoryPairDataset\n",
|
187 |
+
"SPdataloader = StoryPairDataset(datapath,\n",
|
188 |
+
" pairpath,\n",
|
189 |
+
" tokenizer,\n",
|
190 |
+
" task='sft',\n",
|
191 |
+
" used_dataset_size=-1,\n",
|
192 |
+
" train_test_split=0.1,\n",
|
193 |
+
" split_by=split_by,\n",
|
194 |
+
" max_len=4096,\n",
|
195 |
+
" mode= mode,\n",
|
196 |
+
" max_time_window=3600,\n",
|
197 |
+
" least_likes= lease_likes,\n",
|
198 |
+
" margin=False)\n",
|
199 |
+
"\n",
|
200 |
+
"save_path = 'model/SFTmodels/' +model_name.split('/')[-2] + '_sft' + mode + split_by + str(lease_likes) + suffix\n",
|
201 |
+
"from trl import SFTTrainer\n",
|
202 |
+
"from transformers import TrainingArguments\n",
|
203 |
+
"\n",
|
204 |
+
"trainer = SFTTrainer(\n",
|
205 |
+
" model = model,\n",
|
206 |
+
" tokenizer = tokenizer,\n",
|
207 |
+
" train_dataset = SPdataloader.dataset[\"train\"],\n",
|
208 |
+
" eval_dataset = SPdataloader.dataset[\"test\"],\n",
|
209 |
+
" dataset_text_field = \"text\",\n",
|
210 |
+
" max_seq_length = max_seq_length,\n",
|
211 |
+
" dataset_num_proc = 1,\n",
|
212 |
+
" packing = True, # Can make training 5x faster for short sequences.\n",
|
213 |
+
" args = TrainingArguments(\n",
|
214 |
+
" per_device_train_batch_size = 1,\n",
|
215 |
+
" gradient_accumulation_steps = 2,\n",
|
216 |
+
" warmup_steps = 5,\n",
|
217 |
+
" num_train_epochs = 1,\n",
|
218 |
+
" learning_rate = 1e-4,\n",
|
219 |
+
" fp16 = not torch.cuda.is_bf16_supported(),\n",
|
220 |
+
" bf16 = torch.cuda.is_bf16_supported(),\n",
|
221 |
+
" logging_steps = 1,\n",
|
222 |
+
" optim = \"adamw_8bit\",\n",
|
223 |
+
" weight_decay = 0.01,\n",
|
224 |
+
" lr_scheduler_type = \"cosine\",\n",
|
225 |
+
" seed = 3407,\n",
|
226 |
+
" output_dir = save_path,\n",
|
227 |
+
" ),\n",
|
228 |
+
")\n",
|
229 |
+
"trainer.train()\n",
|
230 |
+
"#save the model AND the tokenizer\n",
|
231 |
+
"trainer.save_model(save_path)\n",
|
232 |
+
"#trainer.save_tokenizer(save_path)\n",
|
233 |
+
"print('model saved at', save_path)\n"
|
234 |
+
]
|
235 |
+
},
|
236 |
+
{
|
237 |
+
"cell_type": "code",
|
238 |
+
"execution_count": null,
|
239 |
+
"id": "758d7c03-a9f3-415b-a12e-4f508332cb22",
|
240 |
+
"metadata": {},
|
241 |
+
"outputs": [],
|
242 |
+
"source": [
|
243 |
+
"#SFT \n",
|
244 |
+
"from unsloth import FastLanguageModel\n",
|
245 |
+
"import torch\n",
|
246 |
+
"max_seq_length = 2048*4 # Choose any! We auto support RoPE Scaling internally!\n",
|
247 |
+
"dtype = None # None for auto detection. Float16 for Tesla T4, V100, Bfloat16 for Ampere+\n",
|
248 |
+
"load_in_4bit = True # Use 4bit quantization to reduce memory usage. Can be False.\n",
|
249 |
+
"datapath = 'readsy/stories/'\n",
|
250 |
+
"pairpath = 'readsy/pairs/readsy_story_pairs0407.csv'\n",
|
251 |
+
"mode='m3'\n",
|
252 |
+
"split_by = 'random'\n",
|
253 |
+
"model_name = 'model/gemma/gemma-2b/'\n",
|
254 |
+
"lease_likes = 10\n",
|
255 |
+
"suffix = 'vast'\n",
|
256 |
+
"save_path = 'model/SFTmodels/' +model_name.split('/')[-1] + '_sft' + mode + split_by + str(lease_likes) + suffix\n",
|
257 |
+
"model, tokenizer = FastLanguageModel.from_pretrained(\n",
|
258 |
+
" model_name = model_name, # Choose ANY! eg teknium/OpenHermes-2.5-Mistral-7B\n",
|
259 |
+
" max_seq_length = max_seq_length,\n",
|
260 |
+
" dtype = dtype,\n",
|
261 |
+
" load_in_4bit = load_in_4bit,\n",
|
262 |
+
" # token = \"hf_...\", # use one if using gated models like meta-llama/Llama-2-7b-hf\n",
|
263 |
+
")\n",
|
264 |
+
"model = FastLanguageModel.get_peft_model(\n",
|
265 |
+
" model,\n",
|
266 |
+
" use_gradient_checkpointing = \"unsloth\",\n",
|
267 |
+
" r = 16, # Choose any number > 0 ! Suggested 8, 16, 32, 64, 128\n",
|
268 |
+
" target_modules = [\"q_proj\", \"k_proj\", \"v_proj\", \"o_proj\",\n",
|
269 |
+
" \"gate_proj\", \"up_proj\", \"down_proj\",],\n",
|
270 |
+
" lora_alpha = 16,\n",
|
271 |
+
" lora_dropout = 0, # Supports any, but = 0 is optimized\n",
|
272 |
+
" bias = \"none\", # Supports any, but = \"none\" is optimized\n",
|
273 |
+
" random_state = 3407,\n",
|
274 |
+
" use_rslora = False, # We support rank stabilized LoRA\n",
|
275 |
+
" loftq_config = None, # And LoftQ\n",
|
276 |
+
")\n",
|
277 |
+
"from dataloader import StoryPairDataset\n",
|
278 |
+
"SPdataloader = StoryPairDataset(datapath,\n",
|
279 |
+
" pairpath,\n",
|
280 |
+
" tokenizer,\n",
|
281 |
+
" task='sft',\n",
|
282 |
+
" used_dataset_size=-1,\n",
|
283 |
+
" train_test_split=0.1,\n",
|
284 |
+
" split_by=split_by,\n",
|
285 |
+
" max_len=4096,\n",
|
286 |
+
" mode= mode,\n",
|
287 |
+
" max_time_window=3600,\n",
|
288 |
+
" least_likes= lease_likes,\n",
|
289 |
+
" margin=False)\n",
|
290 |
+
"\n",
|
291 |
+
"save_path = 'model/SFTmodels/' +model_name.split('/')[-2] + '_sft' + mode + split_by + str(lease_likes) + suffix\n",
|
292 |
+
"from trl import SFTTrainer\n",
|
293 |
+
"from transformers import TrainingArguments\n",
|
294 |
+
"\n",
|
295 |
+
"trainer = SFTTrainer(\n",
|
296 |
+
" model = model,\n",
|
297 |
+
" tokenizer = tokenizer,\n",
|
298 |
+
" train_dataset = SPdataloader.dataset[\"train\"],\n",
|
299 |
+
" eval_dataset = SPdataloader.dataset[\"test\"],\n",
|
300 |
+
" dataset_text_field = \"text\",\n",
|
301 |
+
" max_seq_length = max_seq_length,\n",
|
302 |
+
" dataset_num_proc = 1,\n",
|
303 |
+
" packing = True, # Can make training 5x faster for short sequences.\n",
|
304 |
+
" args = TrainingArguments(\n",
|
305 |
+
" per_device_train_batch_size = 1,\n",
|
306 |
+
" gradient_accumulation_steps = 2,\n",
|
307 |
+
" warmup_steps = 5,\n",
|
308 |
+
" num_train_epochs = 1,\n",
|
309 |
+
" learning_rate = 1e-4,\n",
|
310 |
+
" fp16 = not torch.cuda.is_bf16_supported(),\n",
|
311 |
+
" bf16 = torch.cuda.is_bf16_supported(),\n",
|
312 |
+
" logging_steps = 1,\n",
|
313 |
+
" optim = \"adamw_8bit\",\n",
|
314 |
+
" weight_decay = 0.01,\n",
|
315 |
+
" lr_scheduler_type = \"cosine\",\n",
|
316 |
+
" seed = 3407,\n",
|
317 |
+
" output_dir = save_path,\n",
|
318 |
+
" ),\n",
|
319 |
+
")\n",
|
320 |
+
"trainer.train()\n",
|
321 |
+
"#save the model AND the tokenizer\n",
|
322 |
+
"trainer.save_model(save_path)\n",
|
323 |
+
"#trainer.save_tokenizer(save_path)\n",
|
324 |
+
"print('model saved at', save_path)\n"
|
325 |
+
]
|
326 |
+
},
|
327 |
+
{
|
328 |
+
"cell_type": "code",
|
329 |
+
"execution_count": null,
|
330 |
+
"id": "ebc6ed22-6469-4385-a44c-700084cc43cc",
|
331 |
+
"metadata": {},
|
332 |
+
"outputs": [],
|
333 |
+
"source": [
|
334 |
+
"#SFT \n",
|
335 |
+
"from unsloth import FastLanguageModel\n",
|
336 |
+
"import torch\n",
|
337 |
+
"max_seq_length = 2048*4 # Choose any! We auto support RoPE Scaling internally!\n",
|
338 |
+
"dtype = None # None for auto detection. Float16 for Tesla T4, V100, Bfloat16 for Ampere+\n",
|
339 |
+
"load_in_4bit = True # Use 4bit quantization to reduce memory usage. Can be False.\n",
|
340 |
+
"datapath = 'readsy/stories/'\n",
|
341 |
+
"pairpath = 'readsy/pairs/readsy_story_pairs0407.csv'\n",
|
342 |
+
"mode='m2'\n",
|
343 |
+
"split_by = 'time'\n",
|
344 |
+
"model_name = 'model/gemma/gemma-2b/'\n",
|
345 |
+
"lease_likes = 10\n",
|
346 |
+
"suffix = 'vast'\n",
|
347 |
+
"save_path = 'model/SFTmodels/' +model_name.split('/')[-1] + '_sft' + mode + split_by + str(lease_likes) + suffix\n",
|
348 |
+
"model, tokenizer = FastLanguageModel.from_pretrained(\n",
|
349 |
+
" model_name = model_name, # Choose ANY! eg teknium/OpenHermes-2.5-Mistral-7B\n",
|
350 |
+
" max_seq_length = max_seq_length,\n",
|
351 |
+
" dtype = dtype,\n",
|
352 |
+
" load_in_4bit = load_in_4bit,\n",
|
353 |
+
" # token = \"hf_...\", # use one if using gated models like meta-llama/Llama-2-7b-hf\n",
|
354 |
+
")\n",
|
355 |
+
"model = FastLanguageModel.get_peft_model(\n",
|
356 |
+
" model,\n",
|
357 |
+
" use_gradient_checkpointing = \"unsloth\",\n",
|
358 |
+
" r = 16, # Choose any number > 0 ! Suggested 8, 16, 32, 64, 128\n",
|
359 |
+
" target_modules = [\"q_proj\", \"k_proj\", \"v_proj\", \"o_proj\",\n",
|
360 |
+
" \"gate_proj\", \"up_proj\", \"down_proj\",],\n",
|
361 |
+
" lora_alpha = 16,\n",
|
362 |
+
" lora_dropout = 0, # Supports any, but = 0 is optimized\n",
|
363 |
+
" bias = \"none\", # Supports any, but = \"none\" is optimized\n",
|
364 |
+
" random_state = 3407,\n",
|
365 |
+
" use_rslora = False, # We support rank stabilized LoRA\n",
|
366 |
+
" loftq_config = None, # And LoftQ\n",
|
367 |
+
")\n",
|
368 |
+
"from dataloader import StoryPairDataset\n",
|
369 |
+
"SPdataloader = StoryPairDataset(datapath,\n",
|
370 |
+
" pairpath,\n",
|
371 |
+
" tokenizer,\n",
|
372 |
+
" task='sft',\n",
|
373 |
+
" used_dataset_size=-1,\n",
|
374 |
+
" train_test_split=0.1,\n",
|
375 |
+
" split_by=split_by,\n",
|
376 |
+
" max_len=4096,\n",
|
377 |
+
" mode= mode,\n",
|
378 |
+
" max_time_window=3600,\n",
|
379 |
+
" least_likes= lease_likes,\n",
|
380 |
+
" margin=False)\n",
|
381 |
+
"\n",
|
382 |
+
"save_path = 'model/SFTmodels/' +model_name.split('/')[-2] + '_sft' + mode + split_by + str(lease_likes) + suffix\n",
|
383 |
+
"from trl import SFTTrainer\n",
|
384 |
+
"from transformers import TrainingArguments\n",
|
385 |
+
"\n",
|
386 |
+
"trainer = SFTTrainer(\n",
|
387 |
+
" model = model,\n",
|
388 |
+
" tokenizer = tokenizer,\n",
|
389 |
+
" train_dataset = SPdataloader.dataset[\"train\"],\n",
|
390 |
+
" eval_dataset = SPdataloader.dataset[\"test\"],\n",
|
391 |
+
" dataset_text_field = \"text\",\n",
|
392 |
+
" max_seq_length = max_seq_length,\n",
|
393 |
+
" dataset_num_proc = 1,\n",
|
394 |
+
" packing = True, # Can make training 5x faster for short sequences.\n",
|
395 |
+
" args = TrainingArguments(\n",
|
396 |
+
" per_device_train_batch_size = 1,\n",
|
397 |
+
" gradient_accumulation_steps = 2,\n",
|
398 |
+
" warmup_steps = 5,\n",
|
399 |
+
" num_train_epochs = 1,\n",
|
400 |
+
" learning_rate = 1e-4,\n",
|
401 |
+
" fp16 = not torch.cuda.is_bf16_supported(),\n",
|
402 |
+
" bf16 = torch.cuda.is_bf16_supported(),\n",
|
403 |
+
" logging_steps = 1,\n",
|
404 |
+
" optim = \"adamw_8bit\",\n",
|
405 |
+
" weight_decay = 0.01,\n",
|
406 |
+
" lr_scheduler_type = \"cosine\",\n",
|
407 |
+
" seed = 3407,\n",
|
408 |
+
" output_dir = save_path,\n",
|
409 |
+
" ),\n",
|
410 |
+
")\n",
|
411 |
+
"trainer.train()\n",
|
412 |
+
"#save the model AND the tokenizer\n",
|
413 |
+
"trainer.save_model(save_path)\n",
|
414 |
+
"#trainer.save_tokenizer(save_path)\n",
|
415 |
+
"print('model saved at', save_path)\n"
|
416 |
+
]
|
417 |
+
},
|
418 |
+
{
|
419 |
+
"cell_type": "code",
|
420 |
+
"execution_count": null,
|
421 |
+
"id": "82c79072-5128-4bc2-844c-ae001616a402",
|
422 |
+
"metadata": {},
|
423 |
+
"outputs": [],
|
424 |
+
"source": [
|
425 |
+
"#SFT \n",
|
426 |
+
"from unsloth import FastLanguageModel\n",
|
427 |
+
"import torch\n",
|
428 |
+
"max_seq_length = 2048*4 # Choose any! We auto support RoPE Scaling internally!\n",
|
429 |
+
"dtype = None # None for auto detection. Float16 for Tesla T4, V100, Bfloat16 for Ampere+\n",
|
430 |
+
"load_in_4bit = True # Use 4bit quantization to reduce memory usage. Can be False.\n",
|
431 |
+
"datapath = 'readsy/stories/'\n",
|
432 |
+
"pairpath = 'readsy/pairs/readsy_story_pairs0407.csv'\n",
|
433 |
+
"mode='m2'\n",
|
434 |
+
"split_by = 'random'\n",
|
435 |
+
"model_name = 'model/gemma/gemma-2b/'\n",
|
436 |
+
"lease_likes = 10\n",
|
437 |
+
"suffix = 'vast'\n",
|
438 |
+
"save_path = 'model/SFTmodels/' +model_name.split('/')[-1] + '_sft' + mode + split_by + str(lease_likes) + suffix\n",
|
439 |
+
"model, tokenizer = FastLanguageModel.from_pretrained(\n",
|
440 |
+
" model_name = model_name, # Choose ANY! eg teknium/OpenHermes-2.5-Mistral-7B\n",
|
441 |
+
" max_seq_length = max_seq_length,\n",
|
442 |
+
" dtype = dtype,\n",
|
443 |
+
" load_in_4bit = load_in_4bit,\n",
|
444 |
+
" # token = \"hf_...\", # use one if using gated models like meta-llama/Llama-2-7b-hf\n",
|
445 |
+
")\n",
|
446 |
+
"model = FastLanguageModel.get_peft_model(\n",
|
447 |
+
" model,\n",
|
448 |
+
" use_gradient_checkpointing = \"unsloth\",\n",
|
449 |
+
" r = 16, # Choose any number > 0 ! Suggested 8, 16, 32, 64, 128\n",
|
450 |
+
" target_modules = [\"q_proj\", \"k_proj\", \"v_proj\", \"o_proj\",\n",
|
451 |
+
" \"gate_proj\", \"up_proj\", \"down_proj\",],\n",
|
452 |
+
" lora_alpha = 16,\n",
|
453 |
+
" lora_dropout = 0, # Supports any, but = 0 is optimized\n",
|
454 |
+
" bias = \"none\", # Supports any, but = \"none\" is optimized\n",
|
455 |
+
" random_state = 3407,\n",
|
456 |
+
" use_rslora = False, # We support rank stabilized LoRA\n",
|
457 |
+
" loftq_config = None, # And LoftQ\n",
|
458 |
+
")\n",
|
459 |
+
"from dataloader import StoryPairDataset\n",
|
460 |
+
"SPdataloader = StoryPairDataset(datapath,\n",
|
461 |
+
" pairpath,\n",
|
462 |
+
" tokenizer,\n",
|
463 |
+
" task='sft',\n",
|
464 |
+
" used_dataset_size=-1,\n",
|
465 |
+
" train_test_split=0.1,\n",
|
466 |
+
" split_by=split_by,\n",
|
467 |
+
" max_len=4096,\n",
|
468 |
+
" mode= mode,\n",
|
469 |
+
" max_time_window=3600,\n",
|
470 |
+
" least_likes= lease_likes,\n",
|
471 |
+
" margin=False)\n",
|
472 |
+
"\n",
|
473 |
+
"save_path = 'model/SFTmodels/' +model_name.split('/')[-2] + '_sft' + mode + split_by + str(lease_likes) + suffix\n",
|
474 |
+
"from trl import SFTTrainer\n",
|
475 |
+
"from transformers import TrainingArguments\n",
|
476 |
+
"\n",
|
477 |
+
"trainer = SFTTrainer(\n",
|
478 |
+
" model = model,\n",
|
479 |
+
" tokenizer = tokenizer,\n",
|
480 |
+
" train_dataset = SPdataloader.dataset[\"train\"],\n",
|
481 |
+
" eval_dataset = SPdataloader.dataset[\"test\"],\n",
|
482 |
+
" dataset_text_field = \"text\",\n",
|
483 |
+
" max_seq_length = max_seq_length,\n",
|
484 |
+
" dataset_num_proc = 1,\n",
|
485 |
+
" packing = True, # Can make training 5x faster for short sequences.\n",
|
486 |
+
" args = TrainingArguments(\n",
|
487 |
+
" per_device_train_batch_size = 1,\n",
|
488 |
+
" gradient_accumulation_steps = 2,\n",
|
489 |
+
" warmup_steps = 5,\n",
|
490 |
+
" num_train_epochs = 1,\n",
|
491 |
+
" learning_rate = 1e-4,\n",
|
492 |
+
" fp16 = not torch.cuda.is_bf16_supported(),\n",
|
493 |
+
" bf16 = torch.cuda.is_bf16_supported(),\n",
|
494 |
+
" logging_steps = 1,\n",
|
495 |
+
" optim = \"adamw_8bit\",\n",
|
496 |
+
" weight_decay = 0.01,\n",
|
497 |
+
" lr_scheduler_type = \"cosine\",\n",
|
498 |
+
" seed = 3407,\n",
|
499 |
+
" output_dir = save_path,\n",
|
500 |
+
" ),\n",
|
501 |
+
")\n",
|
502 |
+
"trainer.train()\n",
|
503 |
+
"#save the model AND the tokenizer\n",
|
504 |
+
"trainer.save_model(save_path)\n",
|
505 |
+
"#trainer.save_tokenizer(save_path)\n",
|
506 |
+
"print('model saved at', save_path)\n"
|
507 |
+
]
|
508 |
+
},
|
509 |
+
{
|
510 |
+
"cell_type": "code",
|
511 |
+
"execution_count": null,
|
512 |
+
"id": "69f5a65f-8ddc-42a2-873f-432cb363386d",
|
513 |
+
"metadata": {},
|
514 |
+
"outputs": [],
|
515 |
+
"source": [
|
516 |
+
"#SFT \n",
|
517 |
+
"from unsloth import FastLanguageModel\n",
|
518 |
+
"import torch\n",
|
519 |
+
"max_seq_length = 2048*4 # Choose any! We auto support RoPE Scaling internally!\n",
|
520 |
+
"dtype = None # None for auto detection. Float16 for Tesla T4, V100, Bfloat16 for Ampere+\n",
|
521 |
+
"load_in_4bit = True # Use 4bit quantization to reduce memory usage. Can be False.\n",
|
522 |
+
"datapath = 'readsy/stories/'\n",
|
523 |
+
"pairpath = 'readsy/pairs/readsy_story_pairs0407.csv'\n",
|
524 |
+
"mode='m2'\n",
|
525 |
+
"split_by = 'genre'\n",
|
526 |
+
"model_name = 'model/gemma/gemma-2b/'\n",
|
527 |
+
"lease_likes = 10\n",
|
528 |
+
"suffix = 'vast'\n",
|
529 |
+
"save_path = 'model/SFTmodels/' +model_name.split('/')[-1] + '_sft' + mode + split_by + str(lease_likes) + suffix\n",
|
530 |
+
"model, tokenizer = FastLanguageModel.from_pretrained(\n",
|
531 |
+
" model_name = model_name, # Choose ANY! eg teknium/OpenHermes-2.5-Mistral-7B\n",
|
532 |
+
" max_seq_length = max_seq_length,\n",
|
533 |
+
" dtype = dtype,\n",
|
534 |
+
" load_in_4bit = load_in_4bit,\n",
|
535 |
+
" # token = \"hf_...\", # use one if using gated models like meta-llama/Llama-2-7b-hf\n",
|
536 |
+
")\n",
|
537 |
+
"model = FastLanguageModel.get_peft_model(\n",
|
538 |
+
" model,\n",
|
539 |
+
" use_gradient_checkpointing = \"unsloth\",\n",
|
540 |
+
" r = 16, # Choose any number > 0 ! Suggested 8, 16, 32, 64, 128\n",
|
541 |
+
" target_modules = [\"q_proj\", \"k_proj\", \"v_proj\", \"o_proj\",\n",
|
542 |
+
" \"gate_proj\", \"up_proj\", \"down_proj\",],\n",
|
543 |
+
" lora_alpha = 16,\n",
|
544 |
+
" lora_dropout = 0, # Supports any, but = 0 is optimized\n",
|
545 |
+
" bias = \"none\", # Supports any, but = \"none\" is optimized\n",
|
546 |
+
" random_state = 3407,\n",
|
547 |
+
" use_rslora = False, # We support rank stabilized LoRA\n",
|
548 |
+
" loftq_config = None, # And LoftQ\n",
|
549 |
+
")\n",
|
550 |
+
"from dataloader import StoryPairDataset\n",
|
551 |
+
"SPdataloader = StoryPairDataset(datapath,\n",
|
552 |
+
" pairpath,\n",
|
553 |
+
" tokenizer,\n",
|
554 |
+
" task='sft',\n",
|
555 |
+
" used_dataset_size=-1,\n",
|
556 |
+
" train_test_split=0.1,\n",
|
557 |
+
" split_by=split_by,\n",
|
558 |
+
" max_len=4096,\n",
|
559 |
+
" mode= mode,\n",
|
560 |
+
" max_time_window=3600,\n",
|
561 |
+
" least_likes= lease_likes,\n",
|
562 |
+
" margin=False)\n",
|
563 |
+
"\n",
|
564 |
+
"save_path = 'model/SFTmodels/' +model_name.split('/')[-2] + '_sft' + mode + split_by + str(lease_likes) + suffix\n",
|
565 |
+
"from trl import SFTTrainer\n",
|
566 |
+
"from transformers import TrainingArguments\n",
|
567 |
+
"\n",
|
568 |
+
"trainer = SFTTrainer(\n",
|
569 |
+
" model = model,\n",
|
570 |
+
" tokenizer = tokenizer,\n",
|
571 |
+
" train_dataset = SPdataloader.dataset[\"train\"],\n",
|
572 |
+
" eval_dataset = SPdataloader.dataset[\"test\"],\n",
|
573 |
+
" dataset_text_field = \"text\",\n",
|
574 |
+
" max_seq_length = max_seq_length,\n",
|
575 |
+
" dataset_num_proc = 1,\n",
|
576 |
+
" packing = True, # Can make training 5x faster for short sequences.\n",
|
577 |
+
" args = TrainingArguments(\n",
|
578 |
+
" per_device_train_batch_size = 1,\n",
|
579 |
+
" gradient_accumulation_steps = 2,\n",
|
580 |
+
" warmup_steps = 5,\n",
|
581 |
+
" num_train_epochs = 1,\n",
|
582 |
+
" learning_rate = 1e-4,\n",
|
583 |
+
" fp16 = not torch.cuda.is_bf16_supported(),\n",
|
584 |
+
" bf16 = torch.cuda.is_bf16_supported(),\n",
|
585 |
+
" logging_steps = 1,\n",
|
586 |
+
" optim = \"adamw_8bit\",\n",
|
587 |
+
" weight_decay = 0.01,\n",
|
588 |
+
" lr_scheduler_type = \"cosine\",\n",
|
589 |
+
" seed = 3407,\n",
|
590 |
+
" output_dir = save_path,\n",
|
591 |
+
" ),\n",
|
592 |
+
")\n",
|
593 |
+
"trainer.train()\n",
|
594 |
+
"#save the model AND the tokenizer\n",
|
595 |
+
"trainer.save_model(save_path)\n",
|
596 |
+
"#trainer.save_tokenizer(save_path)\n",
|
597 |
+
"print('model saved at', save_path)\n"
|
598 |
+
]
|
599 |
+
},
|
600 |
+
{
|
601 |
+
"cell_type": "code",
|
602 |
+
"execution_count": 10,
|
603 |
+
"id": "357116f9-e206-4a77-acf6-43835d2b83bf",
|
604 |
+
"metadata": {},
|
605 |
+
"outputs": [
|
606 |
+
{
|
607 |
+
"name": "stdout",
|
608 |
+
"output_type": "stream",
|
609 |
+
"text": [
|
610 |
+
"Prompt: Write a story about discovering a lost manuscript. It can be from a famous (or infamous) author, or an unknown one.\n",
|
611 |
+
"inputs: <bos><|im_start|>user\n",
|
612 |
+
"Write a story about discovering a lost manuscript. It can be from a famous (or infamous) author, or an unknown one.<|im_end|>\n",
|
613 |
+
"<|im_start|>assistant\n",
|
614 |
+
"\n",
|
615 |
+
"inputs encoded: tensor([[ 2, 2, 235322, 235371, 571, 235298, 2997, 73786, 1645,\n",
|
616 |
+
" 108, 5559, 476, 3904, 1105, 59551, 476, 5501, 28086,\n",
|
617 |
+
" 235265, 1165, 798, 614, 774, 476, 10964, 591, 483,\n",
|
618 |
+
" 76100, 235275, 3426, 235269, 689, 671, 12417, 974, 35606,\n",
|
619 |
+
" 235371, 571, 235298, 615, 73786, 108, 235322, 235371, 571,\n",
|
620 |
+
" 235298, 2997, 73786, 105776, 108]])\n"
|
621 |
+
]
|
622 |
+
},
|
623 |
+
{
|
624 |
+
"ename": "KeyboardInterrupt",
|
625 |
+
"evalue": "",
|
626 |
+
"output_type": "error",
|
627 |
+
"traceback": [
|
628 |
+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
|
629 |
+
"\u001b[0;31mKeyboardInterrupt\u001b[0m Traceback (most recent call last)",
|
630 |
+
"Cell \u001b[0;32mIn[10], line 23\u001b[0m\n\u001b[1;32m 21\u001b[0m prompt \u001b[38;5;241m=\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWrite a story about discovering a lost manuscript. It can be from a famous (or infamous) author, or an unknown one.\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 22\u001b[0m \u001b[38;5;28mprint\u001b[39m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mPrompt:\u001b[39m\u001b[38;5;124m\"\u001b[39m, prompt)\n\u001b[0;32m---> 23\u001b[0m outputs \u001b[38;5;241m=\u001b[39m \u001b[43mgenerate\u001b[49m\u001b[43m(\u001b[49m\u001b[43mmodel\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mtokenizer\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mprompt\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 24\u001b[0m \u001b[38;5;28mprint\u001b[39m(\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mwritten by the model:\u001b[39m\u001b[38;5;124m'\u001b[39m, model_path) \n\u001b[1;32m 25\u001b[0m \u001b[38;5;28mprint\u001b[39m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mGenerated story:\u001b[39m\u001b[38;5;124m\"\u001b[39m, outputs)\n",
|
631 |
+
"Cell \u001b[0;32mIn[10], line 14\u001b[0m, in \u001b[0;36mgenerate\u001b[0;34m(model, tokenizer, prompt, max_length)\u001b[0m\n\u001b[1;32m 11\u001b[0m \u001b[38;5;66;03m# Move inputs to GPU\u001b[39;00m\n\u001b[1;32m 12\u001b[0m inputs \u001b[38;5;241m=\u001b[39m inputs\u001b[38;5;241m.\u001b[39mto(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcuda\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n\u001b[0;32m---> 14\u001b[0m outputs \u001b[38;5;241m=\u001b[39m \u001b[43mmodel\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mgenerate\u001b[49m\u001b[43m(\u001b[49m\u001b[43minput_ids\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43minputs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmax_new_tokens\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43m \u001b[49m\u001b[43mmax_length\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmin_new_tokens\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43m \u001b[49m\u001b[38;5;241;43m500\u001b[39;49m\u001b[43m)\u001b[49m\n\u001b[1;32m 15\u001b[0m \u001b[38;5;66;03m#decode the outputs\u001b[39;00m\n\u001b[1;32m 16\u001b[0m outputs \u001b[38;5;241m=\u001b[39m tokenizer\u001b[38;5;241m.\u001b[39mdecode(outputs[\u001b[38;5;241m0\u001b[39m], skip_special_tokens\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mFalse\u001b[39;00m)\n",
|
632 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/peft/peft_model.py:1491\u001b[0m, in \u001b[0;36mPeftModelForCausalLM.generate\u001b[0;34m(self, *args, **kwargs)\u001b[0m\n\u001b[1;32m 1489\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_enable_peft_forward_hooks(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[1;32m 1490\u001b[0m kwargs \u001b[38;5;241m=\u001b[39m {k: v \u001b[38;5;28;01mfor\u001b[39;00m k, v \u001b[38;5;129;01min\u001b[39;00m kwargs\u001b[38;5;241m.\u001b[39mitems() \u001b[38;5;28;01mif\u001b[39;00m k \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;129;01min\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mspecial_peft_forward_args}\n\u001b[0;32m-> 1491\u001b[0m outputs \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mbase_model\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mgenerate\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1492\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[1;32m 1493\u001b[0m outputs \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mbase_model\u001b[38;5;241m.\u001b[39mgenerate(\u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs)\n",
|
633 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py:115\u001b[0m, in \u001b[0;36mcontext_decorator.<locals>.decorate_context\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 112\u001b[0m \u001b[38;5;129m@functools\u001b[39m\u001b[38;5;241m.\u001b[39mwraps(func)\n\u001b[1;32m 113\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mdecorate_context\u001b[39m(\u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[1;32m 114\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m ctx_factory():\n\u001b[0;32m--> 115\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mfunc\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
634 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/transformers/generation/utils.py:1758\u001b[0m, in \u001b[0;36mGenerationMixin.generate\u001b[0;34m(self, inputs, generation_config, logits_processor, stopping_criteria, prefix_allowed_tokens_fn, synced_gpus, assistant_model, streamer, negative_prompt_ids, negative_prompt_attention_mask, **kwargs)\u001b[0m\n\u001b[1;32m 1750\u001b[0m input_ids, model_kwargs \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_expand_inputs_for_generation(\n\u001b[1;32m 1751\u001b[0m input_ids\u001b[38;5;241m=\u001b[39minput_ids,\n\u001b[1;32m 1752\u001b[0m expand_size\u001b[38;5;241m=\u001b[39mgeneration_config\u001b[38;5;241m.\u001b[39mnum_return_sequences,\n\u001b[1;32m 1753\u001b[0m is_encoder_decoder\u001b[38;5;241m=\u001b[39m\u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mconfig\u001b[38;5;241m.\u001b[39mis_encoder_decoder,\n\u001b[1;32m 1754\u001b[0m \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mmodel_kwargs,\n\u001b[1;32m 1755\u001b[0m )\n\u001b[1;32m 1757\u001b[0m \u001b[38;5;66;03m# 13. run sample (it degenerates to greedy search when `generation_config.do_sample=False`)\u001b[39;00m\n\u001b[0;32m-> 1758\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_sample\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 1759\u001b[0m \u001b[43m \u001b[49m\u001b[43minput_ids\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1760\u001b[0m \u001b[43m \u001b[49m\u001b[43mlogits_processor\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mprepared_logits_processor\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1761\u001b[0m \u001b[43m \u001b[49m\u001b[43mlogits_warper\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mprepared_logits_warper\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1762\u001b[0m \u001b[43m \u001b[49m\u001b[43mstopping_criteria\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mprepared_stopping_criteria\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1763\u001b[0m \u001b[43m \u001b[49m\u001b[43mgeneration_config\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mgeneration_config\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1764\u001b[0m \u001b[43m \u001b[49m\u001b[43msynced_gpus\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43msynced_gpus\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1765\u001b[0m \u001b[43m \u001b[49m\u001b[43mstreamer\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mstreamer\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1766\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mmodel_kwargs\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 1767\u001b[0m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1769\u001b[0m \u001b[38;5;28;01melif\u001b[39;00m generation_mode \u001b[38;5;129;01min\u001b[39;00m (GenerationMode\u001b[38;5;241m.\u001b[39mBEAM_SAMPLE, GenerationMode\u001b[38;5;241m.\u001b[39mBEAM_SEARCH):\n\u001b[1;32m 1770\u001b[0m \u001b[38;5;66;03m# 11. prepare logits warper\u001b[39;00m\n\u001b[1;32m 1771\u001b[0m prepared_logits_warper \u001b[38;5;241m=\u001b[39m (\n\u001b[1;32m 1772\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_get_logits_warper(generation_config) \u001b[38;5;28;01mif\u001b[39;00m generation_config\u001b[38;5;241m.\u001b[39mdo_sample \u001b[38;5;28;01melse\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m\n\u001b[1;32m 1773\u001b[0m )\n",
|
635 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/transformers/generation/utils.py:2392\u001b[0m, in \u001b[0;36mGenerationMixin._sample\u001b[0;34m(self, input_ids, logits_processor, stopping_criteria, generation_config, synced_gpus, streamer, logits_warper, **model_kwargs)\u001b[0m\n\u001b[1;32m 2389\u001b[0m unfinished_sequences \u001b[38;5;241m=\u001b[39m torch\u001b[38;5;241m.\u001b[39mones(batch_size, dtype\u001b[38;5;241m=\u001b[39mtorch\u001b[38;5;241m.\u001b[39mlong, device\u001b[38;5;241m=\u001b[39minput_ids\u001b[38;5;241m.\u001b[39mdevice)\n\u001b[1;32m 2390\u001b[0m model_kwargs \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_get_initial_cache_position(input_ids, model_kwargs)\n\u001b[0;32m-> 2392\u001b[0m \u001b[38;5;28;01mwhile\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_has_unfinished_sequences\u001b[49m\u001b[43m(\u001b[49m\u001b[43mthis_peer_finished\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43msynced_gpus\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mdevice\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43minput_ids\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mdevice\u001b[49m\u001b[43m)\u001b[49m:\n\u001b[1;32m 2393\u001b[0m \u001b[38;5;66;03m# prepare model inputs\u001b[39;00m\n\u001b[1;32m 2394\u001b[0m model_inputs \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mprepare_inputs_for_generation(input_ids, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mmodel_kwargs)\n\u001b[1;32m 2396\u001b[0m \u001b[38;5;66;03m# forward pass to get next token\u001b[39;00m\n",
|
636 |
+
"File \u001b[0;32m/opt/conda/lib/python3.10/site-packages/transformers/generation/utils.py:1922\u001b[0m, in \u001b[0;36mGenerationMixin._has_unfinished_sequences\u001b[0;34m(self, this_peer_finished, synced_gpus, device)\u001b[0m\n\u001b[1;32m 1920\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m this_peer_finished_flag\u001b[38;5;241m.\u001b[39mitem() \u001b[38;5;241m==\u001b[39m \u001b[38;5;241m0.0\u001b[39m:\n\u001b[1;32m 1921\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;01mFalse\u001b[39;00m\n\u001b[0;32m-> 1922\u001b[0m \u001b[38;5;28;01melif\u001b[39;00m this_peer_finished:\n\u001b[1;32m 1923\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;01mFalse\u001b[39;00m\n\u001b[1;32m 1924\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;01mTrue\u001b[39;00m\n",
|
637 |
+
"\u001b[0;31mKeyboardInterrupt\u001b[0m: "
|
638 |
+
]
|
639 |
+
}
|
640 |
+
],
|
641 |
+
"source": [
|
642 |
+
"\n",
|
643 |
+
"\n",
|
644 |
+
"\n",
|
645 |
+
"def generate(model, tokenizer, prompt, max_length=1024*4):\n",
|
646 |
+
" chat = [\n",
|
647 |
+
" {\"role\":\"user\", \"content\":prompt},\n",
|
648 |
+
" ]\n",
|
649 |
+
" inputs = tokenizer.apply_chat_template(chat, tokenize = False, add_generation_prompt = True)\n",
|
650 |
+
" #add bos token\n",
|
651 |
+
" inputs = tokenizer.bos_token + inputs\n",
|
652 |
+
" print(\"inputs:\", inputs)\n",
|
653 |
+
" inputs = tokenizer.encode(inputs, add_special_tokens=True, return_tensors=\"pt\")\n",
|
654 |
+
" print(\"inputs encoded:\", inputs)\n",
|
655 |
+
" # Move inputs to GPU\n",
|
656 |
+
" inputs = inputs.to(\"cuda\")\n",
|
657 |
+
" \n",
|
658 |
+
" outputs = model.generate(input_ids=inputs, max_new_tokens = max_length, min_new_tokens = 500)\n",
|
659 |
+
" #decode the outputs\n",
|
660 |
+
" outputs = tokenizer.decode(outputs[0], skip_special_tokens=False)\n",
|
661 |
+
" return outputs\n",
|
662 |
+
"\n",
|
663 |
+
"\n",
|
664 |
+
"\n",
|
665 |
+
"prompt = \"Write a story about discovering a lost manuscript. It can be from a famous (or infamous) author, or an unknown one.\"\n",
|
666 |
+
"print(\"Prompt:\", prompt)\n",
|
667 |
+
"outputs = generate(model, tokenizer, prompt)\n",
|
668 |
+
"print('written by the model:', model_path) \n",
|
669 |
+
"print(\"Generated story:\", outputs)\n",
|
670 |
+
"print(\"Length of the generated story:\", len(outputs.split()))"
|
671 |
+
]
|
672 |
+
},
|
673 |
+
{
|
674 |
+
"cell_type": "code",
|
675 |
+
"execution_count": 11,
|
676 |
+
"id": "20c32f2e-0da4-446c-a722-74ebef7eb508",
|
677 |
+
"metadata": {},
|
678 |
+
"outputs": [
|
679 |
+
{
|
680 |
+
"data": {
|
681 |
+
"text/plain": [
|
682 |
+
"'model/SFTmodels/gemma-2b_sftm3genre10vast'"
|
683 |
+
]
|
684 |
+
},
|
685 |
+
"execution_count": 11,
|
686 |
+
"metadata": {},
|
687 |
+
"output_type": "execute_result"
|
688 |
+
}
|
689 |
+
],
|
690 |
+
"source": [
|
691 |
+
"save_path = 'model/SFTmodels/' +model_name.split('/')[-2] + '_sft' + mode + split_by + str(lease_likes) + suffix\n",
|
692 |
+
"save_path"
|
693 |
+
]
|
694 |
+
},
|
695 |
+
{
|
696 |
+
"cell_type": "code",
|
697 |
+
"execution_count": 14,
|
698 |
+
"id": "859e0d8d-e677-4fca-981c-bca2590f2250",
|
699 |
+
"metadata": {},
|
700 |
+
"outputs": [
|
701 |
+
{
|
702 |
+
"data": {
|
703 |
+
"text/plain": [
|
704 |
+
"'<pad>'"
|
705 |
+
]
|
706 |
+
},
|
707 |
+
"execution_count": 14,
|
708 |
+
"metadata": {},
|
709 |
+
"output_type": "execute_result"
|
710 |
+
}
|
711 |
+
],
|
712 |
+
"source": []
|
713 |
+
},
|
714 |
+
{
|
715 |
+
"cell_type": "code",
|
716 |
+
"execution_count": null,
|
717 |
+
"id": "478d07be-fbfc-4ce1-841a-9345ff2a1cbd",
|
718 |
+
"metadata": {},
|
719 |
+
"outputs": [],
|
720 |
+
"source": []
|
721 |
+
}
|
722 |
+
],
|
723 |
+
"metadata": {
|
724 |
+
"kernelspec": {
|
725 |
+
"display_name": "Python 3 (ipykernel)",
|
726 |
+
"language": "python",
|
727 |
+
"name": "python3"
|
728 |
+
},
|
729 |
+
"language_info": {
|
730 |
+
"codemirror_mode": {
|
731 |
+
"name": "ipython",
|
732 |
+
"version": 3
|
733 |
+
},
|
734 |
+
"file_extension": ".py",
|
735 |
+
"mimetype": "text/x-python",
|
736 |
+
"name": "python",
|
737 |
+
"nbconvert_exporter": "python",
|
738 |
+
"pygments_lexer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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": 1,
|
6 |
+
"id": "10676e1f-9a7d-453f-9334-246ebb2142c9",
|
7 |
+
"metadata": {},
|
8 |
+
"outputs": [],
|
9 |
+
"source": [
|
10 |
+
"datapath = 'readsy/stories/'\n",
|
11 |
+
"pairpath = 'readsy/pairs/readsy_story_pairs0407.csv'\n",
|
12 |
+
"from transformers import AutoTokenizer\n",
|
13 |
+
"tokenizer = AutoTokenizer.from_pretrained(\"unsloth/gemma-2b-bnb-4bit\")\n"
|
14 |
+
]
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"cell_type": "code",
|
18 |
+
"execution_count": 2,
|
19 |
+
"id": "7d73d0b5-7356-4c06-96bc-91dc807bcb0d",
|
20 |
+
"metadata": {},
|
21 |
+
"outputs": [
|
22 |
+
{
|
23 |
+
"name": "stdout",
|
24 |
+
"output_type": "stream",
|
25 |
+
"text": [
|
26 |
+
"the total number of pairs is 100\n",
|
27 |
+
"the number of effective pairs is 91\n"
|
28 |
+
]
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"name": "stderr",
|
32 |
+
"output_type": "stream",
|
33 |
+
"text": [
|
34 |
+
"No chat template is set for this tokenizer, falling back to a default class-level template. This is very error-prone, because models are often trained with templates different from the class default! Default chat templates are a legacy feature and will be removed in Transformers v4.43, at which point any code depending on them will stop working. We recommend setting a valid chat template before then to ensure that this model continues working without issues.\n"
|
35 |
+
]
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"name": "stdout",
|
39 |
+
"output_type": "stream",
|
40 |
+
"text": [
|
41 |
+
"Index(['prompt_id', 'prompt', 'story_id', 'story_title', 'story_author',\n",
|
42 |
+
" 'story_url', 'link', 'genre', 'is_sensitive', 'categories', 'likes',\n",
|
43 |
+
" 'story_text', 'posted_date', 'comments'],\n",
|
44 |
+
" dtype='object')\n",
|
45 |
+
"the columns of train is Index(['prompt_id', 'story1_id', 'story2_id', 'time_lag', 'least_likes'], dtype='object')\n",
|
46 |
+
"prompt_1234\n",
|
47 |
+
"78559 Write a story about someone who finds somethin...\n",
|
48 |
+
"78560 Write a story about someone who finds somethin...\n",
|
49 |
+
"78561 Write a story about someone who finds somethin...\n",
|
50 |
+
"78562 Write a story about someone who finds somethin...\n",
|
51 |
+
"78563 Write a story about someone who finds somethin...\n",
|
52 |
+
" ... \n",
|
53 |
+
"78644 Write a story about someone who finds somethin...\n",
|
54 |
+
"78645 Write a story about someone who finds somethin...\n",
|
55 |
+
"78646 Write a story about someone who finds somethin...\n",
|
56 |
+
"78647 Write a story about someone who finds somethin...\n",
|
57 |
+
"78648 Write a story about someone who finds somethin...\n",
|
58 |
+
"Name: prompt, Length: 90, dtype: object\n",
|
59 |
+
"prompt_0852\n",
|
60 |
+
"24702 End your story with a character standing in th...\n",
|
61 |
+
"24703 End your story with a character standing in th...\n",
|
62 |
+
"24704 End your story with a character standing in th...\n",
|
63 |
+
"24705 End your story with a character standing in th...\n",
|
64 |
+
"24706 End your story with a character standing in th...\n",
|
65 |
+
" ... \n",
|
66 |
+
"24799 End your story with a character standing in th...\n",
|
67 |
+
"24800 End your story with a character standing in th...\n",
|
68 |
+
"24801 End your story with a character standing in th...\n",
|
69 |
+
"24802 End your story with a character standing in th...\n",
|
70 |
+
"24803 End your story with a character standing in th...\n",
|
71 |
+
"Name: prompt, Length: 102, dtype: object\n",
|
72 |
+
"prompt_1153\n",
|
73 |
+
"66372 Write a story about someone who's haunted by t...\n",
|
74 |
+
"66373 Write a story about someone who's haunted by t...\n",
|
75 |
+
"66374 Write a story about someone who's haunted by t...\n",
|
76 |
+
"66375 Write a story about someone who's haunted by t...\n",
|
77 |
+
"66376 Write a story about someone who's haunted by t...\n",
|
78 |
+
" ... \n",
|
79 |
+
"66621 Write a story about someone who's haunted by t...\n",
|
80 |
+
"66622 Write a story about someone who's haunted by t...\n",
|
81 |
+
"66623 Write a story about someone who's haunted by t...\n",
|
82 |
+
"66624 Write a story about someone who's haunted by t...\n",
|
83 |
+
"66625 Write a story about someone who's haunted by t...\n",
|
84 |
+
"Name: prompt, Length: 254, dtype: object\n",
|
85 |
+
"prompt_1167\n",
|
86 |
+
"69390 Write a story that takes place in a waiting room.\n",
|
87 |
+
"69391 Write a story that takes place in a waiting room.\n",
|
88 |
+
"69392 Write a story that takes place in a waiting room.\n",
|
89 |
+
"69393 Write a story that takes place in a waiting room.\n",
|
90 |
+
"69394 Write a story that takes place in a waiting room.\n",
|
91 |
+
" ... \n",
|
92 |
+
"69643 Write a story that takes place in a waiting room.\n",
|
93 |
+
"69644 Write a story that takes place in a waiting room.\n",
|
94 |
+
"69645 Write a story that takes place in a waiting room.\n",
|
95 |
+
"69646 Write a story that takes place in a waiting room.\n",
|
96 |
+
"69647 Write a story that takes place in a waiting room.\n",
|
97 |
+
"Name: prompt, Length: 258, dtype: object\n",
|
98 |
+
"prompt_0901\n",
|
99 |
+
"28473 Frame your story as an adult recalling the eve...\n",
|
100 |
+
"28474 Frame your story as an adult recalling the eve...\n",
|
101 |
+
"28475 Frame your story as an adult recalling the eve...\n",
|
102 |
+
"28476 Frame your story as an adult recalling the eve...\n",
|
103 |
+
"28477 Frame your story as an adult recalling the eve...\n",
|
104 |
+
" ... \n",
|
105 |
+
"28714 Frame your story as an adult recalling the eve...\n",
|
106 |
+
"28715 Frame your story as an adult recalling the eve...\n",
|
107 |
+
"28716 Frame your story as an adult recalling the eve...\n",
|
108 |
+
"28717 Frame your story as an adult recalling the eve...\n",
|
109 |
+
"28718 Frame your story as an adult recalling the eve...\n",
|
110 |
+
"Name: prompt, Length: 246, dtype: object\n",
|
111 |
+
"prompt_1160\n",
|
112 |
+
"68088 Write a story about a person experiencing pre-...\n",
|
113 |
+
"68089 Write a story about a person experiencing pre-...\n",
|
114 |
+
"68090 Write a story about a person experiencing pre-...\n",
|
115 |
+
"68091 Write a story about a person experiencing pre-...\n",
|
116 |
+
"68092 Write a story about a person experiencing pre-...\n",
|
117 |
+
" ... \n",
|
118 |
+
"68245 Write a story about a person experiencing pre-...\n",
|
119 |
+
"68246 Write a story about a person experiencing pre-...\n",
|
120 |
+
"68247 Write a story about a person experiencing pre-...\n",
|
121 |
+
"68248 Write a story about a person experiencing pre-...\n",
|
122 |
+
"68249 Write a story about a person experiencing pre-...\n",
|
123 |
+
"Name: prompt, Length: 162, dtype: object\n",
|
124 |
+
"prompt_0712\n",
|
125 |
+
"18628 Start your story with the narrator or a charac...\n",
|
126 |
+
"18629 Start your story with the narrator or a charac...\n",
|
127 |
+
"18630 Start your story with the narrator or a charac...\n",
|
128 |
+
"18631 Start your story with the narrator or a charac...\n",
|
129 |
+
"18632 Start your story with the narrator or a charac...\n",
|
130 |
+
" ... \n",
|
131 |
+
"18726 Start your story with the narrator or a charac...\n",
|
132 |
+
"18727 Start your story with the narrator or a charac...\n",
|
133 |
+
"18728 Start your story with the narrator or a charac...\n",
|
134 |
+
"18729 Start your story with the narrator or a charac...\n",
|
135 |
+
"18730 Start your story with the narrator or a charac...\n",
|
136 |
+
"Name: prompt, Length: 103, dtype: object\n",
|
137 |
+
"prompt_0901\n",
|
138 |
+
"28473 Frame your story as an adult recalling the eve...\n",
|
139 |
+
"28474 Frame your story as an adult recalling the eve...\n",
|
140 |
+
"28475 Frame your story as an adult recalling the eve...\n",
|
141 |
+
"28476 Frame your story as an adult recalling the eve...\n",
|
142 |
+
"28477 Frame your story as an adult recalling the eve...\n",
|
143 |
+
" ... \n",
|
144 |
+
"28714 Frame your story as an adult recalling the eve...\n",
|
145 |
+
"28715 Frame your story as an adult recalling the eve...\n",
|
146 |
+
"28716 Frame your story as an adult recalling the eve...\n",
|
147 |
+
"28717 Frame your story as an adult recalling the eve...\n",
|
148 |
+
"28718 Frame your story as an adult recalling the eve...\n",
|
149 |
+
"Name: prompt, Length: 246, dtype: object\n",
|
150 |
+
"prompt_1120\n",
|
151 |
+
"60854 Write about a character who’s stuck in an elev...\n",
|
152 |
+
"60855 Write about a character who’s stuck in an elev...\n",
|
153 |
+
"60856 Write about a character who’s stuck in an elev...\n",
|
154 |
+
"60857 Write about a character who’s stuck in an elev...\n",
|
155 |
+
"60858 Write about a character who’s stuck in an elev...\n",
|
156 |
+
" ... \n",
|
157 |
+
"61103 Write about a character who’s stuck in an elev...\n",
|
158 |
+
"61104 Write about a character who’s stuck in an elev...\n",
|
159 |
+
"61105 Write about a character who’s stuck in an elev...\n",
|
160 |
+
"61106 Write about a character who’s stuck in an elev...\n",
|
161 |
+
"61107 Write about a character who’s stuck in an elev...\n",
|
162 |
+
"Name: prompt, Length: 254, dtype: object\n",
|
163 |
+
"prompt_1089\n",
|
164 |
+
"56188 Write about a family attempting to hide their ...\n",
|
165 |
+
"56189 Write about a family attempting to hide their ...\n",
|
166 |
+
"56190 Write about a family attempting to hide their ...\n",
|
167 |
+
"56191 Write about a family attempting to hide their ...\n",
|
168 |
+
"56192 Write about a family attempting to hide their ...\n",
|
169 |
+
" ... \n",
|
170 |
+
"56305 Write about a family attempting to hide their ...\n",
|
171 |
+
"56306 Write about a family attempting to hide their ...\n",
|
172 |
+
"56307 Write about a family attempting to hide their ...\n",
|
173 |
+
"56308 Write about a family attempting to hide their ...\n",
|
174 |
+
"56309 Write about a family attempting to hide their ...\n",
|
175 |
+
"Name: prompt, Length: 122, dtype: object\n",
|
176 |
+
"prompt_1087\n",
|
177 |
+
"55709 Start your story with two characters deciding ...\n",
|
178 |
+
"55710 Start your story with two characters deciding ...\n",
|
179 |
+
"55711 Start your story with two characters deciding ...\n",
|
180 |
+
"55712 Start your story with two characters deciding ...\n",
|
181 |
+
"55713 Start your story with two characters deciding ...\n",
|
182 |
+
" ... \n",
|
183 |
+
"56027 Start your story with two characters deciding ...\n",
|
184 |
+
"56028 Start your story with two characters deciding ...\n",
|
185 |
+
"56029 Start your story with two characters deciding ...\n",
|
186 |
+
"56030 Start your story with two characters deciding ...\n",
|
187 |
+
"56031 Start your story with two characters deciding ...\n",
|
188 |
+
"Name: prompt, Length: 323, dtype: object\n",
|
189 |
+
"prompt_1111\n",
|
190 |
+
"59385 Write a post-apocalyptic story that features z...\n",
|
191 |
+
"59386 Write a post-apocalyptic story that features z...\n",
|
192 |
+
"59387 Write a post-apocalyptic story that features z...\n",
|
193 |
+
"59388 Write a post-apocalyptic story that features z...\n",
|
194 |
+
"59389 Write a post-apocalyptic story that features z...\n",
|
195 |
+
" ... \n",
|
196 |
+
"59559 Write a post-apocalyptic story that features z...\n",
|
197 |
+
"59560 Write a post-apocalyptic story that features z...\n",
|
198 |
+
"59561 Write a post-apocalyptic story that features z...\n",
|
199 |
+
"59562 Write a post-apocalyptic story that features z...\n",
|
200 |
+
"59563 Write a post-apocalyptic story that features z...\n",
|
201 |
+
"Name: prompt, Length: 179, dtype: object\n",
|
202 |
+
"prompt_0937\n",
|
203 |
+
"34660 Start your story with someone being presented ...\n",
|
204 |
+
"34661 Start your story with someone being presented ...\n",
|
205 |
+
"34662 Start your story with someone being presented ...\n",
|
206 |
+
"34663 Start your story with someone being presented ...\n",
|
207 |
+
"34664 Start your story with someone being presented ...\n",
|
208 |
+
" ... \n",
|
209 |
+
"34876 Start your story with someone being presented ...\n",
|
210 |
+
"34877 Start your story with someone being presented ...\n",
|
211 |
+
"34878 Start your story with someone being presented ...\n",
|
212 |
+
"34879 Start your story with someone being presented ...\n",
|
213 |
+
"34880 Start your story with someone being presented ...\n",
|
214 |
+
"Name: prompt, Length: 221, dtype: object\n",
|
215 |
+
"prompt_1024\n",
|
216 |
+
"46870 Write a story set in the summer, when suddenly...\n",
|
217 |
+
"46871 Write a story set in the summer, when suddenly...\n",
|
218 |
+
"46872 Write a story set in the summer, when suddenly...\n",
|
219 |
+
"46873 Write a story set in the summer, when suddenly...\n",
|
220 |
+
"46874 Write a story set in the summer, when suddenly...\n",
|
221 |
+
" ... \n",
|
222 |
+
"47029 Write a story set in the summer, when suddenly...\n",
|
223 |
+
"47030 Write a story set in the summer, when suddenly...\n",
|
224 |
+
"47031 Write a story set in the summer, when suddenly...\n",
|
225 |
+
"47032 Write a story set in the summer, when suddenly...\n",
|
226 |
+
"47033 Write a story set in the summer, when suddenly...\n",
|
227 |
+
"Name: prompt, Length: 164, dtype: object\n",
|
228 |
+
"prompt_1091\n",
|
229 |
+
"56566 Write a ghost story where there’s more going o...\n",
|
230 |
+
"56567 Write a ghost story where there’s more going o...\n",
|
231 |
+
"56568 Write a ghost story where there’s more going o...\n",
|
232 |
+
"56569 Write a ghost story where there’s more going o...\n",
|
233 |
+
"56570 Write a ghost story where there’s more going o...\n",
|
234 |
+
" ... \n",
|
235 |
+
"56789 Write a ghost story where there’s more going o...\n",
|
236 |
+
"56790 Write a ghost story where there’s more going o...\n",
|
237 |
+
"56791 Write a ghost story where there’s more going o...\n",
|
238 |
+
"56792 Write a ghost story where there’s more going o...\n",
|
239 |
+
"56793 Write a ghost story where there’s more going o...\n",
|
240 |
+
"Name: prompt, Length: 228, dtype: object\n",
|
241 |
+
"prompt_0968\n",
|
242 |
+
"39373 Start the story with the absence of a sensory ...\n",
|
243 |
+
"39374 Start the story with the absence of a sensory ...\n",
|
244 |
+
"39375 Start the story with the absence of a sensory ...\n",
|
245 |
+
"39376 Start the story with the absence of a sensory ...\n",
|
246 |
+
"39377 Start the story with the absence of a sensory ...\n",
|
247 |
+
"39378 Start the story with the absence of a sensory ...\n",
|
248 |
+
"39379 Start the story with the absence of a sensory ...\n",
|
249 |
+
"39380 Start the story with the absence of a sensory ...\n",
|
250 |
+
"39381 Start the story with the absence of a sensory ...\n",
|
251 |
+
"39382 Start the story with the absence of a sensory ...\n",
|
252 |
+
"39383 Start the story with the absence of a sensory ...\n",
|
253 |
+
"39384 Start the story with the absence of a sensory ...\n",
|
254 |
+
"39385 Start the story with the absence of a sensory ...\n",
|
255 |
+
"39386 Start the story with the absence of a sensory ...\n",
|
256 |
+
"39387 Start the story with the absence of a sensory ...\n",
|
257 |
+
"39388 Start the story with the absence of a sensory ...\n",
|
258 |
+
"39389 Start the story with the absence of a sensory ...\n",
|
259 |
+
"39390 Start the story with the absence of a sensory ...\n",
|
260 |
+
"39391 Start the story with the absence of a sensory ...\n",
|
261 |
+
"39392 Start the story with the absence of a sensory ...\n",
|
262 |
+
"39393 Start the story with the absence of a sensory ...\n",
|
263 |
+
"39394 Start the story with the absence of a sensory ...\n",
|
264 |
+
"39395 Start the story with the absence of a sensory ...\n",
|
265 |
+
"39396 Start the story with the absence of a sensory ...\n",
|
266 |
+
"39397 Start the story with the absence of a sensory ...\n",
|
267 |
+
"39398 Start the story with the absence of a sensory ...\n",
|
268 |
+
"39399 Start the story with the absence of a sensory ...\n",
|
269 |
+
"39400 Start the story with the absence of a sensory ...\n",
|
270 |
+
"39401 Start the story with the absence of a sensory ...\n",
|
271 |
+
"39402 Start the story with the absence of a sensory ...\n",
|
272 |
+
"39403 Start the story with the absence of a sensory ...\n",
|
273 |
+
"39404 Start the story with the absence of a sensory ...\n",
|
274 |
+
"39405 Start the story with the absence of a sensory ...\n",
|
275 |
+
"39406 Start the story with the absence of a sensory ...\n",
|
276 |
+
"39407 Start the story with the absence of a sensory ...\n",
|
277 |
+
"39408 Start the story with the absence of a sensory ...\n",
|
278 |
+
"39409 Start the story with the absence of a sensory ...\n",
|
279 |
+
"39410 Start the story with the absence of a sensory ...\n",
|
280 |
+
"39411 Start the story with the absence of a sensory ...\n",
|
281 |
+
"39412 Start the story with the absence of a sensory ...\n",
|
282 |
+
"39413 Start the story with the absence of a sensory ...\n",
|
283 |
+
"39414 Start the story with the absence of a sensory ...\n",
|
284 |
+
"39415 Start the story with the absence of a sensory ...\n",
|
285 |
+
"39416 Start the story with the absence of a sensory ...\n",
|
286 |
+
"39417 Start the story with the absence of a sensory ...\n",
|
287 |
+
"39418 Start the story with the absence of a sensory ...\n",
|
288 |
+
"39419 Start the story with the absence of a sensory ...\n",
|
289 |
+
"39420 Start the story with the absence of a sensory ...\n",
|
290 |
+
"39421 Start the story with the absence of a sensory ...\n",
|
291 |
+
"39422 Start the story with the absence of a sensory ...\n",
|
292 |
+
"39423 Start the story with the absence of a sensory ...\n",
|
293 |
+
"39424 Start the story with the absence of a sensory ...\n",
|
294 |
+
"39425 Start the story with the absence of a sensory ...\n",
|
295 |
+
"Name: prompt, dtype: object\n",
|
296 |
+
"prompt_0117\n",
|
297 |
+
"6151 Write about someone stuck in an endless cycle ...\n",
|
298 |
+
"6152 Write about someone stuck in an endless cycle ...\n",
|
299 |
+
"6153 Write about someone stuck in an endless cycle ...\n",
|
300 |
+
"6154 Write about someone stuck in an endless cycle ...\n",
|
301 |
+
"6155 Write about someone stuck in an endless cycle ...\n",
|
302 |
+
" ... \n",
|
303 |
+
"6217 Write about someone stuck in an endless cycle ...\n",
|
304 |
+
"6218 Write about someone stuck in an endless cycle ...\n",
|
305 |
+
"6219 Write about someone stuck in an endless cycle ...\n",
|
306 |
+
"6220 Write about someone stuck in an endless cycle ...\n",
|
307 |
+
"6221 Write about someone stuck in an endless cycle ...\n",
|
308 |
+
"Name: prompt, Length: 71, dtype: object\n",
|
309 |
+
"prompt_1142\n",
|
310 |
+
"64471 Write a story about high school sweethearts co...\n",
|
311 |
+
"64472 Write a story about high school sweethearts co...\n",
|
312 |
+
"64473 Write a story about high school sweethearts co...\n",
|
313 |
+
"64474 Write a story about high school sweethearts co...\n",
|
314 |
+
"64475 Write a story about high school sweethearts co...\n",
|
315 |
+
" ... \n",
|
316 |
+
"64753 Write a story about high school sweethearts co...\n",
|
317 |
+
"64754 Write a story about high school sweethearts co...\n",
|
318 |
+
"64755 Write a story about high school sweethearts co...\n",
|
319 |
+
"64756 Write a story about high school sweethearts co...\n",
|
320 |
+
"64757 Write a story about high school sweethearts co...\n",
|
321 |
+
"Name: prompt, Length: 287, dtype: object\n",
|
322 |
+
"prompt_0146\n",
|
323 |
+
"7765 Write a story entirely of dialogue. Nothing bu...\n",
|
324 |
+
"7766 Write a story entirely of dialogue. Nothing bu...\n",
|
325 |
+
"7767 Write a story entirely of dialogue. Nothing bu...\n",
|
326 |
+
"7768 Write a story entirely of dialogue. Nothing bu...\n",
|
327 |
+
"7769 Write a story entirely of dialogue. Nothing bu...\n",
|
328 |
+
" ... \n",
|
329 |
+
"8044 Write a story entirely of dialogue. Nothing bu...\n",
|
330 |
+
"8045 Write a story entirely of dialogue. Nothing bu...\n",
|
331 |
+
"8046 Write a story entirely of dialogue. Nothing bu...\n",
|
332 |
+
"8047 Write a story entirely of dialogue. Nothing bu...\n",
|
333 |
+
"8048 Write a story entirely of dialogue. Nothing bu...\n",
|
334 |
+
"Name: prompt, Length: 284, dtype: object\n",
|
335 |
+
"prompt_1005\n",
|
336 |
+
"43705 Write about a first date that surprises both p...\n",
|
337 |
+
"43706 Write about a first date that surprises both p...\n",
|
338 |
+
"43707 Write about a first date that surprises both p...\n",
|
339 |
+
"43708 Write about a first date that surprises both p...\n",
|
340 |
+
"43709 Write about a first date that surprises both p...\n",
|
341 |
+
" ... \n",
|
342 |
+
"43862 Write about a first date that surprises both p...\n",
|
343 |
+
"43863 Write about a first date that surprises both p...\n",
|
344 |
+
"43864 Write about a first date that surprises both p...\n",
|
345 |
+
"43865 Write about a first date that surprises both p...\n",
|
346 |
+
"43866 Write about a first date that surprises both p...\n",
|
347 |
+
"Name: prompt, Length: 162, dtype: object\n",
|
348 |
+
"prompt_1084\n",
|
349 |
+
"55202 Write about a vampire or werewolf who moves in...\n",
|
350 |
+
"55203 Write about a vampire or werewolf who moves in...\n",
|
351 |
+
"55204 Write about a vampire or werewolf who moves in...\n",
|
352 |
+
"55205 Write about a vampire or werewolf who moves in...\n",
|
353 |
+
"55206 Write about a vampire or werewolf who moves in...\n",
|
354 |
+
" ... \n",
|
355 |
+
"55359 Write about a vampire or werewolf who moves in...\n",
|
356 |
+
"55360 Write about a vampire or werewolf who moves in...\n",
|
357 |
+
"55361 Write about a vampire or werewolf who moves in...\n",
|
358 |
+
"55362 Write about a vampire or werewolf who moves in...\n",
|
359 |
+
"55363 Write about a vampire or werewolf who moves in...\n",
|
360 |
+
"Name: prompt, Length: 162, dtype: object\n",
|
361 |
+
"prompt_1172\n",
|
362 |
+
"69960 Write about someone who has a superpower.\n",
|
363 |
+
"69961 Write about someone who has a superpower.\n",
|
364 |
+
"69962 Write about someone who has a superpower.\n",
|
365 |
+
"69963 Write about someone who has a superpower.\n",
|
366 |
+
"69964 Write about someone who has a superpower.\n",
|
367 |
+
" ... \n",
|
368 |
+
"70292 Write about someone who has a superpower.\n",
|
369 |
+
"70293 Write about someone who has a superpower.\n",
|
370 |
+
"70294 Write about someone who has a superpower.\n",
|
371 |
+
"70295 Write about someone who has a superpower.\n",
|
372 |
+
"70296 Write about someone who has a superpower.\n",
|
373 |
+
"Name: prompt, Length: 337, dtype: object\n",
|
374 |
+
"prompt_0944\n",
|
375 |
+
"35521 Write your story about two characters tidying ...\n",
|
376 |
+
"35522 Write your story about two characters tidying ...\n",
|
377 |
+
"35523 Write your story about two characters tidying ...\n",
|
378 |
+
"35524 Write your story about two characters tidying ...\n",
|
379 |
+
"35525 Write your story about two characters tidying ...\n",
|
380 |
+
" ... \n",
|
381 |
+
"35668 Write your story about two characters tidying ...\n",
|
382 |
+
"35669 Write your story about two characters tidying ...\n",
|
383 |
+
"35670 Write your story about two characters tidying ...\n",
|
384 |
+
"35671 Write your story about two characters tidying ...\n",
|
385 |
+
"35672 Write your story about two characters tidying ...\n",
|
386 |
+
"Name: prompt, Length: 152, dtype: object\n",
|
387 |
+
"prompt_1005\n",
|
388 |
+
"43705 Write about a first date that surprises both p...\n",
|
389 |
+
"43706 Write about a first date that surprises both p...\n",
|
390 |
+
"43707 Write about a first date that surprises both p...\n",
|
391 |
+
"43708 Write about a first date that surprises both p...\n",
|
392 |
+
"43709 Write about a first date that surprises both p...\n",
|
393 |
+
" ... \n",
|
394 |
+
"43862 Write about a first date that surprises both p...\n",
|
395 |
+
"43863 Write about a first date that surprises both p...\n",
|
396 |
+
"43864 Write about a first date that surprises both p...\n",
|
397 |
+
"43865 Write about a first date that surprises both p...\n",
|
398 |
+
"43866 Write about a first date that surprises both p...\n",
|
399 |
+
"Name: prompt, Length: 162, dtype: object\n",
|
400 |
+
"prompt_1027\n",
|
401 |
+
"47435 Write about two people going sledding for the ...\n",
|
402 |
+
"47436 Write about two people going sledding for the ...\n",
|
403 |
+
"47437 Write about two people going sledding for the ...\n",
|
404 |
+
"47438 Write about two people going sledding for the ...\n",
|
405 |
+
"47439 Write about two people going sledding for the ...\n",
|
406 |
+
" ... \n",
|
407 |
+
"47561 Write about two people going sledding for the ...\n",
|
408 |
+
"47562 Write about two people going sledding for the ...\n",
|
409 |
+
"47563 Write about two people going sledding for the ...\n",
|
410 |
+
"47564 Write about two people going sledding for the ...\n",
|
411 |
+
"47565 Write about two people going sledding for the ...\n",
|
412 |
+
"Name: prompt, Length: 131, dtype: object\n",
|
413 |
+
"prompt_0985\n",
|
414 |
+
"40711 Start your story with the line, “That’s the th...\n",
|
415 |
+
"40712 Start your story with the line, “That’s the th...\n",
|
416 |
+
"40713 Start your story with the line, “That’s the th...\n",
|
417 |
+
"40714 Start your story with the line, “That’s the th...\n",
|
418 |
+
"40715 Start your story with the line, “That’s the th...\n",
|
419 |
+
" ... \n",
|
420 |
+
"40992 Start your story with the line, “That’s the th...\n",
|
421 |
+
"40993 Start your story with the line, “That’s the th...\n",
|
422 |
+
"40994 Start your story with the line, “That’s the th...\n",
|
423 |
+
"40995 Start your story with the line, “That’s the th...\n",
|
424 |
+
"40996 Start your story with the line, “That’s the th...\n",
|
425 |
+
"Name: prompt, Length: 286, dtype: object\n",
|
426 |
+
"prompt_0985\n",
|
427 |
+
"40711 Start your story with the line, “That’s the th...\n",
|
428 |
+
"40712 Start your story with the line, “That’s the th...\n",
|
429 |
+
"40713 Start your story with the line, “That’s the th...\n",
|
430 |
+
"40714 Start your story with the line, “That’s the th...\n",
|
431 |
+
"40715 Start your story with the line, “That’s the th...\n",
|
432 |
+
" ... \n",
|
433 |
+
"40992 Start your story with the line, “That’s the th...\n",
|
434 |
+
"40993 Start your story with the line, “That’s the th...\n",
|
435 |
+
"40994 Start your story with the line, “That’s the th...\n",
|
436 |
+
"40995 Start your story with the line, “That’s the th...\n",
|
437 |
+
"40996 Start your story with the line, “That’s the th...\n",
|
438 |
+
"Name: prompt, Length: 286, dtype: object\n",
|
439 |
+
"prompt_1069\n",
|
440 |
+
"52899 Start your story with the line, “This was supp...\n",
|
441 |
+
"52900 Start your story with the line, “This was supp...\n",
|
442 |
+
"52901 Start your story with the line, “This was supp...\n",
|
443 |
+
"52902 Start your story with the line, “This was supp...\n",
|
444 |
+
"52903 Start your story with the line, “This was supp...\n",
|
445 |
+
" ... \n",
|
446 |
+
"53026 Start your story with the line, “This was supp...\n",
|
447 |
+
"53027 Start your story with the line, “This was supp...\n",
|
448 |
+
"53028 Start your story with the line, “This was supp...\n",
|
449 |
+
"53029 Start your story with the line, “This was supp...\n",
|
450 |
+
"53030 Start your story with the line, “This was supp...\n",
|
451 |
+
"Name: prompt, Length: 132, dtype: object\n",
|
452 |
+
"prompt_1150\n",
|
453 |
+
"65712 You thought he was dead, but there he is, righ...\n",
|
454 |
+
"65713 You thought he was dead, but there he is, righ...\n",
|
455 |
+
"65714 You thought he was dead, but there he is, righ...\n",
|
456 |
+
"65715 You thought he was dead, but there he is, righ...\n",
|
457 |
+
"65716 You thought he was dead, but there he is, righ...\n",
|
458 |
+
" ... \n",
|
459 |
+
"66127 You thought he was dead, but there he is, righ...\n",
|
460 |
+
"66128 You thought he was dead, but there he is, righ...\n",
|
461 |
+
"66129 You thought he was dead, but there he is, righ...\n",
|
462 |
+
"66130 You thought he was dead, but there he is, righ...\n",
|
463 |
+
"66131 You thought he was dead, but there he is, righ...\n",
|
464 |
+
"Name: prompt, Length: 420, dtype: object\n",
|
465 |
+
"prompt_0953\n",
|
466 |
+
"37637 Write about a character stumbling upon a libra...\n",
|
467 |
+
"37638 Write about a character stumbling upon a libra...\n",
|
468 |
+
"37639 Write about a character stumbling upon a libra...\n",
|
469 |
+
"37640 Write about a character stumbling upon a libra...\n",
|
470 |
+
"37641 Write about a character stumbling upon a libra...\n",
|
471 |
+
" ... \n",
|
472 |
+
"37842 Write about a character stumbling upon a libra...\n",
|
473 |
+
"37843 Write about a character stumbling upon a libra...\n",
|
474 |
+
"37844 Write about a character stumbling upon a libra...\n",
|
475 |
+
"37845 Write about a character stumbling upon a libra...\n",
|
476 |
+
"37846 Write about a character stumbling upon a libra...\n",
|
477 |
+
"Name: prompt, Length: 210, dtype: object\n",
|
478 |
+
"prompt_0919\n",
|
479 |
+
"31610 Set your story on (or in) a winding river.\n",
|
480 |
+
"31611 Set your story on (or in) a winding river.\n",
|
481 |
+
"31612 Set your story on (or in) a winding river.\n",
|
482 |
+
"31613 Set your story on (or in) a winding river.\n",
|
483 |
+
"31614 Set your story on (or in) a winding river.\n",
|
484 |
+
" ... \n",
|
485 |
+
"31730 Set your story on (or in) a winding river.\n",
|
486 |
+
"31731 Set your story on (or in) a winding river.\n",
|
487 |
+
"31732 Set your story on (or in) a winding river.\n",
|
488 |
+
"31733 Set your story on (or in) a winding river.\n",
|
489 |
+
"31734 Set your story on (or in) a winding river.\n",
|
490 |
+
"Name: prompt, Length: 125, dtype: object\n",
|
491 |
+
"prompt_0952\n",
|
492 |
+
"36994 Write a story that begins in the light and end...\n",
|
493 |
+
"36995 Write a story that begins in the light and end...\n",
|
494 |
+
"36996 Write a story that begins in the light and end...\n",
|
495 |
+
"36997 Write a story that begins in the light and end...\n",
|
496 |
+
"36998 Write a story that begins in the light and end...\n",
|
497 |
+
" ... \n",
|
498 |
+
"37376 Write a story that begins in the light and end...\n",
|
499 |
+
"37377 Write a story that begins in the light and end...\n",
|
500 |
+
"37378 Write a story that begins in the light and end...\n",
|
501 |
+
"37379 Write a story that begins in the light and end...\n",
|
502 |
+
"37380 Write a story that begins in the light and end...\n",
|
503 |
+
"Name: prompt, Length: 387, dtype: object\n",
|
504 |
+
"prompt_1160\n",
|
505 |
+
"68088 Write a story about a person experiencing pre-...\n",
|
506 |
+
"68089 Write a story about a person experiencing pre-...\n",
|
507 |
+
"68090 Write a story about a person experiencing pre-...\n",
|
508 |
+
"68091 Write a story about a person experiencing pre-...\n",
|
509 |
+
"68092 Write a story about a person experiencing pre-...\n",
|
510 |
+
" ... \n",
|
511 |
+
"68245 Write a story about a person experiencing pre-...\n",
|
512 |
+
"68246 Write a story about a person experiencing pre-...\n",
|
513 |
+
"68247 Write a story about a person experiencing pre-...\n",
|
514 |
+
"68248 Write a story about a person experiencing pre-...\n",
|
515 |
+
"68249 Write a story about a person experiencing pre-...\n",
|
516 |
+
"Name: prompt, Length: 162, dtype: object\n",
|
517 |
+
"prompt_1176\n",
|
518 |
+
"71095 \"Just say it,\" you silently reminded yourself....\n",
|
519 |
+
"71096 \"Just say it,\" you silently reminded yourself....\n",
|
520 |
+
"71097 \"Just say it,\" you silently reminded yourself....\n",
|
521 |
+
"71098 \"Just say it,\" you silently reminded yourself....\n",
|
522 |
+
"71099 \"Just say it,\" you silently reminded yourself....\n",
|
523 |
+
" ... \n",
|
524 |
+
"71311 \"Just say it,\" you silently reminded yourself....\n",
|
525 |
+
"71312 \"Just say it,\" you silently reminded yourself....\n",
|
526 |
+
"71313 \"Just say it,\" you silently reminded yourself....\n",
|
527 |
+
"71314 \"Just say it,\" you silently reminded yourself....\n",
|
528 |
+
"71315 \"Just say it,\" you silently reminded yourself....\n",
|
529 |
+
"Name: prompt, Length: 221, dtype: object\n",
|
530 |
+
"prompt_1116\n",
|
531 |
+
"60115 Write about a character arriving in a place un...\n",
|
532 |
+
"60116 Write about a character arriving in a place un...\n",
|
533 |
+
"60117 Write about a character arriving in a place un...\n",
|
534 |
+
"60118 Write about a character arriving in a place un...\n",
|
535 |
+
"60119 Write about a character arriving in a place un...\n",
|
536 |
+
" ... \n",
|
537 |
+
"60311 Write about a character arriving in a place un...\n",
|
538 |
+
"60312 Write about a character arriving in a place un...\n",
|
539 |
+
"60313 Write about a character arriving in a place un...\n",
|
540 |
+
"60314 Write about a character arriving in a place un...\n",
|
541 |
+
"60315 Write about a character arriving in a place un...\n",
|
542 |
+
"Name: prompt, Length: 201, dtype: object\n",
|
543 |
+
"prompt_1115\n",
|
544 |
+
"60046 Set your story in a place with extreme weather...\n",
|
545 |
+
"60047 Set your story in a place with extreme weather...\n",
|
546 |
+
"60048 Set your story in a place with extreme weather...\n",
|
547 |
+
"60049 Set your story in a place with extreme weather...\n",
|
548 |
+
"60050 Set your story in a place with extreme weather...\n",
|
549 |
+
" ... \n",
|
550 |
+
"60110 Set your story in a place with extreme weather...\n",
|
551 |
+
"60111 Set your story in a place with extreme weather...\n",
|
552 |
+
"60112 Set your story in a place with extreme weather...\n",
|
553 |
+
"60113 Set your story in a place with extreme weather...\n",
|
554 |
+
"60114 Set your story in a place with extreme weather...\n",
|
555 |
+
"Name: prompt, Length: 69, dtype: object\n",
|
556 |
+
"prompt_1165\n",
|
557 |
+
"68891 Write a story about waiting — but don't reveal...\n",
|
558 |
+
"68892 Write a story about waiting — but don't reveal...\n",
|
559 |
+
"68893 Write a story about waiting — but don't reveal...\n",
|
560 |
+
"68894 Write a story about waiting — but don't reveal...\n",
|
561 |
+
"68895 Write a story about waiting — but don't reveal...\n",
|
562 |
+
" ... \n",
|
563 |
+
"69211 Write a story about waiting — but don't reveal...\n",
|
564 |
+
"69212 Write a story about waiting — but don't reveal...\n",
|
565 |
+
"69213 Write a story about waiting — but don't reveal...\n",
|
566 |
+
"69214 Write a story about waiting — but don't reveal...\n",
|
567 |
+
"69215 Write a story about waiting — but don't reveal...\n",
|
568 |
+
"Name: prompt, Length: 325, dtype: object\n",
|
569 |
+
"prompt_1077\n",
|
570 |
+
"54378 Write about a pirate captain obsessed with fin...\n",
|
571 |
+
"54379 Write about a pirate captain obsessed with fin...\n",
|
572 |
+
"54380 Write about a pirate captain obsessed with fin...\n",
|
573 |
+
"54381 Write about a pirate captain obsessed with fin...\n",
|
574 |
+
"54382 Write about a pirate captain obsessed with fin...\n",
|
575 |
+
" ... \n",
|
576 |
+
"54518 Write about a pirate captain obsessed with fin...\n",
|
577 |
+
"54519 Write about a pirate captain obsessed with fin...\n",
|
578 |
+
"54520 Write about a pirate captain obsessed with fin...\n",
|
579 |
+
"54521 Write about a pirate captain obsessed with fin...\n",
|
580 |
+
"54522 Write about a pirate captain obsessed with fin...\n",
|
581 |
+
"Name: prompt, Length: 145, dtype: object\n",
|
582 |
+
"prompt_0931\n",
|
583 |
+
"33661 Start your story with the arrival of a strange...\n",
|
584 |
+
"33662 Start your story with the arrival of a strange...\n",
|
585 |
+
"33663 Start your story with the arrival of a strange...\n",
|
586 |
+
"33664 Start your story with the arrival of a strange...\n",
|
587 |
+
"33665 Start your story with the arrival of a strange...\n",
|
588 |
+
" ... \n",
|
589 |
+
"33846 Start your story with the arrival of a strange...\n",
|
590 |
+
"33847 Start your story with the arrival of a strange...\n",
|
591 |
+
"33848 Start your story with the arrival of a strange...\n",
|
592 |
+
"33849 Start your story with the arrival of a strange...\n",
|
593 |
+
"33850 Start your story with the arrival of a strange...\n",
|
594 |
+
"Name: prompt, Length: 190, dtype: object\n",
|
595 |
+
"prompt_0960\n",
|
596 |
+
"38500 Set your story in a world living with the cons...\n",
|
597 |
+
"38501 Set your story in a world living with the cons...\n",
|
598 |
+
"38502 Set your story in a world living with the cons...\n",
|
599 |
+
"38503 Set your story in a world living with the cons...\n",
|
600 |
+
"38504 Set your story in a world living with the cons...\n",
|
601 |
+
" ... \n",
|
602 |
+
"38630 Set your story in a world living with the cons...\n",
|
603 |
+
"38631 Set your story in a world living with the cons...\n",
|
604 |
+
"38632 Set your story in a world living with the cons...\n",
|
605 |
+
"38633 Set your story in a world living with the cons...\n",
|
606 |
+
"38634 Set your story in a world living with the cons...\n",
|
607 |
+
"Name: prompt, Length: 135, dtype: object\n",
|
608 |
+
"prompt_1189\n",
|
609 |
+
"72488 Write a story that starts with a character-rev...\n",
|
610 |
+
"72489 Write a story that starts with a character-rev...\n",
|
611 |
+
"72490 Write a story that starts with a character-rev...\n",
|
612 |
+
"72491 Write a story that starts with a character-rev...\n",
|
613 |
+
"72492 Write a story that starts with a character-rev...\n",
|
614 |
+
" ... \n",
|
615 |
+
"72626 Write a story that starts with a character-rev...\n",
|
616 |
+
"72627 Write a story that starts with a character-rev...\n",
|
617 |
+
"72628 Write a story that starts with a character-rev...\n",
|
618 |
+
"72629 Write a story that starts with a character-rev...\n",
|
619 |
+
"72630 Write a story that starts with a character-rev...\n",
|
620 |
+
"Name: prompt, Length: 143, dtype: object\n",
|
621 |
+
"prompt_0146\n",
|
622 |
+
"7765 Write a story entirely of dialogue. Nothing bu...\n",
|
623 |
+
"7766 Write a story entirely of dialogue. Nothing bu...\n",
|
624 |
+
"7767 Write a story entirely of dialogue. Nothing bu...\n",
|
625 |
+
"7768 Write a story entirely of dialogue. Nothing bu...\n",
|
626 |
+
"7769 Write a story entirely of dialogue. Nothing bu...\n",
|
627 |
+
" ... \n",
|
628 |
+
"8044 Write a story entirely of dialogue. Nothing bu...\n",
|
629 |
+
"8045 Write a story entirely of dialogue. Nothing bu...\n",
|
630 |
+
"8046 Write a story entirely of dialogue. Nothing bu...\n",
|
631 |
+
"8047 Write a story entirely of dialogue. Nothing bu...\n",
|
632 |
+
"8048 Write a story entirely of dialogue. Nothing bu...\n",
|
633 |
+
"Name: prompt, Length: 284, dtype: object\n",
|
634 |
+
"prompt_0932\n",
|
635 |
+
"33393 Write a story about strangers becoming friends...\n",
|
636 |
+
"33394 Write a story about strangers becoming friends...\n",
|
637 |
+
"33395 Write a story about strangers becoming friends...\n",
|
638 |
+
"33396 Write a story about strangers becoming friends...\n",
|
639 |
+
"33397 Write a story about strangers becoming friends...\n",
|
640 |
+
" ... \n",
|
641 |
+
"33656 Write a story about strangers becoming friends...\n",
|
642 |
+
"33657 Write a story about strangers becoming friends...\n",
|
643 |
+
"33658 Write a story about strangers becoming friends...\n",
|
644 |
+
"33659 Write a story about strangers becoming friends...\n",
|
645 |
+
"33660 Write a story about strangers becoming friends...\n",
|
646 |
+
"Name: prompt, Length: 268, dtype: object\n",
|
647 |
+
"prompt_1142\n",
|
648 |
+
"64471 Write a story about high school sweethearts co...\n",
|
649 |
+
"64472 Write a story about high school sweethearts co...\n",
|
650 |
+
"64473 Write a story about high school sweethearts co...\n",
|
651 |
+
"64474 Write a story about high school sweethearts co...\n",
|
652 |
+
"64475 Write a story about high school sweethearts co...\n",
|
653 |
+
" ... \n",
|
654 |
+
"64753 Write a story about high school sweethearts co...\n",
|
655 |
+
"64754 Write a story about high school sweethearts co...\n",
|
656 |
+
"64755 Write a story about high school sweethearts co...\n",
|
657 |
+
"64756 Write a story about high school sweethearts co...\n",
|
658 |
+
"64757 Write a story about high school sweethearts co...\n",
|
659 |
+
"Name: prompt, Length: 287, dtype: object\n",
|
660 |
+
"prompt_1096\n",
|
661 |
+
"57385 Start your story with the line, “By the time I...\n",
|
662 |
+
"57386 Start your story with the line, “By the time I...\n",
|
663 |
+
"57387 Start your story with the line, “By the time I...\n",
|
664 |
+
"57388 Start your story with the line, “By the time I...\n",
|
665 |
+
"57389 Start your story with the line, “By the time I...\n",
|
666 |
+
" ... \n",
|
667 |
+
"57706 Start your story with the line, “By the time I...\n",
|
668 |
+
"57707 Start your story with the line, “By the time I...\n",
|
669 |
+
"57708 Start your story with the line, “By the time I...\n",
|
670 |
+
"57709 Start your story with the line, “By the time I...\n",
|
671 |
+
"57710 Start your story with the line, “By the time I...\n",
|
672 |
+
"Name: prompt, Length: 326, dtype: object\n",
|
673 |
+
"prompt_1177\n",
|
674 |
+
"70881 As you check your mail, you notice a letter th...\n",
|
675 |
+
"70882 As you check your mail, you notice a letter th...\n",
|
676 |
+
"70883 As you check your mail, you notice a letter th...\n",
|
677 |
+
"70884 As you check your mail, you notice a letter th...\n",
|
678 |
+
"70885 As you check your mail, you notice a letter th...\n",
|
679 |
+
" ... \n",
|
680 |
+
"71090 As you check your mail, you notice a letter th...\n",
|
681 |
+
"71091 As you check your mail, you notice a letter th...\n",
|
682 |
+
"71092 As you check your mail, you notice a letter th...\n",
|
683 |
+
"71093 As you check your mail, you notice a letter th...\n",
|
684 |
+
"71094 As you check your mail, you notice a letter th...\n",
|
685 |
+
"Name: prompt, Length: 214, dtype: object\n",
|
686 |
+
"prompt_1168\n",
|
687 |
+
"69648 Write a story that features a protagonist with...\n",
|
688 |
+
"69649 Write a story that features a protagonist with...\n",
|
689 |
+
"69650 Write a story that features a protagonist with...\n",
|
690 |
+
"69651 Write a story that features a protagonist with...\n",
|
691 |
+
"69652 Write a story that features a protagonist with...\n",
|
692 |
+
" ... \n",
|
693 |
+
"69756 Write a story that features a protagonist with...\n",
|
694 |
+
"69757 Write a story that features a protagonist with...\n",
|
695 |
+
"69758 Write a story that features a protagonist with...\n",
|
696 |
+
"69759 Write a story that features a protagonist with...\n",
|
697 |
+
"69760 Write a story that features a protagonist with...\n",
|
698 |
+
"Name: prompt, Length: 113, dtype: object\n",
|
699 |
+
"prompt_1158\n",
|
700 |
+
"67634 Write a story about a summer afternoon spent i...\n",
|
701 |
+
"67635 Write a story about a summer afternoon spent i...\n",
|
702 |
+
"67636 Write a story about a summer afternoon spent i...\n",
|
703 |
+
"67637 Write a story about a summer afternoon spent i...\n",
|
704 |
+
"67638 Write a story about a summer afternoon spent i...\n",
|
705 |
+
" ... \n",
|
706 |
+
"67937 Write a story about a summer afternoon spent i...\n",
|
707 |
+
"67938 Write a story about a summer afternoon spent i...\n",
|
708 |
+
"67939 Write a story about a summer afternoon spent i...\n",
|
709 |
+
"67940 Write a story about a summer afternoon spent i...\n",
|
710 |
+
"67941 Write a story about a summer afternoon spent i...\n",
|
711 |
+
"Name: prompt, Length: 308, dtype: object\n",
|
712 |
+
"prompt_0937\n",
|
713 |
+
"34660 Start your story with someone being presented ...\n",
|
714 |
+
"34661 Start your story with someone being presented ...\n",
|
715 |
+
"34662 Start your story with someone being presented ...\n",
|
716 |
+
"34663 Start your story with someone being presented ...\n",
|
717 |
+
"34664 Start your story with someone being presented ...\n",
|
718 |
+
" ... \n",
|
719 |
+
"34876 Start your story with someone being presented ...\n",
|
720 |
+
"34877 Start your story with someone being presented ...\n",
|
721 |
+
"34878 Start your story with someone being presented ...\n",
|
722 |
+
"34879 Start your story with someone being presented ...\n",
|
723 |
+
"34880 Start your story with someone being presented ...\n",
|
724 |
+
"Name: prompt, Length: 221, dtype: object\n",
|
725 |
+
"prompt_0044\n",
|
726 |
+
"2338 Write about a person who constantly has to put...\n",
|
727 |
+
"2339 Write about a person who constantly has to put...\n",
|
728 |
+
"2340 Write about a person who constantly has to put...\n",
|
729 |
+
"2341 Write about a person who constantly has to put...\n",
|
730 |
+
"2342 Write about a person who constantly has to put...\n",
|
731 |
+
" ... \n",
|
732 |
+
"2416 Write about a person who constantly has to put...\n",
|
733 |
+
"2417 Write about a person who constantly has to put...\n",
|
734 |
+
"2418 Write about a person who constantly has to put...\n",
|
735 |
+
"2419 Write about a person who constantly has to put...\n",
|
736 |
+
"2420 Write about a person who constantly has to put...\n",
|
737 |
+
"Name: prompt, Length: 83, dtype: object\n",
|
738 |
+
"prompt_1142\n",
|
739 |
+
"64471 Write a story about high school sweethearts co...\n",
|
740 |
+
"64472 Write a story about high school sweethearts co...\n",
|
741 |
+
"64473 Write a story about high school sweethearts co...\n",
|
742 |
+
"64474 Write a story about high school sweethearts co...\n",
|
743 |
+
"64475 Write a story about high school sweethearts co...\n",
|
744 |
+
" ... \n",
|
745 |
+
"64753 Write a story about high school sweethearts co...\n",
|
746 |
+
"64754 Write a story about high school sweethearts co...\n",
|
747 |
+
"64755 Write a story about high school sweethearts co...\n",
|
748 |
+
"64756 Write a story about high school sweethearts co...\n",
|
749 |
+
"64757 Write a story about high school sweethearts co...\n",
|
750 |
+
"Name: prompt, Length: 287, dtype: object\n",
|
751 |
+
"prompt_1167\n",
|
752 |
+
"69390 Write a story that takes place in a waiting room.\n",
|
753 |
+
"69391 Write a story that takes place in a waiting room.\n",
|
754 |
+
"69392 Write a story that takes place in a waiting room.\n",
|
755 |
+
"69393 Write a story that takes place in a waiting room.\n",
|
756 |
+
"69394 Write a story that takes place in a waiting room.\n",
|
757 |
+
" ... \n",
|
758 |
+
"69643 Write a story that takes place in a waiting room.\n",
|
759 |
+
"69644 Write a story that takes place in a waiting room.\n",
|
760 |
+
"69645 Write a story that takes place in a waiting room.\n",
|
761 |
+
"69646 Write a story that takes place in a waiting room.\n",
|
762 |
+
"69647 Write a story that takes place in a waiting room.\n",
|
763 |
+
"Name: prompt, Length: 258, dtype: object\n",
|
764 |
+
"prompt_1274\n",
|
765 |
+
"81742 Write a short story that ends with a twist.\n",
|
766 |
+
"81743 Write a short story that ends with a twist.\n",
|
767 |
+
"81744 Write a short story that ends with a twist.\n",
|
768 |
+
"81745 Write a short story that ends with a twist.\n",
|
769 |
+
"81746 Write a short story that ends with a twist.\n",
|
770 |
+
" ... \n",
|
771 |
+
"81894 Write a short story that ends with a twist.\n",
|
772 |
+
"81895 Write a short story that ends with a twist.\n",
|
773 |
+
"81896 Write a short story that ends with a twist.\n",
|
774 |
+
"81897 Write a short story that ends with a twist.\n",
|
775 |
+
"81898 Write a short story that ends with a twist.\n",
|
776 |
+
"Name: prompt, Length: 157, dtype: object\n",
|
777 |
+
"prompt_1017\n",
|
778 |
+
"45613 Write about someone who decides it’s time to c...\n",
|
779 |
+
"45614 Write about someone who decides it’s time to c...\n",
|
780 |
+
"45615 Write about someone who decides it’s time to c...\n",
|
781 |
+
"45616 Write about someone who decides it’s time to c...\n",
|
782 |
+
"45617 Write about someone who decides it’s time to c...\n",
|
783 |
+
" ... \n",
|
784 |
+
"45873 Write about someone who decides it’s time to c...\n",
|
785 |
+
"45874 Write about someone who decides it’s time to c...\n",
|
786 |
+
"45875 Write about someone who decides it’s time to c...\n",
|
787 |
+
"45876 Write about someone who decides it’s time to c...\n",
|
788 |
+
"45877 Write about someone who decides it’s time to c...\n",
|
789 |
+
"Name: prompt, Length: 265, dtype: object\n",
|
790 |
+
"prompt_0638\n",
|
791 |
+
"15353 Write a story featuring an element of time-tra...\n",
|
792 |
+
"15354 Write a story featuring an element of time-tra...\n",
|
793 |
+
"15355 Write a story featuring an element of time-tra...\n",
|
794 |
+
"15356 Write a story featuring an element of time-tra...\n",
|
795 |
+
"15357 Write a story featuring an element of time-tra...\n",
|
796 |
+
" ... \n",
|
797 |
+
"15416 Write a story featuring an element of time-tra...\n",
|
798 |
+
"15417 Write a story featuring an element of time-tra...\n",
|
799 |
+
"15418 Write a story featuring an element of time-tra...\n",
|
800 |
+
"15419 Write a story featuring an element of time-tra...\n",
|
801 |
+
"15420 Write a story featuring an element of time-tra...\n",
|
802 |
+
"Name: prompt, Length: 68, dtype: object\n",
|
803 |
+
"prompt_1197\n",
|
804 |
+
"73639 Write a story about transformation.\n",
|
805 |
+
"73640 Write a story about transformation.\n",
|
806 |
+
"73641 Write a story about transformation.\n",
|
807 |
+
"73642 Write a story about transformation.\n",
|
808 |
+
"73643 Write a story about transformation.\n",
|
809 |
+
" ... \n",
|
810 |
+
"73807 Write a story about transformation.\n",
|
811 |
+
"73808 Write a story about transformation.\n",
|
812 |
+
"73809 Write a story about transformation.\n",
|
813 |
+
"73810 Write a story about transformation.\n",
|
814 |
+
"73811 Write a story about transformation.\n",
|
815 |
+
"Name: prompt, Length: 173, dtype: object\n",
|
816 |
+
"prompt_0935\n",
|
817 |
+
"34213 A character stands in front of two doors. Writ...\n",
|
818 |
+
"34214 A character stands in front of two doors. Writ...\n",
|
819 |
+
"34215 A character stands in front of two doors. Writ...\n",
|
820 |
+
"34216 A character stands in front of two doors. Writ...\n",
|
821 |
+
"34217 A character stands in front of two doors. Writ...\n",
|
822 |
+
" ... \n",
|
823 |
+
"34448 A character stands in front of two doors. Writ...\n",
|
824 |
+
"34449 A character stands in front of two doors. Writ...\n",
|
825 |
+
"34450 A character stands in front of two doors. Writ...\n",
|
826 |
+
"34451 A character stands in front of two doors. Writ...\n",
|
827 |
+
"34452 A character stands in front of two doors. Writ...\n",
|
828 |
+
"Name: prompt, Length: 240, dtype: object\n",
|
829 |
+
"prompt_0620\n",
|
830 |
+
"14572 Write a story where the law plays an important...\n",
|
831 |
+
"14573 Write a story where the law plays an important...\n",
|
832 |
+
"14574 Write a story where the law plays an important...\n",
|
833 |
+
"14575 Write a story where the law plays an important...\n",
|
834 |
+
"14576 Write a story where the law plays an important...\n",
|
835 |
+
"14577 Write a story where the law plays an important...\n",
|
836 |
+
"14578 Write a story where the law plays an important...\n",
|
837 |
+
"14579 Write a story where the law plays an important...\n",
|
838 |
+
"14580 Write a story where the law plays an important...\n",
|
839 |
+
"14581 Write a story where the law plays an important...\n",
|
840 |
+
"14582 Write a story where the law plays an important...\n",
|
841 |
+
"14583 Write a story where the law plays an important...\n",
|
842 |
+
"14584 Write a story where the law plays an important...\n",
|
843 |
+
"14585 Write a story where the law plays an important...\n",
|
844 |
+
"14586 Write a story where the law plays an important...\n",
|
845 |
+
"14587 Write a story where the law plays an important...\n",
|
846 |
+
"14588 Write a story where the law plays an important...\n",
|
847 |
+
"14589 Write a story where the law plays an important...\n",
|
848 |
+
"14590 Write a story where the law plays an important...\n",
|
849 |
+
"14591 Write a story where the law plays an important...\n",
|
850 |
+
"14592 Write a story where the law plays an important...\n",
|
851 |
+
"14593 Write a story where the law plays an important...\n",
|
852 |
+
"14594 Write a story where the law plays an important...\n",
|
853 |
+
"14595 Write a story where the law plays an important...\n",
|
854 |
+
"Name: prompt, dtype: object\n",
|
855 |
+
"prompt_0923\n",
|
856 |
+
"32047 Set your story within a window of opportunity,...\n",
|
857 |
+
"32048 Set your story within a window of opportunity,...\n",
|
858 |
+
"32049 Set your story within a window of opportunity,...\n",
|
859 |
+
"32050 Set your story within a window of opportunity,...\n",
|
860 |
+
"32051 Set your story within a window of opportunity,...\n",
|
861 |
+
" ... \n",
|
862 |
+
"32189 Set your story within a window of opportunity,...\n",
|
863 |
+
"32190 Set your story within a window of opportunity,...\n",
|
864 |
+
"32191 Set your story within a window of opportunity,...\n",
|
865 |
+
"32192 Set your story within a window of opportunity,...\n",
|
866 |
+
"32193 Set your story within a window of opportunity,...\n",
|
867 |
+
"Name: prompt, Length: 147, dtype: object\n",
|
868 |
+
"prompt_0912\n",
|
869 |
+
"29891 Start or end your story with two characters si...\n",
|
870 |
+
"29892 Start or end your story with two characters si...\n",
|
871 |
+
"29893 Start or end your story with two characters si...\n",
|
872 |
+
"29894 Start or end your story with two characters si...\n",
|
873 |
+
"29895 Start or end your story with two characters si...\n",
|
874 |
+
" ... \n",
|
875 |
+
"30153 Start or end your story with two characters si...\n",
|
876 |
+
"30154 Start or end your story with two characters si...\n",
|
877 |
+
"30155 Start or end your story with two characters si...\n",
|
878 |
+
"30156 Start or end your story with two characters si...\n",
|
879 |
+
"30157 Start or end your story with two characters si...\n",
|
880 |
+
"Name: prompt, Length: 267, dtype: object\n",
|
881 |
+
"prompt_1032\n",
|
882 |
+
"48007 Write a story told exclusively through dialogue.\n",
|
883 |
+
"48008 Write a story told exclusively through dialogue.\n",
|
884 |
+
"48009 Write a story told exclusively through dialogue.\n",
|
885 |
+
"48010 Write a story told exclusively through dialogue.\n",
|
886 |
+
"48011 Write a story told exclusively through dialogue.\n",
|
887 |
+
" ... \n",
|
888 |
+
"48356 Write a story told exclusively through dialogue.\n",
|
889 |
+
"48357 Write a story told exclusively through dialogue.\n",
|
890 |
+
"48358 Write a story told exclusively through dialogue.\n",
|
891 |
+
"48359 Write a story told exclusively through dialogue.\n",
|
892 |
+
"48360 Write a story told exclusively through dialogue.\n",
|
893 |
+
"Name: prompt, Length: 354, dtype: object\n",
|
894 |
+
"prompt_1225\n",
|
895 |
+
"77452 Write a story that takes place in the woods.\n",
|
896 |
+
"77453 Write a story that takes place in the woods.\n",
|
897 |
+
"77454 Write a story that takes place in the woods.\n",
|
898 |
+
"77455 Write a story that takes place in the woods.\n",
|
899 |
+
"77456 Write a story that takes place in the woods.\n",
|
900 |
+
" ... \n",
|
901 |
+
"77628 Write a story that takes place in the woods.\n",
|
902 |
+
"77629 Write a story that takes place in the woods.\n",
|
903 |
+
"77630 Write a story that takes place in the woods.\n",
|
904 |
+
"77631 Write a story that takes place in the woods.\n",
|
905 |
+
"77632 Write a story that takes place in the woods.\n",
|
906 |
+
"Name: prompt, Length: 181, dtype: object\n",
|
907 |
+
"prompt_0958\n",
|
908 |
+
"38022 Start your story with someone sitting on a cro...\n",
|
909 |
+
"38023 Start your story with someone sitting on a cro...\n",
|
910 |
+
"38024 Start your story with someone sitting on a cro...\n",
|
911 |
+
"38025 Start your story with someone sitting on a cro...\n",
|
912 |
+
"38026 Start your story with someone sitting on a cro...\n",
|
913 |
+
" ... \n",
|
914 |
+
"38279 Start your story with someone sitting on a cro...\n",
|
915 |
+
"38280 Start your story with someone sitting on a cro...\n",
|
916 |
+
"38281 Start your story with someone sitting on a cro...\n",
|
917 |
+
"38282 Start your story with someone sitting on a cro...\n",
|
918 |
+
"38283 Start your story with someone sitting on a cro...\n",
|
919 |
+
"Name: prompt, Length: 262, dtype: object\n",
|
920 |
+
"prompt_1013\n",
|
921 |
+
"44965 Write about a “found family” who are finally a...\n",
|
922 |
+
"44966 Write about a “found family” who are finally a...\n",
|
923 |
+
"44967 Write about a “found family” who are finally a...\n",
|
924 |
+
"44968 Write about a “found family” who are finally a...\n",
|
925 |
+
"44969 Write about a “found family” who are finally a...\n",
|
926 |
+
" ... \n",
|
927 |
+
"45061 Write about a “found family” who are finally a...\n",
|
928 |
+
"45062 Write about a “found family” who are finally a...\n",
|
929 |
+
"45063 Write about a “found family” who are finally a...\n",
|
930 |
+
"45064 Write about a “found family” who are finally a...\n",
|
931 |
+
"45065 Write about a “found family” who are finally a...\n",
|
932 |
+
"Name: prompt, Length: 101, dtype: object\n",
|
933 |
+
"prompt_0998\n",
|
934 |
+
"42817 Write about an android just trying to blend in...\n",
|
935 |
+
"42818 Write about an android just trying to blend in...\n",
|
936 |
+
"42819 Write about an android just trying to blend in...\n",
|
937 |
+
"42820 Write about an android just trying to blend in...\n",
|
938 |
+
"42821 Write about an android just trying to blend in...\n",
|
939 |
+
" ... \n",
|
940 |
+
"43037 Write about an android just trying to blend in...\n",
|
941 |
+
"43038 Write about an android just trying to blend in...\n",
|
942 |
+
"43039 Write about an android just trying to blend in...\n",
|
943 |
+
"43040 Write about an android just trying to blend in...\n",
|
944 |
+
"43041 Write about an android just trying to blend in...\n",
|
945 |
+
"Name: prompt, Length: 225, dtype: object\n",
|
946 |
+
"prompt_0986\n",
|
947 |
+
"40997 Write a story that takes place in the same bui...\n",
|
948 |
+
"40998 Write a story that takes place in the same bui...\n",
|
949 |
+
"40999 Write a story that takes place in the same bui...\n",
|
950 |
+
"41000 Write a story that takes place in the same bui...\n",
|
951 |
+
"41001 Write a story that takes place in the same bui...\n",
|
952 |
+
" ... \n",
|
953 |
+
"41148 Write a story that takes place in the same bui...\n",
|
954 |
+
"41149 Write a story that takes place in the same bui...\n",
|
955 |
+
"41150 Write a story that takes place in the same bui...\n",
|
956 |
+
"41151 Write a story that takes place in the same bui...\n",
|
957 |
+
"41152 Write a story that takes place in the same bui...\n",
|
958 |
+
"Name: prompt, Length: 156, dtype: object\n",
|
959 |
+
"prompt_0980\n",
|
960 |
+
"40220 Write a fairy tale about someone who can commu...\n",
|
961 |
+
"40221 Write a fairy tale about someone who can commu...\n",
|
962 |
+
"40222 Write a fairy tale about someone who can commu...\n",
|
963 |
+
"40223 Write a fairy tale about someone who can commu...\n",
|
964 |
+
"40224 Write a fairy tale about someone who can commu...\n",
|
965 |
+
" ... \n",
|
966 |
+
"40384 Write a fairy tale about someone who can commu...\n",
|
967 |
+
"40385 Write a fairy tale about someone who can commu...\n",
|
968 |
+
"40386 Write a fairy tale about someone who can commu...\n",
|
969 |
+
"40387 Write a fairy tale about someone who can commu...\n",
|
970 |
+
"40388 Write a fairy tale about someone who can commu...\n",
|
971 |
+
"Name: prompt, Length: 169, dtype: object\n",
|
972 |
+
"prompt_1168\n",
|
973 |
+
"69648 Write a story that features a protagonist with...\n",
|
974 |
+
"69649 Write a story that features a protagonist with...\n",
|
975 |
+
"69650 Write a story that features a protagonist with...\n",
|
976 |
+
"69651 Write a story that features a protagonist with...\n",
|
977 |
+
"69652 Write a story that features a protagonist with...\n",
|
978 |
+
" ... \n",
|
979 |
+
"69756 Write a story that features a protagonist with...\n",
|
980 |
+
"69757 Write a story that features a protagonist with...\n",
|
981 |
+
"69758 Write a story that features a protagonist with...\n",
|
982 |
+
"69759 Write a story that features a protagonist with...\n",
|
983 |
+
"69760 Write a story that features a protagonist with...\n",
|
984 |
+
"Name: prompt, Length: 113, dtype: object\n",
|
985 |
+
"prompt_1105\n",
|
986 |
+
"58423 Write about a character who smells something f...\n",
|
987 |
+
"58424 Write about a character who smells something f...\n",
|
988 |
+
"58425 Write about a character who smells something f...\n",
|
989 |
+
"58426 Write about a character who smells something f...\n",
|
990 |
+
"58427 Write about a character who smells something f...\n",
|
991 |
+
" ... \n",
|
992 |
+
"58639 Write about a character who smells something f...\n",
|
993 |
+
"58640 Write about a character who smells something f...\n",
|
994 |
+
"58641 Write about a character who smells something f...\n",
|
995 |
+
"58642 Write about a character who smells something f...\n",
|
996 |
+
"58643 Write about a character who smells something f...\n",
|
997 |
+
"Name: prompt, Length: 221, dtype: object\n",
|
998 |
+
"prompt_1159\n",
|
999 |
+
"67942 Write a story told entirely through one chase ...\n",
|
1000 |
+
"67943 Write a story told entirely through one chase ...\n",
|
1001 |
+
"67944 Write a story told entirely through one chase ...\n",
|
1002 |
+
"67945 Write a story told entirely through one chase ...\n",
|
1003 |
+
"67946 Write a story told entirely through one chase ...\n",
|
1004 |
+
" ... \n",
|
1005 |
+
"68083 Write a story told entirely through one chase ...\n",
|
1006 |
+
"68084 Write a story told entirely through one chase ...\n",
|
1007 |
+
"68085 Write a story told entirely through one chase ...\n",
|
1008 |
+
"68086 Write a story told entirely through one chase ...\n",
|
1009 |
+
"68087 Write a story told entirely through one chase ...\n",
|
1010 |
+
"Name: prompt, Length: 146, dtype: object\n",
|
1011 |
+
"prompt_1186\n",
|
1012 |
+
"72443 Write a story about activism.\n",
|
1013 |
+
"72444 Write a story about activism.\n",
|
1014 |
+
"72445 Write a story about activism.\n",
|
1015 |
+
"72446 Write a story about activism.\n",
|
1016 |
+
"72447 Write a story about activism.\n",
|
1017 |
+
"72448 Write a story about activism.\n",
|
1018 |
+
"72449 Write a story about activism.\n",
|
1019 |
+
"72450 Write a story about activism.\n",
|
1020 |
+
"72451 Write a story about activism.\n",
|
1021 |
+
"72452 Write a story about activism.\n",
|
1022 |
+
"72453 Write a story about activism.\n",
|
1023 |
+
"72454 Write a story about activism.\n",
|
1024 |
+
"72455 Write a story about activism.\n",
|
1025 |
+
"72456 Write a story about activism.\n",
|
1026 |
+
"72457 Write a story about activism.\n",
|
1027 |
+
"72458 Write a story about activism.\n",
|
1028 |
+
"72459 Write a story about activism.\n",
|
1029 |
+
"72460 Write a story about activism.\n",
|
1030 |
+
"72461 Write a story about activism.\n",
|
1031 |
+
"72462 Write a story about activism.\n",
|
1032 |
+
"72463 Write a story about activism.\n",
|
1033 |
+
"72464 Write a story about activism.\n",
|
1034 |
+
"72465 Write a story about activism.\n",
|
1035 |
+
"72466 Write a story about activism.\n",
|
1036 |
+
"72467 Write a story about activism.\n",
|
1037 |
+
"72468 Write a story about activism.\n",
|
1038 |
+
"72469 Write a story about activism.\n",
|
1039 |
+
"72470 Write a story about activism.\n",
|
1040 |
+
"72471 Write a story about activism.\n",
|
1041 |
+
"72472 Write a story about activism.\n",
|
1042 |
+
"72473 Write a story about activism.\n",
|
1043 |
+
"72474 Write a story about activism.\n",
|
1044 |
+
"72475 Write a story about activism.\n",
|
1045 |
+
"72476 Write a story about activism.\n",
|
1046 |
+
"72477 Write a story about activism.\n",
|
1047 |
+
"72478 Write a story about activism.\n",
|
1048 |
+
"72479 Write a story about activism.\n",
|
1049 |
+
"72480 Write a story about activism.\n",
|
1050 |
+
"72481 Write a story about activism.\n",
|
1051 |
+
"72482 Write a story about activism.\n",
|
1052 |
+
"72483 Write a story about activism.\n",
|
1053 |
+
"72484 Write a story about activism.\n",
|
1054 |
+
"72485 Write a story about activism.\n",
|
1055 |
+
"72486 Write a story about activism.\n",
|
1056 |
+
"72487 Write a story about activism.\n",
|
1057 |
+
"Name: prompt, dtype: object\n",
|
1058 |
+
"prompt_1114\n",
|
1059 |
+
"59814 Write a story that feels lonely, despite being...\n",
|
1060 |
+
"59815 Write a story that feels lonely, despite being...\n",
|
1061 |
+
"59816 Write a story that feels lonely, despite being...\n",
|
1062 |
+
"59817 Write a story that feels lonely, despite being...\n",
|
1063 |
+
"59818 Write a story that feels lonely, despite being...\n",
|
1064 |
+
" ... \n",
|
1065 |
+
"60041 Write a story that feels lonely, despite being...\n",
|
1066 |
+
"60042 Write a story that feels lonely, despite being...\n",
|
1067 |
+
"60043 Write a story that feels lonely, despite being...\n",
|
1068 |
+
"60044 Write a story that feels lonely, despite being...\n",
|
1069 |
+
"60045 Write a story that feels lonely, despite being...\n",
|
1070 |
+
"Name: prompt, Length: 232, dtype: object\n",
|
1071 |
+
"prompt_0701\n",
|
1072 |
+
"18109 Write a story about a librarian that doesn’t f...\n",
|
1073 |
+
"18110 Write a story about a librarian that doesn’t f...\n",
|
1074 |
+
"18111 Write a story about a librarian that doesn’t f...\n",
|
1075 |
+
"18112 Write a story about a librarian that doesn’t f...\n",
|
1076 |
+
"18113 Write a story about a librarian that doesn’t f...\n",
|
1077 |
+
" ... \n",
|
1078 |
+
"18168 Write a story about a librarian that doesn’t f...\n",
|
1079 |
+
"18169 Write a story about a librarian that doesn’t f...\n",
|
1080 |
+
"18170 Write a story about a librarian that doesn’t f...\n",
|
1081 |
+
"18171 Write a story about a librarian that doesn’t f...\n",
|
1082 |
+
"18172 Write a story about a librarian that doesn’t f...\n",
|
1083 |
+
"Name: prompt, Length: 64, dtype: object\n",
|
1084 |
+
"prompt_1061\n",
|
1085 |
+
"52046 Write about a character who everyone thinks is...\n",
|
1086 |
+
"52047 Write about a character who everyone thinks is...\n",
|
1087 |
+
"52048 Write about a character who everyone thinks is...\n",
|
1088 |
+
"52049 Write about a character who everyone thinks is...\n",
|
1089 |
+
"52050 Write about a character who everyone thinks is...\n",
|
1090 |
+
" ... \n",
|
1091 |
+
"52222 Write about a character who everyone thinks is...\n",
|
1092 |
+
"52223 Write about a character who everyone thinks is...\n",
|
1093 |
+
"52224 Write about a character who everyone thinks is...\n",
|
1094 |
+
"52225 Write about a character who everyone thinks is...\n",
|
1095 |
+
"52226 Write about a character who everyone thinks is...\n",
|
1096 |
+
"Name: prompt, Length: 181, dtype: object\n",
|
1097 |
+
"prompt_0925\n",
|
1098 |
+
"32333 Write a story that involves a magic window — o...\n",
|
1099 |
+
"32334 Write a story that involves a magic window — o...\n",
|
1100 |
+
"32335 Write a story that involves a magic window — o...\n",
|
1101 |
+
"32336 Write a story that involves a magic window — o...\n",
|
1102 |
+
"32337 Write a story that involves a magic window — o...\n",
|
1103 |
+
" ... \n",
|
1104 |
+
"32484 Write a story that involves a magic window — o...\n",
|
1105 |
+
"32485 Write a story that involves a magic window — o...\n",
|
1106 |
+
"32486 Write a story that involves a magic window — o...\n",
|
1107 |
+
"32487 Write a story that involves a magic window — o...\n",
|
1108 |
+
"32488 Write a story that involves a magic window — o...\n",
|
1109 |
+
"Name: prompt, Length: 156, dtype: object\n",
|
1110 |
+
"prompt_1018\n",
|
1111 |
+
"45878 Write about someone who keeps picking up diffe...\n",
|
1112 |
+
"45879 Write about someone who keeps picking up diffe...\n",
|
1113 |
+
"45880 Write about someone who keeps picking up diffe...\n",
|
1114 |
+
"45881 Write about someone who keeps picking up diffe...\n",
|
1115 |
+
"45882 Write about someone who keeps picking up diffe...\n",
|
1116 |
+
" ... \n",
|
1117 |
+
"46050 Write about someone who keeps picking up diffe...\n",
|
1118 |
+
"46051 Write about someone who keeps picking up diffe...\n",
|
1119 |
+
"46052 Write about someone who keeps picking up diffe...\n",
|
1120 |
+
"46053 Write about someone who keeps picking up diffe...\n",
|
1121 |
+
"46054 Write about someone who keeps picking up diffe...\n",
|
1122 |
+
"Name: prompt, Length: 177, dtype: object\n",
|
1123 |
+
"prompt_1094\n",
|
1124 |
+
"57046 Write a story from the perspective of a bird m...\n",
|
1125 |
+
"57047 Write a story from the perspective of a bird m...\n",
|
1126 |
+
"57048 Write a story from the perspective of a bird m...\n",
|
1127 |
+
"57049 Write a story from the perspective of a bird m...\n",
|
1128 |
+
"57050 Write a story from the perspective of a bird m...\n",
|
1129 |
+
" ... \n",
|
1130 |
+
"57171 Write a story from the perspective of a bird m...\n",
|
1131 |
+
"57172 Write a story from the perspective of a bird m...\n",
|
1132 |
+
"57173 Write a story from the perspective of a bird m...\n",
|
1133 |
+
"57174 Write a story from the perspective of a bird m...\n",
|
1134 |
+
"57175 Write a story from the perspective of a bird m...\n",
|
1135 |
+
"Name: prompt, Length: 130, dtype: object\n",
|
1136 |
+
"prompt_1167\n",
|
1137 |
+
"69390 Write a story that takes place in a waiting room.\n",
|
1138 |
+
"69391 Write a story that takes place in a waiting room.\n",
|
1139 |
+
"69392 Write a story that takes place in a waiting room.\n",
|
1140 |
+
"69393 Write a story that takes place in a waiting room.\n",
|
1141 |
+
"69394 Write a story that takes place in a waiting room.\n",
|
1142 |
+
" ... \n",
|
1143 |
+
"69643 Write a story that takes place in a waiting room.\n",
|
1144 |
+
"69644 Write a story that takes place in a waiting room.\n",
|
1145 |
+
"69645 Write a story that takes place in a waiting room.\n",
|
1146 |
+
"69646 Write a story that takes place in a waiting room.\n",
|
1147 |
+
"69647 Write a story that takes place in a waiting room.\n",
|
1148 |
+
"Name: prompt, Length: 258, dtype: object\n",
|
1149 |
+
"prompt_1017\n",
|
1150 |
+
"45613 Write about someone who decides it’s time to c...\n",
|
1151 |
+
"45614 Write about someone who decides it’s time to c...\n",
|
1152 |
+
"45615 Write about someone who decides it’s time to c...\n",
|
1153 |
+
"45616 Write about someone who decides it’s time to c...\n",
|
1154 |
+
"45617 Write about someone who decides it’s time to c...\n",
|
1155 |
+
" ... \n",
|
1156 |
+
"45873 Write about someone who decides it’s time to c...\n",
|
1157 |
+
"45874 Write about someone who decides it’s time to c...\n",
|
1158 |
+
"45875 Write about someone who decides it’s time to c...\n",
|
1159 |
+
"45876 Write about someone who decides it’s time to c...\n",
|
1160 |
+
"45877 Write about someone who decides it’s time to c...\n",
|
1161 |
+
"Name: prompt, Length: 265, dtype: object\n",
|
1162 |
+
"prompt_1072\n",
|
1163 |
+
"53481 Start your story with two characters watching ...\n",
|
1164 |
+
"53482 Start your story with two characters watching ...\n",
|
1165 |
+
"53483 Start your story with two characters watching ...\n",
|
1166 |
+
"53484 Start your story with two characters watching ...\n",
|
1167 |
+
"53485 Start your story with two characters watching ...\n",
|
1168 |
+
" ... \n",
|
1169 |
+
"53780 Start your story with two characters watching ...\n",
|
1170 |
+
"53781 Start your story with two characters watching ...\n",
|
1171 |
+
"53782 Start your story with two characters watching ...\n",
|
1172 |
+
"53783 Start your story with two characters watching ...\n",
|
1173 |
+
"53784 Start your story with two characters watching ...\n",
|
1174 |
+
"Name: prompt, Length: 304, dtype: object\n",
|
1175 |
+
"prompt_0796\n",
|
1176 |
+
"22465 Write about a character who always wears a mas...\n",
|
1177 |
+
"22466 Write about a character who always wears a mas...\n",
|
1178 |
+
"22467 Write about a character who always wears a mas...\n",
|
1179 |
+
"22468 Write about a character who always wears a mas...\n",
|
1180 |
+
"22469 Write about a character who always wears a mas...\n",
|
1181 |
+
"22470 Write about a character who always wears a mas...\n",
|
1182 |
+
"22471 Write about a character who always wears a mas...\n",
|
1183 |
+
"22472 Write about a character who always wears a mas...\n",
|
1184 |
+
"22473 Write about a character who always wears a mas...\n",
|
1185 |
+
"22474 Write about a character who always wears a mas...\n",
|
1186 |
+
"22475 Write about a character who always wears a mas...\n",
|
1187 |
+
"22476 Write about a character who always wears a mas...\n",
|
1188 |
+
"22477 Write about a character who always wears a mas...\n",
|
1189 |
+
"22478 Write about a character who always wears a mas...\n",
|
1190 |
+
"22479 Write about a character who always wears a mas...\n",
|
1191 |
+
"22480 Write about a character who always wears a mas...\n",
|
1192 |
+
"22481 Write about a character who always wears a mas...\n",
|
1193 |
+
"22482 Write about a character who always wears a mas...\n",
|
1194 |
+
"22483 Write about a character who always wears a mas...\n",
|
1195 |
+
"22484 Write about a character who always wears a mas...\n",
|
1196 |
+
"22485 Write about a character who always wears a mas...\n",
|
1197 |
+
"22486 Write about a character who always wears a mas...\n",
|
1198 |
+
"22487 Write about a character who always wears a mas...\n",
|
1199 |
+
"22488 Write about a character who always wears a mas...\n",
|
1200 |
+
"22489 Write about a character who always wears a mas...\n",
|
1201 |
+
"22490 Write about a character who always wears a mas...\n",
|
1202 |
+
"22491 Write about a character who always wears a mas...\n",
|
1203 |
+
"22492 Write about a character who always wears a mas...\n",
|
1204 |
+
"22493 Write about a character who always wears a mas...\n",
|
1205 |
+
"22494 Write about a character who always wears a mas...\n",
|
1206 |
+
"22495 Write about a character who always wears a mas...\n",
|
1207 |
+
"22496 Write about a character who always wears a mas...\n",
|
1208 |
+
"22497 Write about a character who always wears a mas...\n",
|
1209 |
+
"22498 Write about a character who always wears a mas...\n",
|
1210 |
+
"22499 Write about a character who always wears a mas...\n",
|
1211 |
+
"22500 Write about a character who always wears a mas...\n",
|
1212 |
+
"22501 Write about a character who always wears a mas...\n",
|
1213 |
+
"22502 Write about a character who always wears a mas...\n",
|
1214 |
+
"22503 Write about a character who always wears a mas...\n",
|
1215 |
+
"22504 Write about a character who always wears a mas...\n",
|
1216 |
+
"22505 Write about a character who always wears a mas...\n",
|
1217 |
+
"22506 Write about a character who always wears a mas...\n",
|
1218 |
+
"22507 Write about a character who always wears a mas...\n",
|
1219 |
+
"22508 Write about a character who always wears a mas...\n",
|
1220 |
+
"22509 Write about a character who always wears a mas...\n",
|
1221 |
+
"22510 Write about a character who always wears a mas...\n",
|
1222 |
+
"22511 Write about a character who always wears a mas...\n",
|
1223 |
+
"22512 Write about a character who always wears a mas...\n",
|
1224 |
+
"22513 Write about a character who always wears a mas...\n",
|
1225 |
+
"Name: prompt, dtype: object\n",
|
1226 |
+
"prompt_0862\n",
|
1227 |
+
"25026 Set your story in a roadside diner.\n",
|
1228 |
+
"25027 Set your story in a roadside diner.\n",
|
1229 |
+
"25028 Set your story in a roadside diner.\n",
|
1230 |
+
"25029 Set your story in a roadside diner.\n",
|
1231 |
+
"25030 Set your story in a roadside diner.\n",
|
1232 |
+
"25031 Set your story in a roadside diner.\n",
|
1233 |
+
"25032 Set your story in a roadside diner.\n",
|
1234 |
+
"25033 Set your story in a roadside diner.\n",
|
1235 |
+
"25034 Set your story in a roadside diner.\n",
|
1236 |
+
"25035 Set your story in a roadside diner.\n",
|
1237 |
+
"25036 Set your story in a roadside diner.\n",
|
1238 |
+
"25037 Set your story in a roadside diner.\n",
|
1239 |
+
"25038 Set your story in a roadside diner.\n",
|
1240 |
+
"25039 Set your story in a roadside diner.\n",
|
1241 |
+
"25040 Set your story in a roadside diner.\n",
|
1242 |
+
"25041 Set your story in a roadside diner.\n",
|
1243 |
+
"25042 Set your story in a roadside diner.\n",
|
1244 |
+
"25043 Set your story in a roadside diner.\n",
|
1245 |
+
"25044 Set your story in a roadside diner.\n",
|
1246 |
+
"25045 Set your story in a roadside diner.\n",
|
1247 |
+
"25046 Set your story in a roadside diner.\n",
|
1248 |
+
"25047 Set your story in a roadside diner.\n",
|
1249 |
+
"25048 Set your story in a roadside diner.\n",
|
1250 |
+
"25049 Set your story in a roadside diner.\n",
|
1251 |
+
"25050 Set your story in a roadside diner.\n",
|
1252 |
+
"25051 Set your story in a roadside diner.\n",
|
1253 |
+
"25052 Set your story in a roadside diner.\n",
|
1254 |
+
"25053 Set your story in a roadside diner.\n",
|
1255 |
+
"25054 Set your story in a roadside diner.\n",
|
1256 |
+
"25055 Set your story in a roadside diner.\n",
|
1257 |
+
"25056 Set your story in a roadside diner.\n",
|
1258 |
+
"25057 Set your story in a roadside diner.\n",
|
1259 |
+
"25058 Set your story in a roadside diner.\n",
|
1260 |
+
"25059 Set your story in a roadside diner.\n",
|
1261 |
+
"25060 Set your story in a roadside diner.\n",
|
1262 |
+
"25061 Set your story in a roadside diner.\n",
|
1263 |
+
"25062 Set your story in a roadside diner.\n",
|
1264 |
+
"25063 Set your story in a roadside diner.\n",
|
1265 |
+
"25064 Set your story in a roadside diner.\n",
|
1266 |
+
"25065 Set your story in a roadside diner.\n",
|
1267 |
+
"25066 Set your story in a roadside diner.\n",
|
1268 |
+
"25067 Set your story in a roadside diner.\n",
|
1269 |
+
"25068 Set your story in a roadside diner.\n",
|
1270 |
+
"25069 Set your story in a roadside diner.\n",
|
1271 |
+
"25070 Set your story in a roadside diner.\n",
|
1272 |
+
"25071 Set your story in a roadside diner.\n",
|
1273 |
+
"25072 Set your story in a roadside diner.\n",
|
1274 |
+
"25073 Set your story in a roadside diner.\n",
|
1275 |
+
"25074 Set your story in a roadside diner.\n",
|
1276 |
+
"25075 Set your story in a roadside diner.\n",
|
1277 |
+
"25076 Set your story in a roadside diner.\n",
|
1278 |
+
"25077 Set your story in a roadside diner.\n",
|
1279 |
+
"25078 Set your story in a roadside diner.\n",
|
1280 |
+
"25079 Set your story in a roadside diner.\n",
|
1281 |
+
"25080 Set your story in a roadside diner.\n",
|
1282 |
+
"25081 Set your story in a roadside diner.\n",
|
1283 |
+
"25082 Set your story in a roadside diner.\n",
|
1284 |
+
"25083 Set your story in a roadside diner.\n",
|
1285 |
+
"25084 Set your story in a roadside diner.\n",
|
1286 |
+
"Name: prompt, dtype: object\n",
|
1287 |
+
"prompt_1010\n",
|
1288 |
+
"44580 Start your story with someone entering a museu...\n",
|
1289 |
+
"44581 Start your story with someone entering a museu...\n",
|
1290 |
+
"44582 Start your story with someone entering a museu...\n",
|
1291 |
+
"44583 Start your story with someone entering a museu...\n",
|
1292 |
+
"44584 Start your story with someone entering a museu...\n",
|
1293 |
+
"44585 Start your story with someone entering a museu...\n",
|
1294 |
+
"44586 Start your story with someone entering a museu...\n",
|
1295 |
+
"44587 Start your story with someone entering a museu...\n",
|
1296 |
+
"44588 Start your story with someone entering a museu...\n",
|
1297 |
+
"44589 Start your story with someone entering a museu...\n",
|
1298 |
+
"44590 Start your story with someone entering a museu...\n",
|
1299 |
+
"44591 Start your story with someone entering a museu...\n",
|
1300 |
+
"44592 Start your story with someone entering a museu...\n",
|
1301 |
+
"44593 Start your story with someone entering a museu...\n",
|
1302 |
+
"44594 Start your story with someone entering a museu...\n",
|
1303 |
+
"44595 Start your story with someone entering a museu...\n",
|
1304 |
+
"44596 Start your story with someone entering a museu...\n",
|
1305 |
+
"44597 Start your story with someone entering a museu...\n",
|
1306 |
+
"44598 Start your story with someone entering a museu...\n",
|
1307 |
+
"44599 Start your story with someone entering a museu...\n",
|
1308 |
+
"44600 Start your story with someone entering a museu...\n",
|
1309 |
+
"44601 Start your story with someone entering a museu...\n",
|
1310 |
+
"44602 Start your story with someone entering a museu...\n",
|
1311 |
+
"44603 Start your story with someone entering a museu...\n",
|
1312 |
+
"44604 Start your story with someone entering a museu...\n",
|
1313 |
+
"44605 Start your story with someone entering a museu...\n",
|
1314 |
+
"44606 Start your story with someone entering a museu...\n",
|
1315 |
+
"44607 Start your story with someone entering a museu...\n",
|
1316 |
+
"44608 Start your story with someone entering a museu...\n",
|
1317 |
+
"44609 Start your story with someone entering a museu...\n",
|
1318 |
+
"44610 Start your story with someone entering a museu...\n",
|
1319 |
+
"44611 Start your story with someone entering a museu...\n",
|
1320 |
+
"44612 Start your story with someone entering a museu...\n",
|
1321 |
+
"44613 Start your story with someone entering a museu...\n",
|
1322 |
+
"44614 Start your story with someone entering a museu...\n",
|
1323 |
+
"44615 Start your story with someone entering a museu...\n",
|
1324 |
+
"44616 Start your story with someone entering a museu...\n",
|
1325 |
+
"44617 Start your story with someone entering a museu...\n",
|
1326 |
+
"44618 Start your story with someone entering a museu...\n",
|
1327 |
+
"44619 Start your story with someone entering a museu...\n",
|
1328 |
+
"44620 Start your story with someone entering a museu...\n",
|
1329 |
+
"Name: prompt, dtype: object\n",
|
1330 |
+
"prompt_1069\n",
|
1331 |
+
"52899 Start your story with the line, “This was supp...\n",
|
1332 |
+
"52900 Start your story with the line, “This was supp...\n",
|
1333 |
+
"52901 Start your story with the line, “This was supp...\n",
|
1334 |
+
"52902 Start your story with the line, “This was supp...\n",
|
1335 |
+
"52903 Start your story with the line, “This was supp...\n",
|
1336 |
+
" ... \n",
|
1337 |
+
"53026 Start your story with the line, “This was supp...\n",
|
1338 |
+
"53027 Start your story with the line, “This was supp...\n",
|
1339 |
+
"53028 Start your story with the line, “This was supp...\n",
|
1340 |
+
"53029 Start your story with the line, “This was supp...\n",
|
1341 |
+
"53030 Start your story with the line, “This was supp...\n",
|
1342 |
+
"Name: prompt, Length: 132, dtype: object\n",
|
1343 |
+
"prompt_1155\n",
|
1344 |
+
"66626 Write a story that involves a mystery — it doe...\n",
|
1345 |
+
"66627 Write a story that involves a mystery — it doe...\n",
|
1346 |
+
"66628 Write a story that involves a mystery — it doe...\n",
|
1347 |
+
"66629 Write a story that involves a mystery — it doe...\n",
|
1348 |
+
"66630 Write a story that involves a mystery — it doe...\n",
|
1349 |
+
" ... \n",
|
1350 |
+
"66832 Write a story that involves a mystery — it doe...\n",
|
1351 |
+
"66833 Write a story that involves a mystery — it doe...\n",
|
1352 |
+
"66834 Write a story that involves a mystery — it doe...\n",
|
1353 |
+
"66835 Write a story that involves a mystery — it doe...\n",
|
1354 |
+
"66836 Write a story that involves a mystery — it doe...\n",
|
1355 |
+
"Name: prompt, Length: 211, dtype: object\n",
|
1356 |
+
"prompt_1025\n",
|
1357 |
+
"47034 Write about someone who gets stuck in their wo...\n",
|
1358 |
+
"47035 Write about someone who gets stuck in their wo...\n",
|
1359 |
+
"47036 Write about someone who gets stuck in their wo...\n",
|
1360 |
+
"47037 Write about someone who gets stuck in their wo...\n",
|
1361 |
+
"47038 Write about someone who gets stuck in their wo...\n",
|
1362 |
+
" ... \n",
|
1363 |
+
"47193 Write about someone who gets stuck in their wo...\n",
|
1364 |
+
"47194 Write about someone who gets stuck in their wo...\n",
|
1365 |
+
"47195 Write about someone who gets stuck in their wo...\n",
|
1366 |
+
"47196 Write about someone who gets stuck in their wo...\n",
|
1367 |
+
"47197 Write about someone who gets stuck in their wo...\n",
|
1368 |
+
"Name: prompt, Length: 164, dtype: object\n",
|
1369 |
+
"prompt_1157\n",
|
1370 |
+
"67225 Write a story that begins and ends with someon...\n",
|
1371 |
+
"67226 Write a story that begins and ends with someon...\n",
|
1372 |
+
"67227 Write a story that begins and ends with someon...\n",
|
1373 |
+
"67228 Write a story that begins and ends with someon...\n",
|
1374 |
+
"67229 Write a story that begins and ends with someon...\n",
|
1375 |
+
" ... \n",
|
1376 |
+
"67629 Write a story that begins and ends with someon...\n",
|
1377 |
+
"67630 Write a story that begins and ends with someon...\n",
|
1378 |
+
"67631 Write a story that begins and ends with someon...\n",
|
1379 |
+
"67632 Write a story that begins and ends with someon...\n",
|
1380 |
+
"67633 Write a story that begins and ends with someon...\n",
|
1381 |
+
"Name: prompt, Length: 409, dtype: object\n",
|
1382 |
+
"prompt_0992\n",
|
1383 |
+
"41767 Write a story that spans exactly a year and ta...\n",
|
1384 |
+
"41768 Write a story that spans exactly a year and ta...\n",
|
1385 |
+
"41769 Write a story that spans exactly a year and ta...\n",
|
1386 |
+
"41770 Write a story that spans exactly a year and ta...\n",
|
1387 |
+
"41771 Write a story that spans exactly a year and ta...\n",
|
1388 |
+
" ... \n",
|
1389 |
+
"41974 Write a story that spans exactly a year and ta...\n",
|
1390 |
+
"41975 Write a story that spans exactly a year and ta...\n",
|
1391 |
+
"41976 Write a story that spans exactly a year and ta...\n",
|
1392 |
+
"41977 Write a story that spans exactly a year and ta...\n",
|
1393 |
+
"41978 Write a story that spans exactly a year and ta...\n",
|
1394 |
+
"Name: prompt, Length: 212, dtype: object\n",
|
1395 |
+
"prompt_0118\n",
|
1396 |
+
"6222 Write a story about someone trying to reinvent...\n",
|
1397 |
+
"6223 Write a story about someone trying to reinvent...\n",
|
1398 |
+
"6224 Write a story about someone trying to reinvent...\n",
|
1399 |
+
"6225 Write a story about someone trying to reinvent...\n",
|
1400 |
+
"6226 Write a story about someone trying to reinvent...\n",
|
1401 |
+
"6227 Write a story about someone trying to reinvent...\n",
|
1402 |
+
"6228 Write a story about someone trying to reinvent...\n",
|
1403 |
+
"6229 Write a story about someone trying to reinvent...\n",
|
1404 |
+
"6230 Write a story about someone trying to reinvent...\n",
|
1405 |
+
"6231 Write a story about someone trying to reinvent...\n",
|
1406 |
+
"6232 Write a story about someone trying to reinvent...\n",
|
1407 |
+
"6233 Write a story about someone trying to reinvent...\n",
|
1408 |
+
"6234 Write a story about someone trying to reinvent...\n",
|
1409 |
+
"6235 Write a story about someone trying to reinvent...\n",
|
1410 |
+
"6236 Write a story about someone trying to reinvent...\n",
|
1411 |
+
"6237 Write a story about someone trying to reinvent...\n",
|
1412 |
+
"6238 Write a story about someone trying to reinvent...\n",
|
1413 |
+
"6239 Write a story about someone trying to reinvent...\n",
|
1414 |
+
"6240 Write a story about someone trying to reinvent...\n",
|
1415 |
+
"6241 Write a story about someone trying to reinvent...\n",
|
1416 |
+
"6242 Write a story about someone trying to reinvent...\n",
|
1417 |
+
"6243 Write a story about someone trying to reinvent...\n",
|
1418 |
+
"6244 Write a story about someone trying to reinvent...\n",
|
1419 |
+
"6245 Write a story about someone trying to reinvent...\n",
|
1420 |
+
"6246 Write a story about someone trying to reinvent...\n",
|
1421 |
+
"6247 Write a story about someone trying to reinvent...\n",
|
1422 |
+
"6248 Write a story about someone trying to reinvent...\n",
|
1423 |
+
"6249 Write a story about someone trying to reinvent...\n",
|
1424 |
+
"6250 Write a story about someone trying to reinvent...\n",
|
1425 |
+
"6251 Write a story about someone trying to reinvent...\n",
|
1426 |
+
"6252 Write a story about someone trying to reinvent...\n",
|
1427 |
+
"6253 Write a story about someone trying to reinvent...\n",
|
1428 |
+
"6254 Write a story about someone trying to reinvent...\n",
|
1429 |
+
"6255 Write a story about someone trying to reinvent...\n",
|
1430 |
+
"6256 Write a story about someone trying to reinvent...\n",
|
1431 |
+
"6257 Write a story about someone trying to reinvent...\n",
|
1432 |
+
"6258 Write a story about someone trying to reinvent...\n",
|
1433 |
+
"6259 Write a story about someone trying to reinvent...\n",
|
1434 |
+
"Name: prompt, dtype: object\n",
|
1435 |
+
"prompt_1162\n",
|
1436 |
+
"68371 Write a story about a proposal. \n",
|
1437 |
+
"68372 Write a story about a proposal. \n",
|
1438 |
+
"68373 Write a story about a proposal. \n",
|
1439 |
+
"68374 Write a story about a proposal. \n",
|
1440 |
+
"68375 Write a story about a proposal. \n",
|
1441 |
+
" ... \n",
|
1442 |
+
"68580 Write a story about a proposal. \n",
|
1443 |
+
"68581 Write a story about a proposal. \n",
|
1444 |
+
"68582 Write a story about a proposal. \n",
|
1445 |
+
"68583 Write a story about a proposal. \n",
|
1446 |
+
"68584 Write a story about a proposal. \n",
|
1447 |
+
"Name: prompt, Length: 214, dtype: object\n",
|
1448 |
+
"prompt_1172\n",
|
1449 |
+
"69960 Write about someone who has a superpower.\n",
|
1450 |
+
"69961 Write about someone who has a superpower.\n",
|
1451 |
+
"69962 Write about someone who has a superpower.\n",
|
1452 |
+
"69963 Write about someone who has a superpower.\n",
|
1453 |
+
"69964 Write about someone who has a superpower.\n",
|
1454 |
+
" ... \n",
|
1455 |
+
"70292 Write about someone who has a superpower.\n",
|
1456 |
+
"70293 Write about someone who has a superpower.\n",
|
1457 |
+
"70294 Write about someone who has a superpower.\n",
|
1458 |
+
"70295 Write about someone who has a superpower.\n",
|
1459 |
+
"70296 Write about someone who has a superpower.\n",
|
1460 |
+
"Name: prompt, Length: 337, dtype: object\n",
|
1461 |
+
"the first example of train is prompt_id prompt_1234\n",
|
1462 |
+
"story1_id rikt93\n",
|
1463 |
+
"story2_id qyd9jh\n",
|
1464 |
+
"time_lag 309660.0\n",
|
1465 |
+
"least_likes 8\n",
|
1466 |
+
"chosen_text <bos><|im_start|>user\\nWrite a story about som...\n",
|
1467 |
+
"rejected_text <bos><|im_start|>user\\nWrite a story about som...\n",
|
1468 |
+
"Name: 0, dtype: object\n"
|
1469 |
+
]
|
1470 |
+
}
|
1471 |
+
],
|
1472 |
+
"source": [
|
1473 |
+
"#test dataloader \n",
|
1474 |
+
"from dataloader import StoryPairDataset\n",
|
1475 |
+
"dataloader = StoryPairDataset(datapath,\n",
|
1476 |
+
" pairpath,\n",
|
1477 |
+
" tokenizer,\n",
|
1478 |
+
" task='rm',\n",
|
1479 |
+
" used_dataset_size=100,\n",
|
1480 |
+
" train_test_split=0.1,\n",
|
1481 |
+
" split_by='random',\n",
|
1482 |
+
" max_len=1024*4,\n",
|
1483 |
+
" mode='m2',\n",
|
1484 |
+
" max_time_window=5400,\n",
|
1485 |
+
" least_likes=5,\n",
|
1486 |
+
" margin=False)"
|
1487 |
+
]
|
1488 |
+
},
|
1489 |
+
{
|
1490 |
+
"cell_type": "code",
|
1491 |
+
"execution_count": null,
|
1492 |
+
"id": "b11f608a-c2eb-42af-bfba-e801ee40e0ed",
|
1493 |
+
"metadata": {},
|
1494 |
+
"outputs": [],
|
1495 |
+
"source": []
|
1496 |
+
}
|
1497 |
+
],
|
1498 |
+
"metadata": {
|
1499 |
+
"kernelspec": {
|
1500 |
+
"display_name": "Python 3 (ipykernel)",
|
1501 |
+
"language": "python",
|
1502 |
+
"name": "python3"
|
1503 |
+
},
|
1504 |
+
"language_info": {
|
1505 |
+
"codemirror_mode": {
|
1506 |
+
"name": "ipython",
|
1507 |
+
"version": 3
|
1508 |
+
},
|
1509 |
+
"file_extension": ".py",
|
1510 |
+
"mimetype": "text/x-python",
|
1511 |
+
"name": "python",
|
1512 |
+
"nbconvert_exporter": "python",
|
1513 |
+
"pygments_lexer": "ipython3",
|
1514 |
+
"version": "3.10.13"
|
1515 |
+
}
|
1516 |
+
},
|
1517 |
+
"nbformat": 4,
|
1518 |
+
"nbformat_minor": 5
|
1519 |
+
}
|
adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "google/gemma-2-9b",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 16,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 64,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"v_proj",
|
24 |
+
"o_proj",
|
25 |
+
"q_proj",
|
26 |
+
"k_proj"
|
27 |
+
],
|
28 |
+
"task_type": "CAUSAL_LM",
|
29 |
+
"use_dora": false,
|
30 |
+
"use_rslora": false
|
31 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a7b47235a73dadbfe04c47a58fcf387d1e01f23b7db05520e13eebbbd51b9f89
|
3 |
+
size 286306976
|
dataloader.py
ADDED
@@ -0,0 +1,296 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
+
|
8 |
+
datapath = '/cluster/work/lawecon/Work/penghao/dataset/stories/'
|
9 |
+
pairpath = '../../../work/lawecon/Work/penghao/pairs.csv'
|
10 |
+
#3600 ->time lags
|
11 |
+
|
12 |
+
|
13 |
+
class StoryPairDataset(Dataset):
|
14 |
+
def __init__(self, datapath, pairpath, tokenizer, task, used_dataset_size=-1, train_test_split=0.1,
|
15 |
+
split_by='random',
|
16 |
+
max_len=4096*2, mode='m3', max_time_window=3000, least_likes=5, margin=True):
|
17 |
+
self.datapath = datapath
|
18 |
+
print(self.datapath)
|
19 |
+
self.train_test_split = train_test_split
|
20 |
+
self.pairpath = pairpath
|
21 |
+
self.tokenizer = tokenizer
|
22 |
+
self.max_len = max_len
|
23 |
+
self.split_by = split_by
|
24 |
+
self.least_likes = least_likes
|
25 |
+
self.max_time_window = max_time_window
|
26 |
+
self.used_dataset_size = used_dataset_size
|
27 |
+
if mode == 'm2':
|
28 |
+
self.max_time_window = 12009600
|
29 |
+
else:
|
30 |
+
self.max_time_window = max_time_window
|
31 |
+
self.pair = self.load_pair()
|
32 |
+
|
33 |
+
self.task = task
|
34 |
+
self.margin = margin
|
35 |
+
self.stories = self.load_stories(self.datapath)
|
36 |
+
print(self.stories.columns)
|
37 |
+
print(len(self.stories))
|
38 |
+
|
39 |
+
|
40 |
+
# turn df into dataset
|
41 |
+
|
42 |
+
# self.dataset = datasets.Dataset.from_pandas(self.df)
|
43 |
+
self.train, self.test = self.train_test_split__()
|
44 |
+
self.train = self.marginInclude(self.train)
|
45 |
+
self.test = self.marginInclude(self.test)
|
46 |
+
# combine train and test to a single dataset, before train and test
|
47 |
+
self.dataset = self.make_dataset()
|
48 |
+
print('current setting mode is ', mode)
|
49 |
+
print('currnet setting split_by is ', split_by)
|
50 |
+
print('current setting least_likes is ', least_likes)
|
51 |
+
|
52 |
+
|
53 |
+
|
54 |
+
def load_stories(self, path):
|
55 |
+
stories = pd.DataFrame()
|
56 |
+
#print(f"Reading stories from {path}...")
|
57 |
+
for file in glob.glob(path + '*.csv'):
|
58 |
+
#print(f"Reading {file}...")
|
59 |
+
try:
|
60 |
+
# Read the CSV file into a DataFrame
|
61 |
+
df = pd.read_csv(file)
|
62 |
+
|
63 |
+
# Check if the DataFrame is empty or not
|
64 |
+
if df.empty:
|
65 |
+
print(f"Warning: {file} is empty or not readable.")
|
66 |
+
continue
|
67 |
+
# Concatenate the DataFrames
|
68 |
+
stories = pd.concat([stories, df], ignore_index=True)
|
69 |
+
except pd.errors.EmptyDataError:
|
70 |
+
# print(f"Error: {file} is empty or not readable.")
|
71 |
+
pass
|
72 |
+
except pd.errors.ParserError:
|
73 |
+
print(f"Error: {file} cannot be parsed.")
|
74 |
+
except Exception as e:
|
75 |
+
print(f"Error: An unexpected error occurred while processing {file}. Details: {str(e)}")
|
76 |
+
# contain Index(['prompt_id', 'prompt', 'story_id', 'story_title', 'story_author', 'story_url', 'link', 'genre', 'is_sensitive', 'categories', 'likes', 'story_text', 'posted_date', 'comments'], dtype='object')
|
77 |
+
|
78 |
+
return stories
|
79 |
+
|
80 |
+
def load_pair(self):
|
81 |
+
|
82 |
+
pair = pd.read_csv(self.pairpath)
|
83 |
+
# contain the colums of prompt_id, story1_id, story2_id, rel, time_lag, least_likes
|
84 |
+
|
85 |
+
pair = pair[pair['time_lag'] <= self.max_time_window]
|
86 |
+
print('the max of tima lag is ', pair['time_lag'].max())
|
87 |
+
|
88 |
+
pair = pair[pair['least_likes'] >= self.least_likes]
|
89 |
+
# swap the order of story1 and story2 if rel is negative, and makes rel positive
|
90 |
+
pair.loc[pair['rel'] < 0, ['story1_id', 'story2_id']] = pair.loc[
|
91 |
+
pair['rel'] < 0, ['story2_id', 'story1_id']].values
|
92 |
+
pair['rel'] = abs(pair['rel'])
|
93 |
+
# filter the pair if they have same story id
|
94 |
+
pair = pair[pair['story1_id'] != pair['story2_id']]
|
95 |
+
if self.used_dataset_size == -1:
|
96 |
+
self.used_dataset_size = len(pair)
|
97 |
+
else:
|
98 |
+
pair = pair.sample(n=self.used_dataset_size)
|
99 |
+
print('the total number of pairs is ', len(pair))
|
100 |
+
# remove the duplicate pairs
|
101 |
+
pair = pair.drop_duplicates(subset=['story1_id', 'story2_id'])
|
102 |
+
#remove the rel = 0
|
103 |
+
pair = pair[pair['rel'] != 0]
|
104 |
+
print('the number of effective pairs is ', len(pair))
|
105 |
+
return pair
|
106 |
+
|
107 |
+
def marginInclude(self, df):
|
108 |
+
if self.margin:
|
109 |
+
# drop the column of rel
|
110 |
+
df = df.drop(columns=['rel'])
|
111 |
+
else:
|
112 |
+
# rename rel to margin
|
113 |
+
df = df.rename(columns={'rel': 'margin'})
|
114 |
+
return df
|
115 |
+
|
116 |
+
def train_test_split__(self):
|
117 |
+
'''
|
118 |
+
split the pairs into train and test set
|
119 |
+
:return:
|
120 |
+
'''
|
121 |
+
test_size = round(len(self.pair) * self.train_test_split)
|
122 |
+
|
123 |
+
if self.split_by == 'time':
|
124 |
+
# give the pair the information of year according to the story_id
|
125 |
+
self.stories['posted_date'] = pd.to_datetime(self.stories['posted_date'])
|
126 |
+
#convert datetime64[ns] to comparable format, e.g. 2021-04-27 23:29:00 -> 20210427
|
127 |
+
self.stories['posted_date'] = self.stories['posted_date'].dt.strftime('%Y%m%d')
|
128 |
+
# the time after 2022 is test set
|
129 |
+
|
130 |
+
|
131 |
+
test = self.pair[self.pair['story1_id'].apply(lambda x: int(self.stories[self.stories['story_id'] == x]['posted_date'].values[0]) > 20220000)]
|
132 |
+
train = self.pair[self.pair['story1_id'].apply(lambda x: int(self.stories[self.stories['story_id'] == x]['posted_date'].values[0]) <= 20220000)]
|
133 |
+
print('the number of test set is ', len(test))
|
134 |
+
print('the number of train set is ', len(train))
|
135 |
+
print('the ratio of test set is ', len(test) / (len(test) + len(train)))
|
136 |
+
|
137 |
+
elif self.split_by == 'random':
|
138 |
+
|
139 |
+
train, test = train_test_split(self.pair, test_size=self.train_test_split)
|
140 |
+
|
141 |
+
# covert to huggingface dataset
|
142 |
+
|
143 |
+
|
144 |
+
elif self.split_by == 'genre':
|
145 |
+
|
146 |
+
# count the number of pairs for each category
|
147 |
+
# give the pair the information of category according to the story_id
|
148 |
+
self.pair['genre'] = self.pair['story1_id'].apply(
|
149 |
+
lambda x: self.stories[self.stories['story_id'] == x]['genre'].values[0])
|
150 |
+
genre = {}
|
151 |
+
for c in self.pair['genre'].unique():
|
152 |
+
genre[c] = len(self.pair[self.pair['genre'] == c])
|
153 |
+
# select the category to nearest to 10 per cent of the total
|
154 |
+
genre = dict(sorted(genre.items(), key=lambda item: item[1], reverse=True))#sort the genre by the number of pairs from high to low
|
155 |
+
print(genre)
|
156 |
+
total = sum(genre.values())
|
157 |
+
#select the close genre to 10% of the total
|
158 |
+
test_genre = []
|
159 |
+
test_count = 0
|
160 |
+
while test_count < total * self.train_test_split:
|
161 |
+
test_genre.append(list(genre.keys())[0])
|
162 |
+
test_count += genre[list(genre.keys())[0]]
|
163 |
+
del genre[list(genre.keys())[0]]
|
164 |
+
if test_count + genre[list(genre.keys())[0]] > total * self.train_test_split:
|
165 |
+
break
|
166 |
+
|
167 |
+
test = self.pair[self.pair['genre'].apply(lambda x: x in test_genre)]
|
168 |
+
train = self.pair[self.pair['genre'].apply(lambda x: x not in test_genre)]
|
169 |
+
print('the genre of test set is ', test_genre)
|
170 |
+
print('the percentage of test set is ', test_count / total,'where total is ', total)
|
171 |
+
|
172 |
+
elif self.split_by == 'chaos':
|
173 |
+
#instead using the pairs, we randomly assign the story id to replace the old story id from that prompt
|
174 |
+
for i in range(len(self.pair)):
|
175 |
+
self.pair.at[i, 'story1_id'] = np.random.choice(self.stories[self.stories['prompt_id'] == self.pair.at[i, 'prompt_id']]['story_id'].values)
|
176 |
+
self.pair.at[i, 'story2_id'] = np.random.choice(self.stories[self.stories['prompt_id'] == self.pair.at[i, 'prompt_id']]['story_id'].values)
|
177 |
+
train, test = train_test_split(self.pair, test_size=self.train_test_split)
|
178 |
+
return train, test
|
179 |
+
|
180 |
+
def apply_template_to_text(self, row):
|
181 |
+
|
182 |
+
# Ensure proper access to columns in pair
|
183 |
+
prompt_id, story1_id, story2_id = row[['prompt_id', 'story1_id', 'story2_id']]
|
184 |
+
|
185 |
+
# Extract text based on IDs
|
186 |
+
|
187 |
+
chosen_prompt = self.stories[self.stories['prompt_id'] == prompt_id]['prompt']
|
188 |
+
chosen_prompt = chosen_prompt.values[0]
|
189 |
+
chosen_story = self.stories[self.stories['story_id'] == story1_id]['story_title'].values[0] + '/n' + \
|
190 |
+
self.stories[self.stories['story_id'] == story1_id]['story_text'].values[0]
|
191 |
+
|
192 |
+
rejected_prompt = self.stories[self.stories['prompt_id'] == prompt_id]['prompt']
|
193 |
+
rejected_prompt = rejected_prompt.values[0]
|
194 |
+
rejected_story = self.stories[self.stories['story_id'] == story2_id]['story_title'].values[0] + '/n' + \
|
195 |
+
self.stories[self.stories['story_id'] == story2_id]['story_text'].values[0]
|
196 |
+
|
197 |
+
# Create chosen and rejected text dictionaries
|
198 |
+
chosen_text = [{'role': 'user', 'content': chosen_prompt},
|
199 |
+
{'role': 'assistant', 'content': chosen_story}]
|
200 |
+
|
201 |
+
rejected_text = [{'role': 'user', 'content': rejected_prompt},
|
202 |
+
{'role': 'assistant', 'content': rejected_story}]
|
203 |
+
|
204 |
+
# Apply tokenizer to chosen and rejected text
|
205 |
+
chosen_text = self.tokenizer.apply_chat_template(chosen_text, tokenize=False)
|
206 |
+
rejected_text = self.tokenizer.apply_chat_template(rejected_text, tokenize=False)
|
207 |
+
|
208 |
+
res = {}
|
209 |
+
res['chosen_text'] = chosen_text
|
210 |
+
res['rejected_text'] = rejected_text
|
211 |
+
#add eos and bos token
|
212 |
+
res['chosen_text'] = self.tokenizer.bos_token + res['chosen_text'] + self.tokenizer.eos_token
|
213 |
+
res['rejected_text'] = self.tokenizer.bos_token + res['rejected_text'] + self.tokenizer.eos_token
|
214 |
+
|
215 |
+
res['text'] = chosen_text
|
216 |
+
#add eos and bos token
|
217 |
+
res['text'] = self.tokenizer.bos_token + res['text'] + self.tokenizer.eos_token
|
218 |
+
if 'gemma' in self.tokenizer.name_or_path:
|
219 |
+
split_words = '<|im_start|>assistant\n'
|
220 |
+
elif 'mistral' in self.tokenizer.name_or_path or 'llama' in self.tokenizer.name_or_path:
|
221 |
+
split_words = '[/INST]'
|
222 |
+
|
223 |
+
chosen_text_tmp = chosen_text.split(split_words)[-1]
|
224 |
+
prompt_text = chosen_text.replace(chosen_text_tmp, '')
|
225 |
+
chosen_text = chosen_text_tmp
|
226 |
+
|
227 |
+
rejected_text = rejected_text.split(split_words)[-1]
|
228 |
+
res['prompt'] = prompt_text
|
229 |
+
res['chosen'] = chosen_text
|
230 |
+
res['rejected'] = rejected_text
|
231 |
+
# add bos and eos token
|
232 |
+
res['prompt'] = self.tokenizer.bos_token + res['prompt']
|
233 |
+
res['chosen'] = res['chosen'] + self.tokenizer.eos_token
|
234 |
+
res['rejected'] = res['rejected'] + self.tokenizer.eos_token
|
235 |
+
return res
|
236 |
+
|
237 |
+
def convert_sft(self,df):
|
238 |
+
#collect all the story id in the pair
|
239 |
+
story_ids = list(set(df['story1_id'].values) | set(df['story2_id'].values))
|
240 |
+
#now make new train and test set as story_ids as story1_id and story2_id
|
241 |
+
df = pd.DataFrame()
|
242 |
+
df['story1_id'] = story_ids
|
243 |
+
df['story2_id'] = df['story1_id']
|
244 |
+
#reload stories
|
245 |
+
#self.stories = self.load_stories(self.datapath)
|
246 |
+
# get prompt_id from the pair
|
247 |
+
def get_prompt_id(x):
|
248 |
+
return self.stories[self.stories['story_id'] == x]['prompt_id'].values[0]
|
249 |
+
df['prompt_id'] = df['story1_id'].apply(lambda x: get_prompt_id(x))
|
250 |
+
return df
|
251 |
+
|
252 |
+
|
253 |
+
|
254 |
+
def make_dataset(self):
|
255 |
+
# reset the index
|
256 |
+
self.train.reset_index(drop=True, inplace=True)
|
257 |
+
self.test.reset_index(drop=True, inplace=True)
|
258 |
+
entries = []
|
259 |
+
if self.task == 'rm':
|
260 |
+
entries = ['chosen_text', 'rejected_text']
|
261 |
+
elif self.task == 'dpo':
|
262 |
+
entries = ['prompt', 'chosen', 'rejected']
|
263 |
+
elif self.task == 'sft':
|
264 |
+
self.train = self.convert_sft(self.train)
|
265 |
+
self.test = self.convert_sft(self.test)
|
266 |
+
entries = ['text']
|
267 |
+
|
268 |
+
print('the columns of train is ', self.train.columns)
|
269 |
+
for index, row in self.train.iterrows():
|
270 |
+
res = self.apply_template_to_text(row)
|
271 |
+
for e in entries:
|
272 |
+
self.train.at[index, e] = res[e]
|
273 |
+
|
274 |
+
for index, row in self.test.iterrows():
|
275 |
+
res = self.apply_template_to_text(row)
|
276 |
+
for e in entries:
|
277 |
+
self.test.at[index, e] = res[e]
|
278 |
+
|
279 |
+
print('the first example of train is ', self.train.iloc[0])
|
280 |
+
#since the we aggred on max_len = 8192, we need to filter this
|
281 |
+
|
282 |
+
if self.margin:
|
283 |
+
entries.append('margin')
|
284 |
+
|
285 |
+
train_dataset = Dataset.from_pandas(self.train[entries])
|
286 |
+
test_dataset = Dataset.from_pandas(self.test[entries])
|
287 |
+
|
288 |
+
return DatasetDict({'train': train_dataset, 'test': test_dataset})
|
289 |
+
|
290 |
+
def save_dataset(self, path):
|
291 |
+
'''
|
292 |
+
save the dataset to the readsy folder
|
293 |
+
:param path:
|
294 |
+
:return:
|
295 |
+
'''
|
296 |
+
self.dataset.save_to_disk('../' + path)
|
model/SFTmodels/gemma-2b_sftm3genre10vast/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
base_model: model/gemma/gemma-2b/
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.11.1
|
model/SFTmodels/gemma-2b_sftm3genre10vast/adapter_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "model/gemma/gemma-2b/",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 16,
|
14 |
+
"lora_dropout": 0,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 16,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": "unsloth",
|
22 |
+
"target_modules": [
|
23 |
+
"q_proj",
|
24 |
+
"o_proj",
|
25 |
+
"down_proj",
|
26 |
+
"gate_proj",
|
27 |
+
"v_proj",
|
28 |
+
"k_proj",
|
29 |
+
"up_proj"
|
30 |
+
],
|
31 |
+
"task_type": "CAUSAL_LM",
|
32 |
+
"use_dora": false,
|
33 |
+
"use_rslora": false
|
34 |
+
}
|
model/SFTmodels/gemma-2b_sftm3genre10vast/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:80d3015564e983c4b08077e0ec998c5dc5aaac6063bd4cc6c9a32379898435b8
|
3 |
+
size 78480072
|