Shuu12121 commited on
Commit
f6f1d96
·
1 Parent(s): 3dbe8f9

Upload ModernBERT model

Browse files
Files changed (2) hide show
  1. README.md +163 -129
  2. model.safetensors +3 -0
README.md CHANGED
@@ -4,65 +4,76 @@ tags:
4
  - sentence-similarity
5
  - feature-extraction
6
  - generated_from_trainer
7
- - dataset_size:1736236
8
  - loss:MultipleNegativesRankingLoss
9
  base_model: Shuu12121/CodeModernBERT-Owl-1.0
10
  widget:
11
- - source_sentence: 'Get all categories for the item
12
 
13
 
14
- Uses `<atom:category>`, `<category>` or `<dc:subject>`
15
 
16
-
17
- @since Beta 3
18
-
19
- @return SimplePie_Category[]|null List of {@see SimplePie_Category} objects'
20
  sentences:
21
- - "protected function user()\n {\n if ($this->wrappedObject->security)\
22
- \ {\n return ' this user\\'s ';\n }\n\n $user = $this->wrappedObject->revisionable()->withTrashed()->first(['first_name',\
23
- \ 'last_name']);\n\n return ' '.$user->first_name.' '.$user->last_name.'\\\
24
- 's ';\n }"
25
- - "public function hasArticlesHiddenFromRobots()\n {\n $app = App::getInstance();\n\
26
- \n $sql = $app['safesql']->query(\n \"SELECT\n COUNT(article_author.article)\n\
27
- \ FROM `article_author`\n INNER JOIN `article`\n ON article_author.article\
28
- \ = article.id\n WHERE article_author.`author` = '%s'\n AND article.deleted\
29
- \ = 0\n AND article_author.deleted = 0\n AND searchable = 0\",\n \
30
- \ array(\n $this->getUser())\n );\n $result\
31
- \ = $app['db']->get_var($sql);\n return ($result > 0 ? true: false);\n\
32
- \ }"
33
- - "public function get_categories()\n\t{\n\t\t$categories = array();\n\n\t\t$type\
34
- \ = 'category';\n\t\tforeach ((array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10,\
35
- \ $type) as $category)\n\t\t{\n\t\t\t$term = null;\n\t\t\t$scheme = null;\n\t\t\
36
- \t$label = null;\n\t\t\tif (isset($category['attribs']['']['term']))\n\t\t\t{\n\
37
- \t\t\t\t$term = $this->sanitize($category['attribs']['']['term'], SIMPLEPIE_CONSTRUCT_HTML);\n\
38
- \t\t\t}\n\t\t\tif (isset($category['attribs']['']['scheme']))\n\t\t\t{\n\t\t\t\
39
- \t$scheme = $this->sanitize($category['attribs']['']['scheme'], SIMPLEPIE_CONSTRUCT_HTML);\n\
40
- \t\t\t}\n\t\t\tif (isset($category['attribs']['']['label']))\n\t\t\t{\n\t\t\t\t\
41
- $label = $this->sanitize($category['attribs']['']['label'], SIMPLEPIE_CONSTRUCT_HTML);\n\
42
- \t\t\t}\n\t\t\t$categories[] = $this->registry->create('Category', array($term,\
43
- \ $scheme, $label, $type));\n\t\t}\n\t\tforeach ((array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_RSS_20,\
44
- \ $type) as $category)\n\t\t{\n\t\t\t// This is really the label, but keep this\
45
- \ as the term also for BC.\n\t\t\t// Label will also work on retrieving because\
46
- \ that falls back to term.\n\t\t\t$term = $this->sanitize($category['data'], SIMPLEPIE_CONSTRUCT_HTML);\n\
47
- \t\t\tif (isset($category['attribs']['']['domain']))\n\t\t\t{\n\t\t\t\t$scheme\
48
- \ = $this->sanitize($category['attribs']['']['domain'], SIMPLEPIE_CONSTRUCT_HTML);\n\
49
- \t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t$scheme = null;\n\t\t\t}\n\t\t\t$categories[]\
50
- \ = $this->registry->create('Category', array($term, $scheme, null, $type));\n\
51
- \t\t}\n\n\t\t$type = 'subject';\n\t\tforeach ((array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_DC_11,\
52
- \ $type) as $category)\n\t\t{\n\t\t\t$categories[] = $this->registry->create('Category',\
53
- \ array($this->sanitize($category['data'], SIMPLEPIE_CONSTRUCT_HTML), null, null,\
54
- \ $type));\n\t\t}\n\t\tforeach ((array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_DC_10,\
55
- \ $type) as $category)\n\t\t{\n\t\t\t$categories[] = $this->registry->create('Category',\
56
- \ array($this->sanitize($category['data'], SIMPLEPIE_CONSTRUCT_HTML), null, null,\
57
- \ $type));\n\t\t}\n\n\t\tif (!empty($categories))\n\t\t{\n\t\t\treturn array_unique($categories);\n\
58
- \t\t}\n\t\telse\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t}"
59
- - source_sentence: 'Add a single parse mode to the route middleware
60
-
61
- @param middle
62
-
63
- @param mode
64
-
65
- @param settings'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  sentences:
67
  - "public static int parseUnsignedInt(String s, int radix)\n throws\
68
  \ NumberFormatException {\n if (s == null) {\n throw new NumberFormatException(\"\
@@ -89,49 +100,34 @@ widget:
89
  \ && f.nameDrop != nil {\n\t\treturn pass(f) && drop(f)\n\t} else if f.namePass\
90
  \ != nil {\n\t\treturn pass(f)\n\t} else if f.nameDrop != nil {\n\t\treturn drop(f)\n\
91
  \t}\n\n\treturn true\n}"
92
- - "function addMode(middle, mode, settings) {\n if (!modes.includes(mode)) throw\
93
- \ `Incorrect bodyparser mode ${mode}`;\n middle.push(bodyParser[mode](settings[mode]));\n\
94
- }"
95
- - source_sentence: Convert Bigtable's {@link RowRange} -> guava {@link Range}.
96
  sentences:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  - "public function getMemoryUsage()\n {\n $size = memory_get_usage(true);\n\
98
  \ $unit = array('b','kb','mb','gb','tb','pb');\n \n \
99
  \ return @round($size/pow(1024,($i=floor(log($size,1024)))),2).' '.$unit[$i];\n\
100
  \ }"
