Hello,
In the scrim for the lesson “The AI Engineer Path / Open Source Models / AI Models In The Browser With Transformed.js” the javascript code includes the following, two statements:
const detector = await pipeline('object-detection', 'Xenova/yolos-tiny')
const detectedObjects = await detector(image.src, {
threshold: 0.95,
percentage: true
});
The instructor told us about the detector parameters “threshold” and “percentage”. But, how would I go about discovering them on my own? Navigating through the HuggingFace docs I made my way to:
but could not make further progress.
Would someone please advise me. Thanks.