(base) Say-Yah-for-juul-rip:~ haiphan$ mkdir sports mkdir: sports: File exists (base) Say-Yah-for-juul-rip:~ haiphan$ (base) Say-Yah-for-juul-rip:~ haiphan$ wget https://raw.githubusercontent.com/neuml/tldrstory/master/apps/sports/app.yml -O sports/app.yml --2020-10-29 15:09:35-- https://raw.githubusercontent.com/neuml/tldrstory/master/apps/sports/app.yml Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.124.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.124.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1396 (1.4K) [text/plain] Saving to: ‘sports/app.yml’ sports/app.yml 100%[===================>] 1.36K --.-KB/s in 0s 2020-10-29 15:09:36 (6.00 MB/s) - ‘sports/app.yml’ saved [1396/1396] (base) Say-Yah-for-juul-rip:~ haiphan$ (base) Say-Yah-for-juul-rip:~ haiphan$ wget https://raw.githubusercontent.com/neuml/tldrstory/master/apps/sports/index-simple.yml -O sports/index.yml --2020-10-29 15:09:36-- https://raw.githubusercontent.com/neuml/tldrstory/master/apps/sports/index-simple.yml Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.124.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.124.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 928 [text/plain] Saving to: ‘sports/index.yml’ sports/index.yml 100%[===================>] 928 --.-KB/s in 0s 2020-10-29 15:09:36 (15.3 MB/s) - ‘sports/index.yml’ saved [928/928] (base) Say-Yah-for-juul-rip:~ haiphan$ (base) Say-Yah-for-juul-rip:~ haiphan$ wget https://raw.githubusercontent.com/neuml/tldrstory/master/src/python/tldrstory/app.py -O sports/app.py --2020-10-29 15:09:36-- https://raw.githubusercontent.com/neuml/tldrstory/master/src/python/tldrstory/app.py Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.124.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.124.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 8110 (7.9K) [text/plain] Saving to: ‘sports/app.py’ sports/app.py 100%[===================>] 7.92K --.-KB/s in 0s 2020-10-29 15:09:37 (17.2 MB/s) - ‘sports/app.py’ saved [8110/8110] (base) Say-Yah-for-juul-rip:~ haiphan$ python -m tldrstory.index sports/index.yml 2020-10-29 15:10:59,150 [INFO] index : Refreshing index: Sports News Some weights of the model checkpoint at facebook/bart-large-mnli were not used when initializing BartModel: ['model.encoder.version', 'model.decoder.version'] - This IS expected if you are initializing BartModel from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPretraining model). - This IS NOT expected if you are initializing BartModel from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model). Some weights of the model checkpoint at facebook/bart-large-mnli were not used when initializing BartForSequenceClassification: ['model.encoder.version', 'model.decoder.version'] - This IS expected if you are initializing BartForSequenceClassification from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPretraining model). - This IS NOT expected if you are initializing BartForSequenceClassification from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model). 2020-10-29 15:11:39,797 [INFO] rss : Reading feed: http://sports.yahoo.com/mlb/rss.xml 2020-10-29 15:11:41,373 [INFO] rss : Reading feed: http://sports.yahoo.com/nfl/rss.xml 2020-10-29 15:11:42,409 [INFO] rss : Reading feed: http://sports.yahoo.com/nba/rss.xml 2020-10-29 15:11:43,544 [INFO] rss : Reading feed: http://sports.yahoo.com/nhl/rss.xml 2020-10-29 15:17:37,661 [INFO] sqlite : Total articles inserted: 203 2020-10-29 15:17:47,577 [INFO] SentenceTransformer: Use pytorch device: cpu 2020-10-29 15:17:51,703 [INFO] index : Built embedding index over 203 stored articles 2020-10-29 15:17:51,772 [INFO] index : Indexing complete (base) Say-Yah-for-juul-rip:~ haiphan$ INDEX_SETTINGS=sports/index.yml API_CLASS=tldrstory.api.API uvicorn "txtai.api:app" INFO: Started server process [70261] INFO: Waiting for application startup. INFO: Application startup complete. INFO:uvicorn.error:Application startup complete. INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) INFO:uvicorn.error:Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)