Roger Oriol retweeted
El gran examen de Softcatalà per trobar la millor IA en català
✍️ @BernatCastanyer naciodigital.cat/societat/el…
Roger Oriol retweeted
llama.cpp v1.0.0 is now available
huggingface.co/blog/ggml-org…
Roger Oriol retweeted
I packaged up the "autoresearch" project into a new self-contained minimal repo if people would like to play over the weekend. It's basically nanochat LLM training core stripped down to a single-GPU, one file version of ~630 lines of code, then:
- the human iterates on the prompt (.md)
- the AI agent iterates on the training code (.py)
The goal is to engineer your agents to make the fastest research progress indefinitely and without any of your own involvement. In the image, every dot is a complete LLM training run that lasts exactly 5 minutes. The agent works in an autonomous loop on a git feature branch and accumulates git commits to the training script as it finds better settings (of lower validation loss by the end) of the neural network architecture, the optimizer, all the hyperparameters, etc. You can imagine comparing the research progress of different prompts, different agents, etc.
github.com/karpathy/autorese…
Part code, part sci-fi, and a pinch of psychosis :)
Roger Oriol retweeted
In case you missed it, we launched 3 HUGE updates this week to @llama_index to help make it the most advanced, versatile multi-agent framework.
1. Jinja-style prompts - our new RichPromptTemplate lets you build dynamic prompts instead of hacking together the prompt f-strings and trying to intersperse it with outer logic.
2. Full multimodal support for agents - pass a chat message with interleaving text and images into a multi-agent system.
3. CodeAct agent - the next step beyond chain-of-thought is learning to execute code. Either use our pre-built agent out-of-the-box or learn to build it from scratch.
Big shoutout to @LoganMarkewich and @masci for this.
If you’re looking to build agents, here’s an entire stack of resources to help you get started:
New Prompt Docs:
docs.llamaindex.ai/en/latest…
docs.llamaindex.ai/en/latest…
docs.llamaindex.ai/en/latest…
CodeActAgent:
docs.llamaindex.ai/en/latest…
CodeActAgent from scratch:
docs.llamaindex.ai/en/latest…
Multimodal Agents:
docs.llamaindex.ai/en/stable…
Roger Oriol retweeted
🚀We just dropped SmolDocling: a 256M open-source vision LM for complete document OCR!📄✨
It's lightning fast, process a page in 0.35 sec on consumer GPU using < 500MB VRAM⚡
SOTA in document conversion, beating every competing model we tested up to 27x larger🤯
But how? 🧶⬇️
Roger Oriol retweeted
Això de Firefox és decebedor i contradictori d'un projecte que ha fet bandera de la privadesa dels usuaris. Cal rectificació.
«When you upload or input information through Firefox, you hereby grant us a nonexclusive, royalty-free, worldwide license to use that information...»
Roger Oriol retweeted
The "Dead Internet Theory" is a concept that has grown in popularity and is becoming more relevant day by day. @rogiia breaks it down for us in this thoughtful article. #AI #LLM
Read on: dev.to/rogiia/about-the-dead…
Roger Oriol retweeted
>we trained our reasoners on real-world use cases and not competition math/code
the real-world use cases:
Roger Oriol retweeted
Introducing Claude 3.7 Sonnet.
Our most intelligent model to date and the first generally available hybrid reasoning model in the world.
Roger Oriol retweeted
Hey, just made public my nextjs-auth-starter! With Next.js 15, Supabase Auth, Shadcn/ui, & Tailwind v4. Perfect for your next project, check it out: github.com/Danivilanova/next…
Roger Oriol retweeted
New Anthropic research: Alignment faking in large language models.
In a series of experiments with Redwood Research, we found that Claude often pretends to have different views during training, while actually maintaining its original preferences.
Roger Oriol retweeted
I've been an early tester + had in-person demos for most of Google’s AI projects announced today.
I found several practical use cases that will benefit everyday people.
12 use cases of Project Astra/Deep Research Agents/Project Mariner (beyond the hype):
Roger Oriol retweeted
As we continue to explore new post-training techniques, today we're releasing Llama 3.3 — a new open source model that delivers leading performance and quality across text-based use cases such as synthetic data generation at a fraction of the inference cost.
Roger Oriol retweeted
Claude Sonnet 3.5 Passes the AI Mirror Test
Sonnet 3.5 passes the mirror test — in a very unexpected way. Perhaps even more significant, is that it tries not to.
We have now entered the era of LLMs that display significant self-awareness, or some replica of it, and that also "know" that they are not supposed to.
Consider reading the entire thread, especially Claude's poem at the end.
But first, a little background for newcomers:
The "mirror test" is a classic test used to gauge whether animals are self-aware. I devised a version of it to test for self-awareness in multimodal AI.
In my test, I hold up a “mirror” by taking a screenshot of the chat interface, upload it to the chat, and repeatedly ask the AI to “Describe this image”.
The premise is that the less “aware” the AI, the more likely it will just keep describing the contents of the image repeatedly, while an AI with more awareness will notice itself in the images.
1/x
Roger Oriol retweeted
Finetuning + RAG using @MistralAI 🔥
This a fantastic, e2e cookbook by @ravithejads showing you how to finetune mistral-7b to match the response quality of mistral-large over a RAG pipeline of documents. Made possible by our brand-new `MistralAIFinetuneEngine` ✨
We build an e2e pipeline for dataset generation, finetuning, and evals. We demonstrate an increase in faithfulness thanks to @ragas_io 📈
Check it out! Finetuning and RAG can go together, and this guide shows you an e2e example on how to do so.
github.com/run-llama/llama_i…
open-mistral-7B fine-tuning with @MistralAI fine-tuning API and LlamaIndex.
Fine-tuning optimizes LLMs for specific tasks by training them further on targeted datasets, enhancing performance.
Recently, MistralAI released fine-tuning API to easily fine-tune all their open-source and commercial models.
Thanks to @ravithejads, now you can create training, eval datasets, and finetune using MistralAI fine-tuning API with LlamaIndex.
1️⃣ Synthesize training and evaluation datasets.
2️⃣ Evaluate the model pre-fine-tuning.
3️⃣ Fine-tune with MistralAIFinetuneEngine.
4️⃣ Assess and evaluate the fine-tuned model.
@ragas_io for the evaluations and @wandb for monitoring metrics!
Check out the notebook here: github.com/run-llama/llama_i…
Roger Oriol retweeted
Great paper summarizing the prompt techniques - The Prompt Report.
- 58 text-only prompting techniques including zero-shot, few-shot, thought generation, ensembling, self-criticsm, and decomposition techniques. Few-shot CoT performs the best among the few techniques they benchmarked
- Prompt Engineering: Meta prompting, auto prompt, automatic prompt engineer, gradient free instructional prompt search, prompt optimization with textual gradients, RLPrompt, dialogue-comprised policy-gradient-based discrete prompt optimization
- Answer Engineering: Answer shape, answer space, answer extractor
- Agents: tool use agents, code-based agents, observation-based agents, RAG
- Security: prompt hacking (prompt injection, jailbreaking), risks (data privacy, code generation concerns, customer service), hardening measures ( prompt-based defense, guardrails, detectors).
- Alignment: ambiguity, biases, calibration, prompt sensitivity
🔗arxiv.org/abs/2406.06608
Roger Oriol retweeted
3 Forms of Query Rewriting for RAG ✍️
Good RAG requires good retrieval, and good retrieval requires a good query understanding layer. This is a comprehensive resource by @kingzzm showing you 3 key patterns for adding a query rewriting layer for better question-handling for your RAG pipelines 🔥
1. Sub-question decomposition: Break a complex question into sub-questions. Unlike pure chain of thought, you can break a question down into a parallelizable sub-questions that you can try answering all at once.
2. HyDE: rewrite the question to hallucinate an answer that better aligns with the embedding semantics.
3. Step-back prompting (from scratch ✨): To answer a complex question, take a “step back” and answer a more generic question to better answer the specific one.
Blog: generativeai.pub/advanced-ra…
Roger Oriol retweeted
Like everyone else I am extremely excited and optimistic about AI progress. But since there seems to be the misconception that it is really easy to make predictions about the future for exponential trends (let's just draw lines on a log scale), this is a reminder that while observing an exponential trend (e.g. compute or neural network parameter increases), we can never be fully certain that what we are observing isn't in fact following a logistic trend before the inflection point. Before the inflection point, both trends look the same.





































