---
title: "HuggingFace LLM"
description: "HuggingFace is where the world puts open-source LLMs and other AI models online."
---

import { Callout } from "nextra/components";
import Image from "next/image";

<Image
  src="/images/anythingllm-setup/llm-configuration/cloud/hugging-face/header-image.png"
  height={1080}
  width={1920}
  quality={100}
  alt="Hugging Face LLM"
/>

# HuggingFace LLM

[HuggingFace](https://huggingface.co) is where the world puts open-source LLMs and other AI models online.

All of the raw model files of over 100,000 LLMs can be found here and run while connected to AnythingLLM.

## Connecting to Hugging Face

<Callout type="info" emoji="️💡">
  **Valid Configuration required!**

    This integration is specific to the HuggingFace serverless inference service that HuggingFace runs.

</Callout>

<Callout type="info" emoji="️💡">
  **Tip:**

    This integration works best when a model's chat template is defined. You may get unexpected results otherwise.

</Callout>

You can update your model to a different model at any time in the **Settings**.

<Image
  src="/images/anythingllm-setup/llm-configuration/cloud/hugging-face/hugging-face-llm.png"
  height={1080}
  width={1920}
  quality={100}
  alt="Hugging Face LLM settings"
/>
