Skip to main content

Syntax

Description

Search HuggingFace for GGUF models that are compatible with llama.cpp. This command queries the HuggingFace Hub API to find repositories containing GGUF files, which are quantized model formats optimized for local inference. Use this command to discover available models before downloading them with llmfit download.

Arguments

string
required
Search query. Can include model name, architecture, or other keywords (e.g., llama, mistral, coding).

Options

integer
default:"10"
Maximum number of results to return. Range: 1-100.

Usage Examples

Search for Llama models

Returns the top 10 GGUF repositories containing “llama” in their name or description.

Search for coding models with limit

Returns up to 20 GGUF repositories related to coding models.

Search for specific architecture

Finds GGUF repositories for Mistral 7B models.

Search for quantized versions

Searches specifically for Qwen 14B GGUF models.

Example Output

Output Fields

Each result includes:
  • Repository name: Full HuggingFace repo identifier (user/repo)
  • Download count: Total number of downloads from the Hub
  • Likes: Number of likes/stars on HuggingFace
  • Last updated: Most recent update date
  • Tags: Repository tags indicating model type and format

Search Tips

Use specific model names (e.g., “llama-3.1-8b”) for targeted results, or broader terms (e.g., “coding”, “chat”) for discovery.
Results are sorted by relevance and popularity. The most popular and recently updated models appear first.

Notes

  • Only repositories containing GGUF files are returned
  • Results include official quantizations from popular providers like bartowski, TheBloke, QuantFactory, and lmstudio-community
  • The search queries the HuggingFace Hub API, so an internet connection is required
  • Repository metadata (downloads, likes) is fetched in real-time