dhruv107 commited on
Commit
c7af238
1 Parent(s): f4ad42d
.locks/models--sentence-transformers--all-MiniLM-L6-v2/13afc4e1fcb2e8688c8b565e612d78bf0cc0a203.lock ADDED
File without changes
.locks/models--sentence-transformers--all-MiniLM-L6-v2/59d594003bf59880a884c574bf88ef7555bb0202.lock ADDED
File without changes
.locks/models--sentence-transformers--all-MiniLM-L6-v2/72b987fd805cfa2b58c4c8c952b274a11bfd5a00.lock ADDED
File without changes
.locks/models--sentence-transformers--all-MiniLM-L6-v2/952a9b81c0bfd99800fabf352f69c7ccd46c5e43.lock ADDED
File without changes
.locks/models--sentence-transformers--all-MiniLM-L6-v2/c3a85f238711653950f6a79ece63eb0ea93d76f6a6284be04019c53733baf256.lock ADDED
File without changes
.locks/models--sentence-transformers--all-MiniLM-L6-v2/c79f2b6a0cea6f4b564fed1938984bace9d30ff0.lock ADDED
File without changes
.locks/models--sentence-transformers--all-MiniLM-L6-v2/cb202bfe2e3c98645018a6d12f182a434c9d3e02.lock ADDED
File without changes
.locks/models--sentence-transformers--all-MiniLM-L6-v2/d1514c3162bbe87b343f565fadc62e6c06f04f03.lock ADDED
File without changes
.locks/models--sentence-transformers--all-MiniLM-L6-v2/e7b0375001f109a6b8873d756ad4f7bbb15fbaa5.lock ADDED
File without changes
.locks/models--sentence-transformers--all-MiniLM-L6-v2/fb140275c155a9c7c5a3b3e0e77a9e839594a938.lock ADDED
File without changes
.locks/models--sentence-transformers--all-MiniLM-L6-v2/fd1b291129c607e5d49799f87cb219b27f98acdf.lock ADDED
File without changes
pretrained.py CHANGED
@@ -64,7 +64,7 @@ if __name__ == '__main__':
64
  print(f'loading model...')
65
 
66
  # model = SentenceTransformer("all-MiniLM-L6-v2", cache_folder='./')
67
- model = SentenceTransformer("all-MiniLM-L6-v2", cache_folder='/app')
68
  #model = SentenceTransformer("models--sentence-transformers--all-MiniLM-L6-v2/snapshots/1a310852cf8e58d22c5ebff537711d504ad4ad66")
69
  model.max_seq_length = 512
70
  print(f'model max lenght is :{model.max_seq_length}')
 
64
  print(f'loading model...')
65
 
66
  # model = SentenceTransformer("all-MiniLM-L6-v2", cache_folder='./')
67
+ model = SentenceTransformer("all-MiniLM-L6-v2", cache_folder='./')
68
  #model = SentenceTransformer("models--sentence-transformers--all-MiniLM-L6-v2/snapshots/1a310852cf8e58d22c5ebff537711d504ad4ad66")
69
  model.max_seq_length = 512
70
  print(f'model max lenght is :{model.max_seq_length}')