101
- - "protected function _beforeDispatch(DispatcherContext $context)\n {\n \
102
- \ // Check if the user has been explicitly authenticated for this request\n\
103
- \ if (!$this->getUser()->isAuthentic(true))\n {\n foreach($this->__authenticator_queue\
104
- \ as $authenticator)\n {\n if($authenticator->authenticateRequest($context)\
105
- \ === true) {\n break;\n }\n }\n\
106
- \ }\n\n }"
107
- - "private Range<RowKeyWrapper> rowRangeToRange(RowRange btRange) {\n final BoundType\
108
- \ startBound;\n final ByteString startKey;\n\n switch (btRange.getStartKeyCase())\
109
- \ {\n case START_KEY_OPEN:\n startBound = BoundType.OPEN;\n \
110
- \ startKey = btRange.getStartKeyOpen();\n break;\n case START_KEY_CLOSED:\n\
111
- \ startBound = BoundType.CLOSED;\n startKey = btRange.getStartKeyClosed();\n\
112
- \ break;\n case STARTKEY_NOT_SET:\n startBound = BoundType.CLOSED;\n\
113
- \ startKey = ByteString.EMPTY;\n break;\n default:\n \
114
- \ throw new IllegalArgumentException(\"Unexpected start key case: \" +\n \
115
- \ btRange.getStartKeyCase());\n }\n\n final BoundType endBound;\n\
116
- \ final ByteString endKey;\n switch (btRange.getEndKeyCase()) {\n case\
117
- \ END_KEY_OPEN:\n endBound = BoundType.OPEN;\n endKey = btRange.getEndKeyOpen();\n\
118
- \ break;\n case END_KEY_CLOSED:\n endBound = BoundType.CLOSED;\n\
119
- \ endKey = btRange.getEndKeyClosed();\n break;\n case ENDKEY_NOT_SET:\n\
120
- \ endBound = BoundType.OPEN;\n endKey = ByteString.EMPTY;\n \
121
- \ break;\n default:\n throw new IllegalArgumentException(\"Unexpected\
122
- \ end key case: \" + btRange.getEndKeyCase());\n }\n\n return boundedRange(startBound,\
123
- \ startKey, endBound, endKey);\n }"
124
- - source_sentence: // SetConfigurationManager sets the ConfigurationManager field's
125
  value.
