Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
4.68k
32.9k
length
int64
4.1k
4.35k
is_long_context
bool
2 classes
metric_val
float64
0.04
0.44
label_metric
stringclasses
1 value
source
stringclasses
1 value
threshold_scale
stringclasses
1 value
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
4,316
false
0.077669
median
code
normalized
# coding=utf-8 import copy import functools from typing import List import torch import torch.distributed._shard.sharding_spec as shard_spec from .api import ( _register_sharded_op, Shard, ShardedTensor, ShardedTensorMetadata, TensorProperties, ) from .metadata import ShardMetadata # noqa: F401 ...
4,193
false
0.144545
median
code
normalized
from .single_stage import SingleStageDetector from ..registry import DETECTORS from mmdet.core import bbox2result import torch.nn as nn import torch from .. import builder import numpy as np import cv2 from mmdet.core import bbox2roi, bbox2result, build_assigner, build_sampler @DETECTORS.register_module class CSP(Sin...
4,099
false
0.129034
median
code
normalized
#!/usr/bin/env python3 ''' lib/ycmd/start.py Server bootstrap logic. Includes a utility class for normalizing parameters and calculating default ones. Also includes a helper to set up the temporary options file. ''' import logging import os import tempfile from ..process import ( FileHandles, Process, ) from...
4,174
false
0.102127
median
code
normalized
# Copyright 2017 Datera # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
4,153
false
0.082591
median
code
normalized
# Copyright 2019 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
4,175
true
0.256549
median
code
normalized
# -*- coding: utf-8 - from iso8601 import parse_date from datetime import datetime, date, time, timedelta import dateutil.parser from pytz import timezone import os from decimal import Decimal import re TZ = timezone(os.environ['TZ'] if 'TZ' in os.environ else 'Europe/Kiev') def get_all_etender_dates(initial_tender...
4,231
false
0.062461
median
code
normalized
# -*- test-case-name: twisted.test.test_factories -*- # # Copyright (c) 2001-2004 Twisted Matrix Laboratories. # See LICENSE for details. """Standard implementations of Twisted protocol-related interfaces. Start here if you are looking to write a new protocol implementation for Twisted. The Protocol class contains ...
4,188
false
0.087868
median
code
normalized
from flask_socketio import SocketIO from flask import Flask, make_response, request, session from flask import render_template, session, url_for, redirect from threading import RLock from threading import Thread from utilslib import list_to_HTML_table from time import sleep from ClientStorage import Clients, User fr...
4,144
false
0.135272
median
code
normalized
import threading import requests # encryption import Encrypt import unicodedata from ttk import Style, Button, Label, Entry, Progressbar, Checkbutton from Tkinter import Tk, Frame, RIGHT, BOTH, RAISED from Tkinter import TOP, X, N, LEFT from Tkinter import END, Listbox, MULTIPLE from Tkinter import Toplevel, DISABLE...
4,170
false
0.079501
median
code
normalized
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
-