frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

FiaPhy – Save over $5,000 as a solar investor or simply as a homeowner

https://github.com/fiaos-org/FiaPhy
1•openrockets•1m ago•1 comments

Ask HN: How are people getting feedback on prototypes?

1•kadhirvelm•2m ago•0 comments

Turn an Intel iMac into a 5K Display

https://github.com/swellweb/targetBridge
1•targetbridge•6m ago•0 comments

Judgment Is a Skill

https://personalis.io/blog/judgment
1•sylvanjsmit•7m ago•0 comments

Cosmic Philosophical Conjecture with Gemini: A Meta-Sci-Fi Documentary Project

https://medium.com/@f9121212/cosmic-philosophical-conjecture-with-gemini-a-meta-sci-fi-documentar...
1•ortrich•8m ago•0 comments

Cloudflare API and Pages down

https://www.cloudflarestatus.com
1•mittermayr•9m ago•1 comments

The emotional slot machine of being a sports fan

http://shikharsachdev.com/the-emotional-slot-machine-of-being-a-sports-fan/
1•shsachdev•9m ago•0 comments

WebGPU back end in llama.cpp/ggml

https://twitter.com/ggerganov/status/2057668450076520811
1•tosh•10m ago•0 comments

The Invention of Numbers [Humor]

https://yelluwcomedy.substack.com/p/the-invention-of-numbers
1•pryelluw•11m ago•1 comments

U.S. researchers face new restrictions on publishing with foreign collaborators

https://www.science.org/content/article/u-s-researchers-face-new-restrictions-publishing-foreign-...
2•ceejayoz•11m ago•0 comments

AI's Role in Revolutionizing Mathematics and the Quest for Ethical Science

https://www.eliza-ng.me/post/llmslargelangua_4/
1•speckx•11m ago•0 comments

Staysin.eu – does a domain's hosting and tracking leave the EU?

https://staysin.eu/
1•maxheyer•12m ago•0 comments

Semantic Commit Messages

https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716
1•lemonwaterlime•13m ago•1 comments

Show HN: My dad is a forensic accountant. I automated ~62% of his job

https://case-trail.com/blog/ai-forensic-accounting-automation
2•mstalcup•15m ago•0 comments

Trump's unsigned AI executive order

https://www.politico.com/news/2026/05/22/heres-a-draft-of-trumps-unsigned-ai-executive-order-0093...
1•JumpCrisscross•17m ago•1 comments

Mdview.io – a Markdown viewer for AI era documentation

https://mdview.io/
1•Igor_Wiwi•19m ago•0 comments

Show HN: Flow2 – We rebuilt presentations mobile first

https://flow2.co/
1•brookler•21m ago•0 comments

Anti-"doomer" feedback derails Trump's AI executive order

https://www.axios.com/2026/05/21/trump-ai-executive-order-postponed-why
2•mikhael•21m ago•0 comments

Agents League: The Esports-Inspired Hackathon Where AI Agents Battle for Glory

https://techcommunity.microsoft.com/blog/azuredevcommunityblog/agents-league-the-esports-inspired...
1•geox•23m ago•1 comments

The AI Superstars Who Say a 'Vibe Slop' Crisis Is Coming

https://www.wsj.com/tech/ai/vibe-coding-slop-ai-tools-e6a99394
3•The_Fox•25m ago•1 comments

To achieve major goals, NASA seeks to streamline its organization

https://arstechnica.com/space/2026/05/to-achieve-major-goals-nasa-seeks-to-streamline-its-organiz...
1•LorenDB•26m ago•1 comments

Show HN: Appbun turn any webpage into an inspectable Electrobun desktop app

https://github.com/bigmacfive/appbun
1•bigmacfive•26m ago•0 comments

The Fake Nobel That Duped the Romanian Academy

https://www.scena9.ro/en/article/romanian-academy-nobel-florent-montaclair-chomsky
1•speckx•26m ago•0 comments

Show HN: Interactive first-principles climate physics simulation with explainer

https://earth.crackalamoo.com
1•crackalamoo•26m ago•0 comments

GLP-1s Linked to Lower Risk of Cancer Spread in Four Tumor Types

https://www.medpagetoday.com/meetingcoverage/asco/121397
2•ascorbic•28m ago•0 comments

A PDF let the internet hear the final words in the cockpit of UPS plane

https://www.cnn.com/2026/05/22/us/plane-crash-audio
2•intrasight•28m ago•0 comments

Dutch FIOD dismantled arm of Stark Industries – bulletproof hoster

https://twitter.com/IntCyberDigest/status/2057847058430656518
1•defly•30m ago•0 comments

Show HN: Lilo – An open source personal AI assistant that lives in Telegram

2•abi•31m ago•0 comments

Fusion energy poised for simpler U.S. review

https://www.axios.com/2026/05/22/fusion-energy-simpler-federal-review
1•Brajeshwar•32m ago•0 comments

The Economic Experiment That Upended Reality

https://www.theatlantic.com/ideas/2026/05/minimum-wage-experiment-worked/687255/
1•JumpCrisscross•32m ago•0 comments
Open in hackernews

An Enterprise-Level Retrieval-Augmented Generation System

https://comfyai.app/article/llm-applications/enterprise-level-rag-hands-on-practice-II
6•zljdanceholic•1y ago

Comments

zljdanceholic•1y ago
How can we search the wanted key information from 10,000+ pages of PDFs within 2.5 hours? For fact check, how do we implement it so that answers are backed by page-level references, minimizing hallucinations?

RAG-Challenge-2 is a great open-source project by Ilya Rice that ranked 1st at the Enterprise RAG Challenge, which has 4500+ lines of code for implementing a high-performing RAG system. It might seem overwhelming to newcomers who are just beginning to learn this technology. Therefore, to help you get started quickly—and to motivate myself to learn its ins and outs—I’ve created a complete tutorial on this.

We have a complete graph to explain its workflow where multiple tools are used: Docling for parsing PDFs, LangChain for chunking text, faiss for vectorization and similarity searching, and chatgpt for LLMs.

Besides, I also outline the codeflow, demonstrating the running logic involving multiple python files where starters can easily get lost. Different files are colored differently. The purpose of showing this is not letting you memorize all of these file relationships. It works better for you to check the source code yourself and use this as a reference if you find yourself lost in the code.

The original project of Ilya Rice design its RAG system for answering questions of annual reports from companies, so he only designed three types of question response format for that challenge: a name, a number, or a boolean. But to ask questions about technical stuff, we absolutely ask general questions like How does RoPE work? to know about some concepts and the like Therefore, I further modify the system logic to fit this need by customizing an AnswerWithRAGContextExplanationPrompt class and automatically matching the most related chapter and corresponding pages via searching through all faiss databases (only retrieve the top-1) The final performance is demonstrated below (not cherry-picked, only tested once).

- What's the steps to train a nanoGPT from scratch? The answer is:

Training nanoGPT from scratch involves several clearly defined steps. First, set up the environment by installing necessary libraries, using either Anaconda or Google Colab, and then download the dataset (e.g., tinyShakespeare). Next, tokenize the text into numerical representations and split the data into training and validation sets. Define the model architecture including token/positional embeddings, transformer blocks with multi-head self-attention and feed-forward networks, and layer normalization. Configure training hyperparameters and set up an optimizer (such as AdamW). Proceed with a training loop that performs forward passes, computes loss, backpropagates, and updates parameters, while periodically evaluating performance on both training and validation data. Finally, use the trained model to generate new text from a given context.

All code are provided on Colab and the tutorial is referenced here. Hope this helps!