upload_preset
- 원본 링크 : https://keras.io/api/keras_nlp/base_classes/upload_preset/
- 최종 확인 : 2024-11-26
upload_preset
function
keras_nlp.upload_preset(uri, preset)
Upload a preset directory to a model hub.
Arguments
- uri: The URI identifying model to upload to.
URIs with format
kaggle://<KAGGLE_USERNAME>/<MODEL>/<FRAMEWORK>/<VARIATION>
will be uploaded to Kaggle Hub while URIs with formathf://[<HF_USERNAME>/]<MODEL>
will be uploaded to the Hugging Face Hub. - preset: The path to the local model preset directory.