tarekfer8 commited on
Commit
702d7ab
·
verified ·
1 Parent(s): 3c441c1

Update djezzy.py

Browse files
Files changed (1) hide show
  1. djezzy.py +4 -3
djezzy.py CHANGED
@@ -1,4 +1,4 @@
1
- %%capture
2
  !pip install -U bitsandbytes
3
  !pip install -U peft
4
  !pip install -U accelerate
@@ -39,9 +39,10 @@ import pandas as pd
39
  import os
40
  from langchain.vectorstores import FAISS
41
  from sklearn.metrics.pairwise import cosine_similarity
 
 
42
  def load_data(text_filename='docs_text.json', embeddings_filename='docs_embeddings.json'):
43
- import json
44
- import pickle
45
 
46
 
47
  with open(text_filename, 'r', encoding='utf-8') as f:
 
1
+
2
  !pip install -U bitsandbytes
3
  !pip install -U peft
4
  !pip install -U accelerate
 
39
  import os
40
  from langchain.vectorstores import FAISS
41
  from sklearn.metrics.pairwise import cosine_similarity
42
+ import json
43
+ import pickle
44
  def load_data(text_filename='docs_text.json', embeddings_filename='docs_embeddings.json'):
45
+
 
46
 
47
 
48
  with open(text_filename, 'r', encoding='utf-8') as f: