Tao Wu commited on
Commit
7d5306a
β€’
1 Parent(s): 8fd85d2

update EduGBERT

Browse files
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/multilingual-e5_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')
 
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:151c1ef6c86444719fcd68cef527bab9e48ba631990b9296cd17c822c0011ca0
3
- size 113479680
 
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:932d15f4490ff30ab1d591f138d66086a4f10ef53e0d32fa6ed0bbae26081ea8
3
- size 29652000
 
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:a391bacfd2fe928975e2ea4f6b076b0aa8df72876c4e9234c4a807dfe9214e3e
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:d050b5aede2ec58e0e741f33d0c4499c4b98dd200b5166b557d1a5ee49e2db23
3
- size 404064
 
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:faebe1fab42b5b6f39d3193b6a1396941178c28de5c11d0a3b2780232793cd8b
3
- size 28000
 
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:012030771b78fb3011beddf18b990501672f8c5fb473ffb113f0e79ddd70d390
3
- size 59416
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c637f61ab8c840f644f6a5d9c6a6290a5374997e1d3973225841d93c3287e2b
3
+ size 51880