Ocr llama API Library #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Model : llama3.2-vision
library :
application/libraries/Ocr_llama.php
Sample usage :
application/controllers/test/T_ocr.php
the result is in json
These timing metrics from an API response, representing the duration of different processing stages in nanoseconds (ns). Here's what they mean:
total_duration: 25,349,696,375 ns (≈ 25.35 seconds)prompt_eval_duration: 152,000,000 ns (≈ 0.152 seconds)eval_duration: 24,616,000,000 ns (≈ 24.62 seconds)Interpretation:
eval_duration), while only a small fraction (≈ 0.152s) was spent processing the input (prompt_eval_duration).eval_durationandprompt_eval_duration, possibly for preprocessing, communication, or system latency.