Skip to content

Commit cf3b3ea

Browse files
committed
Increase timeout and llama guard
1 parent 4cdd0f6 commit cf3b3ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

evaluators/huggingface/langevals_huggingface/llama_guard.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ def evaluate(self, entry: LlamaGuardEntry) -> SingleEvaluationResult:
163163
f"https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run/@hf/thebloke/llamaguard-7b-awq",
164164
headers={"Authorization": f"Bearer {api_key}"},
165165
json={"prompt": prompt},
166+
timeout=600,
166167
)
167168
response.raise_for_status()
168169
result = response.json()

0 commit comments

Comments
 (0)