Skip to content

Commit edf69a5

Browse files
committed
additional snippet edits
1 parent ee2b44e commit edf69a5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/tasks/src/model-libraries-snippets.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -398,10 +398,6 @@ model = keras_hub.models.CausalLM.from_preset("hf://${model.id}", dtype="bloaf16
398398
399399
# Possible tasks are CausalLM, TextToImage, ImageClassifier, ...
400400
# full list here: https://keras.io/api/keras_hub/models/#api-documentation
401-
402-
# Model components can also be laoded separately:
403-
tokenizer = keras_hub.models.Tokenizer.from_preset("hf://${model.id}")
404-
backbone = keras_hub.models.Backbone.from_preset("hf://${model.id}")
405401
`,
406402
];
407403

0 commit comments

Comments
 (0)