Download Latest Version [v0.35.3] Fix _image-to-image_ target size parameter mapping _ tiny agents allow tools list bug source code.tar.gz (1.0 MB)
Email in envelope

Get an email when there's a new version of huggingface_hub

Home / v0.34.6
Name Modified Size InfoDownloads / Week
Parent folder
[v0.34.6]_ Welcoming PublicAI as Inference Providers! source code.tar.gz 2025-09-16 1.0 MB
[v0.34.6]_ Welcoming PublicAI as Inference Providers! source code.zip 2025-09-16 1.3 MB
README.md 2025-09-16 1.0 kB
Totals: 3 Items   2.4 MB 0

Full Changelog: https://github.com/huggingface/huggingface_hub/compare/v0.34.5...v0.34.6

⚡ New provider: PublicAI

[!Tip] All supported PublicAI models can be found here.

Public AI Inference Utility is a nonprofit, open-source project building products and organizing advocacy to support the work of public AI model builders like the Swiss AI Initiative, AI Singapore, AI Sweden, and the Barcelona Supercomputing Center. Think of a BBC for AI, a public utility for AI, or public libraries for AI.

:::python
from huggingface_hub import InferenceClient

client = InferenceClient(provider="publicai")
completion = client.chat.completions.create(
    model="swiss-ai/Apertus-70B-Instruct-2509",
    messages=[{"role": "user", "content": "What is the capital of Switzerland?"}],
)

print(completion.choices[0].message.content)
  • Add PublicAI provider by @Wauplin in [#3367]
Source: README.md, updated 2025-09-16