Skip to content

Instantly share code, notes, and snippets.

View rnckp's full-sized avatar

Patrick Arnecke rnckp

View GitHub Profile
@abhishekkrthakur
abhishekkrthakur / falcon_pdf_bot.py
Created July 16, 2023 09:03
This is a reference to the YouTube tutorial here: https://youtu.be/hSQY4N1u3v0
import argparse
from pdfminer.high_level import extract_text
from sentence_transformers import SentenceTransformer, CrossEncoder, util
from text_generation import Client
PREPROMPT = "Below are a series of dialogues between various people and an AI assistant. The AI tries to be helpful, polite, honest, sophisticated, emotionally aware, and humble-but-knowledgeable. The assistant is happy to help with almost anything, and will do its best to understand exactly what is needed. It also tries to avoid giving false or misleading information, and it caveats when it isn't entirely sure about the right answer. That said, the assistant is practical and really does its best, and doesn't let caution get too much in the way of being useful.\n"
PROMPT = """"Use the following pieces of context to answer the question at the end.
If you don't know the answer, just say that you don't know, don't try to
@veekaybee
veekaybee / normcore-llm.md
Last active December 25, 2025 23:35
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

@intellectronica
intellectronica / 0.README.md
Last active December 20, 2025 11:54
My AGENTS.md for MDFlow

Here's my AGENTS.md (also linked from CLAUDE.md as @AGENTS.md) for hacking agentically on MDFlow recipes.

I have this in ~/.mdflow/, and the agents/recipes live in ~/.mdflow/agents/ and added to the path so that they can be invoked as commands.

With this I can use a coding agent like Claude Code or GitHub Copilot in VSCode and say something like:

> create a new agent using copilot that reviews all the code files in this directory as a poem