Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,87 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
from sentence_transformers.util import cos_sim
|
| 3 |
from sentence_transformers import models, SentenceTransformer
|
| 4 |
-
from skills import skills
|
| 5 |
import pandas as pd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
#mpnet_fine_tuned = SentenceTransformer('content/mpnet')
|
| 8 |
sbert_model = SentenceTransformer('h3lmi/mpnet_maxpool2')
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from sentence_transformers.util import cos_sim
|
| 3 |
from sentence_transformers import models, SentenceTransformer
|
|
|
|
| 4 |
import pandas as pd
|
| 5 |
+
skills=['leading and motivating',
|
| 6 |
+
'supervising people',
|
| 7 |
+
'organising, planning and scheduling work and activities',
|
| 8 |
+
'protecting and enforcing',
|
| 9 |
+
'monitoring, inspecting and testing',
|
| 10 |
+
'counselling',
|
| 11 |
+
'using hand tools',
|
| 12 |
+
'using digital tools for collaboration, content creation and problem solving',
|
| 13 |
+
'teaching and training',
|
| 14 |
+
'negotiating',
|
| 15 |
+
'conducting studies, investigations and examinations',
|
| 16 |
+
'handling and disposing of waste and hazardous materials',
|
| 17 |
+
'developing objectives and strategies',
|
| 18 |
+
'thinking creatively and innovatively',
|
| 19 |
+
'working with others',
|
| 20 |
+
'analysing and evaluating information and data',
|
| 21 |
+
'installing interior or exterior infrastructure',
|
| 22 |
+
'designing systems and products',
|
| 23 |
+
'moving and lifting',
|
| 24 |
+
'advising and consulting',
|
| 25 |
+
'operating machinery for the manufacture of products',
|
| 26 |
+
'handling animals',
|
| 27 |
+
'setting up and protecting computer systems',
|
| 28 |
+
'providing information and support to the public and clients',
|
| 29 |
+
'writing and composing',
|
| 30 |
+
'assembling and fabricating products',
|
| 31 |
+
'operating mobile plant',
|
| 32 |
+
'sorting and packaging goods and materials',
|
| 33 |
+
'promoting, selling and purchasing',
|
| 34 |
+
'providing health care or medical treatments',
|
| 35 |
+
'documenting and recording information',
|
| 36 |
+
'managing information',
|
| 37 |
+
'accessing and analysing digital data',
|
| 38 |
+
'preparing and serving food and drinks',
|
| 39 |
+
'installing, maintaining and repairing mechanical equipment',
|
| 40 |
+
'installing, maintaining and repairing electrical, electronic and precision equipment',
|
| 41 |
+
'working with machinery and specialised equipment',
|
| 42 |
+
'driving vehicles',
|
| 43 |
+
'providing general personal care',
|
| 44 |
+
'transforming and blending materials',
|
| 45 |
+
'allocating and controlling resources',
|
| 46 |
+
'liaising and networking',
|
| 47 |
+
'performing and entertaining',
|
| 48 |
+
'performing administrative activities',
|
| 49 |
+
'monitoring developments in area of expertise',
|
| 50 |
+
'tending plants and crops',
|
| 51 |
+
'creating artistic, visual or instructive materials',
|
| 52 |
+
'building and repairing structures',
|
| 53 |
+
'processing information',
|
| 54 |
+
'using precision instrumentation and equipment',
|
| 55 |
+
'calculating and estimating',
|
| 56 |
+
'obtaining information verbally',
|
| 57 |
+
'presenting information',
|
| 58 |
+
'making moulds, casts, models and patterns',
|
| 59 |
+
'processing information, ideas and concepts',
|
| 60 |
+
'making decisions',
|
| 61 |
+
'dealing with problems',
|
| 62 |
+
'solving problems',
|
| 63 |
+
'measuring physical properties',
|
| 64 |
+
'operating watercraft',
|
| 65 |
+
'management skills',
|
| 66 |
+
'positioning materials, tools or equipment',
|
| 67 |
+
'washing and maintaining textiles and clothing',
|
| 68 |
+
'operating machinery for the extraction and processing of raw materials',
|
| 69 |
+
'working with computers',
|
| 70 |
+
'information skills',
|
| 71 |
+
'cleaning',
|
| 72 |
+
'finishing interior or exterior of structures',
|
| 73 |
+
'communication, collaboration and creativity',
|
| 74 |
+
'constructing',
|
| 75 |
+
'operating aircraft',
|
| 76 |
+
'programming computer systems',
|
| 77 |
+
'working in teams and collaboration',
|
| 78 |
+
'using digital tools to control machinery',
|
| 79 |
+
'assisting and caring',
|
| 80 |
+
'using more than one language',
|
| 81 |
+
'recruiting and hiring',
|
| 82 |
+
'planning and organising',
|
| 83 |
+
'handling and moving']
|
| 84 |
+
|
| 85 |
|
| 86 |
#mpnet_fine_tuned = SentenceTransformer('content/mpnet')
|
| 87 |
sbert_model = SentenceTransformer('h3lmi/mpnet_maxpool2')
|