Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1.35 KB

README.md

File metadata and controls

56 lines (38 loc) · 1.35 KB

CodeBuild

To run the dev branch locally

Note Assumed that you are inside the src folder of the dev-branch.

Your pwd should look like this .../src/

  1. Install Poetry
# Install the poetry package
pip install poetry
  1. Install all the dependencies
# Poetry installs all the required dependencies
poetry install
  1. Run the module
# to store the data
python src/data_extraction.py --max_results 50 --days 50

# to run the "recommender" module
python src/recommender.py --query "Attention mechanism, gpt"

# to run the "user" module
python -m user "Attention mechanism, gpt"
  1. Expected Output
[(40, 0.07523317245996379), (30, 0.0645704279199833), (68, 0.019730676950393673), (66, 0.01706847010186102), (88, 0.01676402091510068), (9, 0.015864706383126106), (5, 0.012539847098876067), (2, 0.011670485300686375), (84, 0.009874931918079605), (51, 0.009075828413454008)]
(40, 0.07523317245996379)
  • Index 0 i.e 40: Index of the document.
  • Index 1 i.e 0.075: Similarity score of the query wrt to the document at that position.

Continuous Integration

Integrate with AWS ECR (Elastic Container Registry)

Integrate with AWS CodeBuild