> For the complete documentation index, see [llms.txt](https://1nodeio.gitbook.io/1node/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://1nodeio.gitbook.io/1node/1node-api/endpoints/generate-huggingface-job-template.md).

# Generate HuggingFace Job Template

**CLI:** 1node create:huggingface

**API:**

POST /v1/templates/huggingface

**Body (JSON):**

```
{ "modelId":"bert-base-uncased","task":"text-classification","gpu":"A100","port":5000 }
```

**Response (201):**

```
{ "templatePath":"/workspace/hf-bert-base-uncased.job.json" }
```
