Dataset Viewer
Auto-converted to Parquet Duplicate
char_count
int64
200
971k
dataset
stringclasses
3 values
domain
stringclasses
1 value
id
stringlengths
32
32
text
stringlengths
200
971k
timestamp
stringdate
2026-04-06 23:49:37
2026-04-13 02:09:34
tokens_count
int64
30
549k
1,182
the_stack_java
code
57e99135a41c66ce86dd24f50fcb2e1c
/** * Copyright © 2019 同程艺龙 (zhihui.li@ly.com) * * 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 t...
2026-04-12 20:34:11
302
1,114
the_stack_java
code
6022af6db5f2ea2f9fda8070351fa414
/** * Copyright (C) the original author or authors. * * 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 agr...
2026-04-12 20:34:22
277
721
the_stack_java
code
c61a7d53f8703ce874cf967f6d6b251a
package com.google.android.gms.internal; import android.os.Parcel; import android.os.Parcelable; import com.google.android.gms.common.internal.safeparcel.zza; import com.google.android.gms.common.internal.safeparcel.zzd; import com.google.android.gms.common.internal.zzbp; public final class zzctu extends zza { public s...
2026-04-12 20:32:16
282
4,723
the_stack_java
code
84a808b531e2277ae4e6908f2406cec1
/* * 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, Version 2.0 (the * "License"); you may not ...
2026-04-12 20:31:46
1,237
3,257
the_stack_java
code
c08086f50964fada2933162caeaa13ba
package com.microsoft.bingads.v13.internal.bulk; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.concurrent.ExecutionException; import org.junit.Test; import co...
2026-04-12 20:31:00
772
8,426
the_stack_java
code
57f9521beac56f4d2db0b847617291fb
/* * Copyright 2002-2019 the original author or authors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2026-04-12 20:31:01
2,079
2,391
the_stack_c
code
a607601c967446c3c305dc98349b165f
#ifndef UTILITY_H #define UTILITY_H #include <stdlib.h> #include <string.h> //#include <stdbool.h> /* * assumes the memory manager is libmm.a * - allows malloc(0) or realloc(obj, 0) * - catches out of memory (and calls MMout_of_memory()) * - catch free(0) and realloc(0, size) in the macros */ #define NIL(type) ((type *...
2026-04-13 01:51:13
896
1,560
the_stack_java
code
be5d9384b20f1e36b0bfa158367a0e18
/* * Copyright 2002-2017 the original author or authors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
2026-04-12 20:18:56
357
7,508
the_stack_java
code
608a4e7ab15800fdb3252159c932ee3e
/******************************************************************************* * 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 ...
2026-04-12 20:19:13
1,918
2,541
the_stack_java
code
751d2d81d521f07f068bb61c8ac858ac
package io.walkers.planes.pandora.jvm.classloader.classloader.namespace; import io.walkers.planes.pandora.jvm.classloader.classloader.MyClassLoader; import io.walkers.planes.pandora.jvm.classloader.classloader.MyObject; import com.sun.crypto.provider.AESKeyGenerator; import java.lang.reflect.Method; /** * 21. 类加载器实战剖析与...
2026-04-12 20:37:18
1,049
14,190
starcoderdata
code
47bb145794c41189262dac242927d3ae
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_biquad_cascade_df1_q31.c * Description: Processing function for the Q31 Biquad cascade DirectFormI(DF1) filter * using Helium assembly kernels * This version allows boosting DF1 Q.31 Biquad performance wh...
2026-04-07 00:31:47
6,341
3,277
the_stack_java
code
19a197030a8a56b1aaafffe0cdbfc74b
package io.github.jeannyil.quarkus.camel.routes; import javax.ws.rs.core.Response; import org.apache.camel.Exchange; import org.apache.camel.ExchangePattern; import org.apache.camel.LoggingLevel; import org.apache.camel.TypeConversionException; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.model...
2026-04-12 20:45:33
985
4,387
the_stack_java
code
f870c33483560f581ac66624da2c9c67
// Copyright 2018 The Bazel Authors. 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 applica...
2026-04-12 20:26:56
1,148
28,402
the_stack_c
code
56bdde8c4655a3bcd3ce8600b04350ae
#ifndef __PREY_GAME_PLAYER_H__ #define __PREY_GAME_PLAYER_H__ extern const idEventDef EV_PlayWeaponAnim; extern const idEventDef EV_Resurrect; extern const idEventDef EV_PrepareToResurrect; extern const idEventDef EV_SetOverlayMaterial; extern const idEventDef EV_SetOverlayTime; extern const idEventDef EV_SetOverlayCol...
2026-04-13 01:40:23
7,904
1,355
the_stack_c
code
50da16055ce1ac75231cc41932bee878
/* * This header is generated by classdump-dyld 1.0 * on Sunday, June 7, 2020 at 11:25:23 AM Mountain Standard Time * Operating System: Version 13.4.5 (Build 17L562) * Image Source: /System/Library/PrivateFrameworks/PhotosUICore.framework/PhotosUICore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by E...
2026-04-13 01:42:23
457
669
the_stack_java
code
94244f81bee2f7e9800bf3a450942be4
package sh.nuro.projectcontainer.proxy; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import sh.nuro.projectcontainer.blocks.ContainerBlockBlue; import sh.nuro.projectcontainer.blocks.ContainerBlockGreen; import sh.nuro.projectcontainer.blocks.ContainerBlockRed; public class ClientProxy extends ...
2026-04-12 20:40:18
154
983
starcoderdata
code
2674236fae400eb947ab9f25e69418b1
<reponame>jeremybreytenbach/UCT_MIT_WebProgramming package events; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; public class EventData { public String csvToHtmlTable() { String csvFile = System.getProperty("user.home") + "\\events.txt"; Buff...
2026-04-07 00:14:35
288
592
the_stack_java
code
912d398a40419ba678dc39f448ab18d4
package yyl.example.design_pattern.structural.flyweight; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; /** * 享元模式(FlyWeight):是为系统中存在多个相同的对象,那么只需要共享一个对象的拷贝。 */ public class FlyweightBean { private static Map<String, FlyweightBean> cache = new ConcurrentHashMap<>(); private String value; public Fly...
2026-04-12 20:34:01
194
2,767
the_stack_c
code
65c7811e993ab82076b4584fc19a2141
/** ****************************************************************************** * @file FMC/FMC_SRAM/Inc/main.h * @author MCD Application Team * @version V1.0.4 * @date 06-May-2016 * @brief Header for main.c module ****************************************************************************** * @attention * * <h2><c...
2026-04-13 01:52:08
715
1,260
the_stack_c
code
00b0aece69f9f99a0f052705a6f4ea1a
/****************************************************************************** * Copyright (C) 2015 by Ralf Kaestner * * ralf.kaestner@gmail.com * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the Lesser GNU General Public License as published by* * the Free Softw...
2026-04-13 02:07:01
316
555
the_stack_java
code
0995a51d1878a326b923b758ef05bd30
package io.github.jonhshepard.tifromtext.frames; import io.github.jonhshepard.tifromtext.frames.stages.MainStage; import javafx.application.Application; import javafx.stage.Stage; /** * @author JonhSHEPARD */ public class JavaMakerApp extends Application { private Stage currentStage = null; @Override public void start(...
2026-04-12 20:24:39
142
301
the_stack_java
code
e44d34bdb495efd5f07fd2122c495e58
package test.dynamic.plan; import org.testng.annotations.Test; public class TestPlan2{ @Test public void testPlan2Method1()throws Exception { System.out.println("testPlan2Method1- invoked"); } @Test public void testPlan2Method2()throws Exception { System.out.println("testPlan2Method2 - invoked"); } }
2026-04-12 20:45:05
81
907
starcoderdata
code
bfbdb7d2c5d890afab41c0ac1d1e4238
#pragma once #include "IDriftAuthProvider.h" class ISecureStorage; class FDriftUserPassAuthProvider : public IDriftAuthProvider { public: FDriftUserPassAuthProvider(int32 instanceIndex, TSharedPtr<ISecureStorage> secureStorage, const FString& Username, const FString& Password, bool bAllowAutomaticAccountCreation); FStr...
2026-04-07 00:31:15
213
403
the_stack_c
code
45b023ccf756c7e15b261ae00624d6d6
// // MultiSubredditSelectorViewController.h // AlienBlue // // Created by J M on 4/06/12. // Copyright (c) 2012 The Design Shed. All rights reserved. // #import "ABOutlineViewController.h" #import "SubredditFolder.h" @interface MultiSubredditSelectorViewController : ABOutlineViewController - (id)initWithSourceFolder:(...
2026-04-13 01:57:40
121
820
the_stack_java
code
a9d840f7be9cc9ae11a28d07638dd89d
package L.DynamicProgramming.I.Medium.ArrayHopperI; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class ArrayHopperITest { private static ArrayHopperI arrayHopp...
2026-04-12 20:34:42
270
349
the_stack_java
code
2828ccf5c37e296165780cbd89a62744
package com.rootser.bluerootser.repository; import java.util.List; import org.springframework.data.repository.CrudRepository; import com.rootser.bluerootser.model.User; import com.rootser.bluerootser.model.UserRoles; public interface UserRolesRepository extends CrudRepository<UserRoles, Integer> { List<UserRoles> findB...
2026-04-12 20:26:11
95
2,290
the_stack_java
code
079f3284dabdbb3566dd0b0865249e37
package com.redis.documents.controllers; import java.util.Optional; import java.util.Set; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.geo.Distance; import org.springframework....
2026-04-12 20:39:08
622
2,755
the_stack_c
code
003ad3150c48cb50ecf65b5ded0bb42c
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE464_Insertion_Of_Data_Structure_Sentinel__basic_17.c Label Definition File: CWE464_Insertion_Of_Data_Structure_Sentinel__basic.label.xml Template File: sources-sink-17.tmpl.c */ /* * @description * CWE: 464 Insertion of Data Structure Sentinel * BadSource: Read in data f...
2026-04-13 02:05:57
891
1,492
the_stack_java
code
6a8e803fd2e3f315ab31db2a7829b341
package com.linkedin.thirdeye.datalayer.entity; import com.linkedin.thirdeye.api.DimensionMap; public class MergedAnomalyResultIndex extends AbstractIndexEntity { long functionId; long anomalyFeedbackId; long metricId; long startTime; long endTime; String collection; String metric; DimensionMap dimensions; boolean noti...
2026-04-12 20:42:16
352
560
the_stack_c
code
3447b693b49ca74f55b66d4ce45f8fa2
// // Section.h // BYR_Client // // Created by Ying on 4/8/15. // Copyright (c) 2015 Ying. All rights reserved. // #import "Board.h" @protocol NSString @end @protocol Section @end @interface Section : JSONModel @property (nonatomic, strong) NSString *name; @property (nonatomic, strong) NSString *selfDescription; @prope...
2026-04-13 01:48:18
165
2,488
the_stack_java
code
aa4d3abbba4bc640148927479311b9c4
package cn.com.warlock.cache.local; import java.io.IOException; import java.util.Map; import java.util.concurrent.Callable; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.TimeUnit; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.common.cache.Cache; import com.googl...
2026-04-12 20:21:04
684
822
the_stack_c
code
88287fd5071c2f42f6d8f1ea870aea79
// This code contributed by Nadi Sarrar. #pragma once #include "analyzer/protocol/tcp/TCP.h" #include "bittorrent_pac.h" namespace analyzer { namespace bittorrent { class BitTorrent_Analyzer final : public tcp::TCP_ApplicationAnalyzer { public: explicit BitTorrent_Analyzer(Connection* conn); ~BitTorrent_Analyzer() over...
2026-04-13 01:53:33
223
3,661
the_stack_java
code
b52576488b6e86516d2902e8a071729e
/* 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 writing, software * distributed under the L...
2026-04-12 20:23:34
883
1,696
the_stack_java
code
7fa4925ebca79ce24a4caaef38aa63b5
//////////////////////////////////////////////////////////// // // Anime Warfare // Copyright (C) 2016 TiWinDeTea - contact@tiwindetea.org // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this softwar...
2026-04-12 20:30:47
432
1,050
the_stack_java
code
e08fc33531e414820a6decebf68021ee
package taskmanager; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class TeamTest { private final Team testTeam = new Team(); @BeforeEach void setUp() { SystemController.current_user = new AppUser(); ...
2026-04-12 20:36:40
321
816
the_stack_java
code
e19365cd7eb46649377a82033a28071a
package net.jibini.chalkboard.decorated; import net.jibini.chalkboard.render.StaticMesh; public class DecoratedStaticMesh implements StaticMesh<DecoratedStaticMesh> { private final StaticMesh<?> origin; public DecoratedStaticMesh(StaticMesh<?> origin) { this.origin = origin; } @Override public DecoratedStaticMesh gener...
2026-04-12 20:13:45
193
9,922
the_stack_java
code
9b23ce17f3d285d6934cad99dcdcbc10
/* * Copyright 2021 ThoughtWorks, Inc. * * 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 wri...
2026-04-12 20:20:50
2,275
342
the_stack_java
code
5e2cdd032b9ef9d15664e0248fcf07dc
package com.xinjian.base; /** * Created by Administrator on 2017/6/7 0007. */ /** * 存放常量 */ public class Constant { public static final String weather = "weather"; public static final String bing_pic = "bing_pic"; public static final String weather_id = "weather_id"; public static final String collKEY = "fa4ba54c8a4949...
2026-04-12 20:43:42
113
2,014
the_stack_c
code
3109a836d3b48085b64dddec1b7c2770
/* Copyright 2008 Google Inc. 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 writing, software distribute...
2026-04-13 01:58:57
500
666
the_stack_c
code
0f39718c8bdaecdab13814d9f2a4b974
#ifndef PROC_INFO_H #define PROC_INFO_H #include <stdint.h> #include <stdbool.h> #define PROC_INFO_CMD_MAX 256 #define PROC_MAX 128 enum { UNUSED = 0, CREATED, SLEEPING, WAIT, BLOCK, READY, RUNNING, ZOMBIE }; enum { PROC_TYPE_PROC = 0, PROC_TYPE_THREAD, PROC_TYPE_IPC, PROC_TYPE_VFORK }; enum { IPC_IDLE = 0, IPC_BUSY, I...
2026-04-13 02:08:46
284
4,895
the_stack_java
code
99e6453af6d4516e46b2b9e6936ff590
/* * Copyright 2014-2015 EUBrazilCC (EU‐Brazil Cloud Connect) * * 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 ...
2026-04-12 20:45:29
1,319
2,187
the_stack_c
code
e17ac0cbdf4b87f113149be539f37b83
/* * This header is generated by classdump-dyld 1.5 * on Tuesday, November 10, 2020 at 10:23:08 PM Mountain Standard Time * Operating System: Version 14.2 (Build 18K57) * Image Source: /System/Library/PrivateFrameworks/VoiceServices.framework/Support/libvoiced_tts.dylib * classdump-dyld is licensed under GPLv3, Copyrig...
2026-04-13 01:51:24
712
4,045
the_stack_java
code
5283f5f15581b48a7c24c35371075389
/** * Copyright (c) 2009-2013, rultor.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: 1) Redistributions of source code must retain the above * copyright notice, this list of conditions and ...
2026-04-12 20:35:27
1,085
5,916
the_stack_java
code
49210395945a072d5ad96a9776f55078
/** * Copyright (C) 2015 Red Hat, Inc. * * 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 wri...
2026-04-12 20:28:03
1,588
3,687
the_stack_java
code
e1d6ee64495c3dc2f92c30b0bc1c39ef
/** * Copyright ${license.git.copyrightYears} the original author or authors. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Un...
2026-04-12 20:38:30
935
End of preview. Expand in Data Studio

Keural SFT Mix (sampled)

A language/domain-balanced sample of mkd-chanwoo/keural-datasets, drawn for SFT experimentation. Each category is kept as its own config (mirroring the source layout), so the different category schemas never have to be merged.

Composition

Config Rows Size Target mix
korean 1,238,411 ~6.3 GB 40%
english 774,007 ~2.1 GB 25%
code 619,205 ~2.7 GB 20%
science 464,404 ~1.5 GB 15%
Total 3,096,027 ~12.7 GB 100%

How it was built

  • Source: mkd-chanwoo/keural-datasets (~619M rows / ~1.3 TB), pooled across all processing runs.
  • Sample size: SAMPLE_FRACTION = 0.005 (~0.5% of the source pool), allocated across categories by the target mix above.
  • Method: for each category, a random subset of shards (seed = 42) was downloaded, shuffled, and truncated to the target row count — so only a small fraction of the source was ever downloaded.
  • Reproducible: fixed seed = 42.

Columns

All configs share the same schema:

Column Type
text string
id string
domain string
dataset string
timestamp string
char_count int64
tokens_count int64

Usage

from datasets import load_dataset

korean = load_dataset("Mkd-Yonas/keural-sft-mix", "korean", split="train")
# also available: "english", "code", "science"

# Optionally interleave into a single SFT stream at the same ratios:
from datasets import load_dataset, interleave_datasets
cfgs = ["korean", "english", "code", "science"]
mix = interleave_datasets(
    [load_dataset("Mkd-Yonas/keural-sft-mix", c, split="train") for c in cfgs],
    probabilities=[0.40, 0.25, 0.20, 0.15],
    seed=42,
)

This is a sampled subset, not the full corpus. For the complete data, see the source dataset.

Downloads last month
155