Dataset Viewer
Auto-converted to Parquet Duplicate
max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
14,668
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/app_list/search/ranking/burn_in_ranker.h" namespace app_list { void BurnInRanker::UpdateResultRanks(ResultsMap& results, ...
165
764
{"symbol": "ATT","address": "0x89Fb927240750c1B15d4743cd58440fc5f14A11C","overview":{"en": "ATT is a Decentralized Information Communication Protocol based on Blockchain Technology."},"email": "<EMAIL>","website": "https://www.attnetwork.org/","state": "NORMAL","links": {"blog": "","twitter": "https://twitter.com/AChai...
141
462
<gh_stars>100-1000 # -*- test-case-name: txdav.base.propertystore.test.test_xattr -*- ## # Copyright (c) 2010-2017 Apple Inc. 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...
4,821
2,743
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-08-03 07:28 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('document_states', '0006_au...
519
12,718
/* * netevent.h * * Network events * * This file is part of the ReactOS PSDK package. * * Contributors: * Created by <NAME> <<EMAIL>> * * THIS SOFTWARE IS NOT COPYRIGHTED * * This source code is offered for use in the public domain. You may * use, modify or distribute it freely. * * This code is distri...
34,717
540
/* ---------------------------------------------------------------------------- ** Copyright (c) 2016 <NAME>, All Rights Reserved. ** ** Object.h ** --------------------------------------------------------------------------*/ #pragma once #include "JsonConfig.h" // Constructs a variant that wraps an object #define O...
293
7,471
<gh_stars>1000+ #include "mvContext.h" #include "dearpygui.h" #include "mvViewport.h" #include "mvCallbackRegistry.h" #include <thread> #include <future> #include <chrono> #include "mvProfiler.h" #include <implot.h> #include "mvFontManager.h" #include "mvCallbackRegistry.h" #include "mvPythonTranslator.h" #include "mvP...
11,385
563
<gh_stars>100-1000 package com.gentics.mesh.core.field.binary; import static com.gentics.mesh.core.field.binary.BinaryFieldTestHelper.CREATE_EMPTY; import static com.gentics.mesh.core.field.binary.BinaryFieldTestHelper.FETCH; import static com.gentics.mesh.core.field.binary.BinaryFieldTestHelper.FILL_BASIC; import sta...
4,840
755
/** * @project: Overload * @author: <NAME>. * @licence: MIT */ #include <OvPhysics/Entities/PhysicalSphere.h> #include <OvUI/Widgets/Drags/DragFloat.h> #include "OvCore/ECS/Components/CPhysicalSphere.h" #include "OvCore/ECS/Actor.h" using namespace OvPhysics::Entities; OvCore::ECS::Components::CPhysicalSphere::CPhy...
652
831
/* * Copyright (C) 2015 The Android Open Source Project * * 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 app...
1,854
746
<reponame>zhiqwang/mmdeploy<gh_stars>100-1000 # Copyright (c) OpenMMLab. All rights reserved. import torch from mmdeploy.core import FUNCTION_REWRITER @FUNCTION_REWRITER.register_rewriter( func_name='mmdet.core.bbox.coder.tblr_bbox_coder.tblr2bboxes', backend='default') def tblr2bboxes(ctx, p...
1,400
14,668
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.offlinepages; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static ...
748
12,718
<reponame>Bhuvanesh1208/ruby2.6.1<filename>msys64/mingw64/x86_64-w64-mingw32/include/_bsd_types.h /** * This file has no copyright assigned and is placed in the Public Domain. * This file is part of the mingw-w64 runtime package. * No warranty is given; refer to the file DISCLAIMER.PD within this package. */ #ifnd...
335
614
[ { "home": "Chelsea", "away": "Tottenham Hotspur", "homescore": "2", "awayscore": "2" }, { "home": "Genoa", "away": "AS Roma", "homescore": "2", "awayscore": "3" }, { "home": "Napoli", "away": "Atalanta", "homescore": "2", "awayscore": "1" }, { "home": "Málaga", "away": "Levante", "homescore": "3", "awayscore"...
1,547
7,731
# This file is part of beets. # Copyright 2016, <NAME>. # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, ...
3,196
399
#pragma once #ifdef _WIN32 # define NOMINMAX #endif #define GLM_FORCE_RADIANS #define GLM_FORCE_DEPTH_ZERO_TO_ONE #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtx/color_space.hpp> #include <glm/gtx/matrix_decompose.hpp> #include <glm/gtx/io.hpp> #include <glm/gtc/constants.hpp> #inclu...
342
307
<gh_stars>100-1000 # automatically generated by the FlatBuffers compiler, do not modify # namespace: FBOutput class DriveAxis(object): x = 1 y = 2 z = 4
60
7,409
# Generated by Django 3.0.11 on 2021-01-12 13:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("posthog", "0112_sessions_filter"), ] operations = [ migrations.AddField(model_name="cohort", name="is_static", field=models.BooleanField(de...
130
348
{"nom":"<NAME>","circ":"8ème circonscription","dpt":"Var","inscrits":2396,"abs":1395,"votants":1001,"blancs":69,"nuls":16,"exp":916,"res":[{"nuance":"REM","nom":"<NAME>","voix":527},{"nuance":"FN","nom":"<NAME>","voix":389}]}
90
3,807
/* * Copyright 2019 Google * * 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 in w...
787
1,035
# coding: utf-8 # flake8: noqa """ Penguin Statistics - REST APIs Backend APIs for Arknights drop rate statistics website 'Penguin Statistics': https://penguin-stats.io/ # noqa: E501 OpenAPI spec version: 2.0.0 Contact: <EMAIL> Generated by: https://github.com/swagger-api/swagger-codegen.git """...
595
11,356
<filename>src/visualization/annotation/build/format/cpp/message.pb.h // Generated by the protocol buffer compiler. DO NOT EDIT! // source: message.proto #ifndef PROTOBUF_message_2eproto__INCLUDED #define PROTOBUF_message_2eproto__INCLUDED #include <string> #include <google/protobuf/stubs/common.h> #if GOOGLE_PROTO...
8,946
3,459
<filename>Real-Time Corruptor/BizHawk_RTC/libmupen64plus/mupen64plus-video-glide64mk2/src/Glide64/3dmath.h /* * Glide64 - Glide video plugin for Nintendo 64 emulators. * Copyright (c) 2002 Dave2001 * Copyright (c) 2003-2009 Sergey 'Gonetz' Lipski * * This program is free software; you can redistribute it and/or modif...
714
2,177
<filename>src/org/nutz/castor/castor/Map2Boolean.java<gh_stars>1000+ package org.nutz.castor.castor; import java.util.Map; import org.nutz.castor.Castor; @SuppressWarnings("rawtypes") public class Map2Boolean extends Castor<Map, Boolean> { @Override public Boolean cast(Map src, Class<?> toType, String... ar...
172
488
/*! * \file PrePostTraversal.cc * * \brief Implements a top-down/bottom-up traversal without explicit * attributes, i.e., implements a variation on the simple traversal * that exposes the top-down and bottom-up visits. */ // tps (01/14/2010) : Switching from rose.h to sage3. #include "sage3basic.h" #include "...
521
1,433
<filename>fabric-game-rule-api-v1/src/main/java/net/fabricmc/fabric/api/gamerule/v1/rule/DoubleRule.java /* * Copyright (c) 2016, 2017, 2018, 2019 FabricMC * * 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 ...
1,231
665
# # MLDB-2111-group-by-expression.py # <NAME>, 2017-01-24 # This file is part of MLDB. Copyright 2017 mldb.ai inc. All rights reserved. # from mldb import mldb, MldbUnitTest, ResponseException class Mldb2111GroupByTests(MldbUnitTest): # noqa @classmethod def setUpClass(cls): ds = mldb.create_dataset...
2,836
938
<gh_stars>100-1000 { "replace": false, "values": [ "tconstruct:molten_signalum", "tconstruct:flowing_molten_signalum" ] }
61
411
<reponame>sumau/tick // License: BSD 3 clause // // poisson.cpp // Array // // Created by bacry on 13/04/2015. // Copyright (c) 2015 bacry. All rights reserved. // #include "tick/hawkes/simulation/simu_poisson_process.h" Poisson::Poisson(double intensity, int seed) : PP(1, seed) { intensities = SArrayDouble::n...
394
1,444
<filename>Mage.Sets/src/mage/cards/d/DrippingTongueZubera.java<gh_stars>1000+ package mage.cards.d; import java.util.UUID; import mage.MageInt; import mage.abilities.common.DiesSourceTriggeredAbility; import mage.abilities.dynamicvalue.common.ZuberasDiedDynamicValue; import mage.abilities.effects.common.CreateTokenE...
502
314
<reponame>tclfs/rocketmq-client-cpp /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Vers...
2,659
End of preview. Expand in Data Studio

Common Starcoder dataset

This dataset is generated from bigcode/starcoderdata.

Total GPT2 Tokens: 4,649,163,171

Generation Process

  1. We filtered the original dataset with common language: C, Cpp, Java, Python and JSON.
  2. We removed some columns for mixing up with other dataset: "id", "max_stars_repo_path", "max_stars_repo_name"
  3. After removing the irrelevant fields, we shuffle the dataset with random seed=42.
  4. We filtered the data on "max_stars_count" > 300 and shuffle again.
  5. We further reduced the dataset size by select(range(current_size, 2_500_000)), However there are only 2.13M samples left.
  6. Add "n_tokens" by using GPT2Tokenizer to count the tokens in the "content" field.
Downloads last month
24