davidheineman commited on
Commit
7502d6f
1 Parent(s): d825967

update readme

Browse files
Files changed (1) hide show
  1. README.md +13 -8
README.md CHANGED
@@ -10,13 +10,6 @@ git clone https://huggingface.co/davidheineman/colbert-acl
10
  pip install bibtexparser colbert-ir[torch,faiss-gpu]
11
  ```
12
 
13
- To grab the up-to-date abstracts:
14
- ```sh
15
- curl -O https://aclanthology.org/anthology+abstracts.bib.gz
16
- gunzip anthology+abstracts.bib.gz
17
- mv anthology+abstracts.bib anthology.bib
18
- ```
19
-
20
  ## Setup server
21
  Install pip dependencies
22
  ```sh
@@ -35,8 +28,16 @@ python init_db.py
35
 
36
  ### (Optional) Step 1: Parse the Anthology
37
 
38
- Feel free to skip steps 1 and 2, since the parsed/indexed anthology is contained in this repo. To parse the `.bib` file into `.json`:
 
 
 
 
 
 
 
39
 
 
40
  ```sh
41
  python parse.py
42
  ```
@@ -59,6 +60,10 @@ Then, to test, visit:
59
  ```
60
  http://localhost:8893/api/search?k=25&query=How to extend context windows?
61
  ```
 
 
 
 
62
 
63
  ## Example notebooks
64
 
 
10
  pip install bibtexparser colbert-ir[torch,faiss-gpu]
11
  ```
12
 
 
 
 
 
 
 
 
13
  ## Setup server
14
  Install pip dependencies
15
  ```sh
 
28
 
29
  ### (Optional) Step 1: Parse the Anthology
30
 
31
+ Feel free to skip steps 1 and 2, since the parsed/indexed anthology is contained in this repo.
32
+
33
+ To grab the up-to-date abstracts:
34
+ ```sh
35
+ curl -O https://aclanthology.org/anthology+abstracts.bib.gz
36
+ gunzip anthology+abstracts.bib.gz
37
+ mv anthology+abstracts.bib anthology.bib
38
+ ```
39
 
40
+ To parse the `.bib` file into `.json`:
41
  ```sh
42
  python parse.py
43
  ```
 
60
  ```
61
  http://localhost:8893/api/search?k=25&query=How to extend context windows?
62
  ```
63
+ or for an interface:
64
+ ```
65
+ http://localhost:8893
66
+ ```
67
 
68
  ## Example notebooks
69