Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
3.52k
47.4k
length
int64
4.1k
4.35k
is_long_context
bool
2 classes
metric_val
float64
0.03
0.47
label_metric
stringclasses
1 value
source
stringclasses
2 values
threshold_scale
stringclasses
1 value
label_class
stringclasses
3 values
dtype (:class:`torch.dtype`, optional): the desired data type of returned tensor. Default: if ``None``, uses a global default (see :func:`torch.set_default_tensor_type`). layout (:class:`torch.layout`, optional): the desired layout of returned Tensor. Default: ``torch.strided``. ...
4,193
false
0.144545
median
code
normalized
negative
= img.cpu().numpy().copy()[0] # img_numpy = np.transpose(img_numpy, [1, 2, 0]) * [58.395, 57.12, 57.375] + [123.675, 116.28, 103.53] img_numpy = np.transpose(img_numpy, [1, 2, 0]) + [102.9801, 115.9465, 122.7717] img_numpy = img_numpy[:, :, ::-1] img_numpy = img_numpy.astype(np.uint8) ...
4,099
false
0.129034
median
code
normalized
negative
ies: Maximum number of times to try logging in :param session_cookies: Cookies from a previous session (Will default to login if these are invalid) :param logging_level: Configures the `logging level <https://docs.python.org/3/library/logging.html#logging-levels>`_. Defaults to `INFO` :type max_...
4,170
false
0.067564
median
code
normalized
negative
("Starting factory %r" % self) self.startFactory() self.numPorts = self.numPorts + 1 def doStop(self): """Make sure stopFactory is called. Users should not call this function themselves! """ if self.numPorts == 0: # this shouldn't happen, but does so...
4,188
false
0.087868
median
code
normalized
negative
GET']) def gameRoom(): global games verbose = (False or debugging) argumentsMakeGame = ['name', 'gameName', 'nrOfRounds', 'time', 'newGame'] argumentsJoinGame = ['name', 'gameName', 'newGame'] uniqueID = request.cookies.get('uniqueID') user = clients.find_User_By_uniqueID(uniqueID) if (not...
4,144
false
0.147817
median
code
normalized
negative
["../data/dataset/test_tf_file_3_images/train-0000-of-0001.data"] SCHEMA_DIR = "../data/dataset/test_tf_file_3_images/datasetSchema.json" GENERATE_GOLDEN = False def test_random_crop_and_resize_op_c(plot=False): """ Test RandomCropAndResize op in c transforms """ logger.info("test_random_crop_and_re...
4,175
true
0.256549
median
code
normalized
positive
self._ycmd_root_directory = None self._ycmd_settings_path = None self._working_directory = None self._python_binary_path = None self._server_idle_suicide_seconds = None self._server_check_interval_seconds = None # additional attributes, can be set via the properties ...
4,174
false
0.102127
median
code
normalized
negative
cinder.volume.drivers.datera.datera_common as datc LOG = logging.getLogger(__name__) d_opts = [ cfg.StrOpt('datera_api_port', default='7717', help='Datera API port.'), cfg.StrOpt('datera_api_version', default='2', deprecated_for_removal=True, ...
4,153
false
0.082591
median
code
normalized
negative
def get_imageId_from_fileName(filename, id_iter): """Get imageID from fileName if fileName is int, else return id_iter.""" filename = os.path.splitext(filename)[0] if filename.isdigit(): return int(filename) return id_iter def random_sample_crop(image, boxes): """Random Crop the image a...
4,316
false
0.077669
median
code
normalized
negative
('date', (), {'date': end_period.strftime("%d-%m-%Y"), 'time': end_period.strftime("%H:%M")}) return data def get_procedure_type(methodType): return { 'aboveThresholdUA': 'Відкриті торги', 'belowThreshold': 'Допорогові закупівлі', 'negotiatio...
4,231
false
0.062461
median
code
normalized
negative
+ [[0], [0], [2.5]]]).T, 1, np.arange(12).reshape(-1, 3)) def test_creation(self): tree = kdtree.KDTree(self.shapes, max_depth=self.max_depth) self.assertEqual(tree.max_depth, self.max_depth) self.assertEqual(tree.surface, self.shapes) def t...
4,208
true
0.234808
median
code
normalized
positive
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
3