Datasets:
bucket stringclasses 1
value | row_id stringclasses 22
values | doc_index int32 0 18 | source stringclasses 14
values | licence stringclasses 4
values | pinned_commit stringclasses 13
values | generator stringclasses 14
values | tool bool 2
classes | heldout bool 2
classes | n_tokens int32 22 7.59k | text stringlengths 97 29.6k | subarea stringclasses 4
values | doc_start bool 2
classes | path stringlengths 0 110 | selftrace_id stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
gamedev | gamedev/0000 | 0 | nvidia/Nemotron-SFT-Agentic-v2/tool_calling:gamedev:train | cc-by-4.0 (card lists cc-by-4.0 / apache-2.0 / mit per subset) | NVIDIA SDG agent trajectories (per-row metadata.sdg_model) | true | false | 5,326 | <|begin▁of▁sentence|><|System|>Reasoning Effort: 75 (range 1-100, the higher the value, the more thorough the reasoning)
## Tools
You have access to a set of tools to help answer the user's question. You can invoke tools by writing a "<|DSML| calls>" block like the following:
<|DSML| calls>
<|DSML| invoke name="$T... | tool-use | true | |||
gamedev | gamedev/0000 | 1 | nvidia/Nemotron-SFT-Agentic-v2/tool_calling:gamedev:train | cc-by-4.0 (card lists cc-by-4.0 / apache-2.0 / mit per subset) | NVIDIA SDG agent trajectories (per-row metadata.sdg_model) | true | false | 2,866 | <|begin▁of▁sentence|><|System|>Reasoning Effort: 75 (range 1-100, the higher the value, the more thorough the reasoning)
## Tools
You have access to a set of tools to help answer the user's question. You can invoke tools by writing a "<|DSML| calls>" block like the following:
<|DSML| calls>
<|DSML| invoke name="$T... | tool-use | true | |||
gamedev | gamedev/0018 | 0 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 323 | <|begin▁of▁sentence|>// ===== rust-lang/book/src/ch09-00-error-handling.md =====
# Error Handling
Errors are a fact of life in software, so Rust has a number of features for
handling situations in which something goes wrong. In many cases, Rust requires
you to acknowledge the possibility of an error and take some acti... | rust-language | true | rust-lang/book/src/ch09-00-error-handling.md | |
gamedev | gamedev/0018 | 1 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 162 | <|begin▁of▁sentence|>// ===== rust-lang/book/listings/ch16-fearless-concurrency/listing-16-10/src/main.rs =====
use std::sync::mpsc;
use std::thread;
use std::time::Duration;
fn main() {
let (tx, rx) = mpsc::channel();
thread::spawn(move || {
let vals = vec![
String::from("hi"),
... | rust-language | true | rust-lang/book/listings/ch16-fearless-concurrency/listing-16-10/src/main.rs | |
gamedev | gamedev/0018 | 2 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 356 | <|begin▁of▁sentence|>// ===== rust-lang/book/listings/ch21-web-server/no-listing-05-fix-worker-new/src/main.rs =====
use hello::ThreadPool;
use std::{
fs,
io::{BufReader, prelude::*},
net::{TcpListener, TcpStream},
thread,
time::Duration,
};
fn main() {
let listener = TcpListener::bind("127.0.0... | rust-language | true | rust-lang/book/listings/ch21-web-server/no-listing-05-fix-worker-new/src/main.rs | |
gamedev | gamedev/0018 | 3 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 353 | <|begin▁of▁sentence|>// ===== rust-lang/book/listings/ch21-web-server/listing-21-13/src/main.rs =====
use hello::ThreadPool;
use std::{
fs,
io::{BufReader, prelude::*},
net::{TcpListener, TcpStream},
thread,
time::Duration,
};
fn main() {
let listener = TcpListener::bind("127.0.0.1:7878").unwra... | rust-language | true | rust-lang/book/listings/ch21-web-server/listing-21-13/src/main.rs | |
gamedev | gamedev/0018 | 4 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 388 | <|begin▁of▁sentence|>// ===== rust-lang/book/src/ch03-04-comments.md =====
## Comments
All programmers strive to make their code easy to understand, but sometimes
extra explanation is warranted. In these cases, programmers leave _comments_ in
their source code that the compiler will ignore but that people reading the
... | rust-language | true | rust-lang/book/src/ch03-04-comments.md | |
gamedev | gamedev/0018 | 5 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 609 | <|begin▁of▁sentence|>// ===== rust-lang/book/src/ch15-00-smart-pointers.md =====
# Smart Pointers
A pointer is a general concept for a variable that contains an address in
memory. This address refers to, or “points at,” some other data. The most
common kind of pointer in Rust is a reference, which you learned about in... | rust-language | true | rust-lang/book/src/ch15-00-smart-pointers.md | |
gamedev | gamedev/0018 | 6 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 303 | <|begin▁of▁sentence|>// ===== rust-lang/book/listings/ch12-an-io-project/listing-12-11/src/main.rs =====
use std::env;
use std::fs;
use std::process;
// ANCHOR: here
fn main() {
// --snip--
// ANCHOR_END: here
let args: Vec<String> = env::args().collect();
let config = Config::build(&args).unwrap_or_... | rust-language | true | rust-lang/book/listings/ch12-an-io-project/listing-12-11/src/main.rs | |
gamedev | gamedev/0018 | 7 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 318 | <|begin▁of▁sentence|>// ===== rust-lang/book/listings/ch17-async-await/listing-17-13/src/main.rs =====
extern crate trpl; // required for mdbook test
use std::time::Duration;
fn main() {
trpl::block_on(async {
// ANCHOR: here
let (tx, mut rx) = trpl::channel();
let tx1 = tx.clone();
... | rust-language | true | rust-lang/book/listings/ch17-async-await/listing-17-13/src/main.rs | |
gamedev | gamedev/0018 | 8 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 223 | <|begin▁of▁sentence|>// ===== rust-lang/book/listings/ch21-web-server/listing-21-03/src/main.rs =====
use std::{
io::{BufReader, prelude::*},
net::{TcpListener, TcpStream},
};
fn main() {
let listener = TcpListener::bind("127.0.0.1:7878").unwrap();
for stream in listener.incoming() {
let strea... | rust-language | true | rust-lang/book/listings/ch21-web-server/listing-21-03/src/main.rs | |
gamedev | gamedev/0018 | 9 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 3,752 | <|begin▁of▁sentence|>// ===== rust-lang/book/src/ch20-03-advanced-types.md =====
## Advanced Types
The Rust type system has some features that we’ve so far mentioned but haven’t
yet discussed. We’ll start by discussing newtypes in general as we examine why
they are useful as types. Then, we’ll move on to type aliases,... | rust-language | true | rust-lang/book/src/ch20-03-advanced-types.md | |
gamedev | gamedev/0018 | 10 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 312 | <|begin▁of▁sentence|>// ===== rust-lang/book/listings/ch21-web-server/listing-21-15/src/lib.rs =====
// ANCHOR: here
use std::thread;
pub struct ThreadPool {
workers: Vec<Worker>,
}
impl ThreadPool {
// --snip--
// ANCHOR_END: here
/// Create a new ThreadPool.
///
/// The size is the number of... | rust-language | true | rust-lang/book/listings/ch21-web-server/listing-21-15/src/lib.rs | |
gamedev | gamedev/0018 | 11 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 1,093 | <|begin▁of▁sentence|>// ===== rust-lang/book/src/ch06-03-if-let.md =====
## Concise Control Flow with `if let` and `let...else`
The `if let` syntax lets you combine `if` and `let` into a less verbose way to
handle values that match one pattern while ignoring the rest. Consider the
program in Listing 6-6 that matches o... | rust-language | true | rust-lang/book/src/ch06-03-if-let.md | |
gamedev | gamedev/0054 | 0 | github:bevyengine/bevy | mit OR apache-2.0 | ae6152152d6fb8308ad6038314b48ef295e80fbc | human (upstream bevyengine/bevy) | false | false | 7,589 | <|begin▁of▁sentence|>// ===== bevyengine/bevy/crates/bevy_ecs/src/component/mod.rs =====
//! Types for declaring and storing [`Component`]s.
mod clone;
mod constants;
mod info;
mod register;
mod required;
pub use clone::*;
pub use constants::*;
pub use info::*;
pub use register::*;
pub use required::*;
use crate::{
... | bevy-engine | true | bevyengine/bevy/crates/bevy_ecs/src/component/mod.rs | |
gamedev | gamedev/0054 | 1 | github:bevyengine/bevy | mit OR apache-2.0 | ae6152152d6fb8308ad6038314b48ef295e80fbc | human (upstream bevyengine/bevy) | false | false | 217 | <|begin▁of▁sentence|>// ===== bevyengine/bevy/crates/bevy_input/README.md =====
# Bevy Input
[](https://github.com/bevyengine/bevy#license)
[](https://crates.io/crates/bevy_input)
[![Downlo... | bevy-engine | true | bevyengine/bevy/crates/bevy_input/README.md | |
gamedev | gamedev/0054 | 2 | github:bevyengine/bevy | mit OR apache-2.0 | ae6152152d6fb8308ad6038314b48ef295e80fbc | human (upstream bevyengine/bevy) | false | false | 386 | <|begin▁of▁sentence|>// ===== bevyengine/bevy/crates/bevy_reflect/src/func/reflect_fn.rs =====
use variadics_please::all_tuples;
use crate::{
func::{
args::{ArgCount, FromArg},
macros::count_tokens,
ArgList, FunctionError, FunctionResult, IntoReturn, ReflectFnMut,
},
Reflect, TypePa... | bevy-engine | true | bevyengine/bevy/crates/bevy_reflect/src/func/reflect_fn.rs | |
gamedev | gamedev/0072 | 0 | github:avianphysics/avian | mit OR apache-2.0 | a693f2b7cec0955770fabfa45a8e0fae355c449f | human (upstream avianphysics/avian) | false | false | 795 | <|begin▁of▁sentence|>// ===== avianphysics/avian/crates/avian2d/examples/chain_2d.rs =====
#![allow(clippy::unnecessary_cast)]
use avian2d::prelude::*;
use bevy::{prelude::*, window::PrimaryWindow};
use examples_common_2d::ExampleCommonPlugin;
fn main() {
App::new()
.add_plugins((
DefaultPlugi... | bevy-ecosystem | true | avianphysics/avian/crates/avian2d/examples/chain_2d.rs | |
gamedev | gamedev/0072 | 1 | github:avianphysics/avian | mit OR apache-2.0 | a693f2b7cec0955770fabfa45a8e0fae355c449f | human (upstream avianphysics/avian) | false | false | 1,685 | <|begin▁of▁sentence|>// ===== avianphysics/avian/crates/avian3d/examples/picking.rs =====
//! A simple 3D scene to demonstrate physics picking for colliders.
//!
//! By default, the [`PhysicsPickingPlugin`] will test intersections with the pointer against all colliders.
//! If you want physics picking to be opt-in, you... | bevy-ecosystem | true | avianphysics/avian/crates/avian3d/examples/picking.rs | |
gamedev | gamedev/0072 | 2 | github:avianphysics/avian | mit OR apache-2.0 | a693f2b7cec0955770fabfa45a8e0fae355c449f | human (upstream avianphysics/avian) | false | false | 2,028 | <|begin▁of▁sentence|>// ===== avianphysics/avian/crates/avian2d/examples/sensor.rs =====
use avian2d::{math::*, prelude::*};
use bevy::prelude::*;
use examples_common_2d::ExampleCommonPlugin;
fn main() {
App::new()
.add_plugins((
DefaultPlugins,
ExampleCommonPlugin,
// A... | bevy-ecosystem | true | avianphysics/avian/crates/avian2d/examples/sensor.rs | |
gamedev | gamedev/0072 | 3 | github:avianphysics/avian | mit OR apache-2.0 | a693f2b7cec0955770fabfa45a8e0fae355c449f | human (upstream avianphysics/avian) | false | false | 1,625 | <|begin▁of▁sentence|>// ===== avianphysics/avian/src/utils.rs =====
//! Miscallaneous utility functions.
use bevy::ecs::{
query::{IterQueryData, QueryFilter, QueryItem, ROQueryItem, ReadOnlyQueryData},
system::Query,
};
pub(crate) use bevy::platform::time::Instant;
/// A conservative default minimum number o... | bevy-ecosystem | true | avianphysics/avian/src/utils.rs | |
gamedev | gamedev/0072 | 4 | github:avianphysics/avian | mit OR apache-2.0 | a693f2b7cec0955770fabfa45a8e0fae355c449f | human (upstream avianphysics/avian) | false | false | 417 | <|begin▁of▁sentence|>// ===== avianphysics/avian/crates/avian2d/examples/prismatic_joint_2d.rs =====
use avian2d::prelude::*;
use bevy::prelude::*;
use examples_common_2d::ExampleCommonPlugin;
fn main() {
App::new()
.add_plugins((
DefaultPlugins,
ExampleCommonPlugin,
Phy... | bevy-ecosystem | true | avianphysics/avian/crates/avian2d/examples/prismatic_joint_2d.rs | |
gamedev | gamedev/0072 | 5 | github:avianphysics/avian | mit OR apache-2.0 | a693f2b7cec0955770fabfa45a8e0fae355c449f | human (upstream avianphysics/avian) | false | false | 1,642 | <|begin▁of▁sentence|>// ===== avianphysics/avian/src/collider_tree/tree.rs =====
use bevy::{
ecs::{entity::Entity, resource::Resource},
reflect::prelude::*,
};
use obvhs::{
aabb::Aabb,
bvh2::{Bvh2, reinsertion::ReinsertionOptimizer},
ploc::{PlocBuilder, PlocSearchDistance, SortPrecision, rebuild::co... | bevy-ecosystem | true | avianphysics/avian/src/collider_tree/tree.rs | |
gamedev | gamedev/0144 | 0 | nvidia/Nemotron-SFT-Agentic-v2/tool_calling:gamedev:train | cc-by-4.0 (card lists cc-by-4.0 / apache-2.0 / mit per subset) | NVIDIA SDG agent trajectories (per-row metadata.sdg_model) | true | false | 1,330 | _percent": 95,
"observation_time": "2025-08-17T10:43:00-07:00"
}
```
---
## Step 2 – Combine the weather data with your productivity logs
Below is a **self‑contained Python script** that shows how you could merge the weather snapshot with a CSV (or any other source) of your office‑productivity logs.
> **Note:**... | tool-use | false | |||
gamedev | gamedev/0144 | 1 | nvidia/Nemotron-SFT-Agentic-v2/tool_calling:gamedev:train | cc-by-4.0 (card lists cc-by-4.0 / apache-2.0 / mit per subset) | NVIDIA SDG agent trajectories (per-row metadata.sdg_model) | true | false | 1,380 | <|begin▁of▁sentence|><|System|>Reasoning Effort: 75 (range 1-100, the higher the value, the more thorough the reasoning)
## Tools
You have access to a set of tools to help answer the user's question. You can invoke tools by writing a "<|DSML| calls>" block like the following:
<|DSML| calls>
<|DSML| invoke name="$T... | tool-use | true | |||
gamedev | gamedev/0144 | 2 | nvidia/Nemotron-SFT-Agentic-v2/tool_calling:gamedev:train | cc-by-4.0 (card lists cc-by-4.0 / apache-2.0 / mit per subset) | NVIDIA SDG agent trajectories (per-row metadata.sdg_model) | true | false | 268 | <|begin▁of▁sentence|><|System|>Reasoning Effort: 75 (range 1-100, the higher the value, the more thorough the reasoning)
## Tools
You have access to a set of tools to help answer the user's question. You can invoke tools by writing a "<|DSML| calls>" block like the following:
<|DSML| calls>
<|DSML| invoke name="$T... | tool-use | true | |||
gamedev | gamedev/0144 | 3 | nvidia/Nemotron-Agentic-v1/tool_calling:train | cc-by-4.0 | NVIDIA SDG agent trajectories (card) | true | false | 3,723 | <|begin▁of▁sentence|><|System|>Reasoning Effort: 75 (range 1-100, the higher the value, the more thorough the reasoning)
## Tools
You have access to a set of tools to help answer the user's question. You can invoke tools by writing a "<|DSML| calls>" block like the following:
<|DSML| calls>
<|DSML| invoke name="$T... | tool-use | true | |||
gamedev | gamedev/0162 | 0 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 627 | . We could also take
advantage of the fact that expressions produce a value either to produce the
`state` from the `if let` or to return early, as in Listing 6-8. (You could do
something similar with a `match`, too.)
<Listing number="6-8" caption="Using `if let` to produce a value or return early">
```rust
{{#rustdoc... | rust-language | false | rust-lang/book/src/ch06-03-if-let.md | |
gamedev | gamedev/0162 | 1 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 284 | <|begin▁of▁sentence|>// ===== rust-lang/book/listings/ch02-guessing-game-tutorial/listing-02-05/src/main.rs =====
use std::cmp::Ordering;
use std::io;
use rand::prelude::*;
fn main() {
println!("Guess the number!");
let secret_number = rand::rng().random_range(1..=100);
println!("The secret number is: {... | rust-language | true | rust-lang/book/listings/ch02-guessing-game-tutorial/listing-02-05/src/main.rs | |
gamedev | gamedev/0162 | 2 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 218 | <|begin▁of▁sentence|>// ===== rust-lang/book/listings/ch10-generic-types-traits-and-lifetimes/no-listing-04-traits-as-parameters/src/lib.rs =====
pub trait Summary {
fn summarize(&self) -> String;
}
pub struct NewsArticle {
pub headline: String,
pub location: String,
pub author: String,
pub content... | rust-language | true | rust-lang/book/listings/ch10-generic-types-traits-and-lifetimes/no-listing-04-traits-as-parameters/src/lib.rs | |
gamedev | gamedev/0162 | 3 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 364 | <|begin▁of▁sentence|>// ===== rust-lang/book/listings/ch13-functional-features/listing-13-01/src/main.rs =====
#[derive(Debug, PartialEq, Copy, Clone)]
enum ShirtColor {
Red,
Blue,
}
struct Inventory {
shirts: Vec<ShirtColor>,
}
impl Inventory {
fn giveaway(&self, user_preference: Option<ShirtColor>) ... | rust-language | true | rust-lang/book/listings/ch13-functional-features/listing-13-01/src/main.rs | |
gamedev | gamedev/0162 | 4 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 592 | <|begin▁of▁sentence|>// ===== rust-lang/book/src/foreword.md =====
# Foreword
The Rust programming language has come a long way in a few short years, from
its creation and incubation by a small and nascent community of enthusiasts, to
becoming one of the most loved and in-demand programming languages in the
world. Loo... | rust-language | true | rust-lang/book/src/foreword.md | |
gamedev | gamedev/0162 | 5 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 225 | <|begin▁of▁sentence|>// ===== rust-lang/book/listings/ch08-common-collections/listing-08-14/src/main.rs =====
fn main() {
// ANCHOR: here
let hello = String::from("السلام عليكم");
let hello = String::from("Dobrý den");
let hello = String::from("Hello");
let hello = String::from("שלום");
let hell... | rust-language | true | rust-lang/book/listings/ch08-common-collections/listing-08-14/src/main.rs | |
gamedev | gamedev/0162 | 6 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 233 | <|begin▁of▁sentence|>// ===== rust-lang/book/listings/ch02-guessing-game-tutorial/listing-02-04/src/main.rs =====
// ANCHOR: here
use std::cmp::Ordering;
use std::io;
use rand::prelude::*;
fn main() {
// --snip--
// ANCHOR_END: here
println!("Guess the number!");
let secret_number = rand::rng().rando... | rust-language | true | rust-lang/book/listings/ch02-guessing-game-tutorial/listing-02-04/src/main.rs | |
gamedev | gamedev/0162 | 7 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 208 | <|begin▁of▁sentence|>// ===== rust-lang/book/listings/ch17-async-await/listing-17-19/src/main.rs =====
extern crate trpl; // required for mdbook test
use std::time::Duration;
fn main() {
trpl::block_on(async {
let slow = async {
trpl::sleep(Duration::from_secs(5)).await;
"Finally f... | rust-language | true | rust-lang/book/listings/ch17-async-await/listing-17-19/src/main.rs | |
gamedev | gamedev/0162 | 8 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 190 | <|begin▁of▁sentence|>// ===== rust-lang/book/listings/ch21-web-server/listing-21-02/src/main.rs =====
use std::{
io::{BufReader, prelude::*},
net::{TcpListener, TcpStream},
};
fn main() {
let listener = TcpListener::bind("127.0.0.1:7878").unwrap();
for stream in listener.incoming() {
let strea... | rust-language | true | rust-lang/book/listings/ch21-web-server/listing-21-02/src/main.rs | |
gamedev | gamedev/0162 | 9 | github:rust-lang/book | mit OR apache-2.0 | 2771df165f092a4fbb9f46b5b2e7450f19010adb | human (upstream rust-lang/book) | false | false | 163 | <|begin▁of▁sentence|>// ===== rust-lang/book/listings/ch20-advanced-features/listing-20-15/src/main.rs =====
use std::ops::Add;
#[derive(Debug, Copy, Clone, PartialEq)]
struct Point {
x: i32,
y: i32,
}
impl Add for Point {
type Output = Point;
fn add(self, other: Point) -> Point {
Point {
... | rust-language | true | rust-lang/book/listings/ch20-advanced-features/listing-20-15/src/main.rs |
DeepSeek-V4.1-Flash-1017 domain calibration data (redistributable subset)
This dataset holds the calibration text used to score experts when choosing the per-domain expert keep-sets
(masks) for DeepSeek-V4.1-Flash-1017, released at
patrickbdevaney/DeepSeek-V4.1-Flash-1017-REAP192-domain-masks.
It covers four domain buckets: gamedev, mlsys, robotics and quantum (quantum computing SDKs, circuits and
error correction).
Only the part of the calibration corpus that can be redistributed under a permissive licence is published. The rest is withheld (see What is excluded), so this dataset alone does not reproduce the masks exactly.
What the calibration corpus is
- Each bucket has 50 rows of 8,192 tokens (409,600 tokens). Rows are packed from many documents, tokenized with the
DeepSeek-V4.1-Flash-1017 tokenizer. Chat and agent documents are rendered with the model's own chat encoding,
so the text keeps its special tokens (
<|begin▁of▁sentence|>,<|User|>,<|Assistant|>,</think>, DSML tool-call markup and so on). - Every document starts with
<|begin▁of▁sentence|>. There are no other separators between documents. - A document can run past the end of a row. It continues in the next row of the same sub-area, and each
piece is stored as its own record (
doc_start = falseon the continuation). - Rows marked
heldout = true(8-11 per bucket) were run through the model but excluded from the saliency statistics. They were only used for held-out diagnostics. All other rows fed the expert scores. - Some documents are model self-traces. They pair a prompt from a public dataset with a greedy answer generated
by DeepSeek-V4.1-Flash-1017 pruned to 192 routed experts per layer. Their
sourceisselftrace:<dataset>.
Fields
| field | meaning |
|---|---|
bucket |
domain bucket (one config per bucket) |
row_id |
<bucket>/<global row index> in the calibration corpus |
doc_index |
position of this document piece inside the row |
source |
github:<owner>/<repo>, a Hugging Face dataset id (with config/split), or selftrace:<dataset id> |
licence |
licence of this record's source (for self-traces, the licence of the prompt's dataset) |
pinned_commit |
for GitHub sources, the exact commit the file was read from |
generator |
who or what wrote the source text |
tool |
the document contains structured tool calls |
heldout |
row held out of the saliency statistics |
n_tokens |
number of tokenizer tokens in this piece (exact: re-encoding text gives the same count) |
text |
decoded text of the piece, special tokens included |
subarea |
sub-area of the bucket the row was packed for |
doc_start |
the piece begins a document (false = continuation of the previous row's last document) |
path |
file path inside the repository, for GitHub documents |
selftrace_id |
id of the self-trace, for selftrace: rows |
recipe/<bucket>.json lists every source in that bucket's calibration rows, excluded ones included. Each entry
gives its token share, licence, pinned commit, whether it is released here and, if not, why. Withheld
private material appears there as a single generic line with its token share.
How much of each bucket is included
| bucket | included tokens | of 409,600 | of the tokens that fed saliency (non-held-out) | records | rows touched |
|---|---|---|---|---|---|
| gamedev | 175,366 | 42.8% | 150,790 / 344,064 = 43.8% | 153 | 22 / 50 |
| mlsys | 230,779 | 56.3% | 174,924 / 335,872 = 52.1% | 113 | 32 / 50 |
| robotics | 308,097 | 75.2% | 240,108 / 319,488 = 75.2% | 240 | 44 / 50 |
| quantum | 194,937 | 47.6% | 156,957 / 344,064 = 45.6% | 111 | 25 / 50 |
| total | 909,179 | 55.5% | 722,779 / 1,343,488 = 53.8% | 617 |
Inclusion and exclusion policy
Included: sources licensed only under MIT, Apache-2.0, BSD (2- or 3-clause), ISC, CC0 / public domain or
CC-BY-4.0, or a combination of these. The licence must have been confirmed from the source itself when the
corpus was built. GitHub documents were also checked for per-file SPDX-License-Identifier lines and licence
text, and all of them were permissive. Self-traces are included only when their prompt came from one of these
permissively licensed public datasets.
What is excluded
- private material: the owner's own sessions, code and collected discussion threads, and self-traces whose prompts came from that material
- Stack Exchange content (CC-BY-SA, share-alike)
- GPL, LGPL and AGPL sources
- sources whose licence could not be confirmed (unknown, per-document or "other")
- sources that mix a permissive code licence with share-alike prose (for example CC-BY-SA documentation)
- sources whose licence is ambiguous: the NVIDIA CUTLASS CuTeDSL example files carry BSD-3-Clause headers, but CuTeDSL itself is distributed under an NVIDIA EULA, so they are left out
- arXiv papers from Common Pile, because the per-paper licence cannot be recovered from the corpus
- any document containing an email address, a local file-system path, a private project name or an API-key-like string (the whole document was dropped)
Attribution
This dataset redistributes excerpts of many open-source repositories and public datasets. All credit goes to
their authors. Each record names its source, licence and (for repositories) the exact commit.
LICENSES/<owner>__<repo>/ holds the LICENSE / COPYING / NOTICE files of every included repository at the pinned
commit. LICENSES/git_sources.json maps each repository to its commit. LICENSES/NOTICE_HF_DATASETS.md
lists every Hugging Face dataset used, with its licence. Model self-traces were generated with
DeepSeek-V4.1-Flash-1017 (MIT License, copy in LICENSES/DeepSeek-V4.1-Flash-1017.LICENSE).
Licence ids present in this dataset (each record has exactly one in its licence column):
MIT, Apache-2.0, MIT OR Apache-2.0, BSD-2-Clause, BSD-3-Clause and CC-BY-4.0.
Some licence strings keep a short note from the source, such as "per subset", "code only" or "per-model
licences vary". The sampled files were checked against those notes.
The license: other tag means the licence varies by record. Use the licence column of each record, and keep
the attribution and licence notices that its licence requires (for example CC-BY-4.0 attribution and the
Apache-2.0 NOTICE).
Some included datasets contain synthetic or model-generated text: NVIDIA Nemotron agentic sets (SDG
trajectories), robot-agent-exploration/robot-session-logs and the Eureka reward functions. The generator column says which records these are. Check the terms of the generating models
if they matter for your use.
robot-agent-exploration/robot-session-logs is a third-party dataset of Claude (Anthropic) outputs. It was
published by its authors under CC-BY-4.0 and is redistributed here under that licence. Its records say so in the
generator column.
Hugging Face dataset revisions were not pinned at build time: each dataset was streamed from its Hub default
branch on 2026-11-01. GitHub sources are pinned to an exact commit (pinned_commit).
- Downloads last month
- 1,002