mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
For many model types, we don't need to require the task requested. We can infer the task type based on the model configuration and architecture.
This commit makes the `task-type` parameter optional for the model up load script and adds logic for auto-detecting the task type based on the 🤗 model.