Souha Ben Hassine commited on
Commit
a65eea4
·
1 Parent(s): 4bd843b

modify readme

Browse files
Files changed (2) hide show
  1. README.md +4 -7
  2. app.py +3 -3
README.md CHANGED
@@ -15,14 +15,11 @@ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-
15
 
16
  ```
17
  pip install -r requirements.txt
18
- python3 -m spacy download en_core_web_sm
19
 
20
  ```
 
21
 
 
 
22
 
23
-
24
-
25
-
26
-
27
- input_resume = "Abid Ali Awan Data Scientist I am a certified data scientist professional, who loves building machine learning models and blogs about the latest AI technologies. I am currently testing AI Products at PEC-PITC, which later gets approved for human trials. [email protected] +923456855126 Islamabad, Pakistan abidaliawan.me WORK EXPERIENCE Data Scientist Pakistan Innovation and Testing Center - PEC 04/2021 - Present, Islamabad, Pakistan Redesigned data of engineers that were mostly scattered and unavailable. Designed dashboard and data analysis report to help higher management make better decisions. Accessibility of key information has created a new culture of making data-driven decisions. Contact: Ali Raza Asif - [email protected] Data Scientist Freelancing/Kaggle 11/2020 - Present, Islamabad, Pakistan Engineered a healthcare system. Used machine learning to detect some of the common decisions. The project has paved the way for others to use new techniques to get better results. Participated in Kaggle machine learning competitions. Learned new techniques to get a better score and finally got to 1 percent rank. Researcher / Event Organizer CREDIT 02/2017 - 07/2017, Kuala Lumpur, Malaysia Marketing for newly build research lab. Organized technical events and successfully invited the multiple company's CEO for talks. Reduced the gap between industries and educational institutes. Research on new development in the IoT sector. Created research proposal for funding. Investigated the new communication protocol for IoT devices. Contact: Dr. Tan Chye Cheah - [email protected] EDUCATION MSc in Technology Management Staffordshire University 11/2015 - 04/2017, Postgraduate with Distinction Challenges in Implementing IoT-enabled Smart cities in Malaysia. Bachelors Electrical Telecommunication Engineering COMSATS Institute of Information Technology, Islamabad 08/2010 - 01/2014, CGPA: 3.09 Networking Satellite communications Programming/ Matlab Telecommunication Engineering SKILLS Designing Leadership Media/Marketing R/Python SQL Tableau NLP Data Analysis Machine learning Deep learning Webapp/Cloud Feature Engineering Ensembling Time Series Technology Management ACHIEVEMENTS 98th Hungry Geese Simulation Competition (08/2021) 2nd in Covid-19 vaccinations around the world (07/2021) 8th in Automatic Speech Recognition in WOLOF (06/2021) Top 10 in WiDS Datathon. (03/2021) 40th / 622 in MagNet: Model the Geomagnetic Field Hosted by NOAA (02/2021) 18th in Rock, Paper, Scissors/Designing AI Agent Competition. (02/2021) PROJECTS Goodreads Profile Analysis WebApp (09/2021) Data Analysis Web Scraping XLM Interactive Visualization Contributed in orchest.io (08/2021) Testing and Debuging Technical Article Proposing new was to Improve ML pipelines World Vaccine Update System (06/2021) Used sqlite3 for database Automated system for daily update the Kaggle DB and Analysis Interactive dashboard mRNA-Vaccine-Degradation-Prediction (06/2021) Explore our dataset and then preprocessed sequence, structure, and predicted loop type features Train deep learning GRU model Trip Advisor Data Analysis/ML (04/2021) Preprocessing Data, Exploratory Data analysis, Word clouds. Feature Engineering, Text processing. BiLSTM Model for predicting rating, evaluation, model performance. Jane Street Market Prediction (03/2021) EDA, Feature Engineering, experimenting with hyperparameters. Ensembling: Resnet, NN Embeddings, TF Simple NN model. Using simple MLP pytorch model. Achievements/Tasks Achievements/Tasks Achievements/Tasks Thesis Course"
28
- input_skills = "Data Science,Data Analysis,Database,Machine Learning,tableau"
 
15
 
16
  ```
17
  pip install -r requirements.txt
 
18
 
19
  ```
20
+ # Run the code:
21
 
22
+ ```
23
+ python3 app.py
24
 
25
+ ```
 
 
 
 
 
app.py CHANGED
@@ -130,7 +130,7 @@ def find_matching_resumes(input_skills, n=5):
130
  for idx, row in data.iterrows():
131
  resume_skills = row['skills']
132
  similarity_score = calculate_semantic_similarity(req_skills, resume_skills)
133
- ranked_resumes.append((idx, similarity_score))
134
 
135
  # Sort resumes by similarity scores in descending order
136
  ranked_resumes.sort(key=lambda x: x[1], reverse=True)
@@ -140,8 +140,8 @@ def find_matching_resumes(input_skills, n=5):
140
 
141
  # Construct output in a structured format
142
  output = []
143
- for resume_id, score in top_matching_resumes:
144
- output.append(f"Similarity Score: {score}\nResume ID: {resume_id}")
145
 
146
  return output
147
 
 
130
  for idx, row in data.iterrows():
131
  resume_skills = row['skills']
132
  similarity_score = calculate_semantic_similarity(req_skills, resume_skills)
133
+ ranked_resumes.append((row['Resume_str'], similarity_score)) # Accessing 'resume_str' directly
134
 
135
  # Sort resumes by similarity scores in descending order
136
  ranked_resumes.sort(key=lambda x: x[1], reverse=True)
 
140
 
141
  # Construct output in a structured format
142
  output = []
143
+ for resume_str, score in top_matching_resumes:
144
+ output.append(f"Similarity Score: {score}\nResume: {resume_str}") # Return 'resume_str' instead of 'resume_id'
145
 
146
  return output
147