This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| libx11-dev | |
| libncurses-dev | |
| libxaw7-dev / libxaw3dxft8-dev | |
| libjpeg-dev | |
| libpng-dev | |
| libtiff-dev | |
| gnutls-dev | |
| libxft-dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def _find_inclusions(list_a, list_b): | |
| # list_a = [x.lower() for x in list_a] | |
| # list_b = [x.lower() for x in list_b] | |
| return [x for x in range(len(list_a)) if list_a[x:x + len(list_b)] == list_b] | |
| def row_to_prodigy(nlp, text, keyphrases): | |
| doc = nlp(text) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -e | |
| TRAIN_DATASETS="re-tag-keyphrases-zoey,lyft-0-50-gold,lyft-100-150-gold,lyft-150-200-gold" | |
| EVAL_DATASETS="re-tag-keyphrases-dmitry,lyft-50-100-gold" | |
| FINAL_TRAIN="train-$(date +%s)" | |
| FINAL_EVAL="eval-$(date +%s)" | |
| MODEL_NAME="model-$(date +%s)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [tool.poetry] | |
| name = "poetry-test" | |
| version = "0.1.0" | |
| description = "" | |
| authors = ["Dmitry Kryuchkov <xelibrion@gmail.com>"] | |
| [tool.poetry.dependencies] | |
| python = "^3.6" | |
| [tool.poetry.dev-dependencies] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AWSTemplateFormatVersion: '2010-09-09' | |
| Parameters: | |
| VpcCidr: | |
| Type: String | |
| Description: CIDR for the new VPC | |
| VpcName: | |
| Type: String | |
| Description: Name for the new VPC | |
| PrivateSubnetsRange: | |
| Type: Number |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commands: | |
| 01_pull_custom_ecs_agent: | |
| command: docker pull xelibrion/amazon-ecs-agent:latest | |
| 02_mask_default_ecs_agent: | |
| command: docker tag -f xelibrion/amazon-ecs-agent:latest amazon/amazon-ecs-agent:latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo yum install -y yum-utils | |
| sudo rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" | |
| sudo yum-config-manager --add-repo http://download.mono-project.com/repo/centos/ | |
| sudo yum install -y mono-complete |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo yum -y install docker-io | |
| sudo groupadd docker | |
| sudo systemctl enable docker | |
| sudo systemctl start docker | |
| sudo usermod -a -G docker vagrant |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM debian:wheezy | |
| RUN apt-get update \ | |
| && apt-get install -y curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF | |
| RUN echo "deb http://download.mono-project.com/repo/debian nightly main" > /etc/apt/sources.list.d/mono-nightly.list | |
| RUN apt-get update |