Spaces:
Running
on
Zero
Running
on
Zero
Update main.py
Browse files
main.py
CHANGED
@@ -29,7 +29,7 @@ EMBEDDING_MODEL_NAME = "allenai-specter"
|
|
29 |
LLM_MODEL_NAME = "Qwen/Qwen2-7B-Instruct"
|
30 |
|
31 |
# Load the dataset and convert to pandas
|
32 |
-
data =
|
33 |
|
34 |
# Filter out any publications without an abstract
|
35 |
abstract_is_null = [
|
|
|
29 |
LLM_MODEL_NAME = "Qwen/Qwen2-7B-Instruct"
|
30 |
|
31 |
# Load the dataset and convert to pandas
|
32 |
+
data = pandas.read_parquet("hf://datasets/ccm/publications/data/train-00000-of-00001.parquet")
|
33 |
|
34 |
# Filter out any publications without an abstract
|
35 |
abstract_is_null = [
|