Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generative ai projects added #1057

Conversation

YugantGotmare
Copy link

Have you read the Contributing Guidelines ?

Yes

Description

I have added GenerativeAI projects ;

Bacis Project 1 ( ImagetoTextgenerator): This Python script uses the Hugging Face transformers library to generate image captions with a pre-trained Vision-Encoder-Decoder model (vit-gpt2-image-captioning). It processes images using the ViTImageProcessor, generates captions using the VisionEncoderDecoderModel, and decodes these captions with the AutoTokenizer. The script sets up the model to run on a GPU if available, or otherwise on a CPU, and uses beam search for better caption quality. Finally, it prints the generated caption for the provided image path.

Basic Project 2 ( TexttoImageGenerator):
This Python script leverages the Hugging Face transformers and diffusers libraries to generate images from text prompts using the Stable Diffusion model. It defines a configuration class (CFG) to hold constants and parameters, such as device type (GPU), random seed for reproducibility, model IDs, and image generation settings. The script initializes the Stable Diffusion model and moves it to the GPU. The generate_image function takes a text prompt and generates an image using the specified parameters, resizing it to the desired dimensions. An example usage is provided to generate an image from the prompt "Apple on a tree".

Intermidiate Project 1 (MultiLingualTextToImageGenerator):
The script translates from any text to English and generates an image from the translated prompt using Stable Diffusion

Advance Project 1 ( Langchain based Chat Retrival Chatbot)
This script creates a Streamlit app that uses LangChain components to provide conversational insights about Mumbai properties.

Fixes #985

Checklist

  • [ Yes ] I've read the contribution guidelines.
  • [ Yes ] I've checked the issue list before deciding what to submit.
  • [ Yes ] I've edited the README.md and link to my code.

Related Issues or Pull Requests

(Write your answer here.)

@github-actions github-actions bot requested a review from Kushal997-das May 20, 2024 10:47
Copy link
Owner

@Kushal997-das Kushal997-das left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@YugantGotmare I checked the files it's seems not interesting, i don't think so this project this way fit for our project-guidance but you may try again to make it interactive more.

@Kushal997-das Kushal997-das added Changes-required Little bit changes required . No_Update It's been so long you are not responding to this issue so we are going to close the issue soon. labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes-required Little bit changes required . No_Update It's been so long you are not responding to this issue so we are going to close the issue soon.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GSSOC'24 Want to LLM Related projects
2 participants