Spaces:
Runtime error
Runtime error
Update [uma_namboothiripad]assignment_2.py
Browse files
[uma_namboothiripad]assignment_2.py
CHANGED
@@ -8,7 +8,7 @@ Original file is located at
|
|
8 |
|
9 |
Load the dataset below
|
10 |
"""
|
11 |
-
|
12 |
!pip install -U spacy
|
13 |
#first install the library that would help us use BERT in an easy to use interface
|
14 |
#https://github.com/UKPLab/sentence-transformers/tree/master/sentence_transformers
|
@@ -223,5 +223,5 @@ for hit in hits:
|
|
223 |
row_dict = df.loc[df['hotel_features']== corpus[hit['corpus_id']]]
|
224 |
print("paper_id: " , row_dict['hotel_name'] , "\n")
|
225 |
|
226 |
-
|
227 |
|
|
|
8 |
|
9 |
Load the dataset below
|
10 |
"""
|
11 |
+
!pip freeze > requirements.txt
|
12 |
!pip install -U spacy
|
13 |
#first install the library that would help us use BERT in an easy to use interface
|
14 |
#https://github.com/UKPLab/sentence-transformers/tree/master/sentence_transformers
|
|
|
223 |
row_dict = df.loc[df['hotel_features']== corpus[hit['corpus_id']]]
|
224 |
print("paper_id: " , row_dict['hotel_name'] , "\n")
|
225 |
|
226 |
+
|
227 |
|