Like grep but for natural language questions. Based on Mistral 7B or Mixtral 8x7B.
Last updated Jul 8, 2026
386
Stars
8
Forks
1
Issues
0
Stars/day
Attention Score
37
Topics
Language breakdown
Rust 81.5%
Python 8.9%
Cuda 6.6%
Shell 3.1%
โธ Files
click to expand
README
Like grep but for natural language questions. Based on Mistral 7B or Mixtral 8x7B.
Text file input tokens per second:
- Nvidia RTX 3070 with 8GB memory
- Intel I5-6500 with 8GB memory
Installation
Linux (x8664) & macOS (x8664 & arm64)
If nvidia driver that supports cuda 12.1 exists, it installs cuda version, else cpu version. Replacesmall with large to install Mixtral 8x7B. It's ~7GB or ~48GB.
curl https://raw.githubusercontent.com/moritztng/fltr/main/install.sh -o install.sh && bash install.sh small && export PATH=$PATH:~/Fltr
Quickstart
Add--large for Mixtral 8x7B.
fltr --file emails.txt --prompt "Is the following email spam? Email:" --batch-size 32
It will output all lines in the file where the answer is yes.๐ More in this category