Adding JSDoc documentation to the model presets in models.ts.
Currently, models acts as the primary registry for developers loading pre-configured models, but without doc comments, developers have to inspect source paths or Hugging Face URLs to get to know what the model can be useful for, how different variants compare, etc. This isn't a problem for the popular and well known models (e.g. Whisper) but could be a useful addition for lesser-known ones like embedding models or YOLO variants.
Adding JSDoc documentation to the model presets in
models.ts.Currently,
modelsacts as the primary registry for developers loading pre-configured models, but without doc comments, developers have to inspect source paths or Hugging Face URLs to get to know what the model can be useful for, how different variants compare, etc. This isn't a problem for the popular and well known models (e.g. Whisper) but could be a useful addition for lesser-known ones like embedding models or YOLO variants.