Spaces:
Running
Running
Subhajit Chakraborty
commited on
Commit
·
145772b
1
Parent(s):
aef0887
update(11)
Browse files
src/post_extraction_tools/data_quality_enhancer.py
CHANGED
|
@@ -124,7 +124,7 @@ def enhancer(data: object, embedder) -> list:
|
|
| 124 |
|
| 125 |
|
| 126 |
def add_ind_key(data: list, embedder) -> list:
|
| 127 |
-
with open("/
|
| 128 |
key_ind_embs = json.load(f)["industry_embeddings"]
|
| 129 |
for c in data:
|
| 130 |
if "key_industry" not in c:
|
|
|
|
| 124 |
|
| 125 |
|
| 126 |
def add_ind_key(data: list, embedder) -> list:
|
| 127 |
+
with open("src/data/key_industry_embeddings.json", "r") as f:
|
| 128 |
key_ind_embs = json.load(f)["industry_embeddings"]
|
| 129 |
for c in data:
|
| 130 |
if "key_industry" not in c:
|