# Build a text-generation model shortlist from Hugging Face

**Use case:** 

Collect public model records for text-generation candidates from Hugging Face with task and library filters for evaluation or benchmarking.

## Input

```json
{
  "targets": [
    "qwen 3 instruct"
  ],
  "entityType": "models",
  "resultsPerTarget": 25,
  "sortBy": "downloads",
  "filterTask": "text-generation",
  "filterLibrary": "transformers",
  "filterLanguage": "en",
  "includeReadme": false,
  "responseFormat": "concise",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "itemType": {
    "label": "Item type",
    "format": "string"
  },
  "id": {
    "label": "Id",
    "format": "string"
  },
  "author": {
    "label": "Author",
    "format": "string"
  },
  "downloads": {
    "label": "Downloads",
    "format": "integer"
  },
  "likes": {
    "label": "Likes",
    "format": "integer"
  },
  "pipelineTag": {
    "label": "Pipeline tag",
    "format": "string"
  },
  "libraryName": {
    "label": "Library name",
    "format": "string"
  },
  "license": {
    "label": "License",
    "format": "string"
  },
  "lastModified": {
    "label": "Last modified",
    "format": "string"
  },
  "tags": {
    "label": "Tags",
    "format": "array"
  },
  "url": {
    "label": "Url",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Hugging Face Scraper — Models, Datasets & Spaces](https://apify.com/khadinakbar/huggingface-all-in-one-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/khadinakbar/huggingface-all-in-one-scraper) to learn more, explore other use cases, and run it yourself.