百科
.dev
全部条目
趋势榜
开源项目
技术资讯
提交条目
Language
中文
English
登录
< 返回工具列表
Language
中文
English
M
magika
> 编程语言
开源
快速而精确的 AI 驱动文件内容类型检测
17.9K stars
0 点赞
0 次浏览
访问官网
GitHub
点赞
收藏
分享体验
工具介绍
快速而精确的 AI 驱动文件内容类型检测
Magika Magika是一款由AI驱动的新型文件类型检测工具,它依靠深度学习的最新进步来提供准确的检测. 在引擎盖下,Magika采用了一种高度优化的自定义模式,它只重了大约几分MB,并且能够在毫秒内精确地识别出文件,即使在运行在单个CPU上. Magika在包含200多类内容的100M样本数据集(既包括二进制文件格式,也包括文本文件格式)上接受了培训和评价,并在我们的测试集中实现了平均99%的精度. 以下是Magika命令行输出的缩写:
核心特点
•
Trained and evaluated on a dataset of ~100M files across 200+ content types.
•
On our test set, Magika achieves ~99% average precision and recall, outperforming existing approaches -- especially on textual content types.
•
After the model is loaded (which is a one-off overhead), the inference time is about 5ms per file, even when run on a single CPU.
•
You can invoke Magika with even thousands of files at the same time. You can also use -r for recursively scanning a directory.
•
Near-constant inference time, independently from the file size; Magika only uses a limited subset of the file's content.
•
The tolerance to errors can be controlled via different prediction modes, such as high-confidence, medium-confidence, and best-guess.
•
The client and the bindings are already open source, and more is coming soon!
•
Core Concepts
•
How Magika works
•
Models & content types
>
标签
Python
ai
deep-learning
filetype
keras-classification-models
>
讨论区
最新
发表
暂无评论,来聊聊你的看法吧
> 工具信息
发布日期
2026年8月1日
最后更新
2026年9月9日
分类
编程语言
定价
开源
> 相关工具
T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言
报告问题