126
  sentences:
127
- - "func (s *UpdateStackInput) SetConfigurationManager(v *StackConfigurationManager)\
128
- \ *UpdateStackInput {\n\ts.ConfigurationManager = v\n\treturn s\n}"
129
- - "func getAllTolerationPreferNoSchedule(tolerations []v1.Toleration) (tolerationList\
130
- \ []v1.Toleration) {\n\tfor _, toleration := range tolerations {\n\t\t// Empty\
131
- \ effect means all effects which includes PreferNoSchedule, so we need to collect\
132
- \ it as well.\n\t\tif len(toleration.Effect) == 0 || toleration.Effect == v1.TaintEffectPreferNoSchedule\
133
- \ {\n\t\t\ttolerationList = append(tolerationList, toleration)\n\t\t}\n\t}\n\t\
134
- return\n}"
135
  - "protected function getRelationXmlHashFromDB(array $destinationContentIds)\n \
136
  \ {\n if (empty($destinationContentIds)) {\n return array();\n\
137
  \ }\n\n $q = $this->db->createSelectQuery();\n $q\n \
@@ -162,37 +158,12 @@ widget:
162
  \ 'ezcontentobject'),\n $destinationContentIds\n \
163
  \ )\n );\n $stmt = $q->prepare();\n $stmt->execute();\n\
164
  \n return $stmt->fetchAll(PDO::FETCH_ASSOC | PDO::FETCH_GROUP);\n }"
165
- - source_sentence: '******************************************************************
166
-
167
- View helpers
168
-
169
- *****************************************************************
170
-
171
-
172
-
173
- Find the view for the called method.
174
-
175
-
176
- @param null|string $view
177
-
178
- @param null|string $layout
179
-
180
-
181
- @return $this'
182
- sentences:
183
- - "public function view($view = null, $layout = null)\n {\n if (! is_null($layout))\
184
- \ {\n $this->layoutOptions = [\n 'default' => $layout,\n\
185
- \ 'ajax' => $layout,\n ];\n }\n\n //\
186
- \ Set up the default view resolution\n viewBuilder()->setUp($this->layoutOptions,\
187
- \ $view);\n $this->setupLayout();\n }"
188
- - "func (c *CognitoIdentityProvider) AdminDeleteUser(input *AdminDeleteUserInput)\
189
- \ (*AdminDeleteUserOutput, error) {\n\treq, out := c.AdminDeleteUserRequest(input)\n\
190
- \treturn out, req.Send()\n}"
191
- - "protected function checkIfPositiveInteger(\n $fieldName,\n $canUseFlexforms,\n\
192
- \ $sheet,\n $explanation\n ) {\n $value = $this->objectToCheck->getConfValueString($fieldName,\
193
- \ $sheet);\n $this->checkIfPositiveIntegerValue(\n $value,\n\
194
- \ $fieldName,\n $canUseFlexforms,\n $explanation\n\
195
- \ );\n }"
196
  pipeline_tag: sentence-similarity
197
  library_name: sentence-transformers
198
  ---
@@ -246,9 +217,9 @@ from sentence_transformers import SentenceTransformer
246
  model = SentenceTransformer("sentence_transformers_model_id")
247
  # Run inference
248
  sentences = [
249
- '******************************************************************\nView helpers\n*****************************************************************\n\n\nFind the view for the called method.\n\n@param null|string $view\n@param null|string $layout\n\n@return $this',
250
- "public function view($view = null, $layout = null)\n {\n if (! is_null($layout)) {\n $this->layoutOptions = [\n 'default' => $layout,\n 'ajax' => $layout,\n ];\n }\n\n // Set up the default view resolution\n viewBuilder()->setUp($this->layoutOptions, $view);\n $this->setupLayout();\n }",
251
- 'protected function checkIfPositiveInteger(\n $fieldName,\n $canUseFlexforms,\n $sheet,\n $explanation\n ) {\n $value = $this->objectToCheck->getConfValueString($fieldName, $sheet);\n $this->checkIfPositiveIntegerValue(\n $value,\n $fieldName,\n $canUseFlexforms,\n $explanation\n );\n }',
252
  ]
