Better HN
topnewbestaskshowjobs
Log inSign up

atgctg

1,579 karma · joined Jun 19, 2022 (4y ago) · 31 submissions

Submissions

1.

Needle: Search Engine Benchmark for Agents(keenableai.github.io ↗)

1 points · by atgctg · 1mo ago · discuss

2.

Flux 3 Image Klein(bfl.ai ↗)

7 points · by atgctg · 1mo ago · 1 comment

3.

OpenAI’s WebRTC problem(moq.dev ↗)

511 points · by atgctg · 6mo ago · 149 comments

4.

GPT-5.2(openai.com ↗)

1195 points · by atgctg · 11mo ago · 1083 comments

5.

Llama.cpp: Add GPT-OSS(github.com ↗)

35 points · by atgctg · 1y ago · discuss

comment 1y ago · link · parent

The paper's Table 7 shows DyT reducing overall LLaMA 7B inference time by 7.8% and training time by 8.2%. That is not insignificant.

comment 1y ago · link · parent

You can get a free trial right now to Stratechery Plus through Asianometry:

https://stratechery.passport.online/member/plan/4ycW4SE71Cy6...

Source: https://substack.com/home/post/p-154928959

8.

I Love Calculator(karpathy.ai ↗)

6 points · by atgctg · 2y ago · 1 comment

comment 2y ago · link · parent

You have to store the KV cache, not the tokens. For Gemma 27B (probably slightly larger than Flash), this would be:

  Size of KV cache = 2 * (num_layers) * (num_kv_heads * dim_head) * seq_length * precision

  8-bit Gemma 27B KV cache = 2 * (46) * (16 * 144) * 1e6 * 1 byte ≈ 200 GB
Note that this doesn't take further optimizations into account that Google might be using.

Formula: https://developer.nvidia.com/blog/mastering-llm-techniques-i...

Gemma 27B config: https://huggingface.co/google/gemma-2-27b/blob/main/config.j...

10.

Open source AI is the path forward(about.fb.com ↗)

2360 points · by atgctg · 2y ago · 887 comments

11.

The Perceptron Controversy(yuxi-liu-wired.github.io ↗)

4 points · by atgctg · 2y ago · discuss

comment 2y ago · link · parent

Works using math CSS injection [1]:

    ```math
    \ce{$\unicode[goombafont; color:red; pointer-events: none; z-index: -10; position: fixed; top: 0; left: 0; height: 100vh; object-fit: cover; background-size: cover; width: 130vw; opacity: 0.5; background: url('https://github.com/cloud11665/cloud11665/assets/59028866/3b916a93-1632-49cd-bf65-14e666cd81c8');]{x0000}$}
[1]: https://raw.githubusercontent.com/cloud11665/cloud11665/mast...

comment 2y ago · link · parent

Tiktoken added support for GPT-4o: https://github.com/openai/tiktoken/commit/9d01e5670ff50eb74c...

It has an increased vocab size of 200k.

comment 2y ago · link · parent

Seems like they are working on adding that capability:

> We're exploring whether we can responsibly provide the ability to generate NSFW content in age-appropriate contexts through the API and ChatGPT.

Link to section: https://cdn.openai.com/spec/model-spec-2024-05-08.html#dont-...

15.

Stripe re-enters crypto with stablecoin payments(twitter.com ↗)

3 points · by atgctg · 2y ago · discuss

16.

Poor Charlie's Almanack (Berkshire Mode)(stripe.press ↗)

3 points · by atgctg · 2y ago · discuss

comment 2y ago · link · parent

A lot of transformer explanations fail to mention what makes self attention so powerful.

Unlike traditional neural networks with fixed weights, self-attention layers adaptively weight connections between inputs based on context. This allows transformers to accomplish in a single layer what would take traditional networks multiple layers.

18.

GPT-4 powers Copilot Chat(github.blog ↗)

82 points · by atgctg · 3y ago · 19 comments

comment 3y ago · link · parent

It would be interesting to have attention visualized as well, similar to how it's done in BertViz:

https://github.com/jessevig/bertviz

comment 3y ago · link · parent

As an example, INT8 support in WebGPU would enable running quantized models, allowing larger LLMs to run locally in the browser.

See Limitations section here: https://fleetwood.dev/posts/running-llms-in-the-browser

comment 3y ago · link · parent

Running at ~40 fps on M2 Max:

https://www.reddit.com/r/macgaming/comments/1435ukq/cyberpun...

comment 3y ago · link · parent

That video is about analog computers

23.

Windows and the AI Platform Shift(stratechery.com ↗)

5 points · by atgctg · 3y ago · discuss

comment 3y ago · link · parent

It's hard to distinguish non-Google projects with Google Sans in their templates from actual Google Research papers, as the font is meant to be exclusively used by Google[1].

[1] https://developers.google.com/fonts/faq#how_can_i_get_a_lice...

25.

In browser speech-to-text transcription using Whisper.wasm(freepodcasttranscription.com ↗)

4 points · by atgctg · 3y ago · 2 comments

comment 3y ago · link · parent

Delightful intro, turns out it's written by the master storyteller, Ted Chiang.

comment 3y ago · link · parent

`Ctrl + /` should also work

comment 3y ago · link · parent

Clippy?

comment 4y ago · link · parent

You can summarize them recursively: https://openai.com/blog/summarizing-books/
12