Skip to content

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 09 Apr 17:11
· 22 commits to main since this release
  • Improved system prompt: model now prefers retrieved examples over pretraining guesses
  • Fixed FTS5 stop words: command names (find, show, list, display) no longer dropped from search queries
  • Added 28 targeted overrides for common patterns missing from tldr (find -size, find -mtime, find -user, curl -I, grep --include, and more)
  • Expanded benchmark alternates for more accurate automated scoring
  • Benchmark accuracy: ~78% (up from ~70% in v0.1.1)
  • Added experimental --guided flag for Apple FoundationModels constrained decoding (undocumented)

Install

Homebrew:

brew tap es617/tap && brew install hunch

From source:

git clone https://github.com/es617/hunch.git
cd hunch && make build && make install

Manual: Download hunch-0.1.2-arm64-macos.tar.gz, extract, and move hunch to your PATH and tldr_bank.db to ~/.hunch/.

Setup

Add to ~/.zshrc:

# Homebrew:
source /opt/homebrew/share/hunch/hunch.zsh
# From source:
source ~/.local/share/hunch/hunch.zsh