253
  embeddings = model.encode(sentences)
254
  print(embeddings.shape)
@@ -302,7 +273,7 @@ You can finetune this model on your own dataset.
302
 
303
  #### Unnamed Dataset
304
 
305
- * Size: 1,736,236 training samples
306
  * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>label</code>
307
  * Approximate statistics based on the first 1000 samples:
308
  | | sentence_0 | sentence_1 | label |
@@ -453,12 +424,75 @@ You can finetune this model on your own dataset.
453
  </details>
454
 
455
  ### Training Logs
456
- | Epoch | Step | Training Loss |
457
- |:------:|:----:|:-------------:|
458
- | 0.0737 | 500 | 0.8902 |
459
- | 0.1474 | 1000 | 0.1132 |
460
- | 0.2211 | 1500 | 0.1046 |
461
- | 0.2949 | 2000 | 0.0988 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
462
 
463
 
464
  ### Framework Versions
 
4
  - sentence-similarity
5
  - feature-extraction
6
  - generated_from_trainer
7
+ - dataset_size:1736166
8
  - loss:MultipleNegativesRankingLoss
9
  base_model: Shuu12121/CodeModernBERT-Owl-1.0
10
  widget:
11
+ - source_sentence: 'Releases any resources allocated by `mountComponent`.
12
 
13
 
14
+ @final
15
 
16
+ @internal'
 
 
 
17
  sentences:
