Better HN
topnewbestaskshowjobs
Log inSign up

amanrs

3 karma · joined Apr 12, 2020 (6y ago) · 5 submissions

Submissions

comment 1y ago · link · parent

This is harder than it looks.

First "token-healing" doesn't work. Consider the case "app" where the most likely options are "ap|praisal" or "apple|sauce". You can't just sample all tokens that start with app, or you'd miss appraisal.

Second, it's easy to come up with a naive algorithm that samples from the true distribution. It's very difficult to make this algorithm efficient.

comment 2y ago · link · parent

It edits the file based on the "plan" laid out by a smarter language model

3.

Editing Files at 1000 tokens/s with llama-70B(cursor.com ↗)

10 points · by amanrs · 2y ago · 4 comments

comment 3y ago · link · parent

The key misconception about many quantization methods is that lower precision = better speed.

I believe GPT-Q is not much faster than bf16 from skimming the AWQ paper - https://arxiv.org/pdf/2306.00978.pdf

It's 3x faster for a batch size of 1, but that's still over 10x more expensive than gpt-3.5

For larger batch sizes, bf16 costs dip below 3-bit quantized.

5.

I built and shut down a popular text-to-image site in 2 weeks(amansanger.com ↗)

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