| source | title | type | organization | cleaned_by |
|---|---|---|---|---|
The Smol Training Playbook: The Secrets to Building World-Class LLMs |
Technical Blog Post |
Hugging Face |
Crawl4AI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Quick and dirty replication of | |
| "Winning Gold at IMO 2025 with a Model-Agnostic Verification-and-Refinement Pipeline" (https://arxiv.org/abs/2507.15855) | |
| using LangGraph. | |
| Export GOOGLE_API_KEY to run. | |
| Change the model, question and constants directly in the code (no CLI). | |
| """ | |
| import asyncio |
Collapse Studio Buttons Container is a userscript that adds a collapse/expand button to the studio panel header in NotebookLM. This allows users to hide or show the studio buttons container, providing a cleaner and more focused view of the artifact library.
- Adds a collapse/expand button to the studio panel header.
- Smooth transition when collapsing or expanding the buttons container.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Stack: | |
| ## Tanstack Start | |
| ## Infra: Alchemy / Cloudflare | |
| ## UI: Shadcn | |
| ## Store: Zustand | |
| ## DB Drizzle | |
| ## Commands | |
| - Dev Server: pnpm dev (runs Alchemy dev with hot-reload; uses .env.dev) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import subprocess | |
| import random | |
| import numpy as np | |
| import torch | |
| from torch._utils import _get_available_device_type, _get_device_module | |
| from loguru import logger | |
| # DEBUG = False | |
| DEBUG = True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import torch | |
| from torch import Tensor | |
| def varlen_attn( | |
| query: Tensor, | |
| key: Tensor, | |
| value: Tensor, | |
| cum_seq_q: Tensor, | |
| cum_seq_k: Tensor, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import feedparser | |
| import requests | |
| from datetime import datetime, timezone | |
| from bs4 import BeautifulSoup | |
| import re | |
| import openai | |
| import os | |
| def parse_rss_feed(feed_url): | |
| """Parse a single RSS feed and extract articles""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -euo pipefail | |
| trap 'echo "at line $LINENO, exit code $? from $BASH_COMMAND" >&2; exit 1' ERR | |
| # This is a Claude Code hook to stop it saying "you are right". | |
| # | |
| # Installation: | |
| # 1. Save this script and chmod +x it to make it executable. | |
| # 2. Within Claude Code, /hooks / UserPromptSubmit > Add a new hook (this file) | |
| # |
NewerOlder
