Skip to content

Add Berget provider documentation - #2767

Open
irony wants to merge 2 commits into
huggingface:mainfrom
berget-ai:add-berget-provider
Open

irony wants to merge 2 commits into
huggingface:mainfrom
berget-ai:add-berget-provider

Conversation

@irony

@irony irony commented Sep 5, 2026 •

Copy link
Copy Markdown

Hi! Adding the provider documentation page for Berget as part of our registration as a Hub inference provider (guide).

Contents:

  • New templates/providers/berget.handlebars page (Swedish sovereign inference, open-weight models in Swedish data centers, GDPR/EU focus, OpenAI-compatible API)
  • Generated docs/inference-providers/providers/berget.md (ran pnpm run generate; the "Supported tasks" section is currently empty since no mappings are live yet — it populates automatically once our mappings go live)
  • _toctree.yml entry (alphabetical), partners table row in index.md (LLM + VLM checkmarks — our multimodal models support vision), berget in PROVIDERS_URLS

Related client PRs:

Logos (berget-light.png / berget-dark.png): we'll deliver them alongside the partnership activation — happy to send the files directly or open a PR on documentation-images, whichever you prefer.

We'll reach out about server-side activation of the berget partner account next. cc @Wauplin @SBrandeis @julien-c @hanouticelina — thanks!


Note

Low Risk
Documentation and doc-generation metadata only; no application logic, auth, or inference routing changes.

Overview
Adds Berget as a new Hugging Face Inference Providers partner in the docs only (no runtime inference changes in this repo).

A new berget.handlebars template describes Berget’s EU/sovereign hosting, OpenAI-compatible API, and chat focus; running the generator produces providers/berget.md (the Supported tasks block is empty until Hub model mappings exist). Navigation picks up Berget in _toctree.yml, the partners matrix on index.md marks LLM and VLM chat completion, and generate.ts registers berget: https://berget.ai/ so the page is included in provider generation.

Reviewed by Cursor Bugbot for commit 37fa501. Bugbot is set up for automated code reviews on this repo. Configure here.

- scripts/inference-providers/templates/providers/berget.handlebars (new provider page)
- providers/berget.md (generated via scripts/inference-providers)
- _toctree.yml / index.md partners table / generate.ts PROVIDERS_URLS
Copilot AI lite review requested due to automatic review settings September 5, 2026 04:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Changes are documentation-only and follow existing provider doc-generation patterns, with no runtime impact.

Pull request overview

Adds a new Hub Inference Providers documentation entry for Berget as part of provider registration, integrating it into the provider doc generation workflow and navigation.

Changes:

  • Adds a new provider template (berget.handlebars) and commits the generated provider doc page (berget.md).
  • Registers Berget in the provider URL mapping used by the generator (PROVIDERS_URLS).
  • Adds Berget to the Inference Providers index table and docs toctree for navigation.
File summaries
File Description
scripts/inference-providers/templates/providers/berget.handlebars New provider template content for Berget (rendered into the generated docs page).
scripts/inference-providers/scripts/generate.ts Adds Berget to PROVIDERS_URLS so generation can link to the provider website.
docs/inference-providers/providers/berget.md Generated provider page for Berget.
docs/inference-providers/index.md Adds Berget to the partners capability table.
docs/inference-providers/_toctree.yml Adds Berget to the Providers navigation section.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +12 to +14
Our API is fully OpenAI-compatible, so any tool or SDK that works with OpenAI works with Berget. We focus on strong multilingual models (including Swedish and Nordic languages) and publish transparent carbon estimates alongside every response.

{{{tasksSection}}}

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 37fa501 — the template now states that Berget currently offers conversational models and that mappings appear under Supported tasks as they are validated by Hugging Face, with a link to the Berget catalog. Regenerated docs/inference-providers/providers/berget.md with the generator (using a temporary local link: to this PR's huggingface.js branch since berget isn't in the published @huggingface/inference yet; reverted afterwards).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants