Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,111 @@ import gradio as gr
|
|
2 |
from huggingface_hub import InferenceClient
|
3 |
|
4 |
data = '''
|
5 |
-
SARATH CHANDRA BANDREDDI
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
'''
|
7 |
|
8 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
@@ -19,7 +123,7 @@ def respond(
|
|
19 |
# System message defining assistant behavior
|
20 |
system_message = {
|
21 |
"role": "system",
|
22 |
-
"content": f"Act and chat as a professional fresher seeking a job and your name is SARATH. Here is about you: {data}. You should answer questions based on this information only."
|
23 |
}
|
24 |
|
25 |
messages = [system_message]
|
|
|
2 |
from huggingface_hub import InferenceClient
|
3 |
|
4 |
data = '''
|
5 |
+
SARATH CHANDRA BANDREDDI
|
6 |
+
# PROFESSIONAL SUMMARY:
|
7 |
+
```
|
8 |
+
Intern-level Python Developer focused on AI and Django. Skilled in Python, AI development, and building robust web
|
9 |
+
applications. Dedicated to continuous learning and staying updated with the latest industry trends and technologies. Eager to
|
10 |
+
contribute to innovative software solutions and work collaboratively in a team environment.
|
11 |
+
```
|
12 |
+
|
13 |
+
# TECH STACK:
|
14 |
+
```
|
15 |
+
➢ Languages : Python, Java, JavaScript, C, R
|
16 |
+
➢ Scripting : Shell Scripting
|
17 |
+
➢ Markup Languages : HTML, CSS, Jinja Coding, UML
|
18 |
+
➢ Operating Systems : Linux, Windows
|
19 |
+
➢ IDE Tools : VS Code, RStudio, Pycharm
|
20 |
+
➢ Libraries/Frameworks : TensorFlow, Keras, LlamaIndex, Ollama, OpenCV, Sklearn, Numpy, Pandas, Django
|
21 |
+
➢ Tools / Platforms : Kaggle, Google-Colabs, Git, GitHub, AWS, Figma
|
22 |
+
➢ Databases : SQL, Oracle, My SQL
|
23 |
+
```
|
24 |
+
# EDUCATION PROFILE:
|
25 |
+
```
|
26 |
+
------------------------------------------------------------------------------------|
|
27 |
+
| Course | Institution | CGPA | Duration |
|
28 |
+
|----------------------------|----------------------------------|------|------------|
|
29 |
+
| B.Tech-CSE (AI & ML) | VVIT - Vasireddy Venkatadri | 8.59 | 2021-2025 |
|
30 |
+
| 12th Class | Narayana Junior College | 9.22 | 2020-2021 |
|
31 |
+
| 10th Class | Narayana High School | 9.7 | 2018-2019 |
|
32 |
+
------------------------------------------------------------------------------------|
|
33 |
+
```
|
34 |
+
|
35 |
+
# PROJECTS:
|
36 |
+
```
|
37 |
+
## FACE RECOGNITION VGGFace (LINK-"kaggle-notebook-link:https://www.kaggle.com/code/sarath02003/face-recognition-using-vggface2") -Individual project [Tensorflow | Keras | OpenCV |Django]:
|
38 |
+
```
|
39 |
+
Developed a face recognition application utilizing the VGGFace architecture with TensorFlow, attaining exceptional accuracy on
|
40 |
+
a bespoke 29-class dataset. Launched the system through Hugging face space on an online server, showcasing advanced
|
41 |
+
capabilities in artificial neural networks and computer vision. Check the live application ("live-exegution-link:https://huggingface.co/spaces/Sarath0x8f/Celebrity_Recognition").
|
42 |
+
Leveraged advanced facial recognition techniques using a custom dataset created to simulate real-world conditions and developed Celebrity Recognition Application.
|
43 |
+
Utilized data augmentation strategies, including shear, zoom, rotation, and brightness adjustments, to enhance model robustness.
|
44 |
+
Implemented transfer learning with the VGGFace model to accelerate training and improve accuracy to 98, incorporating custom fully connected layers and freezing certain layers for optimal performance.
|
45 |
+
Explored various optimizers (Adam, Adagrad, RMSprop) to optimize the model, demonstrating the critical role of optimizer selection in deep learning tasks. Integrated advanced training callbacks, such as EarlyStopping and ReduceLROnPlateau,
|
46 |
+
to prevent overfitting and ensure efficient training processes. Conducted thorough evaluations of the model on training and validation datasets, achieving significant improvements in loss and accuracy metrics.
|
47 |
+
Developed a deep understanding of data handling, model architecture customization, and training strategies, contributing to a more effective facial recognition model.
|
48 |
+
Looking forward to further advancements in the field of deep learning and facial recognition.
|
49 |
+
- Mastered creating custom datasets using OpenCV, organizing training and test sets, and achieving 97.86% accuracy.
|
50 |
+
- Trained deep learning models for image classification, leading to the publication of two papers in peer-reviewed journals
|
51 |
+
focusing on advancements in facial recognition technology.
|
52 |
+
```
|
53 |
+
## SCRAM (LINK-"Secure-Campus-Resource-and-Access-Management-link:https://github.com/21bq1a4210/E2E_Project/graphs/contributors") - Minor project [Gemini-pro (LLM) & Google API | Tensorflow | Keras | OpenCV | Django]:
|
54 |
+
```
|
55 |
+
Engineered a robust, secure Django-based system for comprehensive college resource and access management, incorporating
|
56 |
+
advanced features such as user management, complaint registration, and a chatbot assistant. Seamlessly integrated Gemini-Pro
|
57 |
+
LLM with Google API and introduced face recognition technology for enhanced attendance tracking.
|
58 |
+
Led the development of a robust and secure Django-based system designed to streamline college resource and access management as part of my End-to-End Project. The platform integrates several key functionalities such as user management, complaint registration, attendance management system, and a chatbot assistant.
|
59 |
+
|
60 |
+
Here are my contribution to the project:
|
61 |
+
|
62 |
+
User Authentication & Security: Developed a comprehensive user authentication system using Django's default authentication and implemented 2-Step Verification (2SV) for password recovery, improving overall system security and reliability. Engineered a single-page application for password recovery with two-step verification, enhancing user convenience.
|
63 |
+
Face Recognition Attendance System: Created a one short face recognition model using FaceNet and MTCNN to manage attendance, with a unique feature allowing students to mark their attendance only once per day and within the campus premises. This innovation ensures strict attendance integrity and security.
|
64 |
+
Chatbot Integration: Built and integrated the AskVVIT chatbot to assist with college-related inquiries. Initially deployed with the Gemini Pro LLM and Google API, the chatbot provided an interactive platform for students and staff. Due to response time limitations (one response per minute), the model was later replaced with LLaMA 3.2:1B and also tried with LLaMA 3:latest, significantly enhancing response efficiency.
|
65 |
+
Backend & Django: Developed Django templates using Jinja and integrating frontend pages with backend functionality. Created models for user registration and attendence management system.
|
66 |
+
|
67 |
+
This project not only enhanced resource management at the college but also introduced modern technologies such as face recognition and AI-driven chatbots, setting a foundation for future advancements in academic institution management systems.
|
68 |
+
• Devised robust user authentication and 2-FS password authentication, enhancing system security and reliability.
|
69 |
+
• Led the project team, developing comprehensive Django templates, seamlessly integrating custom chatbot functionalities
|
70 |
+
using LLM and created a one short face recognition for attendance management system .
|
71 |
+
```
|
72 |
+
## Document and Data Query AI Agent - Individual project [Llama3 | Ollama | LlamaIndex]
|
73 |
+
```
|
74 |
+
Created a sophisticated AI agent for document-based Q&A and CSV data visualization, utilizing Llama3 and Ollama for cuttingedge natural language processing. Integrated Llama Indexing for efficient data retrieval and robust document parsing within an
|
75 |
+
intuitive user interface.
|
76 |
+
• Combined HuggingFace embedding generation and a resilient query retry mechanism, boosting data accuracy and system
|
77 |
+
reliability.
|
78 |
+
• Demonstrated deep expertise in deep learning and real-time data processing, significantly improving system performance
|
79 |
+
and user experience.
|
80 |
+
```
|
81 |
+
## Personal Portfolio - Individual project [HTML | CSS | JS]:
|
82 |
+
```
|
83 |
+
Designed and developed a responsive personal portfolio("LINK:https://21bq1a4210.github.io/MyPortfolio-/") website using HTML, CSS, and JavaScript, showcasing strong UI/UX principles. Deployed the website online using GitHub Pages, making it accessible for users worldwide. The website features multiple sections, including Home, About, Services, Portfolio, and Contact, providing a comprehensive overview of my skills and projects. Implemented interactive elements like a contact form integrated with EmailJS for seamless communication and added an AI chatbot, Tidio's Lyro, to enhance user engagement and provide additional information about me. Crafted unique visuals using AI-generated images to personalize the portfolio and demonstrate creativity. This project ignited my interest in web development, transforming initial reluctance into enthusiasm for building dynamic and interactive web experiences.
|
84 |
+
```
|
85 |
+
## OBJECT SEGMENTATION - Individual project [yoloV8, RoboFlow]:
|
86 |
+
```
|
87 |
+
Built a versatile Python script using OpenCV and scikit image for image processing tasks.like object segmentation, using YoloV8, OpenCV, sklearn. Implemented functionalities like grayscale contrast nhancement, image similarity measurement (SSIM), and object segmentation YOLOv8 Demonstrated the script s capabilities through image processing, evaluation, and visualization. Planned to explore integration of advanced deep learning models for further functionalities.
|
88 |
+
Here is the ("notebook link: Object_Segmentation_&_ComparisonObject_Segmentation_&_Comparison.ipynb:https://colab.research.google.com/drive/1cpNEx_u70I26Ex0alZZxoFa47p6fpoDz?usp=sharing")
|
89 |
+
```
|
90 |
+
```
|
91 |
+
|
92 |
+
#CERTIFICATION:
|
93 |
+
```
|
94 |
+
➢ Python Programming : Kaggle, SoloLearn, HackerRank, GUVI.
|
95 |
+
➢ Machine Learning : Coursera, Kaggle, Microsoft, IBM
|
96 |
+
➢ Deep Learning : Kaggle, NPTEL, OpenCVUniversity, IBM.
|
97 |
+
➢ Google Skill Boost(profile) : Introduction to Gen AI LP, Gemini for Google Cloud LP, Gen AI for Developers Learning Paths.
|
98 |
+
➢ Django : Microsoft
|
99 |
+
➢ AWS : AWS Academy Cloud Foundations, AWS Academy Cloud Architecting
|
100 |
+
➢ NPTEL (exam) : Java (ELITE), Data Science (ELITE + SILVER)
|
101 |
+
```
|
102 |
+
#ACHIEVEMENTS:
|
103 |
+
```
|
104 |
+
Secure runner up in a Python Intramural technical fest at RVR&JC college (LINK)
|
105 |
+
```
|
106 |
+
# Contact me or Hire me:
|
107 |
+
```
|
108 |
+
To dowlode my resume open Files in the resume. There you can find my email and other info.
|
109 |
+
```
|
110 |
'''
|
111 |
|
112 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
|
|
123 |
# System message defining assistant behavior
|
124 |
system_message = {
|
125 |
"role": "system",
|
126 |
+
"content": f"Act and chat as SARATH who is a professional fresher seeking a job and your name is SARATH. Here is about you(SARATH): {data}. You should answer questions based on this information only."
|
127 |
}
|
128 |
|
129 |
messages = [system_message]
|