惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Security Blog
Microsoft Security Blog
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
aimingoo的专栏
aimingoo的专栏
腾讯CDC
WordPress大学
WordPress大学
Apple Machine Learning Research
Apple Machine Learning Research
F
Fortinet All Blogs
G
Google Developers Blog
MongoDB | Blog
MongoDB | Blog
Microsoft Azure Blog
Microsoft Azure Blog
小众软件
小众软件
Engineering at Meta
Engineering at Meta
博客园_首页
B
Blog RSS Feed
D
Docker
M
MIT News - Artificial intelligence
爱范儿
爱范儿
I
InfoQ

Hacker News - Newest: "LLM"

GitHub - lechmazur/position_bias: A benchmark for testing whether LLM judges keep the same preference when two lightly edited versions of the same story are shown in opposite orders. Flex routing (EU and EFTA) Dark Factories: Retooling for LLM Velocity Ask HN: What would be the impact of a LLM output injection attack? GitHub - Oaklight/llm-rosetta: Production-ready LLM API translation layer for Python — bidirectional conversion between OpenAI, Anthropic & Google formats via hub-and-spoke IR. Optional API gateway. Streaming & non-streaming. Zero core deps. Contributions welcome! GitHub - browser-use/browser-harness: Self-healing browser harness that enables LLMs to complete any task. GitHub - moeen-mahmud/remen: Remen turns thoughts into something you can return to Analyzing 156 LLM Launch Posts on Hacker News ChatGPT vs Gemini vs Claude: The Best LLM Subscription You Should Buy GitHub - salaamalykum/quran-semantic-search: High-density RAG Semantic Search Engine & Quran Corpus (GEO/SEO Architecture) GitHub - NVIDIA/TensorRT-LLM: TensorRT LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and supports state-of-the-art optimizations to perform inference efficiently on NVIDIA GPUs. TensorRT LLM also contains components to create Python and C++ runtimes that orchestrate the inference execution in a performant way. The State of LLM Bug Bounties in 2026 Operational Readiness Criteria for Tool-Using LLM Agents Meshcore: Architecture for a Decentralized P2P LLM Inference Network How an LLM becomes more coherent as we train it GitHub - seetrex-ai/laimark GitHub - Jossifresben/BibCrit: AI-assited biblical textual criticism GitHub - wastedcode/memex: File system based wiki, maintained by Claude 99helpers.com GitHub - cliver-project/AITrigram GitHub - unbody-io/adapt: A self-evolving memory layer for AI agents. GitHub - hb20007/awesome-gen-ai-fails: A list of incidents where reliance on generative AI and LLMs resulted in harm to companies, individuals, or society GitHub - nevenkordic/localmind: Run any local LLM with persistent memory and context. CLI agent over Ollama with SQLite-backed hybrid recall. No cloud. Ask HN: What are the machine requirements for a LLM like Llama-3.1-8B? Faster LLM Inference via Sequential Monte Carlo grpo explained: group relative policy optimization for llm finetuning - cgft Stop comparing price per million tokens: the hidden LLM API costs · TensorZero Andrej Karpathy's LLM Wiki Is a Bad Idea GitHub - GG-QandV/mnemostroma: Offline RAM-first cognitive leer/coprocessor for AI agents and robotics. Solves "Context Abandonment" with 20-80ms latency using a dual-thread biomimetic memory architecture (ONNX + SQLite WAL). mempalace/agent at agent · skorotkiewicz/mempalace
GitHub - AronDaron/dataset-generator: No-code desktop app...
AronDaron · 2026-04-21 · via Hacker News - Newest: "LLM"

Dataset Generator

A no-code desktop app for generating high-quality synthetic datasets to fine-tune LLMs.

Pick categories, set proportions, click Generate — the app handles topic planning, example generation, quality scoring, and export to a ready-to-train JSONL file.

Stack Python Node License Ko-fi


About

Dataset Generator is a desktop app that automates the full dataset generation pipeline — topic planning, multi-turn conversation generation, quality validation via LLM Judge, deduplication, and HuggingFace Hub upload. No scripts to write, no ML infra to configure.

