@anentropic@fosstodon.org (@anentropic) profile picture

Habitual Pythonist. Experienced Yak shaver. Mastodon: @anentropic@fosstodon.org Bluesky: @anentropic.bsky.social

London, UK
Joined November 2009
Photo by @anentropic@fosstodon.org (@anentropic)Photo by @anentropic@fosstodon.org (@anentropic)Photo by @anentropic@fosstodon.org (@anentropic)Photo by @anentropic@fosstodon.org (@anentropic)Photo by @anentropic@fosstodon.org (@anentropic)Photo by @anentropic@fosstodon.org (@anentropic)Photo by @anentropic@fosstodon.org (@anentropic)Photo by @anentropic@fosstodon.org (@anentropic)Photo by @anentropic@fosstodon.org (@anentropic)Photo by @anentropic@fosstodon.org (@anentropic)
I'm going to try actually leaving this time #TwitterX
83
@anentropic@fosstodon.org retweeted
Did you know that the backend of #MetaThreads is built with #Python 3.10? It's running on Instagram's #Cinder fork that includes a JIT, lazy-loaded modules, pre-compiled static modules, and a bunch of other interesting tweaks against vanilla Python 3.10. github.com/facebookincubator…
9
136
57
496
54,996
all the worst tweets on my timeline have blue ticks
1
35
"we asked ChatGPT to provide a joke a thousand times. We applied a predefined list of ten differently worded prompts..." ... with this methodology I think they were lucky to even get 25 distinct jokes, each prompt is going to have one most likely response. Doesn't tell us much
51
@anentropic@fosstodon.org retweeted
#Python tip: It is easy to forget that zip() has a useful corner case with only one input iterable: >>> list(zip('abc')) [('a',), ('b',), ('c',)] This is nicer than a list comprehension that builds 1-tuples: >>> [(x,) for x in 'abc'] [('a',), ('b',), ('c',)]
15
21
1
139
21,760
"Speakers positioned close to your ears deliver rich Spatial Audio while keeping you aware of your surroundings." ...and annoying anyone else in the room but there is no one else in the room, it's clearly a device only usable when alone
2
35
they appear to emit lines of coke though... amazing feature, though perhaps not the most convenient orientation
24
@anentropic@fosstodon.org retweeted
Interesting, I'd missed that Python gets a whole new generic syntax in 3.12 via the `type` statement. Looks very TypeScript-y. I think Ruff should be able to do automatic upgrades to this new syntax.
13
69
15
609
203,374
All of the innovative edge compute services using SQLite... how do you cope with db migrations in absence of transactional DDL? seems like a big mess waiting to happen (happening to me RN in low-stakes side-project)
1
48
will probably have to give this lib a go on a future project: jcristharif.com/msgspec/benc… (e.g. vs Pydantic)
53
@anentropic@fosstodon.org retweeted
llm, ttok and strip-tags—CLI tools for working with ChatGPT and other LLMs I've been putting together a fun suite of CLI tools for working with the OpenAI APIs - here's what I've got so far: simonwillison.net/2023/May/1…
23
65
11
572
131,932
"It shows an approximate improvement of x10 over Node and x6 over Bun"
41
@anentropic@fosstodon.org retweeted
ReLLM on GitHub: Exact structure out of any language model. Works on any huggingface-transformers model, and more to come soon. Run the examples locally on GPT2. Pip install. github.com/r2d4/rellm
1
3
1
45
3,077
@anentropic@fosstodon.org retweeted
AI interfaces should go beyond a chatbot: generative UI is next. Here's a demo of a library for LLMs that I've been working on. It prompts models with a vocabulary of rich components described using natural language. Presented at @causalislands last week.
46
138
63
970
186,195
I had similar idea after playing with Langchain a bit, but they implemented & automated it! "DSP can compile your program into a much cheaper version in which LM calls are transparently replaced with calls to a tiny LM created by the DSP runtime." github.com/stanfordnlp/dsp
1
8
639
@anentropic@fosstodon.org retweeted
pgvector is now available on Amazon RDS 🔥
Power a personalized customer experience with #GenerativeAI. ☁️👩‍💻💡 With open-source extension pgvector, simply search & store embeddings on #AmazonRDS for PostgreSQL—efficiently querying large datasets to help build a better user experience. #AWS 👉 go.aws/422ZtBl
9
8
2
107
18,910
@anentropic@fosstodon.org retweeted
Leaked Internal Google Document Claims Open Source AI Will Outcompete Google and OpenAI: semianalysis.com/p/google-we…
6
2
37
5,056
@anentropic@fosstodon.org retweeted
Jsonformer supports a subset of JSON Schema, including number, boolean, string, array, and object types. It's built on top of the HuggingFace transformers library, making it compatible with any model that supports the HuggingFace interface. Try it — github.com/1rgs/jsonformer
4
7
1
63
7,571