Closed austinmw closed 6 months ago
In what case a temperature of 0 is desirable?
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
@OlivierDehaene When you want a deterministic output
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
We are facing the same problem, we want a deterministic output for our fine tuned model, no randomeness.
System Info
SageMaker DLC:
763104351884.dkr.ecr.us-east-1.amazonaws.com/huggingface-pytorch-tgi-inference:2.0.1-tgi1.1.0-gpu-py39-cu118-ubuntu20.04
Information
Tasks
Reproduction
Deploying Mistral 7B and attempting to pass temperature parameter of 0.0.
Expected behavior
0 should be a valid temperature, and is desirable for many use cases, however, an error is produced if it is not strictly positive.
CloudWatch logs: