Log inSign up
Maxime Rivest πŸ§™β€β™‚οΈπŸ¦™πŸ§
7,445 posts
user avatar
Maxime Rivest πŸ§™β€β™‚οΈπŸ¦™πŸ§
@MaximeRivest
Searching for the wise way to interact with AI. Experiments are on GitHub Chat bot are likely not it. DSPy is probably onto something, so I contribute to it.
Ottawa πŸ‡¨πŸ‡¦
github.com/MaximeRivest
Joined January 2018
919
Following
6,732
Followers
  • Pinned
    user avatar
    Maxime Rivest πŸ§™β€β™‚οΈπŸ¦™πŸ§
    @MaximeRivest
    May 15
    Article cover image
    Article
    A Simple Explanation of What DSPy Can Teach You About AI Engineering
    Exactly one year ago, I tried DSPy for the first time. It felt magical. It took me a whole year of wanting to look into it before I finally sat down one morning and actually ran the example snippets...
    76K
  • user avatar
    Maxime Rivest πŸ§™β€β™‚οΈπŸ¦™πŸ§
    @MaximeRivest
    Aug 24, 2025
    Honey, if we buy 2 gpus (for 35 000$) we could probably save 200$/month in AI subscriptions, what do you think?
    439K
  • user avatar
    Maxime Rivest πŸ§™β€β™‚οΈπŸ¦™πŸ§
    @MaximeRivest
    Oct 12, 2025
    Chrome DevTools is, by far, my favorite mcp server. By running these 2 commands in your terminal, you get to have Claude Code come into your browser with full power: Launch a chrome browser: > google-chrome --remote-debugging-port=9222
    282K
  • user avatar
    Maxime Rivest πŸ§™β€β™‚οΈπŸ¦™πŸ§
    @MaximeRivest
    Oct 16, 2025
    This reminds me how Anthropic was the first to introduce: Projects Canvas Computer Use Coding CLI MCP and now Skills. We can say many things about Anthropic, but we cannot say that they don't actively innovate and share regarding LLM usage and ergonomics.
    user avatar
    Claude
    Anthropic
    @claudeai
    Oct 16, 2025
    Claude can now use Skills. Skills are packaged instructions that teach Claude your way of working.
    00:00
    169K
  • user avatar
    Maxime Rivest πŸ§™β€β™‚οΈπŸ¦™πŸ§
    @MaximeRivest
    Oct 5, 2025
    This morning, I thought I'd push Claude Code a little. I asked it to get speech-to-text running on my laptop using NVIDIA's 0.6b Parakeet model. Less than two hours later, I had speech-to-text better than OpenAI's Whisper running locally on my laptop CPU, transcribing as a
    304K
  • user avatar
    Maxime Rivest πŸ§™β€β™‚οΈπŸ¦™πŸ§
    @MaximeRivest
    Aug 18, 2025
    Today, I pruned 87.24% of Qwen 30B for a sentiment classification task while keeping 100% of its accuracy. This means we get to use big models on gpus with not that much RAM (potentially running models that would normally require an H100 on 3090 type gpus)! Imagine pruning
    186K
  • user avatar
    Maxime Rivest πŸ§™β€β™‚οΈπŸ¦™πŸ§
    @MaximeRivest
    Jun 3, 2025
    Article cover image
    Article
    A simple introduction to DSPy
    Whole script at the end. DSPy is simple and powerful. It is the best way to build LLM software right now. Despite that, lots of people keep putting off learning it. I know I didβ€”for a whole year! I...
    191K
  • user avatar
    Maxime Rivest πŸ§™β€β™‚οΈπŸ¦™πŸ§
    @MaximeRivest
    Oct 6, 2025
    I started this morning, and it's now ready for you to try: > uv pip install maivi > maivi That will get you a free and open-source voice-to-text model running locally on your CPU/laptopβ€”you don't need a GPU! The model is (according to benchmarks) better than Whisper, and our
    user avatar
    Maxime Rivest πŸ§™β€β™‚οΈπŸ¦™πŸ§
    @MaximeRivest
    Oct 5, 2025
    This morning, I thought I'd push Claude Code a little. I asked it to get speech-to-text running on my laptop using NVIDIA's 0.6b Parakeet model. Less than two hours later, I had speech-to-text better than OpenAI's Whisper running locally on my laptop CPU, transcribing as a
    118K
  • user avatar
    Maxime Rivest πŸ§™β€β™‚οΈπŸ¦™πŸ§
    @MaximeRivest
    Oct 19, 2025
    Beautiful! You can now do: > uv pip install mcp2py dspy And in just 6 lines of Python code, you have an AI agent that can retrieve information through Google Chrome MCP DevTools. With the added bonus that you're only 1 or 2 steps away from doing prompt optimization for that
    55K
  • user avatar
    Maxime Rivest πŸ§™β€β™‚οΈπŸ¦™πŸ§
    @MaximeRivest
    Feb 28, 2025
    Replying to @simonw
    We used 70b models to create a synthetic dataset of about 50 000 examples and trained a bert based classifier on that. We then applied it to billions of records. With great success. Not specifically a llm finetune. We are moving into that soon. We are wondering if finetuning 1b
    41K
  • user avatar
    Maxime Rivest πŸ§™β€β™‚οΈπŸ¦™πŸ§
    @MaximeRivest
    May 29, 2025
    It's hard to not like dspy with such results. Using dspy it seems that we can prompt gemma 1b to 'act' like sonnet 4 in a classification task. Until now we could only get that type of results with half-a-day of prompt engineering on 8b to 24b models depending on the subject being
    78K
  • user avatar
    Maxime Rivest πŸ§™β€β™‚οΈπŸ¦™πŸ§
    @MaximeRivest
    May 18, 2025
    Without dspy and attachments I needed 3 scripts (each 500+ lines) AND I did not even know how good my llm parsing was..Now I just need 44 lines of code. Nothing more! 85% of the invoices perfectly correct .. almost there! 92% with optimised Gemini 2.5 pro
    91K
  • user avatar
    Maxime Rivest πŸ§™β€β™‚οΈπŸ¦™πŸ§
    @MaximeRivest
    Jul 23, 2025
    Article cover image
    Article
    A Guide to Hacking DSPy into doing Automatic System Prompt Optimization
    In this tutorial, I’ll show you how I’ve modified and customized DSPy to make it handle system prompt optimization. Usually DSPy is doing program optimization. DSPy is very much batteries included,...
    62K
  • user avatar
    Maxime Rivest πŸ§™β€β™‚οΈπŸ¦™πŸ§
    @MaximeRivest
    Oct 8, 2025
    MCP was, technically, entirely unnecessary. Psychologically, however, it is a masterpiece. If a company makes an MCP, you feel like you have permission to use AI with that API service. It stimulates you to think: "Is there an MCP for that app?" or to install an MCP for that
    72K

New to X?

Sign up now to get your own personalized timeline!

Create account

By signing up, you agree to the Terms of Service and Privacy Policy, including Cookie Use.

TermsΒ·PrivacyΒ·CookiesΒ·AccessibilityΒ·Ads InfoΒ·Β© 2026 X Corp.
Don't miss what's happening
People on X are the first to know.
Log inSign up