Better HN
topnewbestaskshowjobs
Log inSign up

saurabh20n

582 karma · joined Oct 13, 2014 (12y ago) · 151 submissions

Building foundational code models @ Essential AI.

Founder, Synthetic Minds YC S'18 - Program synthesis for desktop automation https://warpdrive.co

Founder, 20n YC W'15 - Program synthesis for synthetic biology: http://20n.com

Postdoc (UC Berkeley): Program synthesis for cell designs to engineer cells using synthetic biology.

PhD (University of Maryland): Program synthesis.

Personal page: http://www.saurabh-srivastava.com

Submissions

1.

Starlink satellites on ion thrusters to raise orbit; incomplete 2nd stage burn(twitter.com ↗)

3 points · by saurabh20n · 2y ago · discuss

2.

New Scientist: Arc-AGI(newscientist.com ↗)

1 points · by saurabh20n · 2y ago · discuss

comment 2y ago · link · parent

Looks like you’re one of the authors.

It would be nice if you could post if the actual data matches your reconstruction—now that you have it in hand. Would help us not worry about the data provenance and focus on the result you found.

comment 3y ago · link · parent

Discussion of the 72B model happening here: https://news.ycombinator.com/item?id=38475501

5.

Qwen OSS 7B,14B models; techreport - Code-Qwen, Math-Qwen [sep28'23](arxiv.org ↗)

1 points · by saurabh20n · 3y ago · 1 comment

comment 3y ago · link · parent

Summary from https://arxiv.org/pdf/2309.16609.pdf --- (q: how does one format lists on HN?)

* qwen-{1.8B,7B,14B}:

  * 3 trillion tokens; start with BPE tiktoken, cl100k base vocab, augmented with chinese, numbers split into digits, final vocab 152k.

  * RoPE - rotary positional embedding

  * context length 2048

  * qwen-14b perf percentages: 66.3 MMLU(5), 72.1 CEval(5), 61.8 GSM8K(8), 24.8 MATH(4), 32.3 HumanEval(0), 40.8 MBPP(3), 53.4 BBH(3); beats LLaMA2-13B on all, but behind LLaMA2-70B on all except CEval, MATH and HumanEval (somewhat surprising)
* code-qwen-{7B,14B}

  * additional 90B code tokens over base

  * context length 8192, flash attention

  * 14B perf: humaneval 66.4, mbpp 52.4; ok, but not stellar (similar numbers as OSS wizardcoder-py, and lower than gpt-3.5)
* math-qwn-{7B,14B}-chat

  * math instructional dataset

  * context length 1024

  * 14B perf: gsm8k 69.8, MATH 24.2, Math401 85.0, Math23K 78.4 (substantially better than OSS in the same weight class (WizardMath and GAIRMath-Abel) on MATH but same ballpark on GSM8k -- surprising). Math23K is chinese grade school math; and Math401 is arithmetic ability.
* comprehensive automatic evaluation in Appendix A.2.1 pg 36 (based on OpenCompass'23)

* chat format: <|im_start|>system You are a helpful assistant.<|im_end|> <|im_start|>user Hello!<|im_end|> <|im_start|>assistant Hello! How can I assist you today?<|im_end|>

comment 3y ago · link · parent

actual title: “Prompting Frameworks for Large Language Models: A Survey”

LLM frameworks might imply stack for building models (pertaining, fine tuning, inference etc)

comment 3y ago · link · parent

Notes from quick read of paper at https://arxiv.org/abs/2302.10866. Title of popsci is overreaching, this is a drop-in subquadratic replacement for attention. Could be promising, but to be seen if it is adopted in practice. skybrian (https://news.ycombinator.com/item?id=35657983) points out new blog post by authors, and prev discussion of older (march 28th) blog post. Takeaways:

* In standard attention in transformers, cost scales quadratically with length of sequence, which restricts model context. This work presents subquadratic exact operator allowing it to scale to larger contexts (100k+).

* They introduce an operator called "Hyena hierarchy", a recurrence over 2 subquadratic operations: long convolution, and element-wise mul gating. Sec 3.1-3.3 define the recurrences, matrices, and filters. This is importantly, a drop in replacement for attention.

* Longer context: 100x speedup over FlashAttention at 64k context (if we view flash attention as an non-approx engg optimization, then this work is improving algorithmically, and getting OOM over that). Associate recall, i.e., just pull data, show improvements: Experiments on 137k context, and vocab sizes of 10-40 (unsure why they have bad recall on small length sequence with larger vocab, but they still outperform others)

* Comparisons (on relatively small models, but hoping to show pattern) with RWKV (attention-free model, trained on 332B tokens), GPTNeo (trained on 300B tokens), with Hyena trained on 137B tokens. Models are 125M-355M sized. (Section 4.3)

* On SuperGLUE, zero-shot and 3-shot accuracy is ballpark similar to GPTNeo (although technically they underperform a bit for zero-shot and overperform a bit for 3-shot). (Table 4.5 and 4.6)

* Because they can support large (e.g., 100k+) context, they can do image classification. They report ballpark comparable against others. (Table 4.7)

Might have misread some takeaways; happy to be corrected.

9.

Modular: Unified Matrix Multiplication(modular.com ↗)

3 points · by saurabh20n · 3y ago · discuss

10.

Teaching Large Language Models to Self-Debug(arxiv.org ↗)

95 points · by saurabh20n · 3y ago · 60 comments

11.

Evaluating the Logical Reasoning Ability of ChatGPT and GPT-4(arxiv.org ↗)

44 points · by saurabh20n · 3y ago · 60 comments

12.

Self-Refine: Iterative Refinement with Self-Feedback(arxiv.org ↗)

3 points · by saurabh20n · 3y ago · discuss

comment 3y ago · link · parent

Congrats on the launch. I think you should share some technical details for a more substantial pitch. You are using the OSS BigCode effort and "The Stack" [1, 2] (as you say in another comment), which is great.

A few questions that might help an enterprise customer: How big is your base model? Where did you find more datasets (maybe just a hint would be sufficient)? Are you using SantaCoder [3]? Anything you can say about your fine-tuning that makes it special? Totally on board with you that HumanEval/MBPP are not great benchmarks for real world, and do you have a suggested alternative to help me see the value?

The calculus for an enterprise customer might be: "We could fine tune a 6B model on our internal code and internal benchmarks (say with a month of work, a few thousand in compute, 2 people on task), but I'd rather buy an off-the-shelf solution like codecomplete.ai. They give us XYZ benefits." Articulate the XYZ for a technical decision maker who will be your target audience.

* [1] https://huggingface.co/datasets/bigcode/the-stack

* [2] https://arxiv.org/abs/2211.15533

* [3] https://huggingface.co/bigcode/santacoder

comment 3y ago · link · parent

Quick notes from first glance at paper https://research.facebook.com/publications/llama-open-and-ef...:

* All variants were trained on 1T - 1.4T tokens; which is a good compared to their sizes based on the Chinchilla-metric. Code is 4.5% of the training data (similar to others). [Table 2]

* They note the GPU hours as 82,432 (7B model) to 1,022,362 (65B model). [Table 15] GPU hour rates will vary, but let's give a range of $1 to $4. The 7B model would have cost ~$82-329k and the 65B something in the range of ~$1-4M. They also note their total time spent for all models: "we used 2048 A100-80GB for a period of approximately 5 months" [sec 6, pg 10]

* 65B model's performance is broadly comparable to PALM-540B. Not a small feat, but also could indicate the benefits of good model-vs-token size ratios [Tables 3,4,5,6]. Their conjecture for underperforming on MMLU (multitask language understanding) compared to PALM-540B and Chinchilla-70B is smaller fraction of books and academic training data.

* Math and code tasks: Math tasks they are substantially worse than Minerva (comparing their 65B to Minerva 62B; they hands down fail against Minerva 540B) [Table 7]. Code tasks they are broadly competitive with PALM-540B (HumanEval and MBPP evals) [Table 8]

* Surprising that instruction fine tuning takes such a small part of the paper (sec 4, pg. 7)

comment 3y ago · link · parent

The last author's tweet thread and replies have some interesting tidbits: https://twitter.com/Eric_Wallace_/status/1620449934863642624

* "We propose to extract memorized images by generating many times with the same prompt and flagging cases where many of the generations are the same."

* "- Diffusion models memorize more than GANs - Outlier images are memorized more - Existing privacy-preserving methods largely fail"

* "Stable Diffusion is small relative to its training set (2GB of weights and many TB of data). So, while memorization is rare by design, future (larger) diffusion models will memorize more."

* "It only memorizes a very small subset of the images that it trains on."

* "our goal is to show that models can output training images when generating in the same fashion that normal users do."

16.

Binance chain bug postmortem – Proof verifier bug(twitter.com ↗)

3 points · by saurabh20n · 4y ago · discuss

comment 4y ago · link · parent

For the curious, here are direct links:

* Initialization was done 42 days ago: https://etherscan.io/tx/0x53fd92771d2084a9bf39a6477015ef53b7... -- "Click to see More" and notice "Input Data" parameter [2] which sets _committedRoot to 0x00.

* Click through the To contract to get to the code (click on Contract tab): https://etherscan.io/address/0xb92336759618f55bd0f8313bd8436...

Just adding direct links to what samczsun and 0xfoobar are talking about in https://twitter.com/samczsun/status/1554260106107179010 and https://twitter.com/0xfoobar/status/1554269071214088193/phot...

comment 4y ago · link · parent

https://ericpony.github.io/z3py-tutorial/guide-examples.htm should be a quick start.

comment 4y ago · link · parent

For this problem, an enumerative solver may be more optimal (and faster); where optimality is finding the word with the least number of guesses: There are ~158k 5-letter words. Start with a word containing letters with the highest frequency of occurrence amongst 5 letter words (this prob distr is likely to be close to the distr in the english language). Make that guess. Eliminate any words containing black letters, or not having green letters in the right place, or missing a yellow letter. Pick the highest probability word from the remaining. Repeat.

This should almost always get you the answer in 3 guesses. [Edit: Realized after writing that 3 is too optimistic given you might not have enough constraints after the 2nd guess, and agree with dzdt's comment. 4 might be where we end up at.]

I would be curious to see the distribution of #guesses needed across the 158k words.

20.

DeFi Flash Loans: Why Flash Attacks Will Be the New Normal(medium.com ↗)

4 points · by saurabh20n · 5y ago · 1 comment

21.

What Are DeFi Flash Loan Attacks?(coinmarketcap.com ↗)

2 points · by saurabh20n · 5y ago · 1 comment

22.

Synthetic Minds (YC S18) is hiring a compiler engineer for program synthesis(workatastartup.com ↗)

by saurabh20n · 5y ago

23.

Synthetic Minds (YC S18) is hiring a compiler engineer for program synthesis(workatastartup.com ↗)

by saurabh20n · 5y ago

24.

Synthetic Minds (YC S18) is hiring a compiler engineer for program synthesis(workatastartup.com ↗)

by saurabh20n · 5y ago

25.

Synthetic Minds (YC S18) is hiring a compiler engineer for program synthesis(workatastartup.com ↗)

by saurabh20n · 5y ago

26.

Synthetic Minds (YC S18) is hiring a compiler engineer for program synthesis(workatastartup.com ↗)

by saurabh20n · 5y ago

comment 5y ago · link · parent

I just started using this library 2 weeks ago. It is beautiful. We were in python land, and dreading moving to C++ for performance. This is a life saver.

Not having to dig up COM UUIDs for interfaces is super nice. The lead developer of com-rs told me that com-rs is deprecated in favor of windows-rs (he works on both.)

123456