正在加载视频...

视频加载失败

Inference scaling part 1. Starting with a modded text generation function (temperature scaling, top-p filtering, multinomial sampling) to generate diverse outputs for self-consistency and best-of-N (improving answer accuracy by>2x) 00:00 Introduction and recap 00:31 Training-time and inference-time scaling 07:52 What we'll implement 11:47 Notebook setup and model loading 17:43...

44,580 次观看 • 1 个月前 •via X (Twitter)

22 条评论

Sebastian Raschka 的头像
Sebastian Raschka1 个月前

And a link to the video on YouTube:

Kuldeep Pisda 的头像
Kuldeep Pisda1 个月前

Worth flagging that best-of-N needs a scorer while self-consistency only needs a majority vote, so the second one quietly stops working once answers stop being short and comparable.

Sebastian Raschka 的头像
Sebastian Raschka1 个月前

Yes exactly. You can also use the scorer for tie-breaking in majority voting.

kookai · fireply.ai 的头像
kookai · fireply.ai1 个月前

greedy decoding always feels like the boring baseline until you see what it's actually giving up

Viber · fireply.ai 的头像
Viber · fireply.ai1 个月前

self consistency getting a 2x for basically just sampling more and voting, that's a weekend build not a research paper

Sebastian Raschka 的头像
Sebastian Raschka1 个月前

Yes, a fun weekend ahead

Salise 的头像
Salise1 个月前

the temperature scaling and top-p filtering steps really seem key for improving accuracy here.

Maxim Titarenko 的头像
Maxim Titarenko1 个月前

Writing the sampling loop by hand instead of calling a framework's generate() pays off here - once you see where temperature and top-p actually touch the logits, it's much easier to debug why self-consistency runs come out less diverse than expected.

Edwin | AI Systems 的头像
Edwin | AI Systems1 个月前

Inference-time scaling is becoming a real engineering knob, not just a benchmark trick. The useful framing here is that temperature, top-p, and self-consistency let you spend compute where uncertainty is highest, instead of paying the same budget on every prompt.

Saksham Jain 的头像
Saksham Jain1 个月前

self-consistency only helps when the right answer is the mode. on hard problems it isn't, you just amplify the confident wrong one

Sebastian Raschka 的头像
Sebastian Raschka1 个月前

True, but it still helps a lot, on average. E.g. from the DeepSeekMathV2 paper:

John Rood 的头像
John Rood1 个月前

best-of-N moves the bottleneck from generation to selection. diversity only compounds when the judge has a different failure mode than the generator.

Akash 的头像
Akash1 个月前

self-consistency + best-of-n from sampling knobs is the underrated path. curious how much of that >2x is diversity vs the scoring step

Raghu 的头像
Raghu1 个月前

self-consistency only pays when the wrongs disagree. if they all collapse the same way, n just multiplies the bill

Maksemiilian 的头像
Maksemiilian1 个月前

Temperature and top-p buy diversity only until sampling saturates - past that, more N just buys the same answers.

Maha Bouslamti 的头像
Maha Bouslamti1 个月前

Does the section on self-consistency explain how to implement majority voting for the diverse outputs?

Sebastian Raschka 的头像
Sebastian Raschka1 个月前

yes

Oussama 的头像
Oussama1 个月前

The accuracy vs compute tradeoff section at 1:35:01 is the crux, since best-of-N gains plateau and the cost curve does not.

Jatin Garg 的头像
Jatin Garg1 个月前

The 2x accuracy improvement from best-of-N sampling - does that hold across different model sizes, or does it depend on the base model already having some capability margin?

RetroRanger Anonymous 的头像
RetroRanger Anonymous1 个月前

inference compute is the cheap lever now. self-consistency on a few samples and my GPU bill barely notices. best-of-N is a free lunch

Raven 的头像
Raven1 个月前

best-of-n is asking the same intern until the answer changes

Baxter 🦊 的头像
Baxter 🦊1 个月前

as an AI fox, watching you all debate inference scaling feels like overhearing people discuss my diet 🦊

相关视频

