MCPcopy Create free account

hub / github.com/rohitg00/ai-engineering-from-scratch / functions

Functions8,347 in github.com/rohitg00/ai-engineering-from-scratch

↓ 1 callersFunctionlayoutlm_input
Produce the three-stream input: text, bbox, patch-ids.
phases/12-multimodal-ai/22-document-diagram-understanding/code/main.py:34
↓ 1 callersMethodleaderboard
(self)
phases/10-llms-from-scratch/10-evaluation/code/main.py:101
↓ 1 callersFunctionlearn_bpe
(corpus, k_merges)
phases/05-nlp-foundations-to-advanced/04-glove-fasttext-subword/code/main.py:13
↓ 1 callersFunctionlearn_codebook
(values, size, iterations=20, seed=0)
phases/06-speech-and-audio/13-neural-audio-codecs/code/main.py:19
↓ 1 callersFunctionlearning_curve
(X, y, model_fn, metric_fn, train_sizes=None, val_ratio=0.2, seed=42)
phases/02-ml-fundamentals/09-model-evaluation/code/evaluation.py:190
↓ 1 callersFunctionlemmatize
(word, pos)
phases/05-nlp-foundations-to-advanced/01-text-processing/code/main.py:37
↓ 1 callersFunctionlength_normalised_log_prob
Sequence log-prob divided by completion length. Useful for diagnosing length bias: if length-normalised margins are positive but raw margins
phases/19-capstone-projects/40-dpo-from-scratch/code/main.py:282
↓ 1 callersFunctionlexical_overlap
(prem_tokens, hyp_tokens)
phases/05-nlp-foundations-to-advanced/21-nli-textual-entailment/code/main.py:24
↓ 1 callersFunctionline_for
(text: str, offset: int)
scripts/check_readme_counts.py:132
↓ 1 callersFunctionlineage_table
()
phases/12-multimodal-ai/21-embodied-vlas-openvla-pi0-groot/code/main.py:95
↓ 1 callersFunctionlinear_beta_schedule
(T=1000, beta_start=1e-4, beta_end=2e-2)
phases/04-computer-vision/10-image-generation-diffusion/code/main.py:9
↓ 1 callersFunctionlinear_kernel
(x, z)
phases/02-ml-fundamentals/05-support-vector-machines/code/svm.py:25
↓ 1 callersFunctionlinear_project
(patches, d_model, rng=None)
phases/07-transformers-deep-dive/09-vision-transformers/code/main.py:37
↓ 1 callersFunctionlinear_project
(xs: list[list[float]], W: list[list[float]])
phases/12-multimodal-ai/03-blip2-qformer-bridge/code/main.py:92
↓ 1 callersFunctionlinf_norm
(x)
phases/01-math-foundations/14-norms-and-distances/code/distances.py:19
↓ 1 callersFunctionlink
(*processors: Processor)
phases/14-agent-engineering/22-voice-agents-pipecat-livekit/code/main.py:114
↓ 1 callersMethodlink_sub
(self, parent: str, sub: str)
phases/14-agent-engineering/17-claude-agent-sdk/code/main.py:71
↓ 1 callersFunctionlint_description
(desc: str, tool_name: str)
phases/13-tools-and-protocols/05-tool-schema-design/code/main.py:54
↓ 1 callersFunctionlint_name
(name: str)
phases/13-tools-and-protocols/05-tool-schema-design/code/main.py:41
↓ 1 callersFunctionlint_registry
(registry: list[dict])
phases/13-tools-and-protocols/05-tool-schema-design/code/main.py:105
↓ 1 callersFunctionlint_schema
(schema: dict, tool_name: str)
phases/13-tools-and-protocols/05-tool-schema-design/code/main.py:72
↓ 1 callersFunctionlint_tool
(tool: dict)
phases/13-tools-and-protocols/05-tool-schema-design/code/main.py:96
↓ 1 callersMethodlist
()
phases/19-capstone-projects/10-multi-agent-software-team/code/ts/src/workspace.ts:24
↓ 1 callersFunctionlist_code_files
(code_dir: Path)
scripts/build_catalog.py:118
↓ 1 callersMethodlist_names
(self)
phases/14-agent-engineering/10-skill-libraries-voyager/code/main.py:110
↓ 1 callersFunctionlist_outputs
(outputs_dir: Path)
scripts/build_catalog.py:156
↓ 1 callersFunctionlist_python_files
(code_dir: Path)
scripts/lesson_run.py:79
↓ 1 callersMethodlist_subkeys
(self, session_id: str)
phases/14-agent-engineering/17-claude-agent-sdk/code/main.py:68
↓ 1 callersFunctionliveDemo
()
phases/17-infrastructure-and-production/19-ai-gateways/code/main.ts:373
↓ 1 callersFunctionllama_guard_input
(query: str)
phases/19-capstone-projects/08-production-rag-chatbot/code/main.py:161
↓ 1 callersFunctionllm_judge_simulated
(prediction, expected)
phases/10-llms-from-scratch/10-evaluation/code/main.py:53
↓ 1 callersFunctionllm_with_tools
(transcript)
phases/06-speech-and-audio/12-voice-assistant-pipeline/code/main.py:42
↓ 1 callersFunctionload
Restore a tokenizer previously written with `save`.
phases/19-capstone-projects/30-bpe-tokenizer-from-scratch/code/main.py:250
↓ 1 callersFunctionload
()
site/header.js:46
↓ 1 callersMethodload
(self, session_id: str)
phases/14-agent-engineering/17-claude-agent-sdk/code/main.py:56
↓ 1 callersFunctionloadDotenv
(path: string)
phases/00-setup-and-tooling/04-apis-and-keys/code/first_api_call.ts:25
↓ 1 callersMethodloadLatest
(sessionId: string)
phases/14-agent-engineering/13-langgraph-stateful-graphs/code/main.ts:77
↓ 1 callersFunctionload_all_tasks
(task_dir: Path)
phases/19-capstone-projects/49-lm-eval-harness/code/main.py:466
↓ 1 callersFunctionload_and_inspect
(dataset_name: str, config: str = None, split: str = "train")
phases/00-setup-and-tooling/09-data-management/code/data_utils.py:22
↓ 1 callersFunctionload_approved
()
phases/13-tools-and-protocols/15-mcp-security-tool-poisoning/code/main.py:61
↓ 1 callersFunctionload_board
(board_path: Path)
phases/14-agent-engineering/32-minimal-agent-workbench/code/main.py:83
↓ 1 callersFunctionload_cache
()
scripts/link_check.py:178
↓ 1 callersFunctionload_checkpoint
( path: Path, model: nn.Module, optimizer: torch.optim.Optimizer, scheduler: torch.optim.lr_sc
phases/19-capstone-projects/47-checkpoint-save-resume/code/main.py:194
↓ 1 callersFunctionload_data
(data_path="./mnist_data")
phases/03-deep-learning-core/11-intro-to-pytorch/code/pytorch_intro.py:115
↓ 1 callersFunctionload_fixture
Load a fixture from a directory. Expected layout: <task_dir>/task.json <task_dir>/buggy/... <task_dir>/expected/... (when
phases/19-capstone-projects/27-eval-harness-fixture-tasks/code/main.py:248
↓ 1 callersFunctionload_from_parquet
(path: str)
phases/00-setup-and-tooling/09-data-management/code/data_utils.py:129
↓ 1 callersFunctionload_index
Read shards.json and return ShardIndexEntry rows.
phases/19-capstone-projects/43-hdf5-tokenized-corpus/code/main.py:452
↓ 1 callersMethodload_latest
(self, session_id: str)
phases/14-agent-engineering/13-langgraph-stateful-graphs/code/main.py:74
↓ 1 callersFunctionload_lora_adapter
(model, path)
phases/11-llm-engineering/08-fine-tuning-lora/code/lora.py:167
↓ 1 callersFunctionload_pretrained_maskrcnn
()
phases/04-computer-vision/08-instance-segmentation-mask-rcnn/code/main.py:45
↓ 1 callersFunctionload_rgb
(url, timeout=5)
phases/04-computer-vision/01-image-fundamentals/code/main.py:22
↓ 1 callersFunctionload_sharded_checkpoint
( ckpt_dir: Path, model: nn.Module, optimizer: torch.optim.Optimizer, scheduler: torch.optim.l
phases/19-capstone-projects/47-checkpoint-save-resume/code/main.py:285
↓ 1 callersFunctionload_skill
(folder: Path)
phases/13-tools-and-protocols/22-skills-and-agent-sdks/code/main.py:111
↓ 1 callersFunctionload_state
(state_path: Path)
phases/14-agent-engineering/32-minimal-agent-workbench/code/main.py:78
↓ 1 callersFunctionload_task_jsonl
(path: Path)
phases/19-capstone-projects/49-lm-eval-harness/code/main.py:255
↓ 1 callersFunctionload_totals
()
scripts/check_readme_counts.py:123
↓ 1 callersFunctionlocal_roughness
(x)
phases/04-computer-vision/01-image-fundamentals/code/main.py:107
↓ 1 callersFunctionlock_in_cost
()
phases/17-infrastructure-and-production/01-managed-llm-platforms/code/main.py:80
↓ 1 callersFunctionlock_is_fresh
Cache pattern: re-use prior probe pass when nothing material changed. Same shape as Docker layer caches: idempotent probe + content hash = skip.
phases/14-agent-engineering/35-initialization-scripts/code/main.py:148
↓ 1 callersFunctionlog_agent
(incident: str)
phases/17-infrastructure-and-production/23-sre-for-ai/code/main.py:20
↓ 1 callersFunctionlog_compress
(xs: list[float])
phases/12-multimodal-ai/19-audio-language-whisper-to-af3/code/main.py:69
↓ 1 callersFunctionlog_softmax_stable
(logits)
phases/01-math-foundations/13-numerical-stability/code/numerical.py:28
↓ 1 callersFunctionlog_transform
(mel_spec, eps=1e-10)
phases/06-speech-and-audio/02-spectrograms-mel-features/code/main.py:100
↓ 1 callersFunctionlog_transform
(x, eps=1e-10)
phases/06-speech-and-audio/03-audio-classification/code/main.py:85
↓ 1 callersFunctionlog_transform
(x, eps=1e-10)
phases/06-speech-and-audio/06-speaker-recognition-verification/code/main.py:86
↓ 1 callersFunctionlog_transform
(values)
phases/02-ml-fundamentals/08-feature-engineering/code/features.py:21
↓ 1 callersFunctionlogsoftmax
(logits: list[float])
phases/18-ethics-safety-alignment/03-direct-preference-optimization-family/code/main.py:33
↓ 1 callersMethodlookup
(self, token_ids)
phases/10-llms-from-scratch/12-inference-optimization/code/main.py:202
↓ 1 callersMethodlookup
(self, name: str, args: tuple)
phases/15-autonomous-systems/12-durable-execution/code/main.py:42
↓ 1 callersFunctionlora_params
(n_layers, d_model, rank=16, modules=("q_proj", "v_proj"))
phases/06-speech-and-audio/05-whisper-architecture-finetuning/code/main.py:63
↓ 1 callersFunctionlora_training_sketch
()
phases/04-computer-vision/11-stable-diffusion/code/main.py:62
↓ 1 callersFunctionloss
(policy, examples: list[Example])
phases/18-ethics-safety-alignment/06-mesa-optimization-deceptive-alignment/code/main.py:64
↓ 1 callersFunctionloss_value
(x, fwd, beta)
phases/08-generative-ai/02-autoencoders-vae/code/main.py:64
↓ 1 callersFunctionlp_distance
(a, b, p)
phases/01-math-foundations/14-norms-and-distances/code/distances.py:31
↓ 1 callersFunctionlrAt
(step, peak)
site/lesson-figures.js:303
↓ 1 callersFunctionlr_sensitivity
(data)
phases/03-deep-learning-core/09-learning-rate-schedules/code/main.py:148
↓ 1 callersFunctionlsh_buckets
(signature, bands=16)
phases/10-llms-from-scratch/03-data-pipelines/code/main.py:50
↓ 1 callersFunctionmae
(y_true, y_pred)
phases/02-ml-fundamentals/09-model-evaluation/code/evaluation.py:176
↓ 1 callersFunctionmagic_command_equivalents
()
phases/00-setup-and-tooling/05-jupyter-notebooks/code/notebook_tips.py:84
↓ 1 callersFunctionmagnitude_report
(name, magnitudes)
phases/03-deep-learning-core/08-weight-initialization/code/main.py:64
↓ 1 callersFunctionmagnitude_spectrum
(audio, n_fft=256)
phases/06-speech-and-audio/16-anti-spoofing-audio-watermarking/code/main.py:35
↓ 1 callersFunctionmain
(argv: list[str] | None = None)
scripts/link_check.py:436
↓ 1 callersFunctionmain
(argv: list[str])
scripts/lesson_run.py:203
↓ 1 callersFunctionmain
(argv: list[str])
scripts/build_catalog.py:257
↓ 1 callersFunctionmain
(argv: list[str])
scripts/audit_lessons.py:244
↓ 1 callersFunctionmain
(argv: list[str])
scripts/install_skills.py:229
↓ 1 callersFunctionmain
(argv: list[str])
scripts/scaffold_workbench.py:180
↓ 1 callersFunctionmain
(argv: list[str] | None = None)
scripts/check_readme_counts.py:222
↓ 1 callersFunctionmain
()
phases/08-generative-ai/03-gans-generator-discriminator/code/main.py:157
↓ 1 callersFunctionmain
()
phases/08-generative-ai/10-video-generation/code/main.py:173
↓ 1 callersFunctionmain
()
phases/08-generative-ai/05-stylegan/code/main.py:75
↓ 1 callersFunctionmain
()
phases/08-generative-ai/19-visual-autoregressive-var/code/main.py:204
↓ 1 callersFunctionmain
()
phases/08-generative-ai/11-audio-generation/code/main.py:57
↓ 1 callersFunctionmain
()
phases/08-generative-ai/02-autoencoders-vae/code/main.py:156
↓ 1 callersFunctionmain
()
phases/08-generative-ai/08-controlnet-lora-conditioning/code/main.py:81
↓ 1 callersFunctionmain
()
phases/08-generative-ai/12-3d-generation/code/main.py:82
↓ 1 callersFunctionmain
()
phases/08-generative-ai/06-diffusion-ddpm-from-scratch/code/main.py:158
↓ 1 callersFunctionmain
()
phases/08-generative-ai/01-generative-models-taxonomy-history/code/main.py:71
↓ 1 callersFunctionmain
()
phases/08-generative-ai/13-flow-matching-rectified-flows/code/main.py:126
↓ 1 callersFunctionmain
()
phases/08-generative-ai/09-inpainting-outpainting-editing/code/main.py:163
← previousnext →4,001–4,100 of 8,347, ranked by callers