Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
1.12k
11.5k
row
int64
0
246
<|startoftext|><|im_start|>system You're an expert at reasoning, and give thoughtful and precise answers.<|im_end|> <|im_start|>user Develop Python code to implement a recommendation system using collaborative filtering.<|im_end|> <|im_start|>assistant <think>The user wants a Python implementation of a collaborative fi...
0
user_id', item_col='item_id', rating_col='rating'): """Build item-user matrix and compute item similarities.""" self.train_df = df.copy() self.user_item_matrix = df.pivot_table( index=user_col, columns=item_col, values=rating_col ) # Mean-center per item (normalize i...
0
1) % 5 == 0: print(f" Epoch {epoch + 1}/{self.n_epochs} - Train RMSE: {rmse:.4f}") return self def _predict_raw(self, user_idx, item_idx): """Raw prediction from latent factors and biases.""" return (self.global_mean + self.user_biases[user_idx] + ...
0
_id']) for _, row in test_sample.iterrows()] rmse = evaluator.rmse(preds, actuals) mae = evaluator.mae(preds, actuals) print(f" RMSE: {rmse:.4f}") print(f" MAE: {mae:.4f}") recommendations = item_cf.recommend(sample_user, n_items=5) print(f"\n 🎯 Top-5 recommendations for Us...
0
<|startoftext|><|im_start|>system You're an expert at reasoning, and give thoughtful and precise answers.<|im_end|> <|im_start|>user Write Python code to implement a neural network from scratch without libraries.<|im_end|> <|im_start|>assistant <think>The user wants a neural network implemented from scratch in Python w...
2
self._z = None # pre-activation self._a = None # post-activation # ── Forward ── def forward(self, X): """X is batch_size × input_size → returns batch_size × output_size.""" self._input = X Z = add_mat(matmul(X, self.weights), bias_expand(self.biases, len(X))) ...
2
0], [0, 1, 0], [0, 0, 1]] for cls, (cx, oh) in enumerate(zip(centers, one_hot)): for _ in range(30): sample = [c + random.gauss(0, 0.8) for c in cx] X.append(sample) y.append([float(v) for v in oh]) # Shuffle indices = list(range(len(X))) random.shuffle(indi...
2
<|startoftext|><|im_start|>system You're an expert at reasoning, and give thoughtful and precise answers.<|im_end|> <|im_start|>user What role should diagramming and visualization play in making requirements understandable across disciplines?<|im_end|> <|im_start|>assistant <think>The question is about requirements eng...
3
Principles I'd hold to - **One question per diagram.** Diagrams that try to show structure *and* sequence *and* responsibility become unreadable. Split them and cross-reference. - **Pair every diagram with prose that states what is *not* shown** — scope, assumptions, open questions. The diagram shows the model; the p...
3
<|startoftext|><|im_start|>system You're an expert at reasoning, and give thoughtful and precise answers.<|im_end|> <|im_start|>user How might requirements engineering benefit from knowledge graphs, semantic web technologies, or ontologies?<|im_end|> <|im_start|>assistant <think>The question asks about how requirements...
4
can formally model **stakeholder roles, concerns, and viewpoints**. - Knowledge graphs can highlight where two stakeholders' requirements are in **conflict** (via logical inconsistency) or where there is **overlap/redundancy**. - Shared ontologies promote **common understanding** among heterogeneous stakeholders (busi...
4
<|startoftext|><|im_start|>system You're an expert at reasoning, and give thoughtful and precise answers.<|im_end|> <|im_start|>user What are the risks and opportunities of using generative AI to assist with requirements elicitation, analysis, or documentation?<|im_end|> <|im_start|>assistant <think>The user is asking ...
5
skills expectations, and review processes. This requires deliberate change management. | | **Ethical & legal liability** | When a system fails because a requirement was wrong, the question of whether the AI contributed is legally murky. Contracts and governance frameworks need updating. | | **Context windows & scalabi...
5
<|startoftext|><|im_start|>system You're an expert at reasoning, and give thoughtful and precise answers.<|im_end|> <|im_start|>user How can we handle requirements from stakeholders who themselves don’t fully understand the problem or solution space?<|im_end|> <|im_start|>assistant <think>This is a great question about...
6
<|startoftext|><|im_start|>system You're an expert at reasoning, and give thoughtful and precise answers.<|im_end|> <|im_start|>user What strategies can a requirements engineer use when stakeholders change their minds frequently or inconsistently?<|im_end|> <|im_start|>assistant <think>The question asks about strategie...
7
<|startoftext|><|im_start|>system You're an expert at reasoning, and give thoughtful and precise answers.<|im_end|> <|im_start|>user What can we do when the problem itself is unclear, and requirements are being defined before the problem is fully understood?<|im_end|> <|im_start|>assistant <think>The question is about ...
8
<|startoftext|><|im_start|>system You're an expert at reasoning, and give thoughtful and precise answers.<|im_end|> <|im_start|>user How might we prioritize requirements in a system where competing interests are equally valid?<|im_end|> <|im_start|>assistant <think>The question is about requirements prioritization in s...
9
<|startoftext|><|im_start|>system You're an expert at reasoning, and give thoughtful and precise answers.<|im_end|> <|im_start|>user Is requirements engineering more about filtering noise from signal, or is there a deeper truth to what requirements “really” are?<|im_end|> <|im_start|>assistant <think>This is a deeply p...
11
<|startoftext|><|im_start|>system You're an expert at reasoning, and give thoughtful and precise answers.<|im_end|> <|im_start|>user Can requirements ever be “complete,” or is completeness an illusion? Why or why not?<|im_end|> <|im_start|>assistant <think>The question is about whether software requirements can ever be...
12
<|startoftext|><|im_start|>system You're an expert at reasoning, and give thoughtful and precise answers.<|im_end|> <|im_start|>user How might we define the boundaries of a system’s requirements when dealing with open, networked, or edge computing environments?<|im_end|> <|im_start|>assistant <think>The question is abo...
14
placeable** — you know they can only be satisfied by local inference, not cloud round-trips. ### 7. Treat Security Boundaries as First-Class Requirements In open environments, trust boundaries move: - **Zero-trust models** require that every crossing is authenticated and authorized — this is itself a requirement. - ...
14
<|startoftext|><|im_start|>system You're an expert at reasoning, and give thoughtful and precise answers.<|im_end|> <|im_start|>user What is the relationship between requirements and design, and where do we draw the line?<|im_end|> <|im_start|>assistant <think>The user is asking about the relationship between requireme...
15
<|startoftext|><|im_start|>system You're an expert at reasoning, and give thoughtful and precise answers.<|im_end|> <|im_start|>user Can we ever have a system without requirements, or are requirements inseparable from the act of building software?<|im_end|> <|im_start|>assistant <think>This is a deep philosophical ques...
16
<|startoftext|><|im_start|>system You're an expert at reasoning, and give thoughtful and precise answers.<|im_end|> <|im_start|>user What would happen if we treated requirements like code—versioning, testing, refactoring, and continuous improvement?<|im_end|> <|im_start|>assistant <think>This is a fascinating systems-t...
18
2 versions of Chrome, Firefox, Safari REQ-5: The system shall handle 10,000 concurrent sessions ``` One vague requirement becomes five testable ones. **Refactoring requirements is where ambiguity goes to die.** --- ## 🔄 Continuous Improvement ### Requirement CI/CD Pipelines Imagine: ```yaml on: requirement_ch...
18
<|startoftext|><|im_start|>system You're an expert at reasoning, and give thoughtful and precise answers.<|im_end|> <|im_start|>user What would it look like for a requirements engineer to “practice” in the same way a physician or architect does?<|im_end|> <|im_start|>assistant <think>This is a fascinating question abou...
20
— tailored to the case ### 2. Professional Judgment, Not Method-Following Like a physician deciding between surgery and medication, or an architect deciding between a glass curtain wall and masonry, the RE would exercise **disciplined judgment** about which approaches fit which situations: - When to use formal spec...
20
End of preview. Expand in Data Studio

