OpenCSGs / csghub

CSGHub is an open-source large model platform just like on-premise version of Hugging Face. You can easily manage models and datasets, deploy model applications and setup model finetune or inference jobs with user interface. CSGHub also provides Python SDK with full compatibility of hf sdk. Join us together to build a safer and more open platform⭐️
https://opencsg.com
Apache License 2.0
3.07k stars 475 forks source link

Tag field and tag type customization #699

Open miss-uny opened 1 month ago

miss-uny commented 1 month ago

Neither tag field nor tag type currently supports customization. It needs to be operated in the database, which is very inconvenient. Please support this function on the page. Thank you very much

samchen8008 commented 1 month ago

@Rader is there any tips to share for his requirements before we having this feature?

samchen8008 commented 1 month ago

Sounds like @miss-uny his requirement is kinda legit for us.

Rader commented 1 month ago

steps to add a new tag and let it show on tags filter panel:

  1. insert custom tags into table tags, make sure built_in is true, category could be any new category you need, other than system default task, framework, language or license
  2. update portal to show new category of tag, by change frontend/src/components/tags/TagSideBar.vue