{"id":19287822,"url":"https://github.com/deeppavlov/stand_squad_en","last_synced_at":"2025-10-07T12:55:04.439Z","repository":{"id":83451128,"uuid":"121626429","full_name":"deeppavlov/stand_squad_en","owner":"deeppavlov","description":null,"archived":false,"fork":false,"pushed_at":"2018-04-05T09:41:54.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-05T19:22:10.926Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deeppavlov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-15T12:19:01.000Z","updated_at":"2022-09-13T18:28:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"22f91a30-1ca3-4d9e-9c35-55dfb670de46","html_url":"https://github.com/deeppavlov/stand_squad_en","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeppavlov%2Fstand_squad_en","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeppavlov%2Fstand_squad_en/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeppavlov%2Fstand_squad_en/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeppavlov%2Fstand_squad_en/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deeppavlov","download_url":"https://codeload.github.com/deeppavlov/stand_squad_en/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240392596,"owners_count":19794123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T22:07:18.870Z","updated_at":"2025-10-07T12:54:59.407Z","avatar_url":"https://github.com/deeppavlov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Demo stand. Model: SQuAD (English)\n\n## Installation and start\n1. Clone the repo and `cd` to project root:\n    ```\n    git clone https://github.com/deepmipt/stand_squad_en.git\n    cd stand_squad_en\n    ```\n2. Run script to download and unpack model components:\n    ```\n    ./download_components.sh\n    ```   \n3. Create a virtual environment with `Python 3.6`:\n    ```\n    virtualenv env -p python3.6\n    ```\n4. Activate the environment:\n    ```\n    source ./env/bin/activate\n    ```\n5. Install requirements:\n    ```\n    pip install -r requirements.txt\n    ```\n6. Download NLTK data:\n    ```\n    $ python3\n    \u003e\u003e\u003e import nltk\n    \u003e\u003e\u003e nltk.download('punkt')\n    ```\n7. Specify model endpoint host (`api_host`) and port (`api_port`) in `squad_agent_config.json`\n8. Specify `CUDA_VISIBLE_DEVICES` and virtual environment path (if necessary) in `run_en_squad.sh`\n9. Run model:\n    ```\n    ./run_en_squad.sh\n    ```\n## Building and running with Docker:\n1. If necessary, build Base Docker image from:\n\n   https://github.com/deepmipt/stand_docker_cuda\n  \n2. Clone the repo and `cd` to project root:\n    ```\n    git clone https://github.com/deepmipt/stand_squad_en.git\n    cd stand_squad_en\n    ```\n3. Build Docker image:\n   ```\n   sudo docker build -t stand/squad_en .\n   ```\n4. Run Docker image:\n   ```\n   sudo docker run -p \u003chost_port\u003e:6008 --runtime=nvidia --device=/dev/nvidia\u003cgpu_unit_int_id\u003e -v \u003c/path/to/host/vol/map/dir\u003e:/logs stand/squad_en\n   ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeppavlov%2Fstand_squad_en","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeeppavlov%2Fstand_squad_en","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeppavlov%2Fstand_squad_en/lists"}