LFM3 Distill 250x — Coder / IndieDev / GenAgent

Three task profiles cut from the 250-row teacher set used for the LiquidAI/LFM3-1.7B distillation runs, rendered through the LFM3 chat template and chunked for MLX-LM SFT.

The source rows are not included in the train/validation splits. Those splits contain the exact {"text": ...} examples fed to the trainer; the untouched source records are in each profile's rows.jsonl and can be re-rendered differently.

Configurations

config rows categories train rows validation rows train examples validation examples
coder 70 1_code 32, 2_cs 29, 4_stats 9 63 7 282 32
indiedev 128 1_code 32, 2_cs 29, 5_finance 13, 6_business 22, 9_humanities 32 116 12 515 37
genagent 75 5_finance 13, 6_business 22, 8_science 8, 9_humanities 32 68 7 318 22
config rendered tokens train tokens validation tokens
coder 522,455 524,761 60,158
indiedev 901,727 946,342 63,929
genagent 554,593 584,739 37,694

train_tokens/validation_tokens include the 256-token replay overlap, so their sum exceeds the rendered-token count by roughly 5%.

The profiles are not disjoint by design: Coder ∩ IndieDev = 61 rows, IndieDev ∩ GenAgent = 67 rows, Coder ∩ GenAgent = 0.

