Text to Image generation using Stable Diffusion || HuggingFace Tutorial Diffusers Library

Поділитися
Вставка
  • Опубліковано 5 жов 2024
  • When Dalle-2 was released, creation of images using prompts became very easy. It had been a revolutionary tool for artists and creators
    However, Dalle-2 is a proprietary model and you would not want to spend dollars merely when you are testing prompts or even for simple use cases
    Stable Diffusion, based on the diffusion model, is a FREE and OPEN Source model that helps us in generating images from text prompts and even transferring the styles from one image to another
    In this video, we shall learn to generate images using the Generative AI Stable Diffusion model. We shall use the diffusers library of hugging face to help us in creating a pipeline for image generation using text prompts
    Additionally, we shall explore the various diffusion pipelines for tasks such as text2image, image2image, text2music, etc. [read more here: huggingface.co...]
    A diffusion pipeline comprises of 2 main components: the UNet Model and the schedulers. We shall discuss their functioning as well
    If you find the content useful, make sure to give it a THUMBS UP :)
    References:
    fine tuning language models using AutoTrain: [ • Fine tuning Llama2 usi... ]
    Stable Diffusion notebook: colab.research...
    --------------------------------------------------------------------------------------------------------------------------------------
    Why learn from datahat??
    "Datahat is a bridge"
    learners --- professionals by simplified data science
    It provides a platform to learn, create and collaborate helping in the #career #transition to data science, machine learning and data analysis
    Here are few interesting reads on our blog: / souravagarwal54321
    Connect with us on linkedIn: / datahat-unfoldingmystery
    Book a mentorship session: topmate.io/dat...
    ----------------------------------------------------------------------------------------------------------------------------------
    Remember, "the greatest investment ever made is investment in self growth and learning"

КОМЕНТАРІ • 24

  • @SantinoGenta-m4y
    @SantinoGenta-m4y 11 місяців тому +1

    Bro i need help

    • @datahat642
      @datahat642  11 місяців тому

      sure, tell me....

    • @SantinoGenta-m4y
      @SantinoGenta-m4y 11 місяців тому

      Hello , where i can contact you? I’m creating an Ai text to image app for ios, your help is gold

    • @datahat642
      @datahat642  11 місяців тому +1

      hey, we can connect on LinkedIn: www.linkedin.com/in/sourav-agarwal-saag?

    • @Xyz282kd
      @Xyz282kd 8 місяців тому +1

      ​@@datahat642hello brother
      Ma custom Model ko kese use Karu is me ?? Pls reply

    • @datahat642
      @datahat642  8 місяців тому

      @@Xyz282kd agar aap Hugging Face pretrained models use karna chahte ho then change the model_id with the diffusion model of your choice. Alternatively, if you want to use your own fine-tuned model for the purpose, then refer here: discuss.huggingface.co/t/how-to-use-the-fine-tuned-model-for-actual-prediction-after-re-loading-it/21374/2

  • @ngoc_pham_encity
    @ngoc_pham_encity 2 дні тому

    Can we upload a model and use it? Could you guide?

  • @fahaamshawl9335
    @fahaamshawl9335 6 місяців тому +1

    Can we give examples to the model like how to generate images of what type? Similar to few shot prompting concept

    • @datahat642
      @datahat642  6 місяців тому

      Please check this reference: medium.com/intel-analytics-software/personalized-stable-diffusion-with-few-shot-fine-tuning-on-a-single-cpu-f01a3316b13

  • @chinmaydeshpande5046
    @chinmaydeshpande5046 3 місяці тому

    Great video bro !!
    really helped a lot ...

  • @lorenzojuancarlosd.2890
    @lorenzojuancarlosd.2890 23 дні тому

    thanks brother! do you have paper for this?

    • @datahat642
      @datahat642  22 дні тому

      Unfortunately, we don't have any on this

  • @NehaKothari-iz3hy
    @NehaKothari-iz3hy 2 місяці тому +1

    Plz help me to know that how to ise custom data for text to image gener

    • @datahat642
      @datahat642  2 місяці тому

      Would like to hear the feedback from your recent interaction

  • @daanidev
    @daanidev 8 місяців тому +1

    how to freeze it in the tf lite model to integrate in android app?

    • @datahat642
      @datahat642  8 місяців тому

      Tensorflow lite does not directly support freezing the layers. Alternatively, you can quantize your model in tensorflow before converting to TFLite

  • @franchementcestca5630
    @franchementcestca5630 2 місяці тому +1

    can I create a discord bot by giving it the stable distribution code in my own server?

    • @datahat642
      @datahat642  2 місяці тому

      Yes you can... save the model & deploy it on your server

  • @SantinoGenta-m4y
    @SantinoGenta-m4y 11 місяців тому

    Using this