18
+ - "private Range<RowKeyWrapper> rowRangeToRange(RowRange btRange) {\n final BoundType\
19
+ \ startBound;\n final ByteString startKey;\n\n switch (btRange.getStartKeyCase())\
20
+ \ {\n case START_KEY_OPEN:\n startBound = BoundType.OPEN;\n \
21
+ \ startKey = btRange.getStartKeyOpen();\n break;\n case START_KEY_CLOSED:\n\
22
+ \ startBound = BoundType.CLOSED;\n startKey = btRange.getStartKeyClosed();\n\
23
+ \ break;\n case STARTKEY_NOT_SET:\n startBound = BoundType.CLOSED;\n\
24
+ \ startKey = ByteString.EMPTY;\n break;\n default:\n \
25
+ \ throw new IllegalArgumentException(\"Unexpected start key case: \" +\n \
26
+ \ btRange.getStartKeyCase());\n }\n\n final BoundType endBound;\n\
27
+ \ final ByteString endKey;\n switch (btRange.getEndKeyCase()) {\n case\
28
+ \ END_KEY_OPEN:\n endBound = BoundType.OPEN;\n endKey = btRange.getEndKeyOpen();\n\
29
+ \ break;\n case END_KEY_CLOSED:\n endBound = BoundType.CLOSED;\n\
30
+ \ endKey = btRange.getEndKeyClosed();\n break;\n case ENDKEY_NOT_SET:\n\
31
+ \ endBound = BoundType.OPEN;\n endKey = ByteString.EMPTY;\n \
32
+ \ break;\n default:\n throw new IllegalArgumentException(\"Unexpected\
33
+ \ end key case: \" + btRange.getEndKeyCase());\n }\n\n return boundedRange(startBound,\
34
+ \ startKey, endBound, endKey);\n }"
35
+ - "public static FacesMessage getMessage(FacesMessage.Severity severity,\n \
36
+ \ String messageId,\n \
37
+ \ Object arg)\n {\n return getMessage(severity,\n\
38
+ \ messageId,\n new Object[]{arg},\n\
39
+ \ FacesContext.getCurrentInstance());\n }"
40
+ - "function() {\n var inst = this._instance;\n\n if (inst.componentWillUnmount)\
41
+ \ {\n var previouslyUnmounting = ReactLifeCycle.currentlyUnmountingInstance;\n\
42
+ \ ReactLifeCycle.currentlyUnmountingInstance = this;\n try {\n \
43
+ \ inst.componentWillUnmount();\n } finally {\n ReactLifeCycle.currentlyUnmountingInstance\
44
+ \ = previouslyUnmounting;\n }\n }\n\n ReactReconciler.unmountComponent(this._renderedComponent);\n\
45
+ \ this._renderedComponent = null;\n\n // Reset pending fields\n this._pendingStateQueue\
46
+ \ = null;\n this._pendingReplaceState = false;\n this._pendingForceUpdate\
47
+ \ = false;\n this._pendingCallbacks = null;\n this._pendingElement = null;\n\
48
+ \n // These fields do not really need to be reset since this object is no\n\
49
+ \ // longer accessible.\n this._context = null;\n this._rootNodeID =\
50
+ \ null;\n\n // Delete the reference from the instance to this internal representation\n\
51
+ \ // which allow the internals to be properly cleaned up even if the user\n\
52
+ \ // leaks a reference to the public instance.\n ReactInstanceMap.remove(inst);\n\
53
+ \n // Some existing components rely on inst.props even after they've been\n\
54
+ \ // destroyed (in event handlers).\n // TODO: inst.props = null;\n //\
55
+ \ TODO: inst.state = null;\n // TODO: inst.context = null;\n }"
56
+ - source_sentence: '// NewRandomForest generates and return a new random forests
57
+
58
+ // forestSize controls the number of trees that get built
59
+
60
+ // features controls the number of features used to build each tree.'
61
+ sentences:
62
+ - "function initShaders() {\n var fragmentShader = getShader(gl, fragmentShaderSource,\
63
+ \ false);\n var vertexShader = getShader(gl, vertexShaderSource, true);\n\n \
64
+ \ // Create the shader program\n\n shaderProgram = gl.createProgram();\n gl.attachShader(shaderProgram,\
65
+ \ vertexShader);\n gl.attachShader(shaderProgram, fragmentShader);\n gl.linkProgram(shaderProgram);\n\
66
+ \n // If creating the shader program failed, alert\n\n if (!gl.getProgramParameter(shaderProgram,\
67
+ \ gl.LINK_STATUS)) {\n alert(\"Unable to initialize the shader program: \"\
68
+ \ + gl.getProgramInfoLog(shader));\n }\n\n gl.useProgram(shaderProgram);\n\n\
69
+ \ vertexPositionAttribute = gl.getAttribLocation(shaderProgram, \"aVertexPosition\"\
70
+ );\n gl.enableVertexAttribArray(vertexPositionAttribute);\n}"
71
+ - "func (s *UpdateStackInput) SetConfigurationManager(v *StackConfigurationManager)\
72
+ \ *UpdateStackInput {\n\ts.ConfigurationManager = v\n\treturn s\n}"
73
+ - "func NewRandomForest(forestSize int, features int) *RandomForest {\n\tret :=\
74
+ \ &RandomForest{\n\t\tbase.BaseClassifier{},\n\t\tforestSize,\n\t\tfeatures,\n\
75
+ \t\tnil,\n\t}\n\treturn ret\n}"
76
+ - source_sentence: // defaultQueueURL is a method returns the default queue url
77
  sentences:
78
  - "public static int parseUnsignedInt(String s, int radix)\n throws\
79
  \ NumberFormatException {\n if (s == null) {\n throw new NumberFormatException(\"\
 
100
  \ && f.nameDrop != nil {\n\t\treturn pass(f) && drop(f)\n\t} else if f.namePass\
101
  \ != nil {\n\t\treturn pass(f)\n\t} else if f.nameDrop != nil {\n\t\treturn drop(f)\n\
102
  \t}\n\n\treturn true\n}"
103
+ - "func (b *Broker) defaultQueueURL() *string {\n\tif b.queueUrl != nil {\n\t\t\
104
+ return b.queueUrl\n\t} else {\n\t\treturn aws.String(b.GetConfig().Broker + \"\
105
+ /\" + b.GetConfig().DefaultQueue)\n\t}\n\n}"
106
+ - source_sentence: Check if the input `node` is a binding identifier.
107
  sentences:
108
+ - "function isBinding(node, parent) {\n var keys = _retrievers.getBindingIdentifiers.keys[parent.type];\n\
109
+ \ if (keys) {\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\
110
+ \ var val = parent[key];\n if (Array.isArray(val)) {\n if (val.indexOf(node)\
111
+ \ >= 0) return true;\n } else {\n if (val === node) return true;\n\
112
+ \ }\n }\n }\n\n return false;\n}"
113
+ - "public Type build(Type givenType){\n final ClassType javersType = mapper.getJaversClassType(givenType);\n\
114
+ \n //for Generics, we have list of type arguments to dehydrate\n \
115
+ \ if (javersType.isGenericType()) {\n List<Type> actualDehydratedTypeArguments\
116
+ \ = extractAndDehydrateTypeArguments(javersType);\n return new ParametrizedDehydratedType(javersType.getBaseJavaClass(),\
117
+ \ actualDehydratedTypeArguments);\n }\n\n if (javersType instanceof\
118
+ \ ArrayType){\n Type dehydratedItemType = build( javersType.getConcreteClassTypeArguments().get(0)\
119
+ \ );\n if (dehydratedItemType == GlobalId.class){\n \
120
+ \ return GLOBAL_ID_ARRAY_TYPE;\n }\n return givenType;\n\
121
+ \ }\n\n return javersType.getRawDehydratedType();\n }"
122
  - "public function getMemoryUsage()\n {\n $size = memory_get_usage(true);\n\
123
  \ $unit = array('b','kb','mb','gb','tb','pb');\n \n \
