fyaronskiy commited on
Commit
3ed636a
·
verified ·
1 Parent(s): 6d968fa

Add new SentenceTransformer model

Browse files
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 768,
3
+ "pooling_mode_cls_token": false,
4
+ "pooling_mode_mean_tokens": true,
5
+ "pooling_mode_max_tokens": false,
6
+ "pooling_mode_mean_sqrt_len_tokens": false,
7
+ "pooling_mode_weightedmean_tokens": false,
8
+ "pooling_mode_lasttoken": false,
9
+ "include_prompt": true
10
+ }
README.md ADDED
@@ -0,0 +1,1215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:1880853
9
+ - loss:MultipleNegativesRankingLoss
10
+ widget:
11
+ - source_sentence: "search_query: Finds the top long, short, and absolute positions.\n\
12
+ \n Parameters\n ----------\n positions : pd.DataFrame\n The positions\
13
+ \ that the strategy takes over time.\n top : int, optional\n How many\
14
+ \ of each to find (default 10).\n\n Returns\n -------\n df_top_long :\
15
+ \ pd.DataFrame\n Top long positions.\n df_top_short : pd.DataFrame\n\
16
+ \ Top short positions.\n df_top_abs : pd.DataFrame\n Top absolute\
17
+ \ positions."
18
+ sentences:
19
+ - "search_document: def symmetric_ema(xolds, yolds, low=None, high=None, n=512,\
20
+ \ decay_steps=1., low_counts_threshold=1e-8):\n '''\n perform symmetric\
21
+ \ EMA (exponential moving average)\n smoothing and resampling to an even grid\
22
+ \ with n points.\n Does not do extrapolation, so we assume\n xolds[0] <=\
23
+ \ low && high <= xolds[-1]\n\n Arguments:\n\n xolds: array or list - x\
24
+ \ values of data. Needs to be sorted in ascending order\n yolds: array of list\
25
+ \ - y values of data. Has to have the same length as xolds\n\n low: float\
26
+ \ - min value of the new x grid. By default equals to xolds[0]\n \
27
+ \ high: float - max value of the new x grid. By default equals to xolds[-1]\n\
28
+ \n n: int - number of points in new x grid\n\n decay_steps:\
29
+ \ float - EMA decay factor, expressed in new x grid steps.\n\n low_counts_threshold:\
30
+ \ float or int\n - y values with counts less than this\
31
+ \ value will be set to NaN\n\n Returns:\n tuple sum_ys, count_ys where\n\
32
+ \ xs - array with new x grid\n ys - array\
33
+ \ of EMA of y at each point of the new x grid\n count_ys - array of\
34
+ \ EMA of y counts at each point of the new x grid\n\n '''\n xs, ys1, count_ys1\
35
+ \ = one_sided_ema(xolds, yolds, low, high, n, decay_steps, low_counts_threshold=0)\n\
36
+ \ _, ys2, count_ys2 = one_sided_ema(-xolds[::-1], yolds[::-1], -high, -low,\
37
+ \ n, decay_steps, low_counts_threshold=0)\n ys2 = ys2[::-1]\n count_ys2\
38
+ \ = count_ys2[::-1]\n count_ys = count_ys1 + count_ys2\n ys = (ys1 * count_ys1\
39
+ \ + ys2 * count_ys2) / count_ys\n ys[count_ys < low_counts_threshold] = np.nan\n\
40
+ \ return xs, ys, count_ys"
41
+ - "search_document: def project(self, from_shape, to_shape):\n \"\"\"\n \
42
+ \ Project the polygon onto an image with different shape.\n\n The\
43
+ \ relative coordinates of all points remain the same.\n E.g. a point at\
44
+ \ (x=20, y=20) on an image (width=100, height=200) will be\n projected\
45
+ \ on a new image (width=200, height=100) to (x=40, y=10).\n\n This is intended\
46
+ \ for cases where the original image is resized.\n It cannot be used for\
47
+ \ more complex changes (e.g. padding, cropping).\n\n Parameters\n \
48
+ \ ----------\n from_shape : tuple of int\n Shape of the original\
49
+ \ image. (Before resize.)\n\n to_shape : tuple of int\n Shape\
50
+ \ of the new image. (After resize.)\n\n Returns\n -------\n \
51
+ \ imgaug.Polygon\n Polygon object with new coordinates.\n\n \
52
+ \ \"\"\"\n if from_shape[0:2] == to_shape[0:2]:\n return\
53
+ \ self.copy()\n ls_proj = self.to_line_string(closed=False).project(\n\
54
+ \ from_shape, to_shape)\n return self.copy(exterior=ls_proj.coords)"
55
+ - "search_document: def get_top_long_short_abs(positions, top=10):\n \"\"\"\n\
56
+ \ Finds the top long, short, and absolute positions.\n\n Parameters\n \
57
+ \ ----------\n positions : pd.DataFrame\n The positions that the strategy\
58
+ \ takes over time.\n top : int, optional\n How many of each to find\
59
+ \ (default 10).\n\n Returns\n -------\n df_top_long : pd.DataFrame\n\
60
+ \ Top long positions.\n df_top_short : pd.DataFrame\n Top short\
61
+ \ positions.\n df_top_abs : pd.DataFrame\n Top absolute positions.\n\
62
+ \ \"\"\"\n\n positions = positions.drop('cash', axis='columns')\n df_max\
63
+ \ = positions.max()\n df_min = positions.min()\n df_abs_max = positions.abs().max()\n\
64
+ \ df_top_long = df_max[df_max > 0].nlargest(top)\n df_top_short = df_min[df_min\
65
+ \ < 0].nsmallest(top)\n df_top_abs = df_abs_max.nlargest(top)\n return df_top_long,\
66
+ \ df_top_short, df_top_abs"
67
+ - source_sentence: "search_query: Draw text on an image.\n\n This uses by default\
68
+ \ DejaVuSans as its font, which is included in this library.\n\n dtype support::\n\
69
+ \n * ``uint8``: yes; fully tested\n * ``uint16``: no\n *\
70
+ \ ``uint32``: no\n * ``uint64``: no\n * ``int8``: no\n *\
71
+ \ ``int16``: no\n * ``int32``: no\n * ``int64``: no\n * ``float16``:\
72
+ \ no\n * ``float32``: yes; not tested\n * ``float64``: no\n \
73
+ \ * ``float128``: no\n * ``bool``: no\n\n TODO check if other\
74
+ \ dtypes could be enabled\n\n Parameters\n ----------\n img : (H,W,3)\
75
+ \ ndarray\n The image array to draw text on.\n Expected to be of\
76
+ \ dtype uint8 or float32 (value range 0.0 to 255.0).\n\n y : int\n x-coordinate\
77
+ \ of the top left corner of the text.\n\n x : int\n y- coordinate of\
78
+ \ the top left corner of the text.\n\n text : str\n The text to draw.\n\
79
+ \n color : iterable of int, optional\n Color of the text to draw. For\
80
+ \ RGB-images this is expected to be an RGB color.\n\n size : int, optional\n\
81
+ \ Font size of the text to draw.\n\n Returns\n -------\n img_np\
82
+ \ : (H,W,3) ndarray\n Input image with text drawn on it."
83
+ sentences:
84
+ - "search_document: def cross_entropy_seq_with_mask(logits, target_seqs, input_mask,\
85
+ \ return_details=False, name=None):\n \"\"\"Returns the expression of cross-entropy\
86
+ \ of two sequences, implement\n softmax internally. Normally be used for Dynamic\
87
+ \ RNN with Synced sequence input and output.\n\n Parameters\n -----------\n\
88
+ \ logits : Tensor\n 2D tensor with shape of [batch_size * ?, n_classes],\
89
+ \ `?` means dynamic IDs for each example.\n - Can be get from `DynamicRNNLayer`\
90
+ \ by setting ``return_seq_2d`` to `True`.\n target_seqs : Tensor\n int\
91
+ \ of tensor, like word ID. [batch_size, ?], `?` means dynamic IDs for each example.\n\
92
+ \ input_mask : Tensor\n The mask to compute loss, it has the same size\
93
+ \ with `target_seqs`, normally 0 or 1.\n return_details : boolean\n \
94
+ \ Whether to return detailed losses.\n - If False (default), only returns\
95
+ \ the loss.\n - If True, returns the loss, losses, weights and targets\
96
+ \ (see source code).\n\n Examples\n --------\n >>> batch_size = 64\n\
97
+ \ >>> vocab_size = 10000\n >>> embedding_size = 256\n >>> input_seqs\
98
+ \ = tf.placeholder(dtype=tf.int64, shape=[batch_size, None], name=\"input\")\n\
99
+ \ >>> target_seqs = tf.placeholder(dtype=tf.int64, shape=[batch_size, None],\
100
+ \ name=\"target\")\n >>> input_mask = tf.placeholder(dtype=tf.int64, shape=[batch_size,\
101
+ \ None], name=\"mask\")\n >>> net = tl.layers.EmbeddingInputlayer(\n ...\
102
+ \ inputs = input_seqs,\n ... vocabulary_size = vocab_size,\n\
103
+ \ ... embedding_size = embedding_size,\n ... name = 'seq_embedding')\n\
104
+ \ >>> net = tl.layers.DynamicRNNLayer(net,\n ... cell_fn = tf.contrib.rnn.BasicLSTMCell,\n\
105
+ \ ... n_hidden = embedding_size,\n ... dropout = (0.7 if\
106
+ \ is_train else None),\n ... sequence_length = tl.layers.retrieve_seq_length_op2(input_seqs),\n\
107
+ \ ... return_seq_2d = True,\n ... name = 'dynamicrnn')\n\
108
+ \ >>> print(net.outputs)\n (?, 256)\n >>> net = tl.layers.DenseLayer(net,\
109
+ \ n_units=vocab_size, name=\"output\")\n >>> print(net.outputs)\n (?, 10000)\n\
110
+ \ >>> loss = tl.cost.cross_entropy_seq_with_mask(net.outputs, target_seqs,\
111
+ \ input_mask)\n\n \"\"\"\n targets = tf.reshape(target_seqs, [-1]) # to\
112
+ \ one vector\n weights = tf.to_float(tf.reshape(input_mask, [-1])) # to one\
113
+ \ vector like targets\n losses = tf.nn.sparse_softmax_cross_entropy_with_logits(logits=logits,\
114
+ \ labels=targets, name=name) * weights\n # losses = tf.reduce_mean(tf.nn.sparse_softmax_cross_entropy_with_logits(logits=logits,\
115
+ \ labels=targets, name=name)) # for TF1.0 and others\n\n loss = tf.divide(\n\
116
+ \ tf.reduce_sum(losses), # loss from mask. reduce_sum before element-wise\
117
+ \ mul with mask !!\n tf.reduce_sum(weights),\n name=\"seq_loss_with_mask\"\
118
+ \n )\n\n if return_details:\n return loss, losses, weights, targets\n\
119
+ \ else:\n return loss"
120
+ - "search_document: def pickle_load(path, compression=False):\n \"\"\"Unpickle\
121
+ \ a possible compressed pickle.\n\n Parameters\n ----------\n path: str\n\
122
+ \ path to the output file\n compression: bool\n if true assumes\
123
+ \ that pickle was compressed when created and attempts decompression.\n\n Returns\n\
124
+ \ -------\n obj: object\n the unpickled object\n \"\"\"\n\n \
125
+ \ if compression:\n with zipfile.ZipFile(path, \"r\", compression=zipfile.ZIP_DEFLATED)\
126
+ \ as myzip:\n with myzip.open(\"data\") as f:\n return\
127
+ \ pickle.load(f)\n else:\n with open(path, \"rb\") as f:\n \
128
+ \ return pickle.load(f)"
129
+ - "search_document: def draw_text(img, y, x, text, color=(0, 255, 0), size=25):\n\
130
+ \ \"\"\"\n Draw text on an image.\n\n This uses by default DejaVuSans\
131
+ \ as its font, which is included in this library.\n\n dtype support::\n\n \
132
+ \ * ``uint8``: yes; fully tested\n * ``uint16``: no\n * ``uint32``:\
133
+ \ no\n * ``uint64``: no\n * ``int8``: no\n * ``int16``: no\n\
134
+ \ * ``int32``: no\n * ``int64``: no\n * ``float16``: no\n\
135
+ \ * ``float32``: yes; not tested\n * ``float64``: no\n *\
136
+ \ ``float128``: no\n * ``bool``: no\n\n TODO check if other dtypes\
137
+ \ could be enabled\n\n Parameters\n ----------\n img : (H,W,3) ndarray\n\
138
+ \ The image array to draw text on.\n Expected to be of dtype uint8\
139
+ \ or float32 (value range 0.0 to 255.0).\n\n y : int\n x-coordinate\
140
+ \ of the top left corner of the text.\n\n x : int\n y- coordinate of\
141
+ \ the top left corner of the text.\n\n text : str\n The text to draw.\n\
142
+ \n color : iterable of int, optional\n Color of the text to draw. For\
143
+ \ RGB-images this is expected to be an RGB color.\n\n size : int, optional\n\
144
+ \ Font size of the text to draw.\n\n Returns\n -------\n img_np\
145
+ \ : (H,W,3) ndarray\n Input image with text drawn on it.\n\n \"\"\"\n\
146
+ \ do_assert(img.dtype in [np.uint8, np.float32])\n\n input_dtype = img.dtype\n\
147
+ \ if img.dtype == np.float32:\n img = img.astype(np.uint8)\n\n img\
148
+ \ = PIL_Image.fromarray(img)\n font = PIL_ImageFont.truetype(DEFAULT_FONT_FP,\
149
+ \ size)\n context = PIL_ImageDraw.Draw(img)\n context.text((x, y), text,\
150
+ \ fill=tuple(color), font=font)\n img_np = np.asarray(img)\n\n # PIL/asarray\
151
+ \ returns read only array\n if not img_np.flags[\"WRITEABLE\"]:\n try:\n\
152
+ \ # this seems to no longer work with np 1.16 (or was pillow updated?)\n\
153
+ \ img_np.setflags(write=True)\n except ValueError as ex:\n \
154
+ \ if \"cannot set WRITEABLE flag to True of this array\" in str(ex):\n\
155
+ \ img_np = np.copy(img_np)\n\n if img_np.dtype != input_dtype:\n\
156
+ \ img_np = img_np.astype(input_dtype)\n\n return img_np"
157
+ - source_sentence: "search_query: Choice and return an an action by given the action\
158
+ \ probability distribution.\n\n Parameters\n ------------\n probs : list\
159
+ \ of float.\n The probability distribution of all actions.\n action_list\
160
+ \ : None or a list of int or others\n A list of action in integer, string\
161
+ \ or others. If None, returns an integer range between 0 and len(probs)-1.\n\n\
162
+ \ Returns\n --------\n float int or str\n The chosen action.\n\
163
+ \n Examples\n ----------\n >>> for _ in range(5):\n >>> a = choice_action_by_probs([0.2,\
164
+ \ 0.4, 0.4])\n >>> print(a)\n 0\n 1\n 1\n 2\n 1\n >>>\
165
+ \ for _ in range(3):\n >>> a = choice_action_by_probs([0.5, 0.5], ['a',\
166
+ \ 'b'])\n >>> print(a)\n a\n b\n b"
167
+ sentences:
168
+ - "search_document: def from_keypoint_image(image, if_not_found_coords={\"x\": -1,\
169
+ \ \"y\": -1}, threshold=1, nb_channels=None): # pylint: disable=locally-disabled,\
170
+ \ dangerous-default-value, line-too-long\n \"\"\"\n Converts an\
171
+ \ image generated by ``to_keypoint_image()`` back to a KeypointsOnImage object.\n\
172
+ \n Parameters\n ----------\n image : (H,W,N) ndarray\n \
173
+ \ The keypoints image. N is the number of keypoints.\n\n if_not_found_coords\
174
+ \ : tuple or list or dict or None, optional\n Coordinates to use for\
175
+ \ keypoints that cannot be found in `image`.\n If this is a list/tuple,\
176
+ \ it must have two integer values.\n If it is a dictionary, it must\
177
+ \ have the keys ``x`` and ``y`` with\n each containing one integer\
178
+ \ value.\n If this is None, then the keypoint will not be added to\
179
+ \ the final\n KeypointsOnImage object.\n\n threshold : int,\
180
+ \ optional\n The search for keypoints works by searching for the argmax\
181
+ \ in\n each channel. This parameters contains the minimum value that\n\
182
+ \ the max must have in order to be viewed as a keypoint.\n\n \
183
+ \ nb_channels : None or int, optional\n Number of channels of the\
184
+ \ image on which the keypoints are placed.\n Some keypoint augmenters\
185
+ \ require that information.\n If set to None, the keypoint's shape\
186
+ \ will be set\n to ``(height, width)``, otherwise ``(height, width,\
187
+ \ nb_channels)``.\n\n Returns\n -------\n out : KeypointsOnImage\n\
188
+ \ The extracted keypoints.\n\n \"\"\"\n ia.do_assert(len(image.shape)\
189
+ \ == 3)\n height, width, nb_keypoints = image.shape\n\n drop_if_not_found\
190
+ \ = False\n if if_not_found_coords is None:\n drop_if_not_found\
191
+ \ = True\n if_not_found_x = -1\n if_not_found_y = -1\n \
192
+ \ elif isinstance(if_not_found_coords, (tuple, list)):\n ia.do_assert(len(if_not_found_coords)\
193
+ \ == 2)\n if_not_found_x = if_not_found_coords[0]\n if_not_found_y\
194
+ \ = if_not_found_coords[1]\n elif isinstance(if_not_found_coords, dict):\n\
195
+ \ if_not_found_x = if_not_found_coords[\"x\"]\n if_not_found_y\
196
+ \ = if_not_found_coords[\"y\"]\n else:\n raise Exception(\"\
197
+ Expected if_not_found_coords to be None or tuple or list or dict, got %s.\" %\
198
+ \ (\n type(if_not_found_coords),))\n\n keypoints = []\n\
199
+ \ for i in sm.xrange(nb_keypoints):\n maxidx_flat = np.argmax(image[...,\
200
+ \ i])\n maxidx_ndim = np.unravel_index(maxidx_flat, (height, width))\n\
201
+ \ found = (image[maxidx_ndim[0], maxidx_ndim[1], i] >= threshold)\n\
202
+ \ if found:\n keypoints.append(Keypoint(x=maxidx_ndim[1],\
203
+ \ y=maxidx_ndim[0]))\n else:\n if drop_if_not_found:\n\
204
+ \ pass # dont add the keypoint to the result list, i.e. drop\
205
+ \ it\n else:\n keypoints.append(Keypoint(x=if_not_found_x,\
206
+ \ y=if_not_found_y))\n\n out_shape = (height, width)\n if nb_channels\
207
+ \ is not None:\n out_shape += (nb_channels,)\n return KeypointsOnImage(keypoints,\
208
+ \ shape=out_shape)"
209
+ - "search_document: def choice_action_by_probs(probs=(0.5, 0.5), action_list=None):\n\
210
+ \ \"\"\"Choice and return an an action by given the action probability distribution.\n\
211
+ \n Parameters\n ------------\n probs : list of float.\n The probability\
212
+ \ distribution of all actions.\n action_list : None or a list of int or others\n\
213
+ \ A list of action in integer, string or others. If None, returns an integer\
214
+ \ range between 0 and len(probs)-1.\n\n Returns\n --------\n float int\
215
+ \ or str\n The chosen action.\n\n Examples\n ----------\n >>>\
216
+ \ for _ in range(5):\n >>> a = choice_action_by_probs([0.2, 0.4, 0.4])\n\
217
+ \ >>> print(a)\n 0\n 1\n 1\n 2\n 1\n >>> for _ in range(3):\n\
218
+ \ >>> a = choice_action_by_probs([0.5, 0.5], ['a', 'b'])\n >>> print(a)\n\
219
+ \ a\n b\n b\n\n \"\"\"\n if action_list is None:\n n_action\
220
+ \ = len(probs)\n action_list = np.arange(n_action)\n else:\n \
221
+ \ if len(action_list) != len(probs):\n raise Exception(\"number of\
222
+ \ actions should equal to number of probabilities.\")\n return np.random.choice(action_list,\
223
+ \ p=probs)"
224
+ - "search_document: def __validateExperimentControl(self, control):\n \"\"\"\
225
+ \ Validates control dictionary for the experiment context\"\"\"\n # Validate\
226
+ \ task list\n taskList = control.get('tasks', None)\n if taskList is not\
227
+ \ None:\n taskLabelsList = []\n\n for task in taskList:\n validateOpfJsonValue(task,\
228
+ \ \"opfTaskSchema.json\")\n validateOpfJsonValue(task['taskControl'], \"\
229
+ opfTaskControlSchema.json\")\n\n taskLabel = task['taskLabel']\n\n \
230
+ \ assert isinstance(taskLabel, types.StringTypes), \\\n \"taskLabel\
231
+ \ type: %r\" % type(taskLabel)\n assert len(taskLabel) > 0, \"empty string\
232
+ \ taskLabel not is allowed\"\n\n taskLabelsList.append(taskLabel.lower())\n\
233
+ \n taskLabelDuplicates = filter(lambda x: taskLabelsList.count(x) > 1,\n\
234
+ \ taskLabelsList)\n assert len(taskLabelDuplicates)\
235
+ \ == 0, \\\n \"Duplcate task labels are not allowed: %s\" % taskLabelDuplicates\n\
236
+ \n return"
237
+ - source_sentence: "search_query: Augment endlessly images in the source queue.\n\n\
238
+ \ This is a worker function for that endlessly queries the source queue\
239
+ \ (input batches),\n augments batches in it and sends the result to the\
240
+ \ output queue."
241
+ sentences:
242
+ - "search_document: def _augment_images_worker(self, augseq, queue_source, queue_result,\
243
+ \ seedval):\n \"\"\"\n Augment endlessly images in the source queue.\n\
244
+ \n This is a worker function for that endlessly queries the source queue\
245
+ \ (input batches),\n augments batches in it and sends the result to the\
246
+ \ output queue.\n\n \"\"\"\n np.random.seed(seedval)\n random.seed(seedval)\n\
247
+ \ augseq.reseed(seedval)\n ia.seed(seedval)\n\n loader_finished\
248
+ \ = False\n\n while not loader_finished:\n # wait for a new\
249
+ \ batch in the source queue and load it\n try:\n batch_str\
250
+ \ = queue_source.get(timeout=0.1)\n batch = pickle.loads(batch_str)\n\
251
+ \ if batch is None:\n loader_finished = True\n\
252
+ \ # put it back in so that other workers know that the loading\
253
+ \ queue is finished\n queue_source.put(pickle.dumps(None, protocol=-1))\n\
254
+ \ else:\n batch_aug = augseq.augment_batch(batch)\n\
255
+ \n # send augmented batch to output queue\n \
256
+ \ batch_str = pickle.dumps(batch_aug, protocol=-1)\n queue_result.put(batch_str)\n\
257
+ \ except QueueEmpty:\n time.sleep(0.01)\n\n queue_result.put(pickle.dumps(None,\
258
+ \ protocol=-1))\n time.sleep(0.01)"
259
+ - "search_document: def show_perf_attrib_stats(returns,\n \
260
+ \ positions,\n factor_returns,\n \
261
+ \ factor_loadings,\n transactions=None,\n\
262
+ \ pos_in_dollars=True):\n \"\"\"\n Calls `perf_attrib`\
263
+ \ using inputs, and displays outputs using\n `utils.print_table`.\n \"\"\
264
+ \"\n risk_exposures, perf_attrib_data = perf_attrib(\n returns,\n \
265
+ \ positions,\n factor_returns,\n factor_loadings,\n \
266
+ \ transactions,\n pos_in_dollars=pos_in_dollars,\n )\n\n perf_attrib_stats,\
267
+ \ risk_exposure_stats =\\\n create_perf_attrib_stats(perf_attrib_data,\
268
+ \ risk_exposures)\n\n percentage_formatter = '{:.2%}'.format\n float_formatter\
269
+ \ = '{:.2f}'.format\n\n summary_stats = perf_attrib_stats.loc[['Annualized\
270
+ \ Specific Return',\n 'Annualized Common\
271
+ \ Return',\n 'Annualized Total Return',\n\
272
+ \ 'Specific Sharpe Ratio']]\n\n #\
273
+ \ Format return rows in summary stats table as percentages.\n for col_name\
274
+ \ in (\n 'Annualized Specific Return',\n 'Annualized Common Return',\n\
275
+ \ 'Annualized Total Return',\n ):\n summary_stats[col_name] =\
276
+ \ percentage_formatter(summary_stats[col_name])\n\n # Display sharpe to two\
277
+ \ decimal places.\n summary_stats['Specific Sharpe Ratio'] = float_formatter(\n\
278
+ \ summary_stats['Specific Sharpe Ratio']\n )\n\n print_table(summary_stats,\
279
+ \ name='Summary Statistics')\n\n print_table(\n risk_exposure_stats,\n\
280
+ \ name='Exposures Summary',\n # In exposures table, format exposure\
281
+ \ column to 2 decimal places, and\n # return columns as percentages.\n\
282
+ \ formatters={\n 'Average Risk Factor Exposure': float_formatter,\n\
283
+ \ 'Annualized Return': percentage_formatter,\n 'Cumulative\
284
+ \ Return': percentage_formatter,\n },\n )"
285
+ - "search_document: def binary_cross_entropy(output, target, epsilon=1e-8, name='bce_loss'):\n\
286
+ \ \"\"\"Binary cross entropy operation.\n\n Parameters\n ----------\n\
287
+ \ output : Tensor\n Tensor with type of `float32` or `float64`.\n \
288
+ \ target : Tensor\n The target distribution, format the same with `output`.\n\
289
+ \ epsilon : float\n A small value to avoid output to be zero.\n name\
290
+ \ : str\n An optional name to attach to this function.\n\n References\n\
291
+ \ -----------\n - `ericjang-DRAW <https://github.com/ericjang/draw/blob/master/draw.py#L73>`__\n\
292
+ \n \"\"\"\n # with ops.op_scope([output, target], name, \"bce_loss\"\
293
+ ) as name:\n # output = ops.convert_to_tensor(output, name=\"preds\"\
294
+ )\n # target = ops.convert_to_tensor(targets, name=\"target\")\n\n\
295
+ \ # with tf.name_scope(name):\n return tf.reduce_mean(\n tf.reduce_sum(-(target\
296
+ \ * tf.log(output + epsilon) + (1. - target) * tf.log(1. - output + epsilon)),\
297
+ \ axis=1),\n name=name\n )"
298
+ - source_sentence: 'search_query: episode_batch: array(batch_size x (T or T+1) x dim_key)'
299
+ sentences:
300
+ - "search_document: def get_txn_vol(transactions):\n \"\"\"\n Extract daily\
301
+ \ transaction data from set of transaction objects.\n\n Parameters\n ----------\n\
302
+ \ transactions : pd.DataFrame\n Time series containing one row per symbol\
303
+ \ (and potentially\n duplicate datetime indices) and columns for amount\
304
+ \ and\n price.\n\n Returns\n -------\n pd.DataFrame\n Daily\
305
+ \ transaction volume and number of shares.\n - See full explanation in\
306
+ \ tears.create_full_tear_sheet.\n \"\"\"\n\n txn_norm = transactions.copy()\n\
307
+ \ txn_norm.index = txn_norm.index.normalize()\n amounts = txn_norm.amount.abs()\n\
308
+ \ prices = txn_norm.price\n values = amounts * prices\n daily_amounts\
309
+ \ = amounts.groupby(amounts.index).sum()\n daily_values = values.groupby(values.index).sum()\n\
310
+ \ daily_amounts.name = \"txn_shares\"\n daily_values.name = \"txn_volume\"\
311
+ \n return pd.concat([daily_values, daily_amounts], axis=1)"
312
+ - "search_document: def deepcopy(self, exterior=None, label=None):\n \"\"\
313
+ \"\n Create a deep copy of the Polygon object.\n\n Parameters\n\
314
+ \ ----------\n exterior : list of Keypoint or list of tuple or (N,2)\
315
+ \ ndarray, optional\n List of points defining the polygon. See `imgaug.Polygon.__init__`\
316
+ \ for details.\n\n label : None or str\n If not None, then the\
317
+ \ label of the copied object will be set to this value.\n\n Returns\n \
318
+ \ -------\n imgaug.Polygon\n Deep copy.\n\n \"\"\
319
+ \"\n return Polygon(\n exterior=np.copy(self.exterior) if exterior\
320
+ \ is None else exterior,\n label=self.label if label is None else label\n\
321
+ \ )"
322
+ - "search_document: def store_episode(self, episode_batch):\n \"\"\"episode_batch:\
323
+ \ array(batch_size x (T or T+1) x dim_key)\n \"\"\"\n batch_sizes\
324
+ \ = [len(episode_batch[key]) for key in episode_batch.keys()]\n assert\
325
+ \ np.all(np.array(batch_sizes) == batch_sizes[0])\n batch_size = batch_sizes[0]\n\
326
+ \n with self.lock:\n idxs = self._get_storage_idx(batch_size)\n\
327
+ \n # load inputs into buffers\n for key in self.buffers.keys():\n\
328
+ \ self.buffers[key][idxs] = episode_batch[key]\n\n self.n_transitions_stored\
329
+ \ += batch_size * self.T"
330
+ pipeline_tag: sentence-similarity
331
+ library_name: sentence-transformers
332
+ metrics:
333
+ - cosine_accuracy@1
334
+ - cosine_accuracy@3
335
+ - cosine_accuracy@5
336
+ - cosine_accuracy@10
337
+ - cosine_precision@1
338
+ - cosine_precision@3
339
+ - cosine_precision@5
340
+ - cosine_precision@10
341
+ - cosine_recall@1
342
+ - cosine_recall@3
343
+ - cosine_recall@5
344
+ - cosine_recall@10
345
+ - cosine_ndcg@10
346
+ - cosine_mrr@10
347
+ - cosine_map@100
348
+ model-index:
349
+ - name: SentenceTransformer
350
+ results:
351
+ - task:
352
+ type: information-retrieval
353
+ name: Information Retrieval
354
+ dataset:
355
+ name: codesearchnet val
356
+ type: codesearchnet_val
357
+ metrics:
358
+ - type: cosine_accuracy@1
359
+ value: 0.8926
360
+ name: Cosine Accuracy@1
361
+ - type: cosine_accuracy@3
362
+ value: 0.9453666666666667
363
+ name: Cosine Accuracy@3
364
+ - type: cosine_accuracy@5
365
+ value: 0.9545
366
+ name: Cosine Accuracy@5
367
+ - type: cosine_accuracy@10
368
+ value: 0.9637666666666667
369
+ name: Cosine Accuracy@10
370
+ - type: cosine_precision@1
371
+ value: 0.8926
372
+ name: Cosine Precision@1
373
+ - type: cosine_precision@3
374
+ value: 0.31512222222222214
375
+ name: Cosine Precision@3
376
+ - type: cosine_precision@5
377
+ value: 0.19090000000000004
378
+ name: Cosine Precision@5
379
+ - type: cosine_precision@10
380
+ value: 0.09637666666666667
381
+ name: Cosine Precision@10
382
+ - type: cosine_recall@1
383
+ value: 0.8926
384
+ name: Cosine Recall@1
385
+ - type: cosine_recall@3
386
+ value: 0.9453666666666667
387
+ name: Cosine Recall@3
388
+ - type: cosine_recall@5
389
+ value: 0.9545
390
+ name: Cosine Recall@5
391
+ - type: cosine_recall@10
392
+ value: 0.9637666666666667
393
+ name: Cosine Recall@10
394
+ - type: cosine_ndcg@10
395
+ value: 0.9313201256618757
396
+ name: Cosine Ndcg@10
397
+ - type: cosine_mrr@10
398
+ value: 0.9206047883597835
399
+ name: Cosine Mrr@10
400
+ - type: cosine_map@100
401
+ value: 0.9212040995599341
402
+ name: Cosine Map@100
403
+ ---
404
+
405
+ # SentenceTransformer
406
+
407
+ This is a [sentence-transformers](https://www.SBERT.net) model trained on the code_search_net dataset. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
408
+
409
+ ## Model Details
410
+
411
+ ### Model Description
412
+ - **Model Type:** Sentence Transformer
413
+ <!-- - **Base model:** [Unknown](https://huggingface.co/unknown) -->
414
+ - **Maximum Sequence Length:** 8192 tokens
415
+ - **Output Dimensionality:** 768 dimensions
416
+ - **Similarity Function:** Cosine Similarity
417
+ - **Training Dataset:**
418
+ - code_search_net
419
+ <!-- - **Language:** Unknown -->
420
+ <!-- - **License:** Unknown -->
421
+
422
+ ### Model Sources
423
+
424
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
425
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
426
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
427
+
428
+ ### Full Model Architecture
429
+
430
+ ```
431
+ SentenceTransformer(
432
+ (0): Transformer({'max_seq_length': 8192, 'do_lower_case': False, 'architecture': 'ModernBertModel'})
433
+ (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
434
+ )
435
+ ```
436
+
437
+ ## Usage
438
+
439
+ ### Direct Usage (Sentence Transformers)
440
+
441
+ First install the Sentence Transformers library:
442
+
443
+ ```bash
444
+ pip install -U sentence-transformers
445
+ ```
446
+
447
+ Then you can load this model and run inference.
448
+ ```python
449
+ from sentence_transformers import SentenceTransformer
450
+
451
+ # Download from the 🤗 Hub
452
+ model = SentenceTransformer("fyaronskiy/english_code_retriever")
453
+ # Run inference
454
+ sentences = [
455
+ 'search_query: episode_batch: array(batch_size x (T or T+1) x dim_key)',
456
+ 'search_document: def store_episode(self, episode_batch):\n """episode_batch: array(batch_size x (T or T+1) x dim_key)\n """\n batch_sizes = [len(episode_batch[key]) for key in episode_batch.keys()]\n assert np.all(np.array(batch_sizes) == batch_sizes[0])\n batch_size = batch_sizes[0]\n\n with self.lock:\n idxs = self._get_storage_idx(batch_size)\n\n # load inputs into buffers\n for key in self.buffers.keys():\n self.buffers[key][idxs] = episode_batch[key]\n\n self.n_transitions_stored += batch_size * self.T',
457
+ 'search_document: def get_txn_vol(transactions):\n """\n Extract daily transaction data from set of transaction objects.\n\n Parameters\n ----------\n transactions : pd.DataFrame\n Time series containing one row per symbol (and potentially\n duplicate datetime indices) and columns for amount and\n price.\n\n Returns\n -------\n pd.DataFrame\n Daily transaction volume and number of shares.\n - See full explanation in tears.create_full_tear_sheet.\n """\n\n txn_norm = transactions.copy()\n txn_norm.index = txn_norm.index.normalize()\n amounts = txn_norm.amount.abs()\n prices = txn_norm.price\n values = amounts * prices\n daily_amounts = amounts.groupby(amounts.index).sum()\n daily_values = values.groupby(values.index).sum()\n daily_amounts.name = "txn_shares"\n daily_values.name = "txn_volume"\n return pd.concat([daily_values, daily_amounts], axis=1)',
458
+ ]
459
+ embeddings = model.encode(sentences)
460
+ print(embeddings.shape)
461
+ # [3, 768]
462
+
463
+ # Get the similarity scores for the embeddings
464
+ similarities = model.similarity(embeddings, embeddings)
465
+ print(similarities)
466
+ # tensor([[1.0000, 0.8384, 0.1236],
467
+ # [0.8384, 1.0000, 0.1544],
468
+ # [0.1236, 0.1544, 1.0000]])
469
+ ```
470
+
471
+ <!--
472
+ ### Direct Usage (Transformers)
473
+
474
+ <details><summary>Click to see the direct usage in Transformers</summary>
475
+
476
+ </details>
477
+ -->
478
+
479
+ <!--
480
+ ### Downstream Usage (Sentence Transformers)
481
+
482
+ You can finetune this model on your own dataset.
483
+
484
+ <details><summary>Click to expand</summary>
485
+
486
+ </details>
487
+ -->
488
+
489
+ <!--
490
+ ### Out-of-Scope Use
491
+
492
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
493
+ -->
494
+
495
+ ## Evaluation
496
+
497
+ ### Metrics
498
+
499
+ #### Information Retrieval
500
+
501
+ * Dataset: `codesearchnet_val`
502
+ * Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
503
+
504
+ | Metric | Value |
505
+ |:--------------------|:-----------|
506
+ | cosine_accuracy@1 | 0.8926 |
507
+ | cosine_accuracy@3 | 0.9454 |
508
+ | cosine_accuracy@5 | 0.9545 |
509
+ | cosine_accuracy@10 | 0.9638 |
510
+ | cosine_precision@1 | 0.8926 |
511
+ | cosine_precision@3 | 0.3151 |
512
+ | cosine_precision@5 | 0.1909 |
513
+ | cosine_precision@10 | 0.0964 |
514
+ | cosine_recall@1 | 0.8926 |
515
+ | cosine_recall@3 | 0.9454 |
516
+ | cosine_recall@5 | 0.9545 |
517
+ | cosine_recall@10 | 0.9638 |
518
+ | **cosine_ndcg@10** | **0.9313** |
519
+ | cosine_mrr@10 | 0.9206 |
520
+ | cosine_map@100 | 0.9212 |
521
+
522
+ <!--
523
+ ## Bias, Risks and Limitations
524
+
525
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
526
+ -->
527
+
528
+ <!--
529
+ ### Recommendations
530
+
531
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
532
+ -->
533
+
534
+ ## Training Details
535
+
536
+ ### Training Dataset
537
+
538
+ #### code_search_net
539
+
540
+ * Dataset: code_search_net
541
+ * Size: 1,880,853 training samples
542
+ * Columns: <code>func_documentation_string</code> and <code>func_code_string</code>
543
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
544
+ ```json
545
+ {
546
+ "scale": 20.0,
547
+ "similarity_fct": "cos_sim",
548
+ "gather_across_devices": false
549
+ }
550
+ ```
551
+
552
+ ### Evaluation Dataset
553
+
554
+ #### code_search_net
555
+
556
+ * Dataset: code_search_net
557
+ * Size: 30,000 evaluation samples
558
+ * Columns: <code>func_documentation_string</code> and <code>func_code_string</code>
559
+ * Approximate statistics based on the first 1000 samples:
560
+ | | func_documentation_string | func_code_string |
561
+ |:--------|:-------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|
562
+ | type | string | string |
563
+ | details | <ul><li>min: 9 tokens</li><li>mean: 172.22 tokens</li><li>max: 2122 tokens</li></ul> | <ul><li>min: 52 tokens</li><li>mean: 481.97 tokens</li><li>max: 8192 tokens</li></ul> |
564
+ * Samples:
565
+ | func_documentation_string | func_code_string |
566
+ |:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
567
+ | <code>search_query: Train a deepq model.<br><br> Parameters<br> -------<br> env: gym.Env<br> environment to train on<br> network: string or a function<br> neural network to use as a q function approximator. If string, has to be one of the names of registered models in baselines.common.models<br> (mlp, cnn, conv_only). If a function, should take an observation tensor and return a latent variable tensor, which<br> will be mapped to the Q function heads (see build_q_func in baselines.deepq.models for details on that)<br> seed: int or None<br> prng seed. The runs with the same seed "should" give the same results. If None, no seeding is used.<br> lr: float<br> learning rate for adam optimizer<br> total_timesteps: int<br> number of env steps to optimizer for<br> buffer_size: int<br> size of the replay buffer<br> exploration_fraction: float<br> fraction of entire training period over which the exploration rate is annealed<br> exploration_final_eps: float<br> fin...</code> | <code>search_document: def learn(env,<br> network,<br> seed=None,<br> lr=5e-4,<br> total_timesteps=100000,<br> buffer_size=50000,<br> exploration_fraction=0.1,<br> exploration_final_eps=0.02,<br> train_freq=1,<br> batch_size=32,<br> print_freq=100,<br> checkpoint_freq=10000,<br> checkpoint_path=None,<br> learning_starts=1000,<br> gamma=1.0,<br> target_network_update_freq=500,<br> prioritized_replay=False,<br> prioritized_replay_alpha=0.6,<br> prioritized_replay_beta0=0.4,<br> prioritized_replay_beta_iters=None,<br> prioritized_replay_eps=1e-6,<br> param_noise=False,<br> callback=None,<br> load_path=None,<br> **network_kwargs<br> ):<br> """Train a deepq model.<br><br> Parameters<br> -------<br> env: gym.Env<br> environment to train on<br> network: string or a function<br> neural network to use as a q function approximator. If string, has ...</code> |
568
+ | <code>search_query: Save model to a pickle located at `path`</code> | <code>search_document: def save_act(self, path=None):<br> """Save model to a pickle located at `path`"""<br> if path is None:<br> path = os.path.join(logger.get_dir(), "model.pkl")<br><br> with tempfile.TemporaryDirectory() as td:<br> save_variables(os.path.join(td, "model"))<br> arc_name = os.path.join(td, "packed.zip")<br> with zipfile.ZipFile(arc_name, 'w') as zipf:<br> for root, dirs, files in os.walk(td):<br> for fname in files:<br> file_path = os.path.join(root, fname)<br> if file_path != arc_name:<br> zipf.write(file_path, os.path.relpath(file_path, td))<br> with open(arc_name, "rb") as f:<br> model_data = f.read()<br> with open(path, "wb") as f:<br> cloudpickle.dump((model_data, self._act_params), f)</code> |
569
+ | <code>search_query: CNN from Nature paper.</code> | <code>search_document: def nature_cnn(unscaled_images, **conv_kwargs):<br> """<br> CNN from Nature paper.<br> """<br> scaled_images = tf.cast(unscaled_images, tf.float32) / 255.<br> activ = tf.nn.relu<br> h = activ(conv(scaled_images, 'c1', nf=32, rf=8, stride=4, init_scale=np.sqrt(2),<br> **conv_kwargs))<br> h2 = activ(conv(h, 'c2', nf=64, rf=4, stride=2, init_scale=np.sqrt(2), **conv_kwargs))<br> h3 = activ(conv(h2, 'c3', nf=64, rf=3, stride=1, init_scale=np.sqrt(2), **conv_kwargs))<br> h3 = conv_to_fc(h3)<br> return activ(fc(h3, 'fc1', nh=512, init_scale=np.sqrt(2)))</code> |
570
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
571
+ ```json
572
+ {
573
+ "scale": 20.0,
574
+ "similarity_fct": "cos_sim",
575
+ "gather_across_devices": false
576
+ }
577
+ ```
578
+
579
+ ### Training Hyperparameters
580
+ #### Non-Default Hyperparameters
581
+
582
+ - `eval_strategy`: steps
583
+ - `per_device_train_batch_size`: 2
584
+ - `gradient_accumulation_steps`: 32
585
+ - `learning_rate`: 2e-05
586
+ - `max_steps`: 58776
587
+ - `warmup_ratio`: 0.1
588
+ - `fp16`: True
589
+ - `resume_from_checkpoint`: ../models/ModernBERT-base_codesearchnet_bs64_lr_2e-05_2nd_epoch/checkpoint-400
590
+ - `batch_sampler`: no_duplicates
591
+
592
+ #### All Hyperparameters
593
+ <details><summary>Click to expand</summary>
594
+
595
+ - `overwrite_output_dir`: False
596
+ - `do_predict`: False
597
+ - `eval_strategy`: steps
598
+ - `prediction_loss_only`: True
599
+ - `per_device_train_batch_size`: 2
600
+ - `per_device_eval_batch_size`: 8
601
+ - `per_gpu_train_batch_size`: None
602
+ - `per_gpu_eval_batch_size`: None
603
+ - `gradient_accumulation_steps`: 32
604
+ - `eval_accumulation_steps`: None
605
+ - `torch_empty_cache_steps`: None
606
+ - `learning_rate`: 2e-05
607
+ - `weight_decay`: 0.0
608
+ - `adam_beta1`: 0.9
609
+ - `adam_beta2`: 0.999
610
+ - `adam_epsilon`: 1e-08
611
+ - `max_grad_norm`: 1.0
612
+ - `num_train_epochs`: 3.0
613
+ - `max_steps`: 58776
614
+ - `lr_scheduler_type`: linear
615
+ - `lr_scheduler_kwargs`: {}
616
+ - `warmup_ratio`: 0.1
617
+ - `warmup_steps`: 0
618
+ - `log_level`: passive
619
+ - `log_level_replica`: warning
620
+ - `log_on_each_node`: True
621
+ - `logging_nan_inf_filter`: True
622
+ - `save_safetensors`: True
623
+ - `save_on_each_node`: False
624
+ - `save_only_model`: False
625
+ - `restore_callback_states_from_checkpoint`: False
626
+ - `no_cuda`: False
627
+ - `use_cpu`: False
628
+ - `use_mps_device`: False
629
+ - `seed`: 42
630
+ - `data_seed`: None
631
+ - `jit_mode_eval`: False
632
+ - `use_ipex`: False
633
+ - `bf16`: False
634
+ - `fp16`: True
635
+ - `fp16_opt_level`: O1
636
+ - `half_precision_backend`: auto
637
+ - `bf16_full_eval`: False
638
+ - `fp16_full_eval`: False
639
+ - `tf32`: None
640
+ - `local_rank`: 0
641
+ - `ddp_backend`: None
642
+ - `tpu_num_cores`: None
643
+ - `tpu_metrics_debug`: False
644
+ - `debug`: []
645
+ - `dataloader_drop_last`: False
646
+ - `dataloader_num_workers`: 0
647
+ - `dataloader_prefetch_factor`: None
648
+ - `past_index`: -1
649
+ - `disable_tqdm`: False
650
+ - `remove_unused_columns`: True
651
+ - `label_names`: None
652
+ - `load_best_model_at_end`: False
653
+ - `ignore_data_skip`: False
654
+ - `fsdp`: []
655
+ - `fsdp_min_num_params`: 0
656
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
657
+ - `fsdp_transformer_layer_cls_to_wrap`: None
658
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
659
+ - `deepspeed`: None
660
+ - `label_smoothing_factor`: 0.0
661
+ - `optim`: adamw_torch
662
+ - `optim_args`: None
663
+ - `adafactor`: False
664
+ - `group_by_length`: False
665
+ - `length_column_name`: length
666
+ - `ddp_find_unused_parameters`: None
667
+ - `ddp_bucket_cap_mb`: None
668
+ - `ddp_broadcast_buffers`: False
669
+ - `dataloader_pin_memory`: True
670
+ - `dataloader_persistent_workers`: False
671
+ - `skip_memory_metrics`: True
672
+ - `use_legacy_prediction_loop`: False
673
+ - `push_to_hub`: False
674
+ - `resume_from_checkpoint`: ../models/ModernBERT-base_codesearchnet_bs64_lr_2e-05_2nd_epoch/checkpoint-400
675
+ - `hub_model_id`: None
676
+ - `hub_strategy`: every_save
677
+ - `hub_private_repo`: None
678
+ - `hub_always_push`: False
679
+ - `gradient_checkpointing`: False
680
+ - `gradient_checkpointing_kwargs`: None
681
+ - `include_inputs_for_metrics`: False
682
+ - `include_for_metrics`: []
683
+ - `eval_do_concat_batches`: True
684
+ - `fp16_backend`: auto
685
+ - `push_to_hub_model_id`: None
686
+ - `push_to_hub_organization`: None
687
+ - `mp_parameters`:
688
+ - `auto_find_batch_size`: False
689
+ - `full_determinism`: False
690
+ - `torchdynamo`: None
691
+ - `ray_scope`: last
692
+ - `ddp_timeout`: 1800
693
+ - `torch_compile`: False
694
+ - `torch_compile_backend`: None
695
+ - `torch_compile_mode`: None
696
+ - `include_tokens_per_second`: False
697
+ - `include_num_input_tokens_seen`: False
698
+ - `neftune_noise_alpha`: None
699
+ - `optim_target_modules`: None
700
+ - `batch_eval_metrics`: False
701
+ - `eval_on_start`: False
702
+ - `use_liger_kernel`: False
703
+ - `eval_use_gather_object`: False
704
+ - `average_tokens_across_devices`: False
705
+ - `prompts`: None
706
+ - `batch_sampler`: no_duplicates
707
+ - `multi_dataset_batch_sampler`: proportional
708
+ - `router_mapping`: {}
709
+ - `learning_rate_mapping`: {}
710
+
711
+ </details>
712
+
713
+ ### Training Logs
714
+ <details><summary>Click to expand</summary>
715
+
716
+ | Epoch | Step | Training Loss | Validation Loss | codesearchnet_val_cosine_ndcg@10 |
717
+ |:------:|:-----:|:-------------:|:---------------:|:--------------------------------:|
718
+ | 0.0017 | 100 | 0.19 | - | - |
719
+ | 0.0034 | 200 | 0.1583 | - | - |
720
+ | 0.0051 | 300 | 0.6792 | - | - |
721
+ | 0.0068 | 400 | 0.2464 | - | - |
722
+ | 0.0085 | 500 | 0.2829 | 0.1672 | 0.8183 |
723
+ | 0.0102 | 600 | 0.3795 | - | - |
724
+ | 0.0119 | 700 | 0.2691 | - | - |
725
+ | 0.0136 | 800 | 0.2768 | - | - |
726
+ | 0.0153 | 900 | 0.2254 | - | - |
727
+ | 0.0170 | 1000 | 0.2422 | 0.1815 | 0.8134 |
728
+ | 0.0187 | 1100 | 0.3755 | - | - |
729
+ | 0.0204 | 1200 | 0.2652 | - | - |
730
+ | 0.0221 | 1300 | 0.2339 | - | - |
731
+ | 0.0238 | 1400 | 0.3393 | - | - |
732
+ | 0.0255 | 1500 | 0.7895 | 0.1694 | 0.8191 |
733
+ | 0.0272 | 1600 | 0.2055 | - | - |
734
+ | 0.0289 | 1700 | 0.1205 | - | - |
735
+ | 0.0306 | 1800 | 0.198 | - | - |
736
+ | 0.0323 | 1900 | 0.3327 | - | - |
737
+ | 0.0340 | 2000 | 0.1377 | 0.1757 | 0.8136 |
738
+ | 0.0357 | 2100 | 0.3203 | - | - |
739
+ | 0.0374 | 2200 | 0.3851 | - | - |
740
+ | 0.0391 | 2300 | 0.3489 | - | - |
741
+ | 0.0408 | 2400 | 0.2502 | - | - |
742
+ | 0.0425 | 2500 | 0.1615 | 0.1659 | 0.8216 |
743
+ | 0.0442 | 2600 | 0.2771 | - | - |
744
+ | 0.0459 | 2700 | 0.2109 | - | - |
745
+ | 0.0476 | 2800 | 0.201 | - | - |
746
+ | 0.0493 | 2900 | 0.1754 | - | - |
747
+ | 0.0510 | 3000 | 0.2428 | 0.1787 | 0.8147 |
748
+ | 0.0527 | 3100 | 0.1937 | - | - |
749
+ | 0.0544 | 3200 | 0.3725 | - | - |
750
+ | 0.0561 | 3300 | 0.1994 | - | - |
751
+ | 0.0578 | 3400 | 0.2107 | - | - |
752
+ | 0.0595 | 3500 | 0.2011 | 0.1701 | 0.8193 |
753
+ | 0.0612 | 3600 | 0.3347 | - | - |
754
+ | 0.0630 | 3700 | 5.1378 | - | - |
755
+ | 0.0647 | 3800 | 0.2538 | - | - |
756
+ | 0.0664 | 3900 | 0.248 | - | - |
757
+ | 0.0681 | 4000 | 0.4243 | 0.1866 | 0.8112 |
758
+ | 0.0698 | 4100 | 0.206 | - | - |
759
+ | 0.0715 | 4200 | 0.3278 | - | - |
760
+ | 0.0732 | 4300 | 0.0888 | - | - |
761
+ | 0.0749 | 4400 | 0.3515 | - | - |
762
+ | 0.0766 | 4500 | 0.6627 | 0.1696 | 0.8165 |
763
+ | 0.0783 | 4600 | 0.2656 | - | - |
764
+ | 0.0800 | 4700 | 0.1814 | - | - |
765
+ | 0.0817 | 4800 | 0.1112 | - | - |
766
+ | 0.0834 | 4900 | 0.3206 | - | - |
767
+ | 0.0851 | 5000 | 0.172 | 0.2241 | 0.8027 |
768
+ | 0.0868 | 5100 | 1.1987 | - | - |
769
+ | 0.0885 | 5200 | 0.4428 | - | - |
770
+ | 0.0902 | 5300 | 0.3343 | - | - |
771
+ | 0.0919 | 5400 | 0.7683 | - | - |
772
+ | 0.0936 | 5500 | 0.1866 | 0.1827 | 0.8101 |
773
+ | 0.0953 | 5600 | 0.3964 | - | - |
774
+ | 0.0970 | 5700 | 0.213 | - | - |
775
+ | 0.0987 | 5800 | 0.2434 | - | - |
776
+ | 0.1004 | 5900 | 0.3023 | - | - |
777
+ | 0.1021 | 6000 | 0.2485 | 0.2432 | 0.7912 |
778
+ | 0.1038 | 6100 | 0.3683 | - | - |
779
+ | 0.1055 | 6200 | 0.2611 | - | - |
780
+ | 0.1072 | 6300 | 0.3496 | - | - |
781
+ | 0.1089 | 6400 | 0.1196 | - | - |
782
+ | 0.1106 | 6500 | 4.8561 | 0.0884 | 0.8712 |
783
+ | 0.1123 | 6600 | 5.5351 | - | - |
784
+ | 0.1140 | 6700 | 5.6138 | - | - |
785
+ | 0.1157 | 6800 | 7.7965 | - | - |
786
+ | 0.1174 | 6900 | 4.4967 | - | - |
787
+ | 0.1191 | 7000 | 4.662 | 0.0445 | 0.9163 |
788
+ | 0.1208 | 7100 | 7.5013 | - | - |
789
+ | 0.1225 | 7200 | 4.7495 | - | - |
790
+ | 0.1242 | 7300 | 3.9834 | - | - |
791
+ | 0.1259 | 7400 | 3.9619 | - | - |
792
+ | 0.1276 | 7500 | 4.4785 | 0.0389 | 0.9195 |
793
+ | 0.1293 | 7600 | 3.6073 | - | - |
794
+ | 0.1310 | 7700 | 4.5819 | - | - |
795
+ | 0.1327 | 7800 | 3.7317 | - | - |
796
+ | 0.1344 | 7900 | 4.0748 | - | - |
797
+ | 0.1361 | 8000 | 4.1834 | 0.0391 | 0.9166 |
798
+ | 0.1378 | 8100 | 5.0615 | - | - |
799
+ | 0.1395 | 8200 | 3.3821 | - | - |
800
+ | 0.1412 | 8300 | 3.3912 | - | - |
801
+ | 0.1429 | 8400 | 2.7322 | - | - |
802
+ | 0.1446 | 8500 | 4.5988 | 0.0440 | 0.9142 |
803
+ | 0.1463 | 8600 | 3.9864 | - | - |
804
+ | 0.1480 | 8700 | 3.9303 | - | - |
805
+ | 0.1497 | 8800 | 4.4749 | - | - |
806
+ | 0.1514 | 8900 | 4.498 | - | - |
807
+ | 0.1531 | 9000 | 7.6013 | 0.0420 | 0.9192 |
808
+ | 0.1548 | 9100 | 5.5126 | - | - |
809
+ | 0.1565 | 9200 | 6.8746 | - | - |
810
+ | 0.1582 | 9300 | 4.7012 | - | - |
811
+ | 0.1599 | 9400 | 11.9009 | - | - |
812
+ | 0.1616 | 9500 | 3.7235 | 0.0397 | 0.9203 |
813
+ | 0.1633 | 9600 | 3.5386 | - | - |
814
+ | 0.1650 | 9700 | 5.9226 | - | - |
815
+ | 0.1667 | 9800 | 3.7856 | - | - |
816
+ | 0.1684 | 9900 | 3.3258 | - | - |
817
+ | 0.1701 | 10000 | 4.98 | 0.0448 | 0.9215 |
818
+ | 0.1718 | 10100 | 4.2472 | - | - |
819
+ | 0.1735 | 10200 | 4.4016 | - | - |
820
+ | 0.1752 | 10300 | 4.8707 | - | - |
821
+ | 0.1769 | 10400 | 4.9904 | - | - |
822
+ | 0.1786 | 10500 | 3.9357 | 0.0383 | 0.9241 |
823
+ | 0.1803 | 10600 | 4.0991 | - | - |
824
+ | 0.1820 | 10700 | 4.4683 | - | - |
825
+ | 0.1837 | 10800 | 3.4352 | - | - |
826
+ | 0.1854 | 10900 | 3.609 | - | - |
827
+ | 0.1872 | 11000 | 4.4227 | 0.0401 | 0.9242 |
828
+ | 0.1889 | 11100 | 1.1888 | - | - |
829
+ | 0.1906 | 11200 | 3.2571 | - | - |
830
+ | 0.1923 | 11300 | 3.8446 | - | - |
831
+ | 0.1940 | 11400 | 4.3794 | - | - |
832
+ | 0.1957 | 11500 | 4.1946 | 0.0383 | 0.9238 |
833
+ | 0.1974 | 11600 | 3.3693 | - | - |
834
+ | 0.1991 | 11700 | 2.5459 | - | - |
835
+ | 0.2008 | 11800 | 4.2474 | - | - |
836
+ | 0.2025 | 11900 | 3.0217 | - | - |
837
+ | 0.2042 | 12000 | 5.5281 | 0.0413 | 0.9196 |
838
+ | 0.2059 | 12100 | 4.8121 | - | - |
839
+ | 0.2076 | 12200 | 4.6823 | - | - |
840
+ | 0.2093 | 12300 | 3.6668 | - | - |
841
+ | 0.2110 | 12400 | 7.6779 | - | - |
842
+ | 0.2127 | 12500 | 10.2691 | 0.0400 | 0.9188 |
843
+ | 0.2144 | 12600 | 5.3269 | - | - |
844
+ | 0.2161 | 12700 | 1.9738 | - | - |
845
+ | 0.2178 | 12800 | 0.8293 | - | - |
846
+ | 0.2195 | 12900 | 3.1235 | - | - |
847
+ | 0.2212 | 13000 | 4.3066 | 0.0394 | 0.9205 |
848
+ | 0.2229 | 13100 | 3.3231 | - | - |
849
+ | 0.2246 | 13200 | 4.0379 | - | - |
850
+ | 0.2263 | 13300 | 2.972 | - | - |
851
+ | 0.2280 | 13400 | 6.0747 | - | - |
852
+ | 0.2297 | 13500 | 4.528 | 0.0388 | 0.9171 |
853
+ | 0.2314 | 13600 | 4.0589 | - | - |
854
+ | 0.2331 | 13700 | 3.5025 | - | - |
855
+ | 0.2348 | 13800 | 4.2629 | - | - |
856
+ | 0.2365 | 13900 | 4.6222 | - | - |
857
+ | 0.2382 | 14000 | 5.2728 | 0.0369 | 0.9164 |
858
+ | 0.2399 | 14100 | 4.7144 | - | - |
859
+ | 0.2416 | 14200 | 6.1632 | - | - |
860
+ | 0.2433 | 14300 | 4.692 | - | - |
861
+ | 0.2450 | 14400 | 4.7192 | - | - |
862
+ | 0.2467 | 14500 | 4.4553 | 0.0383 | 0.9151 |
863
+ | 0.2484 | 14600 | 5.5914 | - | - |
864
+ | 0.2501 | 14700 | 5.1508 | - | - |
865
+ | 0.2518 | 14800 | 5.6841 | - | - |
866
+ | 0.2535 | 14900 | 5.0169 | - | - |
867
+ | 0.2552 | 15000 | 4.9999 | 0.0411 | 0.9054 |
868
+ | 0.2569 | 15100 | 4.169 | - | - |
869
+ | 0.2586 | 15200 | 4.2057 | - | - |
870
+ | 0.2603 | 15300 | 4.2864 | - | - |
871
+ | 0.2620 | 15400 | 4.7846 | - | - |
872
+ | 0.2637 | 15500 | 3.7807 | 0.0414 | 0.9063 |
873
+ | 0.2654 | 15600 | 1.1362 | - | - |
874
+ | 0.2671 | 15700 | 2.2033 | - | - |
875
+ | 0.2688 | 15800 | 1.1895 | - | - |
876
+ | 0.2705 | 15900 | 3.3078 | - | - |
877
+ | 0.2722 | 16000 | 0.8944 | 0.0480 | 0.8973 |
878
+ | 0.2739 | 16100 | 0.1877 | - | - |
879
+ | 0.2756 | 16200 | 0.6408 | - | - |
880
+ | 0.2773 | 16300 | 1.0533 | - | - |
881
+ | 0.2790 | 16400 | 0.5994 | - | - |
882
+ | 0.2807 | 16500 | 0.4108 | 0.0594 | 0.8605 |
883
+ | 0.2824 | 16600 | 0.2404 | - | - |
884
+ | 0.2841 | 16700 | 0.0997 | - | - |
885
+ | 0.2858 | 16800 | 0.1914 | - | - |
886
+ | 0.2875 | 16900 | 0.2929 | - | - |
887
+ | 0.2892 | 17000 | 1.6005 | 0.0527 | 0.8789 |
888
+ | 0.2909 | 17100 | 1.222 | - | - |
889
+ | 0.2926 | 17200 | 0.9074 | - | - |
890
+ | 0.2943 | 17300 | 1.035 | - | - |
891
+ | 0.2960 | 17400 | 0.9031 | - | - |
892
+ | 0.2977 | 17500 | 0.6543 | 0.0532 | 0.8673 |
893
+ | 0.2994 | 17600 | 0.6473 | - | - |
894
+ | 0.3011 | 17700 | 0.8602 | - | - |
895
+ | 0.3028 | 17800 | 1.1188 | - | - |
896
+ | 0.3045 | 17900 | 1.0075 | - | - |
897
+ | 0.3062 | 18000 | 1.882 | 0.0517 | 0.8728 |
898
+ | 0.3079 | 18100 | 2.7281 | - | - |
899
+ | 0.3097 | 18200 | 1.3526 | - | - |
900
+ | 0.3114 | 18300 | 0.8499 | - | - |
901
+ | 0.3131 | 18400 | 1.4446 | - | - |
902
+ | 0.3148 | 18500 | 0.868 | 0.0576 | 0.8497 |
903
+ | 0.3165 | 18600 | 0.24 | - | - |
904
+ | 0.3182 | 18700 | 0.1584 | - | - |
905
+ | 0.3199 | 18800 | 0.6843 | - | - |
906
+ | 0.3216 | 18900 | 0.6952 | - | - |
907
+ | 0.3233 | 19000 | 0.9405 | 0.0540 | 0.8720 |
908
+ | 0.3250 | 19100 | 1.0507 | - | - |
909
+ | 0.3267 | 19200 | 1.3594 | - | - |
910
+ | 0.3284 | 19300 | 1.088 | - | - |
911
+ | 0.3301 | 19400 | 5.7851 | - | - |
912
+ | 0.3318 | 19500 | 1.389 | 0.0481 | 0.8735 |
913
+ | 0.3335 | 19600 | 0.8319 | - | - |
914
+ | 0.3352 | 19700 | 1.3223 | - | - |
915
+ | 0.3369 | 19800 | 1.483 | - | - |
916
+ | 0.3386 | 19900 | 1.4582 | - | - |
917
+ | 0.3403 | 20000 | 1.3791 | 0.0523 | 0.8568 |
918
+ | 0.3420 | 20100 | 0.9329 | - | - |
919
+ | 0.3437 | 20200 | 1.4642 | - | - |
920
+ | 0.3454 | 20300 | 1.0606 | - | - |
921
+ | 0.3471 | 20400 | 1.36 | - | - |
922
+ | 0.3488 | 20500 | 2.2963 | 0.0491 | 0.8852 |
923
+ | 0.3505 | 20600 | 2.1325 | - | - |
924
+ | 0.3522 | 20700 | 2.7292 | - | - |
925
+ | 0.3539 | 20800 | 3.318 | - | - |
926
+ | 0.3556 | 20900 | 2.9986 | - | - |
927
+ | 0.3573 | 21000 | 2.795 | 0.0404 | 0.9025 |
928
+ | 0.3590 | 21100 | 3.2957 | - | - |
929
+ | 0.3607 | 21200 | 3.332 | - | - |
930
+ | 0.3624 | 21300 | 3.6357 | - | - |
931
+ | 0.3641 | 21400 | 3.2703 | - | - |
932
+ | 0.3658 | 21500 | 3.1093 | 0.0409 | 0.9038 |
933
+ | 0.3675 | 21600 | 3.0346 | - | - |
934
+ | 0.3692 | 21700 | 2.9721 | - | - |
935
+ | 0.3709 | 21800 | 2.8401 | - | - |
936
+ | 0.3726 | 21900 | 3.6846 | - | - |
937
+ | 0.3743 | 22000 | 3.7735 | 0.0449 | 0.9011 |
938
+ | 0.3760 | 22100 | 4.5612 | - | - |
939
+ | 0.3777 | 22200 | 2.9749 | - | - |
940
+ | 0.3794 | 22300 | 4.1631 | - | - |
941
+ | 0.3811 | 22400 | 3.5604 | - | - |
942
+ | 0.3828 | 22500 | 3.1771 | 0.0465 | 0.8791 |
943
+ | 0.3845 | 22600 | 4.0018 | - | - |
944
+ | 0.3862 | 22700 | 4.5043 | - | - |
945
+ | 0.3879 | 22800 | 3.9448 | - | - |
946
+ | 0.3896 | 22900 | 5.3978 | - | - |
947
+ | 0.3913 | 23000 | 1.7375 | 0.0423 | 0.8897 |
948
+ | 0.3930 | 23100 | 1.3611 | - | - |
949
+ | 0.3947 | 23200 | 1.2127 | - | - |
950
+ | 0.3964 | 23300 | 2.5636 | - | - |
951
+ | 0.3981 | 23400 | 3.5466 | - | - |
952
+ | 0.3998 | 23500 | 2.8656 | 0.0424 | 0.8979 |
953
+ | 0.4015 | 23600 | 2.7182 | - | - |
954
+ | 0.4032 | 23700 | 2.8646 | - | - |
955
+ | 0.4049 | 23800 | 2.9465 | - | - |
956
+ | 0.4066 | 23900 | 2.9163 | - | - |
957
+ | 0.4083 | 24000 | 2.9331 | 0.0463 | 0.8938 |
958
+ | 0.4100 | 24100 | 3.9935 | - | - |
959
+ | 0.4117 | 24200 | 2.7475 | - | - |
960
+ | 0.4134 | 24300 | 5.1587 | - | - |
961
+ | 0.4151 | 24400 | 3.7547 | - | - |
962
+ | 0.4168 | 24500 | 2.0947 | 0.0474 | 0.8835 |
963
+ | 0.4185 | 24600 | 2.4338 | - | - |
964
+ | 0.4202 | 24700 | 3.7207 | - | - |
965
+ | 0.4219 | 24800 | 3.4291 | - | - |
966
+ | 0.4236 | 24900 | 3.3418 | - | - |
967
+ | 0.4253 | 25000 | 2.5511 | 0.0430 | 0.9044 |
968
+ | 0.4270 | 25100 | 2.983 | - | - |
969
+ | 0.4287 | 25200 | 2.3925 | - | - |
970
+ | 0.4304 | 25300 | 3.0416 | - | - |
971
+ | 0.4321 | 25400 | 2.7997 | - | - |
972
+ | 0.4339 | 25500 | 2.7176 | 0.0444 | 0.8976 |
973
+ | 0.4356 | 25600 | 2.9507 | - | - |
974
+ | 0.4373 | 25700 | 2.3705 | - | - |
975
+ | 0.4390 | 25800 | 4.2975 | - | - |
976
+ | 0.4407 | 25900 | 3.527 | - | - |
977
+ | 0.4424 | 26000 | 2.3073 | 0.0453 | 0.8868 |
978
+ | 0.4441 | 26100 | 3.0645 | - | - |
979
+ | 0.4458 | 26200 | 3.4071 | - | - |
980
+ | 0.4475 | 26300 | 3.7307 | - | - |
981
+ | 0.4492 | 26400 | 2.6497 | - | - |
982
+ | 0.4509 | 26500 | 2.668 | 0.0483 | 0.8826 |
983
+ | 0.4526 | 26600 | 2.8279 | - | - |
984
+ | 0.4543 | 26700 | 3.6331 | - | - |
985
+ | 0.4560 | 26800 | 2.8807 | - | - |
986
+ | 0.4577 | 26900 | 3.5984 | - | - |
987
+ | 0.4594 | 27000 | 2.9723 | 0.0442 | 0.8921 |
988
+ | 0.4611 | 27100 | 2.5831 | - | - |
989
+ | 0.4628 | 27200 | 2.9105 | - | - |
990
+ | 0.4645 | 27300 | 3.3101 | - | - |
991
+ | 0.4662 | 27400 | 3.0373 | - | - |
992
+ | 0.4679 | 27500 | 2.8517 | 0.0449 | 0.9052 |
993
+ | 0.4696 | 27600 | 2.8638 | - | - |
994
+ | 0.4713 | 27700 | 3.1508 | - | - |
995
+ | 0.4730 | 27800 | 2.3221 | - | - |
996
+ | 0.4747 | 27900 | 2.589 | - | - |
997
+ | 0.4764 | 28000 | 3.006 | 0.0481 | 0.8875 |
998
+ | 0.4781 | 28100 | 2.7114 | - | - |
999
+ | 0.4798 | 28200 | 2.9843 | - | - |
1000
+ | 0.4815 | 28300 | 3.2839 | - | - |
1001
+ | 0.4832 | 28400 | 3.3347 | - | - |
1002
+ | 0.4849 | 28500 | 3.2885 | 0.0463 | 0.8951 |
1003
+ | 0.4866 | 28600 | 3.1835 | - | - |
1004
+ | 0.4883 | 28700 | 2.6282 | - | - |
1005
+ | 0.4900 | 28800 | 2.2738 | - | - |
1006
+ | 0.4917 | 28900 | 3.1998 | - | - |
1007
+ | 0.4934 | 29000 | 2.9384 | 0.0451 | 0.8981 |
1008
+ | 0.4951 | 29100 | 4.6047 | - | - |
1009
+ | 0.4968 | 29200 | 3.0966 | - | - |
1010
+ | 0.4985 | 29300 | 3.1956 | - | - |
1011
+ | 1.0002 | 29400 | 3.4994 | - | - |
1012
+ | 1.0019 | 29500 | 0.2776 | 0.0461 | 0.9105 |
1013
+ | 1.0036 | 29600 | 0.2346 | - | - |
1014
+ | 1.0053 | 29700 | 0.6977 | - | - |
1015
+ | 1.0070 | 29800 | 0.2521 | - | - |
1016
+ | 1.0087 | 29900 | 0.3457 | - | - |
1017
+ | 1.0104 | 30000 | 0.33 | 0.1606 | 0.8305 |
1018
+ | 1.0121 | 30100 | 0.2394 | - | - |
1019
+ | 1.0138 | 30200 | 0.2567 | - | - |
1020
+ | 1.0155 | 30300 | 0.2705 | - | - |
1021
+ | 1.0172 | 30400 | 0.2423 | - | - |
1022
+ | 1.0189 | 30500 | 0.3367 | 0.1255 | 0.8458 |
1023
+ | 1.0206 | 30600 | 0.3427 | - | - |
1024
+ | 1.0223 | 30700 | 0.288 | - | - |
1025
+ | 1.0240 | 30800 | 0.2142 | - | - |
1026
+ | 1.0257 | 30900 | 0.7273 | - | - |
1027
+ | 1.0274 | 31000 | 0.1669 | 0.1504 | 0.8340 |
1028
+ | 1.0291 | 31100 | 0.136 | - | - |
1029
+ | 1.0308 | 31200 | 0.1797 | - | - |
1030
+ | 1.0325 | 31300 | 0.3307 | - | - |
1031
+ | 1.0342 | 31400 | 0.1718 | - | - |
1032
+ | 1.0359 | 31500 | 0.2782 | 0.1558 | 0.8309 |
1033
+ | 1.0376 | 31600 | 0.3898 | - | - |
1034
+ | 1.0393 | 31700 | 0.3348 | - | - |
1035
+ | 1.0410 | 31800 | 0.2429 | - | - |
1036
+ | 1.0427 | 31900 | 0.1551 | - | - |
1037
+ | 1.0444 | 32000 | 0.2651 | 0.1941 | 0.8126 |
1038
+ | 1.0461 | 32100 | 0.2108 | - | - |
1039
+ | 1.0478 | 32200 | 0.1574 | - | - |
1040
+ | 1.0495 | 32300 | 0.2025 | - | - |
1041
+ | 1.0512 | 32400 | 0.211 | - | - |
1042
+ | 1.0529 | 32500 | 0.2047 | 0.1675 | 0.8239 |
1043
+ | 1.0546 | 32600 | 0.3256 | - | - |
1044
+ | 1.0563 | 32700 | 0.1979 | - | - |
1045
+ | 1.0581 | 32800 | 0.2014 | - | - |
1046
+ | 1.0598 | 32900 | 0.1971 | - | - |
1047
+ | 1.0615 | 33000 | 2.5198 | 0.1667 | 0.8226 |
1048
+ | 1.0632 | 33100 | 2.9456 | - | - |
1049
+ | 1.0649 | 33200 | 0.227 | - | - |
1050
+ | 1.0666 | 33300 | 0.2095 | - | - |
1051
+ | 1.0683 | 33400 | 0.3852 | - | - |
1052
+ | 1.0700 | 33500 | 0.189 | 0.1985 | 0.8078 |
1053
+ | 1.0717 | 33600 | 0.3144 | - | - |
1054
+ | 1.0734 | 33700 | 0.1082 | - | - |
1055
+ | 1.0751 | 33800 | 0.3401 | - | - |
1056
+ | 1.0768 | 33900 | 0.6729 | - | - |
1057
+ | 1.0785 | 34000 | 0.2654 | 0.1725 | 0.8184 |
1058
+ | 1.0802 | 34100 | 0.1091 | - | - |
1059
+ | 1.0819 | 34200 | 0.125 | - | - |
1060
+ | 1.0836 | 34300 | 0.254 | - | - |
1061
+ | 1.0853 | 34400 | 0.2993 | - | - |
1062
+ | 1.0870 | 34500 | 1.0362 | 0.1959 | 0.8129 |
1063
+ | 1.0887 | 34600 | 0.3466 | - | - |
1064
+ | 1.0904 | 34700 | 0.4128 | - | - |
1065
+ | 1.0921 | 34800 | 0.6896 | - | - |
1066
+ | 1.0938 | 34900 | 0.1564 | - | - |
1067
+ | 1.0955 | 35000 | 0.3684 | 0.1789 | 0.8180 |
1068
+ | 1.0972 | 35100 | 0.175 | - | - |
1069
+ | 1.0989 | 35200 | 0.2262 | - | - |
1070
+ | 1.1006 | 35300 | 0.3144 | - | - |
1071
+ | 1.1023 | 35400 | 0.1309 | - | - |
1072
+ | 1.1040 | 35500 | 0.3343 | 0.1689 | 0.8211 |
1073
+ | 1.1057 | 35600 | 0.2455 | - | - |
1074
+ | 1.1074 | 35700 | 0.2755 | - | - |
1075
+ | 1.1091 | 35800 | 0.1197 | - | - |
1076
+ | 1.1108 | 35900 | 4.0627 | - | - |
1077
+ | 1.1125 | 36000 | 5.2316 | 0.0465 | 0.9154 |
1078
+ | 1.1142 | 36100 | 4.9503 | - | - |
1079
+ | 1.1159 | 36200 | 5.5472 | - | - |
1080
+ | 1.1176 | 36300 | 2.4129 | - | - |
1081
+ | 1.1193 | 36400 | 3.0761 | - | - |
1082
+ | 1.1210 | 36500 | 5.5435 | 0.0355 | 0.9312 |
1083
+ | 1.1227 | 36600 | 3.123 | - | - |
1084
+ | 1.1244 | 36700 | 2.6283 | - | - |
1085
+ | 1.1261 | 36800 | 2.9838 | - | - |
1086
+ | 1.1278 | 36900 | 2.5708 | - | - |
1087
+ | 1.1295 | 37000 | 2.8255 | 0.0347 | 0.9299 |
1088
+ | 1.1312 | 37100 | 2.9355 | - | - |
1089
+ | 1.1329 | 37200 | 2.3452 | - | - |
1090
+ | 1.1346 | 37300 | 2.9868 | - | - |
1091
+ | 1.1363 | 37400 | 2.4357 | - | - |
1092
+ | 1.1380 | 37500 | 3.6657 | 0.0342 | 0.9312 |
1093
+ | 1.1397 | 37600 | 2.1038 | - | - |
1094
+ | 1.1414 | 37700 | 2.1265 | - | - |
1095
+ | 1.1431 | 37800 | 2.5661 | - | - |
1096
+ | 1.1448 | 37900 | 3.0195 | - | - |
1097
+ | 1.1465 | 38000 | 2.3143 | 0.0356 | 0.9295 |
1098
+ | 1.1482 | 38100 | 2.5888 | - | - |
1099
+ | 1.1499 | 38200 | 2.9752 | - | - |
1100
+ | 1.1516 | 38300 | 3.7307 | - | - |
1101
+ | 1.1533 | 38400 | 5.848 | - | - |
1102
+ | 1.1550 | 38500 | 4.4071 | 0.0337 | 0.9300 |
1103
+ | 1.1567 | 38600 | 5.4725 | - | - |
1104
+ | 1.1584 | 38700 | 3.4716 | - | - |
1105
+ | 1.1601 | 38800 | 11.3059 | - | - |
1106
+ | 1.1618 | 38900 | 2.6385 | - | - |
1107
+ | 1.1635 | 39000 | 2.218 | 0.0358 | 0.9316 |
1108
+ | 1.1652 | 39100 | 4.2273 | - | - |
1109
+ | 1.1669 | 39200 | 2.6294 | - | - |
1110
+ | 1.1686 | 39300 | 2.133 | - | - |
1111
+ | 1.1703 | 39400 | 3.6478 | - | - |
1112
+ | 1.1720 | 39500 | 3.4377 | 0.0378 | 0.9303 |
1113
+ | 1.1737 | 39600 | 2.4562 | - | - |
1114
+ | 1.1754 | 39700 | 3.5861 | - | - |
1115
+ | 1.1771 | 39800 | 3.0256 | - | - |
1116
+ | 1.1788 | 39900 | 3.0825 | - | - |
1117
+ | 1.1805 | 40000 | 2.6703 | 0.0322 | 0.9312 |
1118
+ | 1.1823 | 40100 | 3.0079 | - | - |
1119
+ | 1.1840 | 40200 | 2.4013 | - | - |
1120
+ | 1.1857 | 40300 | 2.6008 | - | - |
1121
+ | 1.1874 | 40400 | 2.6009 | - | - |
1122
+ | 1.1891 | 40500 | 1.0118 | 0.0364 | 0.9251 |
1123
+ | 1.1908 | 40600 | 1.9537 | - | - |
1124
+ | 1.1925 | 40700 | 3.0583 | - | - |
1125
+ | 1.1942 | 40800 | 3.0605 | - | - |
1126
+ | 1.1959 | 40900 | 2.899 | - | - |
1127
+ | 1.1976 | 41000 | 2.1811 | 0.0372 | 0.9314 |
1128
+ | 1.1993 | 41100 | 1.6352 | - | - |
1129
+ | 1.2010 | 41200 | 2.897 | - | - |
1130
+ | 1.2027 | 41300 | 1.9675 | - | - |
1131
+ | 1.2044 | 41400 | 4.1303 | - | - |
1132
+ | 1.2061 | 41500 | 3.5249 | 0.0347 | 0.9296 |
1133
+ | 1.2078 | 41600 | 2.9009 | - | - |
1134
+ | 1.2095 | 41700 | 2.1829 | - | - |
1135
+ | 1.2112 | 41800 | 8.6371 | - | - |
1136
+ | 1.2129 | 41900 | 7.3269 | - | - |
1137
+ | 1.2146 | 42000 | 4.7817 | 0.0368 | 0.9294 |
1138
+ | 1.2163 | 42100 | 1.0625 | - | - |
1139
+ | 1.2180 | 42200 | 0.4482 | - | - |
1140
+ | 1.2197 | 42300 | 2.273 | - | - |
1141
+ | 1.2214 | 42400 | 2.9058 | - | - |
1142
+ | 1.2231 | 42500 | 2.3138 | 0.0340 | 0.9295 |
1143
+ | 1.2248 | 42600 | 2.8566 | - | - |
1144
+ | 1.2265 | 42700 | 2.0118 | - | - |
1145
+ | 1.2282 | 42800 | 4.6103 | - | - |
1146
+ | 1.2299 | 42900 | 3.2476 | - | - |
1147
+ | 1.2316 | 43000 | 2.5581 | 0.0323 | 0.9303 |
1148
+ | 1.2333 | 43100 | 2.2805 | - | - |
1149
+ | 1.2350 | 43200 | 2.5965 | - | - |
1150
+ | 1.2367 | 43300 | 2.6197 | - | - |
1151
+ | 1.2384 | 43400 | 3.7837 | - | - |
1152
+ | 1.2401 | 43500 | 3.0483 | 0.0316 | 0.9306 |
1153
+ | 1.2418 | 43600 | 3.6523 | - | - |
1154
+ | 1.2435 | 43700 | 2.9768 | - | - |
1155
+ | 1.2452 | 43800 | 2.844 | - | - |
1156
+ | 1.2469 | 43900 | 3.2135 | - | - |
1157
+ | 1.2486 | 44000 | 3.5638 | 0.0325 | 0.9313 |
1158
+
1159
+ </details>
1160
+
1161
+ ### Framework Versions
1162
+ - Python: 3.10.11
1163
+ - Sentence Transformers: 5.1.0
1164
+ - Transformers: 4.52.3
1165
+ - PyTorch: 2.6.0+cu124
1166
+ - Accelerate: 1.10.0
1167
+ - Datasets: 3.6.0
1168
+ - Tokenizers: 0.21.4
1169
+
1170
+ ## Citation
1171
+
1172
+ ### BibTeX
1173
+
1174
+ #### Sentence Transformers
1175
+ ```bibtex
1176
+ @inproceedings{reimers-2019-sentence-bert,
1177
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
1178
+ author = "Reimers, Nils and Gurevych, Iryna",
1179
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
1180
+ month = "11",
1181
+ year = "2019",
1182
+ publisher = "Association for Computational Linguistics",
1183
+ url = "https://arxiv.org/abs/1908.10084",
1184
+ }
1185
+ ```
1186
+
1187
+ #### MultipleNegativesRankingLoss
1188
+ ```bibtex
1189
+ @misc{henderson2017efficient,
1190
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
1191
+ author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
1192
+ year={2017},
1193
+ eprint={1705.00652},
1194
+ archivePrefix={arXiv},
1195
+ primaryClass={cs.CL}
1196
+ }
1197
+ ```
1198
+
1199
+ <!--
1200
+ ## Glossary
1201
+
1202
+ *Clearly define terms in order to be accessible across audiences.*
1203
+ -->
1204
+
1205
+ <!--
1206
+ ## Model Card Authors
1207
+
1208
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
1209
+ -->
1210
+
1211
+ <!--
1212
+ ## Model Card Contact
1213
+
1214
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
1215
+ -->
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ModernBertModel"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 50281,
8
+ "classifier_activation": "gelu",
9
+ "classifier_bias": false,
10
+ "classifier_dropout": 0.0,
11
+ "classifier_pooling": "mean",
12
+ "cls_token_id": 50281,
13
+ "decoder_bias": true,
14
+ "deterministic_flash_attn": false,
15
+ "dtype": "float32",
16
+ "embedding_dropout": 0.0,
17
+ "eos_token_id": 50282,
18
+ "global_attn_every_n_layers": 3,
19
+ "global_rope_theta": 160000.0,
20
+ "gradient_checkpointing": false,
21
+ "hidden_activation": "gelu",
22
+ "hidden_size": 768,
23
+ "initializer_cutoff_factor": 2.0,
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 1152,
26
+ "layer_norm_eps": 1e-05,
27
+ "local_attention": 128,
28
+ "local_rope_theta": 10000.0,
29
+ "max_position_embeddings": 8192,
30
+ "mlp_bias": false,
31
+ "mlp_dropout": 0.0,
32
+ "model_type": "modernbert",
33
+ "norm_bias": false,
34
+ "norm_eps": 1e-05,
35
+ "num_attention_heads": 12,
36
+ "num_hidden_layers": 22,
37
+ "pad_token_id": 50283,
38
+ "position_embedding_type": "absolute",
39
+ "repad_logits_with_grad": false,
40
+ "sep_token_id": 50282,
41
+ "sparse_pred_ignore_index": -100,
42
+ "sparse_prediction": false,
43
+ "transformers_version": "4.56.2",
44
+ "vocab_size": 50368
45
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "SentenceTransformer",
3
+ "__version__": {
4
+ "sentence_transformers": "5.1.1",
5
+ "transformers": "4.56.2",
6
+ "pytorch": "2.8.0+cu126"
7
+ },
8
+ "prompts": {
9
+ "query": "",
10
+ "document": "",
11
+ "search_query": "search_query: ",
12
+ "search_document": "search_document: "
13
+ },
14
+ "default_prompt_name": null,
15
+ "similarity_fn_name": "cosine"
16
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8fedc806ca505df9c90c86c57b65f7add28ae0f9b4af7bdc9a67aede4ed6b73
3
+ size 596070136
modules.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.models.Transformer"
7
+ },
8
+ {
9
+ "idx": 1,
10
+ "name": "1",
11
+ "path": "1_Pooling",
12
+ "type": "sentence_transformers.models.Pooling"
13
+ }
14
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 8192,
3
+ "do_lower_case": false
4
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": true,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,952 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "|||IP_ADDRESS|||",
5
+ "lstrip": false,
6
+ "normalized": true,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": false
10
+ },
11
+ "1": {
12
+ "content": "<|padding|>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "50254": {
20
+ "content": " ",
21
+ "lstrip": false,
22
+ "normalized": true,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": false
26
+ },
27
+ "50255": {
28
+ "content": " ",
29
+ "lstrip": false,
30
+ "normalized": true,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": false
34
+ },
35
+ "50256": {
36
+ "content": " ",
37
+ "lstrip": false,
38
+ "normalized": true,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": false
42
+ },
43
+ "50257": {
44
+ "content": " ",
45
+ "lstrip": false,
46
+ "normalized": true,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": false
50
+ },
51
+ "50258": {
52
+ "content": " ",
53
+ "lstrip": false,
54
+ "normalized": true,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": false
58
+ },
59
+ "50259": {
60
+ "content": " ",
61
+ "lstrip": false,
62
+ "normalized": true,
63
+ "rstrip": false,
64
+ "single_word": false,
65
+ "special": false
66
+ },
67
+ "50260": {
68
+ "content": " ",
69
+ "lstrip": false,
70
+ "normalized": true,
71
+ "rstrip": false,
72
+ "single_word": false,
73
+ "special": false
74
+ },
75
+ "50261": {
76
+ "content": " ",
77
+ "lstrip": false,
78
+ "normalized": true,
79
+ "rstrip": false,
80
+ "single_word": false,
81
+ "special": false
82
+ },
83
+ "50262": {
84
+ "content": " ",
85
+ "lstrip": false,
86
+ "normalized": true,
87
+ "rstrip": false,
88
+ "single_word": false,
89
+ "special": false
90
+ },
91
+ "50263": {
92
+ "content": " ",
93
+ "lstrip": false,
94
+ "normalized": true,
95
+ "rstrip": false,
96
+ "single_word": false,
97
+ "special": false
98
+ },
99
+ "50264": {
100
+ "content": " ",
101
+ "lstrip": false,
102
+ "normalized": true,
103
+ "rstrip": false,
104
+ "single_word": false,
105
+ "special": false
106
+ },
107
+ "50265": {
108
+ "content": " ",
109
+ "lstrip": false,
110
+ "normalized": true,
111
+ "rstrip": false,
112
+ "single_word": false,
113
+ "special": false
114
+ },
115
+ "50266": {
116
+ "content": " ",
117
+ "lstrip": false,
118
+ "normalized": true,
119
+ "rstrip": false,
120
+ "single_word": false,
121
+ "special": false
122
+ },
123
+ "50267": {
124
+ "content": " ",
125
+ "lstrip": false,
126
+ "normalized": true,
127
+ "rstrip": false,
128
+ "single_word": false,
129
+ "special": false
130
+ },
131
+ "50268": {
132
+ "content": " ",
133
+ "lstrip": false,
134
+ "normalized": true,
135
+ "rstrip": false,
136
+ "single_word": false,
137
+ "special": false
138
+ },
139
+ "50269": {
140
+ "content": " ",
141
+ "lstrip": false,
142
+ "normalized": true,
143
+ "rstrip": false,
144
+ "single_word": false,
145
+ "special": false
146
+ },
147
+ "50270": {
148
+ "content": " ",
149
+ "lstrip": false,
150
+ "normalized": true,
151
+ "rstrip": false,
152
+ "single_word": false,
153
+ "special": false
154
+ },
155
+ "50271": {
156
+ "content": " ",
157
+ "lstrip": false,
158
+ "normalized": true,
159
+ "rstrip": false,
160
+ "single_word": false,
161
+ "special": false
162
+ },
163
+ "50272": {
164
+ "content": " ",
165
+ "lstrip": false,
166
+ "normalized": true,
167
+ "rstrip": false,
168
+ "single_word": false,
169
+ "special": false
170
+ },
171
+ "50273": {
172
+ "content": " ",
173
+ "lstrip": false,
174
+ "normalized": true,
175
+ "rstrip": false,
176
+ "single_word": false,
177
+ "special": false
178
+ },
179
+ "50274": {
180
+ "content": " ",
181
+ "lstrip": false,
182
+ "normalized": true,
183
+ "rstrip": false,
184
+ "single_word": false,
185
+ "special": false
186
+ },
187
+ "50275": {
188
+ "content": " ",
189
+ "lstrip": false,
190
+ "normalized": true,
191
+ "rstrip": false,
192
+ "single_word": false,
193
+ "special": false
194
+ },
195
+ "50276": {
196
+ "content": " ",
197
+ "lstrip": false,
198
+ "normalized": true,
199
+ "rstrip": false,
200
+ "single_word": false,
201
+ "special": false
202
+ },
203
+ "50277": {
204
+ "content": "|||EMAIL_ADDRESS|||",
205
+ "lstrip": false,
206
+ "normalized": true,
207
+ "rstrip": false,
208
+ "single_word": false,
209
+ "special": false
210
+ },
211
+ "50278": {
212
+ "content": "|||PHONE_NUMBER|||",
213
+ "lstrip": false,
214
+ "normalized": true,
215
+ "rstrip": false,
216
+ "single_word": false,
217
+ "special": false
218
+ },
219
+ "50279": {
220
+ "content": "<|endoftext|>",
221
+ "lstrip": false,
222
+ "normalized": false,
223
+ "rstrip": false,
224
+ "single_word": false,
225
+ "special": true
226
+ },
227
+ "50280": {
228
+ "content": "[UNK]",
229
+ "lstrip": false,
230
+ "normalized": false,
231
+ "rstrip": false,
232
+ "single_word": false,
233
+ "special": true
234
+ },
235
+ "50281": {
236
+ "content": "[CLS]",
237
+ "lstrip": false,
238
+ "normalized": false,
239
+ "rstrip": false,
240
+ "single_word": false,
241
+ "special": true
242
+ },
243
+ "50282": {
244
+ "content": "[SEP]",
245
+ "lstrip": false,
246
+ "normalized": false,
247
+ "rstrip": false,
248
+ "single_word": false,
249
+ "special": true
250
+ },
251
+ "50283": {
252
+ "content": "[PAD]",
253
+ "lstrip": false,
254
+ "normalized": false,
255
+ "rstrip": false,
256
+ "single_word": false,
257
+ "special": true
258
+ },
259
+ "50284": {
260
+ "content": "[MASK]",
261
+ "lstrip": true,
262
+ "normalized": false,
263
+ "rstrip": false,
264
+ "single_word": false,
265
+ "special": true
266
+ },
267
+ "50285": {
268
+ "content": "[unused0]",
269
+ "lstrip": false,
270
+ "normalized": true,
271
+ "rstrip": false,
272
+ "single_word": false,
273
+ "special": false
274
+ },
275
+ "50286": {
276
+ "content": "[unused1]",
277
+ "lstrip": false,
278
+ "normalized": true,
279
+ "rstrip": false,
280
+ "single_word": false,
281
+ "special": false
282
+ },
283
+ "50287": {
284
+ "content": "[unused2]",
285
+ "lstrip": false,
286
+ "normalized": true,
287
+ "rstrip": false,
288
+ "single_word": false,
289
+ "special": false
290
+ },
291
+ "50288": {
292
+ "content": "[unused3]",
293
+ "lstrip": false,
294
+ "normalized": true,
295
+ "rstrip": false,
296
+ "single_word": false,
297
+ "special": false
298
+ },
299
+ "50289": {
300
+ "content": "[unused4]",
301
+ "lstrip": false,
302
+ "normalized": true,
303
+ "rstrip": false,
304
+ "single_word": false,
305
+ "special": false
306
+ },
307
+ "50290": {
308
+ "content": "[unused5]",
309
+ "lstrip": false,
310
+ "normalized": true,
311
+ "rstrip": false,
312
+ "single_word": false,
313
+ "special": false
314
+ },
315
+ "50291": {
316
+ "content": "[unused6]",
317
+ "lstrip": false,
318
+ "normalized": true,
319
+ "rstrip": false,
320
+ "single_word": false,
321
+ "special": false
322
+ },
323
+ "50292": {
324
+ "content": "[unused7]",
325
+ "lstrip": false,
326
+ "normalized": true,
327
+ "rstrip": false,
328
+ "single_word": false,
329
+ "special": false
330
+ },
331
+ "50293": {
332
+ "content": "[unused8]",
333
+ "lstrip": false,
334
+ "normalized": true,
335
+ "rstrip": false,
336
+ "single_word": false,
337
+ "special": false
338
+ },
339
+ "50294": {
340
+ "content": "[unused9]",
341
+ "lstrip": false,
342
+ "normalized": true,
343
+ "rstrip": false,
344
+ "single_word": false,
345
+ "special": false
346
+ },
347
+ "50295": {
348
+ "content": "[unused10]",
349
+ "lstrip": false,
350
+ "normalized": true,
351
+ "rstrip": false,
352
+ "single_word": false,
353
+ "special": false
354
+ },
355
+ "50296": {
356
+ "content": "[unused11]",
357
+ "lstrip": false,
358
+ "normalized": true,
359
+ "rstrip": false,
360
+ "single_word": false,
361
+ "special": false
362
+ },
363
+ "50297": {
364
+ "content": "[unused12]",
365
+ "lstrip": false,
366
+ "normalized": true,
367
+ "rstrip": false,
368
+ "single_word": false,
369
+ "special": false
370
+ },
371
+ "50298": {
372
+ "content": "[unused13]",
373
+ "lstrip": false,
374
+ "normalized": true,
375
+ "rstrip": false,
376
+ "single_word": false,
377
+ "special": false
378
+ },
379
+ "50299": {
380
+ "content": "[unused14]",
381
+ "lstrip": false,
382
+ "normalized": true,
383
+ "rstrip": false,
384
+ "single_word": false,
385
+ "special": false
386
+ },
387
+ "50300": {
388
+ "content": "[unused15]",
389
+ "lstrip": false,
390
+ "normalized": true,
391
+ "rstrip": false,
392
+ "single_word": false,
393
+ "special": false
394
+ },
395
+ "50301": {
396
+ "content": "[unused16]",
397
+ "lstrip": false,
398
+ "normalized": true,
399
+ "rstrip": false,
400
+ "single_word": false,
401
+ "special": false
402
+ },
403
+ "50302": {
404
+ "content": "[unused17]",
405
+ "lstrip": false,
406
+ "normalized": true,
407
+ "rstrip": false,
408
+ "single_word": false,
409
+ "special": false
410
+ },
411
+ "50303": {
412
+ "content": "[unused18]",
413
+ "lstrip": false,
414
+ "normalized": true,
415
+ "rstrip": false,
416
+ "single_word": false,
417
+ "special": false
418
+ },
419
+ "50304": {
420
+ "content": "[unused19]",
421
+ "lstrip": false,
422
+ "normalized": true,
423
+ "rstrip": false,
424
+ "single_word": false,
425
+ "special": false
426
+ },
427
+ "50305": {
428
+ "content": "[unused20]",
429
+ "lstrip": false,
430
+ "normalized": true,
431
+ "rstrip": false,
432
+ "single_word": false,
433
+ "special": false
434
+ },
435
+ "50306": {
436
+ "content": "[unused21]",
437
+ "lstrip": false,
438
+ "normalized": true,
439
+ "rstrip": false,
440
+ "single_word": false,
441
+ "special": false
442
+ },
443
+ "50307": {
444
+ "content": "[unused22]",
445
+ "lstrip": false,
446
+ "normalized": true,
447
+ "rstrip": false,
448
+ "single_word": false,
449
+ "special": false
450
+ },
451
+ "50308": {
452
+ "content": "[unused23]",
453
+ "lstrip": false,
454
+ "normalized": true,
455
+ "rstrip": false,
456
+ "single_word": false,
457
+ "special": false
458
+ },
459
+ "50309": {
460
+ "content": "[unused24]",
461
+ "lstrip": false,
462
+ "normalized": true,
463
+ "rstrip": false,
464
+ "single_word": false,
465
+ "special": false
466
+ },
467
+ "50310": {
468
+ "content": "[unused25]",
469
+ "lstrip": false,
470
+ "normalized": true,
471
+ "rstrip": false,
472
+ "single_word": false,
473
+ "special": false
474
+ },
475
+ "50311": {
476
+ "content": "[unused26]",
477
+ "lstrip": false,
478
+ "normalized": true,
479
+ "rstrip": false,
480
+ "single_word": false,
481
+ "special": false
482
+ },
483
+ "50312": {
484
+ "content": "[unused27]",
485
+ "lstrip": false,
486
+ "normalized": true,
487
+ "rstrip": false,
488
+ "single_word": false,
489
+ "special": false
490
+ },
491
+ "50313": {
492
+ "content": "[unused28]",
493
+ "lstrip": false,
494
+ "normalized": true,
495
+ "rstrip": false,
496
+ "single_word": false,
497
+ "special": false
498
+ },
499
+ "50314": {
500
+ "content": "[unused29]",
501
+ "lstrip": false,
502
+ "normalized": true,
503
+ "rstrip": false,
504
+ "single_word": false,
505
+ "special": false
506
+ },
507
+ "50315": {
508
+ "content": "[unused30]",
509
+ "lstrip": false,
510
+ "normalized": true,
511
+ "rstrip": false,
512
+ "single_word": false,
513
+ "special": false
514
+ },
515
+ "50316": {
516
+ "content": "[unused31]",
517
+ "lstrip": false,
518
+ "normalized": true,
519
+ "rstrip": false,
520
+ "single_word": false,
521
+ "special": false
522
+ },
523
+ "50317": {
524
+ "content": "[unused32]",
525
+ "lstrip": false,
526
+ "normalized": true,
527
+ "rstrip": false,
528
+ "single_word": false,
529
+ "special": false
530
+ },
531
+ "50318": {
532
+ "content": "[unused33]",
533
+ "lstrip": false,
534
+ "normalized": true,
535
+ "rstrip": false,
536
+ "single_word": false,
537
+ "special": false
538
+ },
539
+ "50319": {
540
+ "content": "[unused34]",
541
+ "lstrip": false,
542
+ "normalized": true,
543
+ "rstrip": false,
544
+ "single_word": false,
545
+ "special": false
546
+ },
547
+ "50320": {
548
+ "content": "[unused35]",
549
+ "lstrip": false,
550
+ "normalized": true,
551
+ "rstrip": false,
552
+ "single_word": false,
553
+ "special": false
554
+ },
555
+ "50321": {
556
+ "content": "[unused36]",
557
+ "lstrip": false,
558
+ "normalized": true,
559
+ "rstrip": false,
560
+ "single_word": false,
561
+ "special": false
562
+ },
563
+ "50322": {
564
+ "content": "[unused37]",
565
+ "lstrip": false,
566
+ "normalized": true,
567
+ "rstrip": false,
568
+ "single_word": false,
569
+ "special": false
570
+ },
571
+ "50323": {
572
+ "content": "[unused38]",
573
+ "lstrip": false,
574
+ "normalized": true,
575
+ "rstrip": false,
576
+ "single_word": false,
577
+ "special": false
578
+ },
579
+ "50324": {
580
+ "content": "[unused39]",
581
+ "lstrip": false,
582
+ "normalized": true,
583
+ "rstrip": false,
584
+ "single_word": false,
585
+ "special": false
586
+ },
587
+ "50325": {
588
+ "content": "[unused40]",
589
+ "lstrip": false,
590
+ "normalized": true,
591
+ "rstrip": false,
592
+ "single_word": false,
593
+ "special": false
594
+ },
595
+ "50326": {
596
+ "content": "[unused41]",
597
+ "lstrip": false,
598
+ "normalized": true,
599
+ "rstrip": false,
600
+ "single_word": false,
601
+ "special": false
602
+ },
603
+ "50327": {
604
+ "content": "[unused42]",
605
+ "lstrip": false,
606
+ "normalized": true,
607
+ "rstrip": false,
608
+ "single_word": false,
609
+ "special": false
610
+ },
611
+ "50328": {
612
+ "content": "[unused43]",
613
+ "lstrip": false,
614
+ "normalized": true,
615
+ "rstrip": false,
616
+ "single_word": false,
617
+ "special": false
618
+ },
619
+ "50329": {
620
+ "content": "[unused44]",
621
+ "lstrip": false,
622
+ "normalized": true,
623
+ "rstrip": false,
624
+ "single_word": false,
625
+ "special": false
626
+ },
627
+ "50330": {
628
+ "content": "[unused45]",
629
+ "lstrip": false,
630
+ "normalized": true,
631
+ "rstrip": false,
632
+ "single_word": false,
633
+ "special": false
634
+ },
635
+ "50331": {
636
+ "content": "[unused46]",
637
+ "lstrip": false,
638
+ "normalized": true,
639
+ "rstrip": false,
640
+ "single_word": false,
641
+ "special": false
642
+ },
643
+ "50332": {
644
+ "content": "[unused47]",
645
+ "lstrip": false,
646
+ "normalized": true,
647
+ "rstrip": false,
648
+ "single_word": false,
649
+ "special": false
650
+ },
651
+ "50333": {
652
+ "content": "[unused48]",
653
+ "lstrip": false,
654
+ "normalized": true,
655
+ "rstrip": false,
656
+ "single_word": false,
657
+ "special": false
658
+ },
659
+ "50334": {
660
+ "content": "[unused49]",
661
+ "lstrip": false,
662
+ "normalized": true,
663
+ "rstrip": false,
664
+ "single_word": false,
665
+ "special": false
666
+ },
667
+ "50335": {
668
+ "content": "[unused50]",
669
+ "lstrip": false,
670
+ "normalized": true,
671
+ "rstrip": false,
672
+ "single_word": false,
673
+ "special": false
674
+ },
675
+ "50336": {
676
+ "content": "[unused51]",
677
+ "lstrip": false,
678
+ "normalized": true,
679
+ "rstrip": false,
680
+ "single_word": false,
681
+ "special": false
682
+ },
683
+ "50337": {
684
+ "content": "[unused52]",
685
+ "lstrip": false,
686
+ "normalized": true,
687
+ "rstrip": false,
688
+ "single_word": false,
689
+ "special": false
690
+ },
691
+ "50338": {
692
+ "content": "[unused53]",
693
+ "lstrip": false,
694
+ "normalized": true,
695
+ "rstrip": false,
696
+ "single_word": false,
697
+ "special": false
698
+ },
699
+ "50339": {
700
+ "content": "[unused54]",
701
+ "lstrip": false,
702
+ "normalized": true,
703
+ "rstrip": false,
704
+ "single_word": false,
705
+ "special": false
706
+ },
707
+ "50340": {
708
+ "content": "[unused55]",
709
+ "lstrip": false,
710
+ "normalized": true,
711
+ "rstrip": false,
712
+ "single_word": false,
713
+ "special": false
714
+ },
715
+ "50341": {
716
+ "content": "[unused56]",
717
+ "lstrip": false,
718
+ "normalized": true,
719
+ "rstrip": false,
720
+ "single_word": false,
721
+ "special": false
722
+ },
723
+ "50342": {
724
+ "content": "[unused57]",
725
+ "lstrip": false,
726
+ "normalized": true,
727
+ "rstrip": false,
728
+ "single_word": false,
729
+ "special": false
730
+ },
731
+ "50343": {
732
+ "content": "[unused58]",
733
+ "lstrip": false,
734
+ "normalized": true,
735
+ "rstrip": false,
736
+ "single_word": false,
737
+ "special": false
738
+ },
739
+ "50344": {
740
+ "content": "[unused59]",
741
+ "lstrip": false,
742
+ "normalized": true,
743
+ "rstrip": false,
744
+ "single_word": false,
745
+ "special": false
746
+ },
747
+ "50345": {
748
+ "content": "[unused60]",
749
+ "lstrip": false,
750
+ "normalized": true,
751
+ "rstrip": false,
752
+ "single_word": false,
753
+ "special": false
754
+ },
755
+ "50346": {
756
+ "content": "[unused61]",
757
+ "lstrip": false,
758
+ "normalized": true,
759
+ "rstrip": false,
760
+ "single_word": false,
761
+ "special": false
762
+ },
763
+ "50347": {
764
+ "content": "[unused62]",
765
+ "lstrip": false,
766
+ "normalized": true,
767
+ "rstrip": false,
768
+ "single_word": false,
769
+ "special": false
770
+ },
771
+ "50348": {
772
+ "content": "[unused63]",
773
+ "lstrip": false,
774
+ "normalized": true,
775
+ "rstrip": false,
776
+ "single_word": false,
777
+ "special": false
778
+ },
779
+ "50349": {
780
+ "content": "[unused64]",
781
+ "lstrip": false,
782
+ "normalized": true,
783
+ "rstrip": false,
784
+ "single_word": false,
785
+ "special": false
786
+ },
787
+ "50350": {
788
+ "content": "[unused65]",
789
+ "lstrip": false,
790
+ "normalized": true,
791
+ "rstrip": false,
792
+ "single_word": false,
793
+ "special": false
794
+ },
795
+ "50351": {
796
+ "content": "[unused66]",
797
+ "lstrip": false,
798
+ "normalized": true,
799
+ "rstrip": false,
800
+ "single_word": false,
801
+ "special": false
802
+ },
803
+ "50352": {
804
+ "content": "[unused67]",
805
+ "lstrip": false,
806
+ "normalized": true,
807
+ "rstrip": false,
808
+ "single_word": false,
809
+ "special": false
810
+ },
811
+ "50353": {
812
+ "content": "[unused68]",
813
+ "lstrip": false,
814
+ "normalized": true,
815
+ "rstrip": false,
816
+ "single_word": false,
817
+ "special": false
818
+ },
819
+ "50354": {
820
+ "content": "[unused69]",
821
+ "lstrip": false,
822
+ "normalized": true,
823
+ "rstrip": false,
824
+ "single_word": false,
825
+ "special": false
826
+ },
827
+ "50355": {
828
+ "content": "[unused70]",
829
+ "lstrip": false,
830
+ "normalized": true,
831
+ "rstrip": false,
832
+ "single_word": false,
833
+ "special": false
834
+ },
835
+ "50356": {
836
+ "content": "[unused71]",
837
+ "lstrip": false,
838
+ "normalized": true,
839
+ "rstrip": false,
840
+ "single_word": false,
841
+ "special": false
842
+ },
843
+ "50357": {
844
+ "content": "[unused72]",
845
+ "lstrip": false,
846
+ "normalized": true,
847
+ "rstrip": false,
848
+ "single_word": false,
849
+ "special": false
850
+ },
851
+ "50358": {
852
+ "content": "[unused73]",
853
+ "lstrip": false,
854
+ "normalized": true,
855
+ "rstrip": false,
856
+ "single_word": false,
857
+ "special": false
858
+ },
859
+ "50359": {
860
+ "content": "[unused74]",
861
+ "lstrip": false,
862
+ "normalized": true,
863
+ "rstrip": false,
864
+ "single_word": false,
865
+ "special": false
866
+ },
867
+ "50360": {
868
+ "content": "[unused75]",
869
+ "lstrip": false,
870
+ "normalized": true,
871
+ "rstrip": false,
872
+ "single_word": false,
873
+ "special": false
874
+ },
875
+ "50361": {
876
+ "content": "[unused76]",
877
+ "lstrip": false,
878
+ "normalized": true,
879
+ "rstrip": false,
880
+ "single_word": false,
881
+ "special": false
882
+ },
883
+ "50362": {
884
+ "content": "[unused77]",
885
+ "lstrip": false,
886
+ "normalized": true,
887
+ "rstrip": false,
888
+ "single_word": false,
889
+ "special": false
890
+ },
891
+ "50363": {
892
+ "content": "[unused78]",
893
+ "lstrip": false,
894
+ "normalized": true,
895
+ "rstrip": false,
896
+ "single_word": false,
897
+ "special": false
898
+ },
899
+ "50364": {
900
+ "content": "[unused79]",
901
+ "lstrip": false,
902
+ "normalized": true,
903
+ "rstrip": false,
904
+ "single_word": false,
905
+ "special": false
906
+ },
907
+ "50365": {
908
+ "content": "[unused80]",
909
+ "lstrip": false,
910
+ "normalized": true,
911
+ "rstrip": false,
912
+ "single_word": false,
913
+ "special": false
914
+ },
915
+ "50366": {
916
+ "content": "[unused81]",
917
+ "lstrip": false,
918
+ "normalized": true,
919
+ "rstrip": false,
920
+ "single_word": false,
921
+ "special": false
922
+ },
923
+ "50367": {
924
+ "content": "[unused82]",
925
+ "lstrip": false,
926
+ "normalized": true,
927
+ "rstrip": false,
928
+ "single_word": false,
929
+ "special": false
930
+ }
931
+ },
932
+ "clean_up_tokenization_spaces": true,
933
+ "cls_token": "[CLS]",
934
+ "extra_special_tokens": {},
935
+ "mask_token": "[MASK]",
936
+ "max_length": 8192,
937
+ "model_input_names": [
938
+ "input_ids",
939
+ "attention_mask"
940
+ ],
941
+ "model_max_length": 8192,
942
+ "pad_to_multiple_of": null,
943
+ "pad_token": "[PAD]",
944
+ "pad_token_type_id": 0,
945
+ "padding_side": "right",
946
+ "sep_token": "[SEP]",
947
+ "stride": 0,
948
+ "tokenizer_class": "PreTrainedTokenizerFast",
949
+ "truncation_side": "right",
950
+ "truncation_strategy": "longest_first",
951
+ "unk_token": "[UNK]"
952
+ }