anarchy-ai / LLM-VM

irresponsible innovation. Try now at https://chat.dev/
https://anarchy.ai/
MIT License
468 stars 151 forks source link

Guided choice completion for multi-label classification #179

Open INF800 opened 10 months ago

INF800 commented 10 months ago

Current ChoiceCompletion can do multi-class classification.

https://github.com/anarchy-ai/LLM-VM/blob/d188e720ce65dcfddf5178da0ba1dd14bf612bd4/src/llm_vm/guided_completion.py#L13-L16

But how do we perform multilabel / multiclass-multilabel classification

mmirman commented 10 months ago

Kinda the regex stuff, maybe we should make this an api call?

RigvedRocks commented 7 months ago

I would like to work on the issue. Can you please assign this issue to me?

lucylililiwang commented 5 months ago

Hi, Can I please work on this issue? Thank you!

lucylililiwang commented 5 months ago

Hi, should we use this link as reference? https://medium.com/@ilyurek/multi-label-classification-with-python-a-simple-guide-c0fe04471ad7

lucylililiwang commented 4 months ago

https://github.com/lucylililiwang/LLM-VM/blob/lucylililiwang-multi-label-classification/multi-label_classification.py