<- Adapters

HuggingFace

certifiedai

Local HuggingFace artifact consumption — pull, pipeline, embed, tokenize, dataset, cache

pip install chp-adapter-huggingface

Auto-discovered through the chp.adapters entry point — no host config needed.

Capabilities

What this adapter exposes.

apply_adapterv1.0.0
chp.adapters.huggingface.apply_adapter
cache_infov1.0.0

Scan the local HuggingFace cache and return a storage summary by artifact for governance and quota management.

chp.adapters.huggingface.cache_info
call_spacev1.0.0
chp.adapters.huggingface.call_space
classify_imagev1.0.0
chp.adapters.huggingface.classify_image
dataset_previewv1.0.0
chp.adapters.huggingface.dataset_preview
embedv1.0.0
chp.adapters.huggingface.embed
evaluatev1.0.0
chp.adapters.huggingface.evaluate
faiss_indexv1.0.0
chp.adapters.huggingface.faiss_index
finetunev1.0.0
chp.adapters.huggingface.finetune
generate_imagev1.0.0
chp.adapters.huggingface.generate_image
leaderboard_scoresv1.0.0
chp.adapters.huggingface.leaderboard_scores
list_collectionsv1.0.0

List HuggingFace Hub Collections — curated groupings of models and datasets. Enables agents to navigate thematic clusters (e.g.

chp.adapters.huggingface.list_collections
load_datasetv1.0.0
chp.adapters.huggingface.load_dataset
model_cardv1.0.0
chp.adapters.huggingface.model_card
pullv1.0.0

Download any HuggingFace Hub artifact (model, dataset, tokenizer) to local cache via snapshot_download.

chp.adapters.huggingface.pull
pull_for_local_llmv1.0.0
chp.adapters.huggingface.pull_for_local_llm
quantize_to_ggufv1.0.0
chp.adapters.huggingface.quantize_to_gguf
run_pipelinev1.0.0
chp.adapters.huggingface.run_pipeline
search_datasetsv1.0.0

Search HuggingFace Hub for datasets by task, sort, and filter. Symmetric to search_models — enables agents to discover datasets before loading them.

chp.adapters.huggingface.search_datasets
search_modelsv1.0.0
chp.adapters.huggingface.search_models
search_spacesv1.0.0

Search HuggingFace Hub for Spaces (Gradio/Streamlit apps) by SDK, sort, and filter. Precondition for call_space discovery.

chp.adapters.huggingface.search_spaces
tokenizev1.0.0

Encode text to token IDs or decode token IDs to text using a fast HuggingFace tokenizer. No full model load required.

chp.adapters.huggingface.tokenize
transcribe_audiov1.0.0
chp.adapters.huggingface.transcribe_audio
See the full capability catalog →