Spaces:
Paused
Paused
Tao Wu
commited on
Commit
β’
7d5306a
1
Parent(s):
8fd85d2
update EduGBERT
Browse files- app/config.py +3 -3
- app/data/EduGBERT_cos_escoai/chroma.sqlite3 +2 -2
- app/data/EduGBERT_cos_escoai/{3b822eb4-09a8-4577-a432-58654a23254b β facbf936-cb42-45b3-8dd7-c6a84203b62a}/data_level0.bin +2 -2
- app/data/EduGBERT_cos_escoai/{3b822eb4-09a8-4577-a432-58654a23254b β facbf936-cb42-45b3-8dd7-c6a84203b62a}/header.bin +1 -1
- app/data/EduGBERT_cos_escoai/{3b822eb4-09a8-4577-a432-58654a23254b β facbf936-cb42-45b3-8dd7-c6a84203b62a}/index_metadata.pickle +2 -2
- app/data/EduGBERT_cos_escoai/{3b822eb4-09a8-4577-a432-58654a23254b β facbf936-cb42-45b3-8dd7-c6a84203b62a}/length.bin +2 -2
- app/data/EduGBERT_cos_escoai/{3b822eb4-09a8-4577-a432-58654a23254b β facbf936-cb42-45b3-8dd7-c6a84203b62a}/link_lists.bin +2 -2
app/config.py
CHANGED
@@ -13,12 +13,12 @@ ENCODE_KWARGS = {
|
|
13 |
'normalize_embeddings': os.getenv('NORMALIZE_EMBEDDINGS', 'True') == 'True',
|
14 |
'convert_to_tensor': os.getenv('CONVERT_TO_TENSOR', 'True') == 'True'
|
15 |
}
|
16 |
-
QUERY_INSTRUCTION = os.getenv('QUERY_INSTRUCTION', 'Find the course that relates to the given occupation and cover the skills gap')
|
17 |
-
|
18 |
# Other configurations
|
19 |
TOP_K = int(os.getenv('TOP_K', 10))
|
20 |
#PERSIST_DIRECTORY = os.getenv('PERSIST_DIRECTORY', "/app/data/course_emb_db")
|
21 |
-
PERSIST_DIRECTORY = os.getenv('PERSIST_DIRECTORY', "/app/data/
|
22 |
CSV_FILE_PATH = os.getenv('CSV_FILE_PATH', '/app/data/occupations_de.csv')
|
23 |
|
24 |
REC_LORA_MODEL = os.getenv('REC_LORA_MODEL', 'wt3639/Llama-3-8B-Instruct_CourseRec_lora')
|
|
|
13 |
'normalize_embeddings': os.getenv('NORMALIZE_EMBEDDINGS', 'True') == 'True',
|
14 |
'convert_to_tensor': os.getenv('CONVERT_TO_TENSOR', 'True') == 'True'
|
15 |
}
|
16 |
+
#QUERY_INSTRUCTION = os.getenv('QUERY_INSTRUCTION', 'Find the course that relates to the given occupation and cover the skills gap')
|
17 |
+
QUERY_INSTRUCTION = os.getenv('QUERY_INSTRUCTION', '')
|
18 |
# Other configurations
|
19 |
TOP_K = int(os.getenv('TOP_K', 10))
|
20 |
#PERSIST_DIRECTORY = os.getenv('PERSIST_DIRECTORY', "/app/data/course_emb_db")
|
21 |
+
PERSIST_DIRECTORY = os.getenv('PERSIST_DIRECTORY', "/app/data/EduGBERT_cos_escoai")
|
22 |
CSV_FILE_PATH = os.getenv('CSV_FILE_PATH', '/app/data/occupations_de.csv')
|
23 |
|
24 |
REC_LORA_MODEL = os.getenv('REC_LORA_MODEL', 'wt3639/Llama-3-8B-Instruct_CourseRec_lora')
|
app/data/EduGBERT_cos_escoai/chroma.sqlite3
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6a66289aa47eb8a5339cb507db5998aaf0027b7638ee6750d26a1459e7b64a9a
|
3 |
+
size 103567360
|
app/data/EduGBERT_cos_escoai/{3b822eb4-09a8-4577-a432-58654a23254b β facbf936-cb42-45b3-8dd7-c6a84203b62a}/data_level0.bin
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bfcaa4e2f82fc0426cfa574fc0f5126d913d426925e1ac3cdd3403b0d6d90d57
|
3 |
+
size 25416000
|
app/data/EduGBERT_cos_escoai/{3b822eb4-09a8-4577-a432-58654a23254b β facbf936-cb42-45b3-8dd7-c6a84203b62a}/header.bin
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 100
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ffd5ef9bb9ca1a421e18216d2997eea01192524736b484b49cd43b46e42e31f
|
3 |
size 100
|
app/data/EduGBERT_cos_escoai/{3b822eb4-09a8-4577-a432-58654a23254b β facbf936-cb42-45b3-8dd7-c6a84203b62a}/index_metadata.pickle
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:56f054e8946b4b38b357da496aca2bebffc0adf8010a12a1bb4218581d1bf8ca
|
3 |
+
size 346049
|
app/data/EduGBERT_cos_escoai/{3b822eb4-09a8-4577-a432-58654a23254b β facbf936-cb42-45b3-8dd7-c6a84203b62a}/length.bin
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b3a5a47864c30653e6f7a237ebf2b02ede483e75377c439e672417c42c0c6e0
|
3 |
+
size 24000
|
app/data/EduGBERT_cos_escoai/{3b822eb4-09a8-4577-a432-58654a23254b β facbf936-cb42-45b3-8dd7-c6a84203b62a}/link_lists.bin
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1c637f61ab8c840f644f6a5d9c6a6290a5374997e1d3973225841d93c3287e2b
|
3 |
+
size 51880
|