Download model/prep/test.py from JobSelect/JobAnalyze_6k: direct link, hf CLI and curl.
- Browser
- Download file 235 Bytes
-
https://huggingface.co/JobSelect/JobAnalyze_6k/resolve/main/model/prep/test.py
- Command line
-
hf download hf://JobSelect/JobAnalyze_6k/model/prep/test.py
-
curl -L -o test.py https://huggingface.co/JobSelect/JobAnalyze_6k/resolve/main/model/prep/test.py
235 Bytes
| """ | |
| test.py - Vectorizer test for maps | |
| """ | |
| import pickle | |
| with open('vectorizer.pkl', 'rb') as f: | |
| v = pickle.load(f) | |
| print('ci/cd' in v.get_feature_names_out()) | |
| print('infrastructure-as-code' in v.get_feature_names_out()) |