michaelfeil / michaelfeil/infinity

The /classify method does not respond to the raw_scores parameter.

Open
#658 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.9k
Forks
206
PR merge metrics
No merged PRs in 30d

Description

### System Info

linux, for all versions of the library

### Information

- [x] Docker + cli
- [x] pip + cli
- [x] pip + usage of Python interface

### Tasks

- [ ] An officially supported CLI command
- [ ] My own modifications

### Reproduction

1) Run any classification model
2) Pass the raw_scores parameter in the request body
3) The result does not change, the softmax result is always returned.

The code does not handle the flag when calling the classify method.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the behavior through the /classify method using a classification model and a request body containing raw_scores, through both the CLI and Python interface if possible. Trace the classify method's handling of that parameter and verify that the response changes from the default softmax output when raw scores are requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.