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