项目
在 GitHub 查看
moritztng/fltr
关于
类似 grep,但用于查询自然语言问题。基于 Mistral 7B 或 Mixtral 8x7B。
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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
- Mistral 7B: ~52 tok/s
- Mixtral 8x7B: ~28 tok/s
- Intel I5-6500 with 8GB memory
- Mistral 7B: ~5 tok/s
- Mixtral 8x7B: ~2 tok/s
Installation
Linux (x86_64) & macOS (x86_64 & arm64)
If nvidia driver that supports cuda 12.1 exists, it installs cuda version, else cpu version. Replace small 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.
探索相关项目
加载中…