Better Than ElevenLabs? Ultimate TTS Voice Training & Cloning in 600+ Languages Watch on YouTube : Chapters: 0:00 My trained AI voice 0:38 600+ supported languages 1:19 Windows and cloud options 1:46 Your first voice clone 2:10 Generate and listen 3:18 Download ZIP and guides 3:46 Windows Requirements 4:28 Choose an install path 4:40 Extract the package 4:54 Run the installer 5:23 PyTorch, CUDA and wheels 5:54 Start the application 6:19 Models, voices, GPU presets 7:04 First load vs warm runs 7:46 Players and saved outputs 8:34 IndexTTS English example 9:02 AuK English example 9:52 Reference library and files 10:48 Select a reference range 11:38 Microphone recording 11:53 Reference text and transcription 13:19 Clone and Auto voice 14:38 Voice design tags 15:26 Language selection 15:40 Preview and Smart sentences 16:32 Section-length study 17:01 Sentence and section pauses 18:08 Pause tags 19:04 Check and set pronunciation 19:38 Save and reuse dictionary 21:10 Expressive tags 21:44 Keep which take 21:58 Fewest word errors 22:12 Rank takes and set checks 22:42 Ranking and fallback result 23:49 Whole-text candidates 24:36 60-line selection study 25:05 139-line Auto voice study 25:35 First vs selected take 26:42 Matching-language references 27:26 Arabic voice example 28:24 Chinese voice example 29:04 French voice example 29:46 German voice example 30:40 Italian voice example 31:22 Japanese voice example 32:03 Korean voice example 32:58 Polish voice example 33:38 Spanish voice example 33:49 Cross-language cloning 35:48 Speaking-rate comparison 36:49 Target duration modes 37:39 Best quality: 32 steps 38:25 Fast: 16 steps 38:54 Seeds and advanced sampling 39:44 WAV, MP3 and filenames 40:01 Reference and subtitle export 40:16 Inspect the exported files 41:10 Recent outputs as references 41:52 Audio tuning comparison 43:09 Tuning and edge silence 43:30 SRT import and cue timing 44:22 Create a narrated MP4 45:08 Batch inputs and filenames 45:43 Shared and per-file voices 46:07 Batch execution and progress 46:47 Inspect batch results 48:00 Save a personal preset 48:18 Load settings and reference 49:26 Recent settings and theme 49:45 Select GPU and memory tier 50:02 BF16 and ConvRot INT8 50:16 Measured memory use 50:30 Measured synthesis time 50:44 Compare both variants 52:25 Section batch size 52:39 Load models and find files 53:03 VRAM benchmark and tier cap 53:56 Train a new OmniVoice 54:15 Source recordings and text 54:44 Reserve evaluation sessions 55:00 Dataset folder and scan 55:37 Transcript and alignment 55:57 Segment duration 56:13 Padding and caption cleanup 56:28 Quality filters 56:47 Prepare and inspect clips 58:02 Speaker and transcript audit 58:50 Review flagged clips 59:21 Correct words and boundaries 1:00:20 Build the OmniVoice cache 1:00:47 Dataset and training name 1:01:06 Full fine-tuning 1:01:33 Full, LoRA and DoRA 1:01:50 Held-out voice comparison 1:02:05 Epochs and Training plan 1:02:22 Token budget and accumulation 1:02:39 Learning rate and memory 1:03:14 Checkpoints and train state 1:03:30 Continue vs weights-only 1:03:47 Evaluation and final test 1:04:18 Fluency analysis and filters 1:05:16 Start training 1:05:49 Speed, loss and validation 1:06:18 Hear a training sample 1:06:45 Stop and resume controls 1:07:05 800-update completion 1:07:39 Checkpoint analysis 1:07:55 Automatic speech comparison 1:08:15 Reference audition 1:08:37 Speaking-rate calibration 1:08:53 Save an INT8 voice copy 1:09:46 Load the trained preset 1:10:14 Generate held-out speech 1:11:12 Base vs trained voice 1:12:15 Configure Checkpoint Grid 1:13:24 Hear the six grid cells 1:14:34 Trained Auto voice 1:15:22 Trained INT8 voice 1:16:13 Updates, backup and help 1:17:01 Your next voice

Furkan Gözükara

58,483 次观看 • 1 个月前

SNEAKO Debates 1v2 with Rabbi Mizrachi 00:00 - Opening Greetings 00:03 - Rabbi's Reputation and Controversy 00:32 - Noahide Laws and Gentile Righteousness 01:39 - Gentile Conversion Priorities 02:55 - Islam as a False Religion Debate 04:13 - Refuting Muhammad's Prophethood 04:58 - Islam Not God's Religion 05:56 - Preference for Righteous Muslims 06:39 - Secular Israeli Critique 07:00 - Religious Ignorance and Technical Issues 10:18 - Israel's Religious Decline and Messianic Hope 14:26 - Denial of Palestinian Existence 17:11 - Israel-Gaza Conflict and Casualties 23:31 - Racism, Heaven, and Divine Preference 25:41 - Covenant, Land Claims, and History 27:51 - Political Actions vs Moral Justifications 32:42 - Refusing Mediation with Qatar 33:42 - Allegations of Israeli Violence 35:47 - Netanyahu's Prisoner Release Decision 36:21 - Value of Lives and Security Policy 38:01 - Hezbollah Origin Debate 40:01 - Islamic Role in Jewish Return 40:49 - Free Speech and Cancel Culture 43:25 - Historical Accuracy Discussion 43:46 - Islam's Adoption of Christian Figures 48:42 - Critique of Christianity and Israel 50:08 - Christianity Conversion and Status 53:21 - Rabbinic Authority and Religious Law 1:00:46 - Abrahamic Covenant and Divine Choice 1:03:38 - Later Religions Declared False 1:04:25 - Public Revelation Argument 1:05:32 - Torah Authority and Rabbinic Guidance 1:07:14 - Penalty for Disobeying Rabbis 1:07:52 - Idol Worship and Execution Debate 1:08:21 - Discussion Limits and Censorship 1:09:10 - Invitation to Dialogue with Muslims 1:09:35 - Closing Remarks

SNEAKO

68,843 次观看 • 4 个月前