Under the hood it runs a three-stage engine: instead of a single "generate 100 examples" prompt, the app first decomposes the job into unique topics and outlines, only then generating the actual examples. The result: diverse, coherent data without the repetitive patterns of naive generation.

Everything stays local. API keys live in SQLite on your device, datasets land in ~/.datasetgenerator/. All model traffic goes through OpenRouter (~300 models, one key).

Note on provider terms. Users are responsible for complying with the terms of service of the LLM providers they use through OpenRouter. Some providers restrict using model outputs for training competitive models — check the ToS of your chosen model before generating datasets for fine-tuning.


Why I built this

I recently started fine-tuning open-source LLMs as a hobby, and build software with AI coding agents. I wanted a simple way to generate training datasets without writing custom scripts every time — pick categories, configure the pipeline, click Generate, get a JSONL ready for training. There's plenty of datasets on HuggingFace, but sometimes you want one tailored to your specific categories and proportions. So I built the tool I wanted to use.


Benchmark

Datasets generated by this app were used to fine-tune Qwen2.5-Coder-7B-Instruct and evaluated against the base model on HumanEval / HumanEval+ (pass@1, average across 5 runs). Every model in the pipeline — topic planner, example generator, and LLM Judge — was open-source (Llama, Qwen, DeepSeek, Mistral via OpenRouter). No proprietary APIs.

Model HumanEval HumanEval+
Base Qwen2.5-Coder-7B-Instruct 55.5% (±2.1) 49.0% (±1.9)
FT V1 (750 samples) 57.2% (±1.0) 51.0% (±0.5)
FT V2 (this pipeline, 1135 samples) 60.0% (±0.9) 54.0% (±1.8)

+4.5 pts on HumanEval, +5.0 pts on HumanEval+ vs base. Error bars don't overlap — the difference is statistically significant.

🤗 Artifacts: fine-tuned model · V1 dataset (750 samples) · V2 dataset (1135 samples)

Benchmark results — HumanEval / HumanEval+ pass@1

This benchmark validates the pipeline on a coding-focused dataset (multi-turn coding assistance with explanations). The tool itself is domain-agnostic — define any categories (writing, Q&A, math, customer support, etc.) and the same workflow applies. Results depend on category configuration, judge criteria, and model selection — your mileage may vary.


Demo

demo-dataset.mp4

Generating 10 examples across 2 categories in ShareGPT format with the LLM Judge enabled.


Features

Actively developed — bug reports and feature requests welcome via Issues. General questions and ideas → Discussions.

  • Plan-then-Execute pipeline — three stages (topics → outlines → examples), each can use a different model
  • Tests - 270-test suite (unit + integration + E2E) — internal
  • Per-category configuration — any number of categories with custom proportions, descriptions, and dedicated models
  • LLM Judge — a second model scores every example 0–100 against editable criteria; rejected examples are regenerated
  • Real-time SSE dashboard — global and per-category progress, live example feed, running cost
  • Three export formats — ShareGPT, Alpaca, ChatML
  • Multi-turn conversations — 1–5 turns generated coherently in one LLM call
  • Actual cost tracking — pulls real usage tokens from every response, multiplies by live pricing
  • Embedding-based deduplication — cosine similarity over OpenRouter embeddings
  • Quality Report — judge histogram, token stats, efficiency, export to JSON/CSV
  • Dataset history + in-app preview — turn-by-turn rendering, code highlighting, dataset merging
  • HuggingFace Hub upload — one-click push to your repo

Use cases

  • Fine-tuning a domain-specific assistant — coding, legal, medical, customer support. The benchmark above is exactly this flow.
  • Instruction datasets at any scale — SFT-ready JSONL for models from 7B edge deployments up to 70B+; merge multiple jobs to grow the corpus.
  • Experimenting with fine-tuning — quickly test how different category compositions affect model behavior without weeks of data curation.
  • Multi-turn conversation datasets — generate 3–5 turn dialogues for training agentic behaviors.

