You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/EXAMPLES.md
+42Lines changed: 42 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -230,6 +230,48 @@ You want to deploy a Llama 2 7B model using vLLM for efficient inference.
230
230
- Test types: `hosted-model-endpoint` (only option)
231
231
- Instance type: `gpu-enabled` (required)
232
232
233
+
### Example Model IDs
234
+
235
+
When generating a transformer project, you'll be prompted to select a model. The generator provides several example models that **do not require HuggingFace authentication**:
236
+
237
+
**Available Example Models:**
238
+
-`openai/gpt-oss-20b` - Open-source GPT model (no authentication required)
239
+
-`meta-llama/Llama-3.2-3B-Instruct` - Llama 3.2 3B instruction-tuned model
240
+
-`meta-llama/Llama-3.2-1B-Instruct` - Llama 3.2 1B instruction-tuned model
241
+
-`Custom (enter manually)` - Enter any model ID manually
242
+
243
+
**Important Notes:**
244
+
245
+
1.**Example models skip authentication prompts**: If you select one of the pre-configured example models, you will NOT be prompted for a HuggingFace token. These models are publicly accessible.
246
+
247
+
2.**Custom models may require authentication**: If you select "Custom (enter manually)" and enter a model ID for a private or gated model (like `meta-llama/Llama-2-7b-hf`), you will be prompted for your HuggingFace token.
248
+
249
+
3.**Case-insensitive matching**: Model ID matching is case-insensitive. For example, `OPENAI/GPT-OSS-20B` will be recognized as an example model.
**Example: Using a Custom Model with Authentication**
258
+
259
+
```bash
260
+
yo ml-container-creator
261
+
262
+
# When prompted:
263
+
? Which model do you want to use? Custom (enter manually)
264
+
? Enter the model name: meta-llama/Llama-2-7b-hf
265
+
266
+
🔐 HuggingFace Authentication
267
+
⚠️ Security Note: The token will be baked into the Docker image.
268
+
For CI/CD, consider using "$HF_TOKEN" to reference an environment variable.
269
+
270
+
? HuggingFace token (enter token, "$HF_TOKEN"for env var, or leave empty): hf_abc123...
271
+
```
272
+
273
+
For more information on HuggingFace authentication, see the [HuggingFace Authentication section](configuration.md#huggingface-authentication) in the Configuration Guide.
0 commit comments