Giter Club home page Giter Club logo

Comments (5)

michaelhhogue avatar michaelhhogue commented on July 20, 2024 1

@klxu03 This is a good idea. I've been trying to improve the vision prompt by telling GPT to reference its previous action. But also giving it a stack of previous images would allow it to reference even farther back. You would need to experiment with the downsampling and size of the previous image stack to not hit token limits as @shubhexists mentioned. Feel free to open a PR/draft demonstrating this change!

from self-operating-computer.

shubhexists avatar shubhexists commented on July 20, 2024

Out of curiosity, Doesn't the Vision model has any sort of "Token Limit" like it has in GPT4?

from self-operating-computer.

klxu03 avatar klxu03 commented on July 20, 2024

Got it. I'll go draft up a PR for the previous image stacks! I'm planning on just making it an immediate previous message in pseudo_messages.

Also, regarding the token limit, correct me if I'm wrong, is the GPT4V context window up to 128k tokens?
If so, would there be a real concern about hitting the token limit? With some calculations, where x = one dimension of maximum image size you get x = 14044, meaning you can pass up to a 14044px x 14044px image. To hit the token limit, you would need to pass a lot of images to hit 2 * 10^8 total pixels.

@michaelhhogue @shubhexists

from self-operating-computer.

michaelhhogue avatar michaelhhogue commented on July 20, 2024

@klxu03 Can this be closed since #57 was merged?

from self-operating-computer.

joshbickett avatar joshbickett commented on July 20, 2024

closing since old and less relevant now

from self-operating-computer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.