Spaces:
Runtime error
Runtime error
Commit
·
b648f86
1
Parent(s):
c326e3e
Upload 4 files
Browse files- README.md +14 -13
- app.py +69 -0
- modelf.pkl +3 -0
- requirements.txt +9 -0
README.md
CHANGED
@@ -1,13 +1,14 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
|
1 |
+
# Resume-Parser-END-TO-END-V2-
|
2 |
+
Upgraded the UI
|
3 |
+
|
4 |
+
**APP LINK**: https://resume-parser-ver2.herokuapp.com/
|
5 |
+
|
6 |
+
# Resume-Parser-END-TO-END
|
7 |
+
|
8 |
+
**Tools Used**:- Custom Named Entity Recognition (NER), Spacy, NLP.
|
9 |
+
|
10 |
+
**Data Source**:LinkedIn Resume Summaries
|
11 |
+
|
12 |
+
**Extracting Information**: Experience, Skills, In-progress(Education. Certification, Awards, Organization, Person)
|
13 |
+
|
14 |
+
**ML Deploy**: Streamlit and Deployed on Heroku
|
app.py
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env python
|
2 |
+
# coding: utf-8
|
3 |
+
|
4 |
+
# In[2]:
|
5 |
+
|
6 |
+
|
7 |
+
|
8 |
+
import numpy as np
|
9 |
+
import joblib
|
10 |
+
|
11 |
+
|
12 |
+
|
13 |
+
import streamlit as st
|
14 |
+
import pandas as pd
|
15 |
+
import numpy as np
|
16 |
+
import altair as alt
|
17 |
+
import pydeck as pdk
|
18 |
+
|
19 |
+
# SETTING PAGE CONFIG TO WIDE MODE
|
20 |
+
st.set_page_config(layout="wide")
|
21 |
+
|
22 |
+
|
23 |
+
st.title('Resume Parser')
|
24 |
+
|
25 |
+
|
26 |
+
'##### Instructions:- Select text from LinkedIn Summary Section Only '
|
27 |
+
|
28 |
+
txt = st.text_input('Resume summary to Analyze', '''
|
29 |
+
Been a CS Graduate, I am a Data Science enthusiast
|
30 |
+
with a good understanding of Machine Learning algorithms
|
31 |
+
Techniques such as Regression, Classification, and Clustering, along with
|
32 |
+
Computer Vision and NLP. Self Thaught Python Programmer.
|
33 |
+
Has a good understanding of SQL and also has good Data Visualisation skills,
|
34 |
+
and has worked with tools like Tableau and Python libraries such as Numpy and Pandas,
|
35 |
+
Scikit learn, Matplotlib and Seaborn.
|
36 |
+
I'm highly passionate about Data Science and intending to pursue a career in Big data/Data Scientist.
|
37 |
+
github link - https://github.com/pramod1998-hash
|
38 |
+
''')
|
39 |
+
|
40 |
+
model = joblib.load(open('modelf.pkl', 'rb'))
|
41 |
+
|
42 |
+
|
43 |
+
|
44 |
+
st.write('**Summary Submitted**:\n', txt)
|
45 |
+
|
46 |
+
int_features = [txt]
|
47 |
+
#st.write(int_features)
|
48 |
+
docs=list(model.pipe(int_features))
|
49 |
+
lst=[]
|
50 |
+
for doc in docs:
|
51 |
+
for entity in doc.ents:
|
52 |
+
#st.write((entity.text,entity.label_))
|
53 |
+
lst.append((entity.text,entity.label_))
|
54 |
+
|
55 |
+
output = lst
|
56 |
+
|
57 |
+
df = pd.DataFrame(
|
58 |
+
lst)
|
59 |
+
|
60 |
+
st.write("### OUTPUT:-")
|
61 |
+
st.dataframe(df)
|
62 |
+
|
63 |
+
st.write("*Note: So far our AI has been train to extract only skill and experience. This AI can be trained further for extraction required information* ")
|
64 |
+
#st.write(output)
|
65 |
+
|
66 |
+
|
67 |
+
|
68 |
+
|
69 |
+
|
modelf.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30c43b26972b2cb9ebab2a104d6fa6c462bb313e76c56ff8c83fa865e8f73e85
|
3 |
+
size 15487513
|
requirements.txt
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
streamlit==1.5.0
|
2 |
+
spacy==3.0
|
3 |
+
openpyxl
|
4 |
+
pandas
|
5 |
+
numpy>=1.9.2
|
6 |
+
scipy>=0.15.1
|
7 |
+
scikit-learn>=0.18
|
8 |
+
matplotlib>=1.4.3
|
9 |
+
joblib==0.16.0
|