sebastianalgharaballi
commited on
Update encoder.py
Browse files- encoder.py +3 -2
encoder.py
CHANGED
@@ -117,7 +117,8 @@ class JobSeekerEncoder(BaseFieldEncoder):
|
|
117 |
'experience',
|
118 |
'primary_skills',
|
119 |
'secondary_skills',
|
120 |
-
'certifications'
|
|
|
121 |
}
|
122 |
|
123 |
def encode_fields(self, fields: Dict[str, str]) -> Dict[str, np.ndarray]:
|
@@ -267,4 +268,4 @@ FIELD_WEIGHTS = {
|
|
267 |
}
|
268 |
|
269 |
__all__ = ['JobPostingEncoder', 'JobSeekerEncoder', 'LegacyFieldEncoder',
|
270 |
-
'create_encoders', 'FIELD_MAPPING', 'FIELD_WEIGHTS']
|
|
|
117 |
'experience',
|
118 |
'primary_skills',
|
119 |
'secondary_skills',
|
120 |
+
'certifications',
|
121 |
+
'education' # Add this line
|
122 |
}
|
123 |
|
124 |
def encode_fields(self, fields: Dict[str, str]) -> Dict[str, np.ndarray]:
|
|
|
268 |
}
|
269 |
|
270 |
__all__ = ['JobPostingEncoder', 'JobSeekerEncoder', 'LegacyFieldEncoder',
|
271 |
+
'create_encoders', 'FIELD_MAPPING', 'FIELD_WEIGHTS']
|