Improve logging & add logit cap (#471)

This commit is contained in:
Lianmin Zheng
2024-05-24 03:48:53 -07:00
committed by GitHub
parent 44c998fcb5
commit 2cea6146d8
12 changed files with 106 additions and 24 deletions

View File

@@ -30,7 +30,7 @@ if __name__ == "__main__":
response = requests.post(
url + "/generate",
json={
"text": f"{a}, ",
"text": f"The capital of France is",
# "input_ids": [[2] * 256] * 196,
"sampling_params": {
"temperature": 0,