124
  \ return @round($size/pow(1024,($i=floor(log($size,1024)))),2).' '.$unit[$i];\n\
125
  \ }"
126
+ - source_sentence: // SetGameSessionQueueArns sets the GameSessionQueueArns field's
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  value.
128
  sentences:
129
+ - "func (s *MatchmakingConfiguration) SetGameSessionQueueArns(v []*string) *MatchmakingConfiguration\
130
+ \ {\n\ts.GameSessionQueueArns = v\n\treturn s\n}"
 
 
 
 
 
 
131
  - "protected function getRelationXmlHashFromDB(array $destinationContentIds)\n \
132
  \ {\n if (empty($destinationContentIds)) {\n return array();\n\
133
  \ }\n\n $q = $this->db->createSelectQuery();\n $q\n \
 
158
  \ 'ezcontentobject'),\n $destinationContentIds\n \
159
  \ )\n );\n $stmt = $q->prepare();\n $stmt->execute();\n\
160
  \n return $stmt->fetchAll(PDO::FETCH_ASSOC | PDO::FETCH_GROUP);\n }"
161
+ - "protected function _beforeDispatch(DispatcherContext $context)\n {\n \
162
+ \ // Check if the user has been explicitly authenticated for this request\n\
163
+ \ if (!$this->getUser()->isAuthentic(true))\n {\n foreach($this->__authenticator_queue\
164
+ \ as $authenticator)\n {\n if($authenticator->authenticateRequest($context)\
165
+ \ === true) {\n break;\n }\n }\n\
166
+ \ }\n\n }"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  pipeline_tag: sentence-similarity
168
  library_name: sentence-transformers
169
  ---
 
217
  model = SentenceTransformer("sentence_transformers_model_id")
218
  # Run inference
219
  sentences = [
220
+ "// SetGameSessionQueueArns sets the GameSessionQueueArns field's value.",
221
+ 'func (s *MatchmakingConfiguration) SetGameSessionQueueArns(v []*string) *MatchmakingConfiguration {\n\ts.GameSessionQueueArns = v\n\treturn s\n}',
222
+ 'protected function _beforeDispatch(DispatcherContext $context)\n {\n // Check if the user has been explicitly authenticated for this request\n if (!$this->getUser()->isAuthentic(true))\n {\n foreach($this->__authenticator_queue as $authenticator)\n {\n if($authenticator->authenticateRequest($context) === true) {\n break;\n }\n }\n }\n\n }',
223
  ]
224
  embeddings = model.encode(sentences)
225
  print(embeddings.shape)
 
273
 
274
  #### Unnamed Dataset
275
 
276
+ * Size: 1,736,166 training samples
277
  * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>label</code>
278
  * Approximate statistics based on the first 1000 samples:
279
  | | sentence_0 | sentence_1 | label |
 
424
  </details>
425
 
426
  ### Training Logs
