
@halfline alt account for ai related discourse
Joined April 2024
- Tweets550
- Following254
- Followers26
- Likes35
Ray Strode retweeted
Everything you need to start self-hosting an open LLM.
Run it on your own hardware. No API keys. No per-token bill. Nothing leaves your machine.
The full path with @vllm_project: batch inference in Python, an OpenAI-compatible API server in one command, and quantized models that cut an 8B from ~16GB of weights to a quarter of that while keeping 98-100% accuracy.
Walkthrough by @cedricclyburn.
Ray Strode retweeted
guess what NVIDIA used here for an "attention-based encoder-decoder to retrieve directly from its own internal representations"?
late interaction is sparse attention
Retrieval from Within: An Intrinsic Capability of Attention-Based Models
NVIDIA enables encoder-decoder models to perform retrieval directly through their own cross-attention mechanism, eliminating the need for a separate retriever.
📝 arxiv.org/abs/2605.05806
Ray Strode retweeted
🚀 git-stage-batch 0.7.0 is out!
Big new feature: `--as TEXT` flag for `include` and `discard`
Now you can do powerful line-level text replacement while staging or moving changes to batches.
Replacement support is now consistent across live selections, batch display, and discard-to-batch.
#Git #OpenSource
Ray Strode retweeted
New Release Out! I got two cool feature requests since the last release that made pushing another release out make sense. 1/
Ray Strode retweeted
Claude solved one of Donald Knuth's conjectures from writing "The Art of Computer Programming" and he wrote about it.
www-cs-faculty.stanford.edu/…
Ray Strode retweeted
chinese bros back at it again
- train a Decoder-Only transformer < 3 hrs on a 3090
- fully studded with LoRA, DPO, SFT.
- well documented training
- vision, moe, and other goodies also avail.
Ray Strode retweeted
Knowledge Graphs give LLMs the context they need to understand your code better
This paper presents a novel approach to improve software repository question-answering by combining LLMs with knowledge graphs. The research demonstrates how knowledge graphs can enhance LLMs' ability to understand and retrieve repository data accurately, achieving significant improvements in query accuracy.
-----
🤔 Original Problem:
→ Existing software repository chatbots struggle with natural language understanding and accurate data retrieval, limiting their effectiveness for both technical and non-technical users.
→ Current LLM-based chatbots fail to retrieve accurate repository data 83.3% of the time.
-----
🔧 Solution in this Paper:
→ The approach uses a two-step process: first constructing a knowledge graph from repository data, then synergizing it with LLMs for natural language interactions.
→ A Knowledge Graph Constructor collects and models repository data into graph format.
→ The Query Generator translates natural language questions into graph queries using an LLM.
→ The Query Executor extracts and runs these queries against the knowledge graph.
→ The Response Generator creates natural language answers based on retrieved data.
-----
💡 Key Insights:
→ GPT-4 showed highest accuracy (65%) in generating Cypher queries from natural language
→ Chain-of-thought prompting significantly improved complex query handling
→ Knowledge graphs provide structured context that enhances LLM accuracy
-----
📊 Results:
→ Initial approach achieved 65% accuracy in answering repository questions
→ Chain-of-thought prompting improved accuracy to 84%
→ Complex query accuracy increased from 50% to 90%
Ray Strode retweeted
canvas is now available to all chatgpt users, and can execute code!
more importantly it can also still emojify your writing.
Ray Strode retweeted
Open-sourced local LLM based RAG, chatting with your documents with open-source LLMs. ✨
It trended at Number-1 in Github for quite sometime.
And a clean & customizable RAG UI for chatting with your documents.
→ Open-source RAG UI for document QA
→ Supports local LLMs and API providers
→ Hybrid RAG pipeline with full-text & vector retrieval
→ Multi-modal QA with figures & tables support
→ Advanced citations with in-browser PDF preview
→ Complex reasoning with question decomposition
→ Configurable settings UI
→ Extensible Gradio-based architecture
Key features: 👇
🌐 Host your own RAG web UI with multi-user login
🤖 Organize LLM & embedding models (local & API)
🔎 Hybrid retrieval + re-ranking for quality
📚 Multi-modal parsing and QA across documents
💡 Detailed citations with relevance scores
🧩 Question decomposition for complex queries
🎛️ Adjustable retrieval & generation settings
🔌 Customizable UI and indexing strategies
Ray Strode retweeted
As R&D staff @answerdotai, I work a lot on boosting productivity with AI. A common theme that always comes up is the combination of human+AI. This combination proved to be powerful in our new project ShellSage, which is an AI terminal buddy that learns and teaches with you. A 🧵
Ray Strode retweeted
Welcome PaliGemma 2! 🤗
Google released PaliGemma 2, best vision language model family that comes in various sizes: 3B, 10B, 28B, based on Gemma 2 and SigLIP, comes with transformers support day-0 🎁
Saying this model is amazing would be an understatement, keep reading ✨
Ray Strode retweeted
The First Globally Trained 10B Parameter Model is released. 👏👏
INTELLECT-1 is a groundbreaking 10B parameter LLM trained collaboratively across multiple continents globally using distributed computing, representing a 10x scale-up from previous research.
→ The model achieved 96% compute utilization in US-only training and 83% globally, using up to 112 H100 GPUs across five countries and three continents.
→ The PRIME framework enabled this distributed training through innovations like ElasticDeviceMesh and DiLoCo implementation, reducing communication bandwidth by 400x compared to traditional approaches.
🔍 Technical Deep Dive
→ Model Architecture and Training Scale
Built on Llama-3 architecture with 42 layers, 4096 hidden dimensions, 32 attention heads, and 8192 sequence length. Training completed over 42 days using distributed resources globally.
→ Dataset Composition and Processing
Trained on 1T tokens with carefully curated mix: 55% FineWeb-Edu, 20% Stack v2, 10% FineWeb, 10% DCLM-baseline, and 5% OpenWebMath.
→ Distributed Training Infrastructure
Utilized dynamic node participation starting with 4 nodes and scaling to 14 nodes. Maintained training stability despite frequent node fluctuations across different geographical locations.
⚡ Performance Metrics
→ Geographic Training Efficiency
US-only training: 96% compute utilization (103s median sync)
Transatlantic: 85.6% utilization (382s sync)
Global: 83% utilization (469s sync)
→ Communication Optimization
Achieved 400x reduction in bandwidth requirements through custom int8 all-reduce and DiLoCo implementation while maintaining comparable model performance.
🔄 Post-Training Enhancement
→ Collaborated with Arcee AI for extensive post-training refinement: 16 SFT runs, 8 DPO runs, and strategic model merging using MergeKit for enhanced capabilities.
Releasing INTELLECT-1: We’re open-sourcing the first decentralized trained 10B model:
- INTELLECT-1 base model & intermediate checkpoints
- Pre-training dataset
- Post-trained instruct models by @arcee_ai
- PRIME training framework
- Technical paper with all details
Ray Strode retweeted
ollama run qwq
🤯 an experimental 32B model by the Qwen team that is competitive with o1-mini and o1-preview in some cases.
ollama.com/library/qwq
Note: This is the pronunciation of QwQ: /kwju:/ , similar to the word “quill”
Ray Strode retweeted
Adding rule-based guidance doubles RAG's performance in document retrieval and answer generation.
Basically, RAG gets a proper manual on how to use its knowledge.
It's like giving RAG a GPS instead of letting it wander around blindly.
🎯 Original Problem:
Current Retrieval-Augmented Generation (RAG) frameworks face two major limitations: retrievers can't guarantee fetching the most relevant information, and LLMs lack specific guidance on using retrieved content effectively.
-----
🔧 Solution in this Paper:
→ Introduces RuleRAG, which uses symbolic rules to guide both retrieval and generation processes.
→ Guide retrievers to fetch logically related documents following rule directions
→ Help generators uniformly generate answers attributed by the same set of rules
→ Use queries and rules combined as supervised fine-tuning data to improve rule-based instruction following
→ RuleRAG-ICL: Uses in-context learning with rule guidance during retrieval and inference
→ RuleRAG-FT: Fine-tunes both retrievers and generators using rule-guided fine-tuning
→ Created five rule-aware QA benchmarks (three temporal, two static) to evaluate performance
-----
💡 Key Insights:
→ Rules can explicitly guide both document retrieval and answer generation
→ Combining rules with queries improves retrieval quality significantly
→ Rule-guided fine-tuning enhances both retrieval and generation performance
→ The method scales well with increasing numbers of retrieved documents
-----
📊 Results:
→ RuleRAG-ICL improved retrieval quality by +89.2% in Recall@10 scores
→ Generation accuracy increased by +103.1% in exact match scores
→ RuleRAG-FT achieved even better performance improvements across all benchmarks
→ Method showed strong generalization ability for untrained rules
Ray Strode retweeted
2:4 Sparsity + @AIatMeta Llama-3.1: At @neuralmagic, we've developed a recipe to produce very competitive sparse LLMs, and we are starting by open-sourcing the first one: Sparse-Llama-3.1-8B-2of4. We also show how to leverage it for blazingly fast inference in @vllm_project.
Ray Strode retweeted
Introducing the Model Context Protocol (MCP)
An open standard we've been working on at Anthropic that solves a core challenge with LLM apps - connecting them to your data.
No more building custom integrations for every data source. MCP provides one protocol to connect them all:
Ray Strode retweeted
Hunyuan-Large by Tencent is a 389B param MOE (52B active).
It's the largest open-weights MOE. In some benchmarks it exceeds Llama 3.1 405B.
With MLX's new 3-bit quant it just barely fits on a single 192GB M2 Ultra!
And runs at a very decent >15 toks/sec:
Ray Strode retweeted
Lightricks just dropped the fastest text-to-video generation mode ever.
It can generate videos faster than the time it takes to watch them!
Code: github.com/Lightricks/LTX-Vi…
Ray Strode retweeted
01.ai trained the #6 model in the world for $3M pre-train cost. And the inference price is $0.14/million tokens! tomshardware.com/tech-indust…


































