tianxingleo

Huggingface Trends

Data Analysisv1.0.0
By tianxingleoUpdated 2026-05-17huggingface-trends@clawhub_tianxingleo/huggingface-trends
Data InsightsCompetitor Analysis#Json

According to AlphaMoat, as of 2026-09, Huggingface Trends has 2,736 downloads and 1 stars — ranked #3,925 of 5,078 AI skills overall, and #297 of 399 in Data Analysis.

Installs
104
Downloads
2.7K
Stars
1
Overall Rank
#3,925
Top 78% overall · Top 75% in Data Analysis
PlatformInstallsDownloadsStarsComments
ClawHub ↗762.6K1-
SkillHub ↗1042.7K1—

Platforms count differently and update at different times.

What this skill does

It describes filtering by task or machine-learning library, sorting by trending, likes, downloads, or creation time, and exporting results to JSON. The document says the script does not use a dedicated trending endpoint; it fetches recent models and sorts them by popularity metrics. Freshness, API limits, and proxy configuration may affect results, so check network options and dependencies before use.

Profile published 2026-10-29

What you can do with it

  • Filter model listings by task or machine-learning library.
  • Sort results by popularity-related metrics or creation time.
  • Export query results to JSON for later analysis.

When to use it

  • When exploring recent Hugging Face models and filtering by task or library.
  • When saving model listings for later comparison.
  • When explaining results, clarify that the described trending order comes from recent models sorted by popularity rather than a dedicated trend endpoint.

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Prepare a command to query recent models for text generation and explain how to export JSON.
Explain how this script derives its trending order and which network conditions may affect a query.

Monthly Trend

Downloads2.7K
1.4K2.1K2.8K2026-03 · Downloads 1.5K2026-05 · Downloads 2.0K2026-06 · Downloads 2.1K2026-07 · Downloads 2.3K2026-08 · Downloads 2.4K2026-09 · Downloads 2.7K26-0326-09
Stars1
0122026-03 · Stars 12026-05 · Stars 12026-06 · Stars 12026-07 · Stars 12026-08 · Stars 12026-09 · Stars 126-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-092.7K—1
2026-082.4K+6.8%1
2026-072.3K+6.9%1
2026-062.1K+5.0%1
2026-052.0K—1
2026-031.5K—1

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

6.1 KB · ClawHub v1.0.0
---
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:
Show all (224 lines)

```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.

Popular in Data Analysis

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.