427
+ | Epoch | Step | Training Loss |
428
+ |:------:|:-----:|:-------------:|
429
+ | 0.0737 | 500 | 0.665 |
430
+ | 0.1474 | 1000 | 0.1173 |
431
+ | 0.2212 | 1500 | 0.1074 |
432
+ | 0.2949 | 2000 | 0.1012 |
433
+ | 0.3686 | 2500 | 0.0968 |
434
+ | 0.4423 | 3000 | 0.0954 |
435
+ | 0.5161 | 3500 | 0.0894 |
436
+ | 0.5898 | 4000 | 0.0913 |
437
+ | 0.6635 | 4500 | 0.0894 |
438
+ | 0.7372 | 5000 | 0.0858 |
439
+ | 0.8110 | 5500 | 0.0878 |
440
+ | 0.8847 | 6000 | 0.0839 |
441
+ | 0.9584 | 6500 | 0.0813 |
442
+ | 1.0321 | 7000 | 0.0607 |
443
+ | 1.1059 | 7500 | 0.0293 |
444
+ | 1.1796 | 8000 | 0.0301 |
445
+ | 1.2533 | 8500 | 0.03 |
446
+ | 1.3270 | 9000 | 0.0332 |
447
+ | 1.4008 | 9500 | 0.032 |
448
+ | 1.4745 | 10000 | 0.0339 |
449
+ | 1.5482 | 10500 | 0.0317 |
450
+ | 1.6219 | 11000 | 0.0336 |
451
+ | 1.6957 | 11500 | 0.0334 |
452
+ | 1.7694 | 12000 | 0.0341 |
453
+ | 1.8431 | 12500 | 0.0335 |
454
+ | 1.9168 | 13000 | 0.0341 |
455
+ | 1.9906 | 13500 | 0.0335 |
456
+ | 2.0643 | 14000 | 0.0137 |
457
+ | 2.1380 | 14500 | 0.0107 |
458
+ | 2.2117 | 15000 | 0.0106 |
459
+ | 2.2855 | 15500 | 0.0108 |
460
+ | 2.3592 | 16000 | 0.0111 |
461
+ | 2.4329 | 16500 | 0.0113 |
462
+ | 2.5066 | 17000 | 0.011 |
463
+ | 2.5804 | 17500 | 0.0114 |
464
+ | 2.6541 | 18000 | 0.0115 |
465
+ | 2.7278 | 18500 | 0.0117 |
466
+ | 2.8015 | 19000 | 0.0115 |
467
+ | 2.8753 | 19500 | 0.0116 |
468
+ | 2.9490 | 20000 | 0.0116 |
469
+ | 3.0227 | 20500 | 0.0102 |
470
+ | 3.0964 | 21000 | 0.0062 |
471
+ | 3.1702 | 21500 | 0.0064 |
472
+ | 3.2439 | 22000 | 0.0065 |
473
+ | 3.3176 | 22500 | 0.0067 |
474
+ | 3.3913 | 23000 | 0.0064 |
475
+ | 3.4651 | 23500 | 0.0062 |
476
+ | 3.5388 | 24000 | 0.0063 |
477
+ | 3.6125 | 24500 | 0.0062 |
478
+ | 3.6862 | 25000 | 0.0063 |
479
+ | 3.7600 | 25500 | 0.0063 |
480
+ | 3.8337 | 26000 | 0.0063 |
481
+ | 3.9074 | 26500 | 0.006 |
482
+ | 3.9811 | 27000 | 0.0061 |
483
+ | 4.0549 | 27500 | 0.0048 |
484
+ | 4.1286 | 28000 | 0.0043 |
485
+ | 4.2023 | 28500 | 0.0044 |
486
+ | 4.2760 | 29000 | 0.0043 |
487
+ | 4.3497 | 29500 | 0.0043 |
488
+ | 4.4235 | 30000 | 0.0044 |
489
+ | 4.4972 | 30500 | 0.0043 |
490
+ | 4.5709 | 31000 | 0.004 |
491
+ | 4.6446 | 31500 | 0.0043 |
492
+ | 4.7184 | 32000 | 0.0042 |
493
+ | 4.7921 | 32500 | 0.0043 |
494
+ | 4.8658 | 33000 | 0.0043 |
495
+ | 4.9395 | 33500 | 0.004 |
496
 
497
 
498
  ### Framework Versions
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f688911d490eab4a28721300980e001439715cfe3120d54f7188c042de133c11
3
+ size 606681112