GithubHelp home page GithubHelp logo

How to use it? about mini-dalle3 HOT 9 OPEN

souvikqb avatar souvikqb commented on June 18, 2024
How to use it?

from mini-dalle3.

Comments (9)

Zeqiang-Lai avatar Zeqiang-Lai commented on June 18, 2024

Here is an example

from minidalle3.model import MiniDALLE3

model = MiniDALLE3('gpt3.5', prompt_path="minidalle3/prompts/prompt-v2.txt")
message = [model.system_message, 'I have read a story where it talks about an "astronaut riding a horse" -- What does it look like ?']
images = []
text, image = state['model'].ask(state['messages'], state['images'])
if image is not None:
   image = image.image

from mini-dalle3.

souvikqb avatar souvikqb commented on June 18, 2024

Here is an example

from minidalle3.model import MiniDALLE3

model = MiniDALLE3('gpt3.5', prompt_path="minidalle3/prompts/prompt-v2.txt")
message = [model.system_message, 'I have read a story where it talks about an "astronaut riding a horse" -- What does it look like ?']
images = []
text, image = state['model'].ask(state['messages'], state['images'])
if image is not None:
   image = image.image

Thank for the code snippet, I'll definitely try it out and let you know.

  1. I was trying to access the Demo but for some reason it was not loading, can you please check it once?

  2. I wanted to learn whether this model is allowed for commercial use or for just research purposes?

from mini-dalle3.

Zeqiang-Lai avatar Zeqiang-Lai commented on June 18, 2024
  1. The demo can be accessed normally on my computer.
  2. We are still working on the advanced version of minidall3 πŸ‘¨β€πŸ’» and have not released any model yet. Currently, the demo is built with open techniques (ChatGPT + SDXL + IP-Adapter). I think SDXL and ChatGPT are allowed for commercial use. IP-adapter is built on SD, so it might be allowed for commercial use as well but I am not sure about it.

from mini-dalle3.

souvikqb avatar souvikqb commented on June 18, 2024
  1. The demo can be accessed normally on my computer.

For the Demo I'm getting this, the page keeps on loading but nothing is displayed --
image

  1. We are still working on the advanced version of minidall3 πŸ‘¨β€πŸ’» and have not released any model yet. Currently, the demo is built with open techniques (ChatGPT + SDXL + IP-Adapter). I think SDXL and ChatGPT are allowed for commercial use. IP-adapter is built on SD, so it might be allowed for commercial use as well but I am not sure about it.

Would love to have this as an HF Pipeline
What I'm looking for is-

  1. Any easy way to download and load the model on GPU
  2. Have some parameters to play with to get different outputs
  3. Chat based memory to help it remember things and keep the conversation flowing (if possible)

from mini-dalle3.

souvikqb avatar souvikqb commented on June 18, 2024

@Zeqiang-Lai
Hey Can you check this Colab Notebook - https://colab.research.google.com/drive/1MR5raiKXpqhHjcakcMtcl-izoShtE6nm?usp=sharing

I was unable to get started with the above snippet for some reason.

If this Colab works out, you can also add a Colab Demo for people to try out!

from mini-dalle3.

souvikqb avatar souvikqb commented on June 18, 2024

Hi any updates? @Zeqiang-Lai

from mini-dalle3.

souvikqb avatar souvikqb commented on June 18, 2024

Hey!

I was able to get the Demo working

Can you work on a Demo Colab Notebook as well? @Zeqiang-Lai

from mini-dalle3.

Zeqiang-Lai avatar Zeqiang-Lai commented on June 18, 2024

I am sorry that I am very busy for these moments, we will include the Colab demo for our next version.

from mini-dalle3.

souvikqb avatar souvikqb commented on June 18, 2024

Sure, please let me know once you release an update

from mini-dalle3.

Related Issues (9)

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.