
Passion for #AIops #QuantifiedSelf #DeepLearning Co-founder/CTO Cake AI. HPE, MAPR, IBM alumni. All opinions my own
Brooklyn, NY
Joined May 2008
- Tweets1.2K
- Following555
- Followers477
- Likes162
Skyler Thomas retweeted
New case study: Learn how Cake “cut a year off the product development lifecycle” for a leading R&D platform in the materials science industry.
cake.ai/blog/case-study-mate…
Skyler Thomas retweeted
DeepSeek's launch represented more than an incremental improvement - it unlocked entirely new possibilities.
Check out our latest post on how DeepSeek provides the missing piece in the architectural puzzle for truly real-time RAG applications: cake.ai/blog/how-deepseek-ma…
Skyler Thomas retweeted
[New Case Study] How Ping Manages MLOps with Cake
Ping, a data intelligence company, uses Cake to process unstructured data for more accurate property insurance quotes.
Learn how their small team saved 3 FTE engineers and doubled operational efficiency: cake.ai/blog/ping-data-intel…
Skyler Thomas retweeted
New on the blog, @skythomas outlines the 6 principles of Cake’s platform that drive our goal - to bridge the gap between cutting-edge AI and those who stand to gain the most from it.
cake.ai/blog/unlocking-front…
Skyler Thomas retweeted
Google’s Gradient backs Cake, a managed open-source AI infrastructure platform tcrn.ch/4fWmVXJ
Skyler Thomas retweeted
Claude 3 takes on the Tokenization book chapter challenge :) context: nitter.cf/karpathy/status/…
Definitely looks quite nice, stylistically!
If you look closer there are a number of subtle issues / hallucinations. One example there is a claim that "hello world" tokenizes into 3 tokens "hello" (token 31373), " " space (token 318), and "world" (token 984). Which is actually a pretty bad mistake because the unintuitive crux of the issue here is that whitespaces are prefixes in GPT tokens, so it should be "hello" and " world" (note space in front). Understanding this detail and its ramifications is important e.g. later leading to the "trailing whitespace" error message, to unstable tokens, to the need/desire for a "add_dummy_prefix" setting in sentencepiece, etc.
Anyway, it's still really impressive that this close to works almost off the shelf!
I'm looking forward to playing with Claude 3 more, it looks like a strong model. If there is anything related that I have to get off my chest it's that people should be *extremely* careful with evaluation comparisons, not only because the evals themselves are worse than you think, but also because many of them are getting overfit in undefined ways, and also because the comparisons made are frankly misleading. GPT-4 is not 67% on coding (HumanEval). Whenever I see this comparison made to stand in for coding performance, the corner of my eye starts twitching.
Claude 3 Opus is great at following multiple complex instructions.
To test it, @ErikSchluntz and I had it take on @karpathy's challenge to transform his 2h13m tokenizer video into a blog post, in ONE prompt, and it just... did it
Here are some details:
Skyler Thomas retweeted
Modeling the world for action by generating pixel is as wasteful and doomed to failure as the largely-abandoned idea of "analysis by synthesis".
Decades ago, there was a big debate in ML about the relative advantages of generative methods vs discriminative methods for classification.
Learning theorists, such as Vapnik, argued against generative methods, pointing out that training a generative modeling was a way more difficult than classification (from the sample complexity standpoint).
Regardless, a whole community in computer vision was arguing that recognition should work by generating pixels from explanatory latent variables. At inference time, one would infer the configuration of latent variables that generated the observed pixels.
The inference method would use optimization: e.g. use a 3D model of an object and try to find the pose parameters that reproduce the image.
This never quite worked, and it was very slow.
Later, some people converted to the Bayesian religion and tried to use Bayesian inference for the latent (e.g. using variational approximations and/or sampling).
At some point, when Non-Parametric Bayes and Latent Dirichlet Allocation became the rage in text modeling, some folks heroically attempted to apply that to object recognition from images.
>>> THIS WAS A COMPLETE AND UTTER FAILURE <<<
If your goal is to train a world model for recognition or planning, using pixel-level prediction is a terrible idea.
Generation happens to work for text because text is discrete with a finite number of symbols. Dealing with uncertainty in the prediction is easy in such settings. Dealing with prediction uncertainty in high-dimension continuous sensory inputs is simply intractable.
That's why generative models for sensory inputs are doomed to failure.
Skyler Thomas retweeted
- Everyone's talking about AI
- Everyone's asking for stuff to happen
- Everyone's investigating it
But VERY few are actually getting any real value out of it right now.
The next few years are going to be incredible.
Skyler Thomas retweeted
Pandas is a powerful data analysis and manipulation library for Python!
NVIDIA just made Pandas 150x faster with zero code changes🔥
All you have to add is just a couple of lines of code:
%load_ext cudf.pandas
import pandas as pd
Thread🧵👇
Skyler Thomas retweeted
I touched on the idea of sleeper agent LLMs at the end of my recent video, as a likely major security challenge for LLMs (perhaps more devious than prompt injection).
The concern I described is that an attacker might be able to craft special kind of text (e.g. with a trigger phrase), put it up somewhere on the internet, so that when it later gets pick up and trained on, it poisons the base model in specific, narrow settings (e.g. when it sees that trigger phrase) to carry out actions in some controllable manner (e.g. jailbreak, or data exfiltration). Perhaps the attack might not even look like readable text - it could be obfuscated in weird UTF-8 characters, byte64 encodings, or carefully perturbed images, making it very hard to detect by simply inspecting data. One could imagine computer security equivalents of zero-day vulnerability markets, selling these trigger phrases.
To my knowledge the above attack hasn't been convincingly demonstrated yet. This paper studies a similar (slightly weaker?) setting, showing that given some (potentially poisoned) model, you can't "make it safe" just by applying the current/standard safety finetuning. The model doesn't learn to become safe across the board and can continue to misbehave in narrow ways that potentially only the attacker knows how to exploit. Here, the attack hides in the model weights instead of hiding in some data, so the more direct attack here looks like someone releasing a (secretly poisoned) open weights model, which others pick up, finetune and deploy, only to become secretly vulnerable.
Well-worth studying directions in LLM security and expecting a lot more to follow.
New Anthropic Paper: Sleeper Agents.
We trained LLMs to act secretly malicious. We found that, despite our best efforts at alignment training, deception still slipped through.
arxiv.org/abs/2401.05566
Skyler Thomas retweeted
Microsoft breaks the SOTA for embedding models!
Using quick & simple training run synthetic data.
---
Paper: arxiv.org/pdf/2401.00368.pdf
Model: huggingface.co/intfloat/e5-m…
Dataset (by @andersonbcdefg): huggingface.co/datasets/ande…
---
Semantic search models are very hard to get "right".
Oftentimes they require complex multi-stage training:
1. First train on general language data.
2. Then on smaller a labeled dataset.
This is because obtaining large dataset for "fetching tasks" is very hard. (and expensive)
But.
What if we could just ask an LLM to:
1. "Generate text retrieval tasks"
2. "Generate relevant document for the task"
3. "Generate hard negative document for the task"
Then simply train the LLM with contrastive loss.
In this paper the authors fine tuned Mistral-7B.
They trained both on synthetic data alone and on a mixture of synthetic and labeled data.
Result: World record!
Top of Huggingface Leaderboard.
An absolutely amazing idea.
Simple and powerful.
---
My own opinion:
This might be a pivotal moment for RAGs!
From my experience:
RAGS in real life are VERY hard to get right.
They are VERY sensitive to the performance of the embedding model.
It it fetch the wrong context, the generator model has nothing to do that can fix it.
So far, no "off the shelf" model worked good enough for me and always required further fine-tuning.
So this might be the pivotal moment for RAGs.
Now everyone can generate their own dataset with ease and train a powerful embeddings models.
Again,
Amazing Amazing Amazing!
---
Thank you to @andersonbcdefg for pointing out!
This is an important paper.
---
Skyler Thomas retweeted
Recent research in open-source LLMs has made paid APIs much less enticing (though not hosting your own model is still nice). So much is possible if we are willing to fine-tune on some task-specific data! Here are a few examples to support my point... 🧵[1/6]
Skyler Thomas retweeted
Today, I'm announcing Alexandria, an open-source initiative to embed the internet.
To start, we're releasing the embeddings for every research paper on the Arxiv. That's over 4m items, 600m tokens, and 3.07 billion vector dimensions.
We're not stopping here.
Skyler Thomas retweeted
QLoRA: 4-bit finetuning of LLMs is here! With it comes Guanaco, a chatbot on a single GPU, achieving 99% ChatGPT performance on the Vicuna benchmark:
Paper: arxiv.org/abs/2305.14314
Code+Demo: github.com/artidoro/qlora
Samples: colab.research.google.com/dr…
Colab: colab.research.google.com/dr…
Skyler Thomas retweeted
Finetuning LLMs to call APIs
Present Gorilla, a finetuned LLaMA-based model that surpasses GPT-4 on writing API calls. This capability can help identify the right API, boosting the ability of LLMs to interact with external tools to complete specific tasks.
Huge potential for LLMs like Gorilla to keep improving capabilities in LLMs and reduce problems related to hallucination and reliability.
paper: arxiv.org/abs/2305.15334
web: gorilla.cs.berkeley.edu/
Skyler Thomas retweeted
Added arbitrary context free grammar constraints to llama.cpp
Can now plug in any llama.cpp compatible model and give an exact grammar spec: JSON, etc
Excited to use with more powerful local models as they are released
Thanks @ggerganov & friends for such a wonderful project.
Skyler Thomas retweeted
Promising. Everyone should hope that we can throw away tokenization in LLMs. Doing so naively creates (byte-level) sequences that are too long, so the devil is in the details.
Tokenization means that LLMs are not actually fully end-to-end. There is a whole separate stage with its own training and inference, and additional libraries. It complicates the ingest of additional modalities. Tokenization also has many subtle sharp edges. Few examples:
That "trailing whitespace" error you've potentially seen in Playground? If you end your (text completion API) prompt with space you are surprisingly creating a big domain gap, a likely source of many bugs:
blog.scottlogic.com/2021/08/…
Tokenization is why GPTs are bad at a number of very simple spelling / character manipulation tasks, e.g.:
nitter.cf/npew/status/1525…
Tokenization creates attack surfaces, e.g. SolidGoldMagikarp, where some tokens are much more common during the training of tokenizer than they are during the training of the GPT, feeding unoptimized activations into processing at test time:
lesswrong.com/posts/aPeJE8bS…
The list goes on, TLDR everyone should hope that tokenization could be thrown away. Maybe even more importantly, we may find general-purpose strategies for multi-scale training in the process.
MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformers
abs: arxiv.org/abs/2305.07185
paper page: huggingface.co/papers/2305.0…
Skyler Thomas retweeted
Don't miss this new DM Radio episode on Kubernetes and Apache Kafka: The New Enterprise Norms with guest @skythomas from MapR.
https://nitter.cf/t.co/AwXtzyI5oC @eric_kavanagh #kubernetes #apachekafka #DMRadio
Skyler Thomas retweeted
🚨 LETS GET THE COWBOYS TO THE PRO BOWL 🚨
Every retweet is a #ProBowlVote for each member of the #Cowboys:
@EzekielElliott
@AmariCooper9
@thegob70
@dak
@TankLawrence
@TCrawford98
@AntwaunWoods_
@VanderEsch38
@thejaylonsmith
@Byron31Jump
🗣 RETWEET TO VOTE



























