From a44590aea4cfba0e28f9ae3d98773c46e49e7bb8 Mon Sep 17 00:00:00 2001 From: Kanushka Gupta Date: Mon, 20 May 2024 22:01:36 +0200 Subject: [PATCH] Spacy example update --- examples/spacy/instruction_spacy.md.jinja | 22 --------- examples/spacy/instruction_spacy.schema.yml | 53 --------------------- 2 files changed, 75 deletions(-) delete mode 100644 examples/spacy/instruction_spacy.md.jinja delete mode 100644 examples/spacy/instruction_spacy.schema.yml diff --git a/examples/spacy/instruction_spacy.md.jinja b/examples/spacy/instruction_spacy.md.jinja deleted file mode 100644 index 73dff60..0000000 --- a/examples/spacy/instruction_spacy.md.jinja +++ /dev/null @@ -1,22 +0,0 @@ -{# Kanushka's code #} -# Spacy Installation Instruction -{% if os == 'Windows' %} -{% if platform == 'x86' %} -{% if package_manager == 'pip' %} -{% if hardware == 'CPU' %} -{% if configuration == 'virtual env' %} -{% if pipeline == 'efficiency' %} -`pip install -U spacy` -{% else %} -> [!IMPORTANT] -> Error! -{% endif %} -{% endif %} -{% endif %} -{% endif %} -{% else %} -{% if package_manager == 'conda' %} -{% if hardware == 'CPU' %} -{% if configuration == 'virtual env' %} -{% if pipeline == 'efficiency' %} -`conda install -c conda-forge spacy` diff --git a/examples/spacy/instruction_spacy.schema.yml b/examples/spacy/instruction_spacy.schema.yml deleted file mode 100644 index 08d8919..0000000 --- a/examples/spacy/instruction_spacy.schema.yml +++ /dev/null @@ -1,53 +0,0 @@ -$schema: https://json-schema.org/draft/2020-12/schema -$id: https://github.com/instructions-d-installation/installation-instruction/examples/spacy/schema_spacy.yml -title: Spacy Install Schema -description: This is a schema which is used for constructing interactive installation instructions. -type: object -$comment: by Kanushka Gupta -properties: - os: - enum: - - macOs/OSX - - Windows - - Linux - platform: - enum: - - x86 - - ARM/M1 - package_manager: - enum: - - pip - - conda - - from source - hardware: - enum: - - CPU - - GPU - enum: - - CUDA 8.0 - - CUDA 9.0 - - CUDA 9.1 - - CUDA 9.2 - - CUDA 10.0 - - CUDA 10.1 - - CUDA 10.2 - - CUDA 11.0 - - CUDA 11.1 - - CUDA 11.2 - 11.x - - CUDA 12.x - configuration: - enum: - - virtual env - - train models - pipeline: - enum: - - efficiency - - accuracy - -required: - - os - - platform - - package_manager - - hardware - - configuration - - pipeline