Try it out here: https://
tools.simonwillison.net/ocr I wrote about how I built it – including all of the prompts I used through both Claude 3 Opus and a little bit of ChatGPT/GPT-4 – on my blog:
CODE
-
OCR Tool Built with Claude 3 Opus and GPT-4
By
–
-

Claude 3 Prompt for Code Refactoring and Engineering Optimization
By
–
Here is a powerful Claude 3 prompt for engineers. Use it to automatically refactor, comment, and improve your code: — You are a skilled software engineer with deep expertise in code refactoring and optimization across multiple programming languages. Your
-

ColBERT Indexing for Fine-Grained Similarity Search
By
–
RAG From Scratch: Indexing w/ ColBERT Our RAG From Scratch video series walks through impt RAG concepts in short / focused videos w/ code. This is the 14th video in our series and focuses on indexing with ColBERT for fine-grained similarity search. Problem: Embedding
-
Math Application with LangChain Agents and LLMs
By
–
Building a Math Application with LangChain Agents A tutorial on why LLMs struggle with math, and how to resolve these limitations using LangChain Agents, OpenAI and Chainlit Can easily be extended to augmenting LLMs with other tools!
-
Fixing Multiprocessing Hangs in Large-Scale Model Inference
By
–
yeah the multiprocessing in this method isn't properly handled and hangs if you scale to millions of sentences. i (and others) have struggled with it a lot. you can just wrap your model in DataParallel and do a regular inference loop, no need for explicit multiprocessing
-
Verifying GPT-4 Generated Python Code Against Documentation
By
–
For a recent example,see my note here about checking the Python documentation to confirm what readline.set_startup_hook() does after seeing it in some Python that GPT-4 wrote for me https://
simonwillison.net/2024/Mar/26/ll
m-cmd/#assistance-from-chatgpt
… -
Using ChatGPT to Master Programming Languages Effectively
By
–
If I ever get to C literacy, using ChatGPT like this is one of the ways I'll get there I've learned a ton about other languages from it already – Go, Bash, jq, even AppleScript I thought I knew Python and SQL and JS well already but I've picked up a ton of tips there too
-
Python Machine Learning MLOps CV NLP LLMs Daily Tutorials
By
–
If you are interested in: – Python – Machine Learning – MLOps – CV/NLP – LLMs Find me → @Sumanth_077 Everyday, I share tutorials on above topics! Like/RT the first tweet to help this reach more people!
-
Data Science IPython: Machine Learning Libraries Jupyter Notebook Guide
By
–
4. Data Science IPython There are many Libraries in Machine Learning so having a Jupyter Notebook Explanations to all those is really handy. This Repository will help you with that.
-
Kaggle Solutions Repository with Top Performers’ Best Ideas
By
–
5. Kaggle Solutions This repository give access to almost all available best solutions and ideas shared by top performers in the Kaggle competitions: