据 AlphaMoat 统计,截至 2026-09,Huggingface Trends 累计下载 2,736 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 3,925 位,在「数据分析」分类(399 个)中排名第 297 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 76 | 2,565 | 1 | - |
| SkillHub ↗ | 104 | 2,736 | 1 | — |
各平台的计数口径不同,统计时间不一致。
它说明可按任务或机器学习库筛选,并按 trending、likes、downloads 或创建时间排序,也可将结果导出为 JSON。文档指出该脚本并非调用专用 trending 接口,而是获取近期模型后按受欢迎程度排序;数据新鲜度、API 限制和代理配置都可能影响结果,使用前应检查网络参数及依赖。
资料发布于 2026-10-29
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 2,736 | — | 1 |
| 2026-08 | 2,438 | +6.8% | 1 |
| 2026-07 | 2,282 | +6.9% | 1 |
| 2026-06 | 2,134 | +5.0% | 1 |
| 2026-05 | 2,033 | — | 1 |
| 2026-03 | 1,512 | — | 1 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
--- name: huggingface-trends description: Monitor and fetch trending models from Hugging Face with support for filtering by task, library, and popularity metrics. Use when users want to check trending AI models, compare model popularity, or explore popular models by task or library. Supports export to JSON and formatted output. --- # Hugging Face Trending Models ## Quick Start Fetch the top trending models:
```bash
scripts/hf_trends.py -n 10 -p http://172.28.96.1:10808
```
## Core Features
### Fetch Trending Models
Basic usage:
```bash
# Get top 10 trending models
scripts/hf_trends.py -n 10 -p http://172.28.96.1:10808
# Get top 5 most liked models
scripts/hf_trends.py -n 5 -s likes -p http://172.28.96.1:10808
# Get most downloaded models
scripts/hf_trends.py -n 10 -s downloads -p http://172.28.96.1:10808
```
### Filter by Task
Filter models by specific AI tasks:
```bash
# Text generation models
scripts/hf_trends.py -n 10 -t text-generation -p http://172.28.96.1:10808
# Image classification models
scripts/hf_trends.py -n 10 -t image-classification -p http://172.28.96.1:10808
# Translation models
scripts/hf_trends.py -n 10 -t translation -p http://172.28.96.1:10808
```
Common task filters:
- `text-generation` - Large language models
- `image-classification` - Vision models
- `image-to-text` - Multimodal models
- `translation` - Machine translation
- `summarization` - Text summarization
- `question-answering` - QA models
### Filter by Library
Filter by ML framework:
```bash
# PyTorch models only
scripts/hf_trends.py -n 10 -l pytorch -p http://172.28.96.1:10808
# TensorFlow models only
scripts/hf_trends.py -n 10 -l tensorflow -p http://172.28.96.1:10808
# JAX models
scripts/hf_trends.py -n 10 -l jax -p http://172.28.96.1:10808
```
### Export to JSON
Save results for further analysis:
```bash
# Export to JSON file
scripts/hf_trends.py -n 10 -j trending_models.json -p http://172.28.96.1:10808
# Export with specific filters
scripts/hf_trends.py -n 20 -t text-generation -j text_models.json -p http://172.28.96.1:10808
```
### Proxy Configuration
The script requires an HTTP proxy to access Hugging Face API (network restrictions).
Use the `-p` flag:
```bash
scripts/hf_trends.py -p http://172.28.96.1:10808
```
For most WSL2 environments with v2rayN:
- Proxy URL: `http://172.28.96.1:10808`
- Or use dynamic IP: `http://$(ip route show | grep default | awk '{print $3}'):10808`
## Command-Line Options
| Flag | Long Form | Description | Default |
|------|-----------|-------------|---------|
| `-n` | `--limit` | Number of models to fetch | 10 |
| `-s` | `--sort` | Sort by: trending, likes, downloads, created | trending |
| `-t` | `--task` | Filter by task/pipeline | None |
| `-l` | `--library` | Filter by library (pytorch, tensorflow, jax) | None |
| `-j` | `--json` | Export results to JSON file | None |
| `-p` | `--proxy` | Proxy URL for HTTP requests | None |
## Output Format
The script displays models in a structured format:
```
🤖 Hugging Face 热门模型 (5 个)
============================================================
1. moonshotai/Kimi-K2.5
⭐ 2.0K likes 📥 647.6K downloads
📊 Task: image-text-to-text 📚 Library: transformers
📅 Created: 2026-01-01 Updated: N/A
...
```
### Model Information
Each model entry includes:
- **Model ID**: Full Hugging Face model name
- **Likes**: Number of likes (popularity metric)
- **Downloads**: Total download count
- **Task**: Primary task/pipeline (e.g., text-generation)
- **Library**: ML framework (transformers, pytorch, tensorflow)
- **Created/Updated**: Date information
## Use Cases
### Daily Monitoring
Check trending models daily for new releases:
```bash
# Create cron job for daily monitoring
0 9 * * * cd /home/ltx/.openclaw/workspace && \
/home/ltx/.openclaw/workspace/skills/huggingface-trends/scripts/hf_trends.py \
-n 20 -p http://172.28.96.1:10808 >> /tmp/hf-trends.log 2>&1
```
### Task-Specific Research
Explore popular models for specific AI tasks:
```bash
# Research trending text generation models
scripts/hf_trends.py -n 15 -t text-generation -s likes -p http://172.28.96.1:10808
# Find popular image-to-text models
scripts/hf_trends.py -n 15 -t image-to-text -s downloads -p http://172.28.96.1:10808
```
### Framework-Specific Analysis
Compare models by ML framework:
```bash
# Compare PyTorch vs TensorFlow popularity
scripts/hf_trends.py -n 20 -l pytorch -j pytorch_models.json -p http://172.28.96.1:10808
scripts/hf_trends.py -n 20 -l tensorflow -j tensorflow_models.json -p http://172.28.96.1:10808
```
## Integration with OpenClaw
Use within OpenClaw sessions:
```python
# Fetch trending models programmatically
from skills.huggingface-trends.scripts import hf_trends
fetcher = hf_trends.HuggingFaceTrends(proxy="http://172.28.96.1:10808")
models = fetcher.fetch_trending_models(limit=10)
# Format for display
output = fetcher.format_models(models)
print(output)
```
## Troubleshooting
### Network Errors
**Problem:** "Network is unreachable" or connection errors
**Solution:** Ensure proxy is specified with `-p` flag:
```bash
scripts/hf_trends.py -p http://172.28.96.1:10808
```
Check if v2rayN proxy is running on Windows.
### Empty Results
**Problem:** "No models found"
**Solution:** Try different filters or increase limit:
```bash
scripts/hf_trends.py -n 50 -p http://172.28.96.1:10808
```
### Dependencies Missing
**Problem:** "requests package not installed"
**Solution:** Install required dependencies:
```bash
pip install requests
```
## Technical Notes
- **API Limitation:** Hugging Face's public API doesn't provide a dedicated trending endpoint without authentication. The script fetches recent models and sorts by popularity metrics.
- **Proxy Requirement:** Due to network restrictions, all requests must go through a proxy. The script supports HTTP proxy configuration.
- **Rate Limits:** The public API has rate limits. Avoid making too many requests in quick succession.
- **Data Freshness:** Models are fetched from the Hugging Face API. Recent changes may take time to reflect.
## Reference
See [Hugging Face API Documentation](https://huggingface.co/docs/huggingface_hub/guides/models) for more details on model metadata and available filters.
AdMapix 的取数层:把广告与应用相关的查询转成接口调用,只回原始 JSON。
走 Tavily 检索公开网页,返回带链接与摘要的结构化结果。
把数据库、表格与导出的原始数据变成可决策结论的数据分析技能。
用 Yahoo Finance 数据做股票与加密货币分析、组合跟踪的技能。
管理本地自选股清单,并按代码汇总同花顺行情与近期表现的技能。
知了标讯:查询和分析招标、中标、供应商与采购市场信息。
用命令行监控博客与 RSS/Atom 源的更新。
汇总 Codex 或 Claude 按模型计费的使用成本。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。