Giter VIP home page Giter VIP logo

twotoma / palm-kosmos-vision Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ai-ank/palm-kosmos-vision

0.0 0.0 0.0 58 KB

PaLM-Kosmos-Vision is a foundational project showcasing basic ChatGPT with vision capabilities, inviting further development for advanced use cases. Experience the potential by trying the demo

Home Page: https://huggingface.co/spaces/AI-ANK/PaLM-Kosmos-Vision

License: MIT License

Python 100.00%

palm-kosmos-vision's Introduction

PaLM-Kosmos-Vision

PaLM-Kosmos-Vision is a proof-of-concept web application that serves as a basic version of ChatGPT Vision multi-modal chat. It's designed to demonstrate that integrating MultiModal models with traditional LLMs is possible, laying the groundwork for more sophisticated applications. PaLM-Kosmos-Vision is an innovative web application that combines the capabilities of Large Language Models (LLMs) to describe images and engage users in detailed conversations about those images. This project showcases the integration of PaLM API for nuanced language understanding and the KOSMOS-2 model for generating image captions.

Features

  • Image upload functionality with real-time display.
  • Automatic image captioning using the KOSMOS-2 model.
  • Detailed chat interactions about images powered by PaLM API.
  • Session-based chat history with a clear chat option.
  • Demo is limited to 20 messages per user to optimize resource usage.

Tech Stack

  • Streamlit as the web app framework.
  • PaLM and KOSMOS-2 models for AI functionalities.
  • Replicate for model deployment and serving.
  • LlamaIndex for efficient LLM orchestration.
  • Python libraries such as requests, Pillow, transformers.

Setup and Installation

Clone the repository and install the necessary Python packages. Ensure to set up API keys for Google Cloud and Replicate as environment variables before running the application.

Usage

Start the app with Streamlit and upload an image to begin. The interface allows for interactive conversations about the image, with the app providing contextually relevant information.

Demo

Try out the live demo here: PaLM-Kosmos-Vision Demo

Contribution

If you're interested in contributing, please review the contribution guidelines. Your ideas and pull requests are welcome!

License

This project is licensed under the MIT License.

Credits

Developed by Harshad Suryawanshi. Connect with me on LinkedIn.

palm-kosmos-vision's People

Contributors

ai-ank avatar

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.