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

Feature/generative ai project 2 #1038

Conversation

YugantGotmare
Copy link

Have you read the Contributing Guidelines ?

yes

Description

I have added 2 projects one is Intermediate and another one is Advance
Project Intermediate: This script sets up an environment to translate text using Google Translate and generate images based on the translated text using a pre-trained Stable Diffusion model from Hugging Face. It installs necessary libraries, configures a CFG class for setting parameters, and defines functions for translation and image generation. The script first translates a Tamil phrase ("ஒரு பூங்காவில் யானை") to English, then uses the translated text as a prompt to generate an image. The Stable Diffusion model is configured to run on a CUDA device, with specific settings for image generation steps, image size, and guidance scale

Project Advance: This script sets up a Streamlit web application that allows users to query information about Mumbai properties and neighborhoods. It utilizes LangChain components to load property data from a CSV file, split the text into manageable chunks, and generate embeddings using the Hugging Face model. These embeddings are stored in a FAISS vector store for efficient retrieval. The app employs a conversational retrieval chain using a CTransformers language model and maintains conversation history with a buffer memory. The interface includes a sidebar for past queries and a main section for user interaction and displaying responses from the language model

Fixes #985

Checklist

  • [ Yes ] I've read the contribution guidelines.
  • [ Yes ] I've checked the issue list before deciding what to submit.
  • [ No ] 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 16, 2024 07:45
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 Closing this PR as you already created one PR let's work on that first if approve then allow you to do another.

@Kushal997-das
Copy link
Owner

@

@Kushal997-das Kushal997-das added the duplicate This issue or pull request already exists label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GSSOC'24 Want to LLM Related projects
2 participants