* docs: update directory structure * fix: install dependencies task * undo reset * Remove create-a-recipe.md --------- Co-authored-by: Nate Sesti <sestinj@gmail.com>
7.1 KiB
7.1 KiB
import ClassPropertyRef from '@site/src/components/ClassPropertyRef.tsx';
HuggingFaceInferenceAPI
Hugging Face Inference API is a great option for newly released language models. Sign up for an account and add billing here, access the Inference Endpoints here, click on “New endpoint”, and fill out the form (e.g. select a model like WizardCoder-Python-34B-V1.0), and then deploy your model by clicking “Create Endpoint”. Change ~/.continue/config.py to look like this:
from continuedev.core.models import Models
from continuedev.libs.llm.hf_inference_api import HuggingFaceInferenceAPI
config = ContinueConfig(
...
models=Models(
default=HuggingFaceInferenceAPI(
endpoint_url: "<INFERENCE_API_ENDPOINT_URL>",
hf_token: "<HUGGING_FACE_TOKEN>",
)
)