Held-out rows, stratified by category (10% per category, minimum 1):

config validation row ids
coder 10, 19, 74, 76, 137, 169, 210
indiedev 10, 19, 54, 64, 74, 77, 87, 136, 137, 169, 183, 210
genagent 54, 64, 77, 87, 100, 136, 183

Files

Each profile directory contains:

file contents
train.jsonl chunked training examples: {"text": ..., "row": <source row id>}
valid.jsonl held-out chunked examples, same schema
rows.jsonl original 250-row source records for this profile, plus row_id and category
stats.json row counts, split ids, token counts

stats.json at the repository root aggregates all three profiles.

Chunking

One row is one fully rendered conversation: system + user + assistant, with the assistant reasoning field rendered as thinking...<|end▁of▁thinking|>. The rendered token stream is split into 2048-token windows. The first window is the first 2048 tokens; each later window is the last 256 tokens of the previous window plus the next 1792 tokens. This replays 256 tokens of context rather than restarting mid-trace, and it covers every source token exactly once per epoch.

There is deliberately no prompt masking: mlx_lm re-renders chat messages through the LFM3 template, and that template injects <think></think> into any assistant message without a reasoning field, which corrupts mid-trace chunks. Rendering once and slicing the token stream avoids that. Consequence: the trainer computes loss on the full chunk, prompt included.

Usage

from datasets import load_dataset

coder = load_dataset("AJ-Gonzalez/lfm3-distill-250x", "coder")
print(coder["train"][0]["text"][:500])

Provenance

  • Teacher responses: xtools-at/Xiaomi-MiMo-2.6-Pro-High-Reasoning-250x (Xiaomi MiMo 2.6 Pro, high reasoning).
  • Prompts: TeichAI/claude-4.5-opus-high-reasoning-250x (Claude Opus 4.5 high reasoning). The MiMo dataset reused those prompts and replaced the responses.
  • Category labels and the three profiles are local judge-labelled splits of the same 250 rows; they are not fields in either upstream dataset.
  • Built for LiquidAI/LFM3-1.7B SFT on a MacBook Air M1, 8 GB unified memory.

Licence

license: other. The upstream MiMo dataset is also license: other and its card states that the upstream terms and the rights applicable to generated outputs should be reviewed before redistribution or commercial use. This derivative is published with the same conservative marker; check both upstream cards before commercial use.

Downloads last month
102