The DIY forge - AI content Tutorials and Coding

Popular articles

Random ideas

Tutorial: How to Interrogate an AI about the content of a youtube video locally?

Details
Written by: Super User
Category: Random ideas
Published: May 25, 2023
Hits: 3504
  • query documents
  • privategpt
  • text generation
  • h2ogpt
  • Tutorial

Thumbnail privategpt

This tutorial is going to use PrivateGPT as a tool to interrogate a youtube video. Since PrivateGPT is able to read documents, if we can convert a youtube video to a document, we can interrogate the youtube video.

Read more: Tutorial: How to Interrogate an AI about the content of a youtube video locally?

Testing the best method to find a number

Details
Written by: Super User
Category: Random ideas
Published: January 28, 2022
Hits: 1998

Younger, i used to play to this game where you have to guess a number between 1 and 1000 by giving a proposal. If you are wrong, you are being told if the number you are looking for is higher or lower.
The usual method to find the answer is usually to divide by 2 to make two collections of the same amount of numbers:

Example: The number you are looking for is 702 and is supposed to be between 1 and 1000.

500: higher (1000+0)/2 = 0
750: below (1000+500)/2= 750
625: higher (500+750)/2= 625
687: higher (625+750)/2= 687.5
718: below (687+750)/2= 718.5
702: right (687+718)/2 = 702.5

Read more: Testing the best method to find a number