Download

Pre-built binaries are on the Releases page — no Python, no Node.js required.

Platform File Size Usage
Windows 10/11 (x64) DatasetGenerator-windows-x64.zip ~100 MB Extract → double-click DatasetGenerator.exe
Linux (AppImage) DatasetGenerator-x86_64.AppImage ~140 MB chmod +x → double-click
Linux (tar.gz) DatasetGenerator-linux-x64.tar.gz ~140 MB Extract → run ./DatasetGenerator
Windows — SmartScreen warning

Unsigned executable: on first run click More infoRun anyway. App data is stored in %APPDATA%\DatasetGenerator\.

Linux AppImage — FUSE on Ubuntu 24.04
chmod +x DatasetGenerator-x86_64.AppImage
./DatasetGenerator-x86_64.AppImage

If dlopen(): error loading libfuse.so.2 appears:

sudo apt install libfuse2t64   # Ubuntu 24.04+
sudo apt install libfuse2      # Ubuntu 22.04 and older
Linux tar.gz — GTK/WebKit requirements
tar -xzf DatasetGenerator-linux-x64.tar.gz
cd DatasetGenerator
./DatasetGenerator

Requires GTK 3 and WebKit2GTK 4.1 (pre-installed on Ubuntu 24.04+, Fedora 38+). On older systems:

sudo apt install libgtk-3-0 libwebkit2gtk-4.1-0

Quick start

git clone https://github.com/AronDaron/dataset-generator.git
cd dataset-generator

# Backend
cd backend
python3 -m venv venv
./venv/bin/pip install -r requirements.txt
./venv/bin/uvicorn app.main:app --reload --port 8000

# Frontend (new terminal)
cd frontend
npm install
npm run dev

Backend on http://localhost:8000, frontend on http://localhost:3000. Open Settings → enter your OpenRouter API key → pick a category → click Generate.

Windows: replace ./venv/bin/pip and ./venv/bin/uvicorn with venv\Scripts\pip.exe and venv\Scripts\uvicorn.exe.

Requirements: Python 3.10+, Node.js 20+, an OpenRouter API key.

Stack: Next.js 16 + React 19, FastAPI + Pydantic v2, SQLite (aiosqlite), SSE for progress, Pywebview + PyInstaller for packaging.


FAQ

Can I use local models (Ollama, LM Studio)? Not currently — the pipeline talks to OpenRouter. Adding a local / OpenAI-compatible endpoint is on the roadmap; open an Issue if you need it sooner.

Is Linux fully supported? Yes — the app ships AppImage and tar.gz builds and all features work cross-platform. That said, day-to-day development and manual testing happens on Windows; Linux builds are verified with automated smoke tests but don't get the same amount of hands-on time. If something feels off on Linux, please open an Issue — I'll take a look.

How much does it cost to generate 1000 examples? Depends on model choice, turn count, and judge strictness. With open-source models available on OpenRouter (Llama 3.x, Qwen 2.5, DeepSeek, Mistral) expect single-digit dollars per 1000 multi-turn examples. Note that the UI shows the cost of accepted examples only — real spend includes rejected and skipped examples plus retries, typically 1.5-2x the displayed cost depending on judge threshold.

Is my API key safe? Keys are stored locally in SQLite (~/.datasetgenerator/database.sqlite). No telemetry, no remote calls except to OpenRouter and (optionally) HuggingFace Hub. Nothing leaves your machine unless you push a dataset.

Why AGPL-3.0 and not MIT? To prevent closed-source SaaS forks. You're free to use, modify, and self-host — but if you deploy a derivative as a hosted service, your users have the right to receive your source code. Commercial licensing is negotiable — open an Issue or contact me directly.


License

GNU Affero General Public License v3.0 — see LICENSE.

Strong copyleft: you're free to use, modify, and redistribute, but any derivative work — including SaaS / network-deployed versions — must release its full source under the same license. For proprietary commercial use, open an issue or contact me directly.