Charles C. Lee

113 posts

Charles C. Lee banner
Charles C. Lee

Charles C. Lee

@ReallyChar

also go by Charlie. staff eng @ Shopify working on all things magic ✨. Would love to hear about what you’re building!

Gestures broadly at the web Katılım Şubat 2014
474 Takip Edilen76 Takipçiler
Charles C. Lee retweetledi
Evadne W.
Evadne W.@evadne·
Recursive Language Models with Elixir. Of course. The solution was in front of us all this time.
Evadne W. tweet media
English
5
10
116
9.8K
Charles C. Lee retweetledi
will brown
will brown@willccbb·
if you’re building a RAG system in 2025 just build a good search engine backend + let the model query it
English
80
73
2.2K
371.4K
Charles C. Lee retweetledi
Greg Kamradt
Greg Kamradt@GregKamradt·
How structured outputs work under the hood (via breakout at OpenAI DevDay) Guess why the first structured output request is slow, but the 2nd+ is fast? Engineering: * Unconstrained token decoding isn't good. The model could pick any token. * Limiting which tokens can be produced next is what works. They use "token masking" for this. Constrains the token which are picked at the end of sampling * After generating probabilities with a forward pass, ignore (or mask) tokens you know aren't applicable. * Mask tokens need updating at every step of the inference. Needs to be really fast. Mask determination happens on the CPU. Needs it to be as quick, as quick as time between tokens. <10ms * They build up an index with the JSON schema you apply to speed up mask making * Index Making: Grammar > Parser > Iterate over all tokens and parse states > Index. Index once, cache later. First query to structured outputs go slow, then the 2nd+ query is quick. * Recursive schema makes this hard. But they believe they will be a big deal so they are moving towards it. * CFG: Context Free Grammar approach. Regular expression + stack. Their attempt at indexing Research * Retraining and fine tuning gets you to 100% schema adherence API Design * Additional properties: What do you do with properties that were note defined in the schema? Decided to disallow them * Design principle, be explicit instead of implicit. Requiring developers to set properties. It's harder to use, but communication is more clear * Design principle: All properties are design by default. It makes optional params nullable * Decided to generate fields in the same order they were defined in the schema, this helps with requiring chain of thought for structured outputs
Greg Kamradt tweet mediaGreg Kamradt tweet mediaGreg Kamradt tweet media
English
11
69
521
83.3K
Charles C. Lee retweetledi
Harrison Chase
Harrison Chase@hwchase17·
❓What is an agent? I get asked this question a lot, so I wrote a little blog on this topic and other things: - What is an agent? - What does it mean to be agentic? - Why is “agentic” a helpful concept? - Agentic is new Check it out here: blog.langchain.dev/what-is-an-age…
Harrison Chase tweet mediaHarrison Chase tweet mediaHarrison Chase tweet mediaHarrison Chase tweet media
English
14
41
328
57.7K
Charles C. Lee retweetledi
Morten Just
Morten Just@mortenjust·
This is fast. Chrome running Gemini locally on my laptop. 2 lines of code.
English
269
1.8K
20.5K
3M
Charles C. Lee retweetledi
☼░▒▅
☼░▒▅@thatboyweeks·
@mortenjust Query expansion like this could be promising
English
4
1
22
23.1K
Charles C. Lee retweetledi
Ethan Mollick
Ethan Mollick@emollick·
This is an interesting overview of what it is like to actually build production software with today's LLMs. It also shows how weird LLMs are to work with from a software perspective & how much we have to learn. It is why I stress co-intelligence for now. oreilly.com/radar/what-we-…
English
9
89
510
69.6K
Charles C. Lee
Charles C. Lee@ReallyChar·
@CharlesSchwab loving the updates to the web platform! When will existing users be able to use ToS with their Schwab assets?
English
1
0
0
0
Charles C. Lee
Charles C. Lee@ReallyChar·
@Apple the iCloud web beta is fantastic. Hoping this comment serves as one more data point to keep whatever investment in this type of work going. 🙏
English
0
0
0
0
Charles C. Lee
Charles C. Lee@ReallyChar·
@LtSquigs Gotta get one of those mobos that have visual error codes on board.
English
0
0
1
0
Charles C. Lee
Charles C. Lee@ReallyChar·
@wongmjane Really hoping this is an instance of "it's gonna get worse before it gets better".
English
0
0
2
0
Jane Manchun Wong
Jane Manchun Wong@wongmjane·
Still zoning out trying to process the past 24 hours. Anyone else?
English
18
3
210
0
Maria Ers
Maria Ers@mariaersh·
@ReallyChar @ian_eck @jtmorehead_ @joulee Totally agree, I use Bear.app a lot and offline mode is a huge differentiator from notion. One issue I find with Bear is if I don't hashtag a specific note it could be hard to search for a that note later on. It can get cluttered pretty quickly.
English
1
0
0
0
Julie Zhuo
Julie Zhuo@joulee·
Which tech products do you use because it's more convenient, even though you know there's something higher quality out there that does the same job?
English
50
5
66
0
Maria Ers
Maria Ers@mariaersh·
@ian_eck @jtmorehead_ @joulee I would disagree for a personal use case, haven't used it for professional work though. Notion substituted multiple excel spreadsheets that I keep and made it more use friendly for me.
English
1
0
0
0
Charles C. Lee
Charles C. Lee@ReallyChar·
@centralcomputer No need to be sorry, stock is limited. Glad the shops were taking safety precautions. Better luck next time. 🤞
English
0
0
1
0
Andrew Ng
Andrew Ng@AndrewYNg·
What are your favorite AI technology breakthroughs or demos from the past year? Would love to hear particularly if there's something you think not many others have heard of yet.
English
146
255
1.9K
0