Skip to content

Commit 8884320

Browse files
authored
Merge pull request #132 from SharpAI/fix/benchmark-ping-tokens
fix: increase benchmark ping max_completion_tokens from 1 to 5
2 parents b1a26b4 + 316aadc commit 8884320

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/legacy-applications.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
## Application 1: Self-supervised Person Recognition (REID) for Intruder Detection
99

10-
SharpAI yolov7_reid is an open source python application that leverages AI technologies to detect intruders with traditional surveillance cameras. [Source code](https://github.com/SharpAI/DeepCamera/blob/master/src/yolov7_reid/src/detector_cpu.py)
10+
SharpAI yolov7_reid is an open source python application that leverages AI technologies to detect intruders with traditional surveillance cameras. [Source code](https://github.com/SharpAI/DeepCamera/blob/master/src/yolov7_reid/src/detector.py)
1111

1212
It leverages Yolov7 as person detector, FastReID for person feature extraction, Milvus the local vector database for self-supervised learning to identify unseen persons, Labelstudio to host images locally and for further usage such as labeling data and training your own classifier. It also integrates with Home-Assistant to empower smart home with AI technology.
1313

skills/analysis/home-security-benchmark/scripts/run-benchmark.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1775,7 +1775,7 @@ async function main() {
17751775
const ping = await llmClient.chat.completions.create({
17761776
...(LLM_MODEL && { model: LLM_MODEL }),
17771777
messages: [{ role: 'user', content: 'ping' }],
1778-
max_completion_tokens: 1,
1778+
max_completion_tokens: 5,
17791779
});
17801780
results.model.name = ping.model || 'unknown';
17811781
log(` Model: ${results.model.name}`);

0 commit comments

Comments
 (0)