From 1b6dc61adb8c8b57365290e2a87af42b6b8ee147 Mon Sep 17 00:00:00 2001 From: Divya Sankar Date: Wed, 17 May 2023 10:23:21 -0400 Subject: [PATCH] changing devcontainer to use redhat image Signed-off-by: Divya Sankar --- .devcontainer/Dockerfile | 2 +- entity_standardizer/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index db47439..07a46e6 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,5 +1,5 @@ # Image for a Python 3 development environment -FROM python:3.8-slim +FROM registry.access.redhat.com/ubi8/python-39:1-105 # Add any tools that are needed beyond Python RUN apt-get update && \ diff --git a/entity_standardizer/README.md b/entity_standardizer/README.md index 6b2dc5c..f8e6c47 100644 --- a/entity_standardizer/README.md +++ b/entity_standardizer/README.md @@ -20,7 +20,7 @@ Entity standardizer package contains the following two single-shot models: 2. *siamese* - A supervised approach that uses BERT models connected in a Siamese network. The default model is the siamese model. Use the following steps to install, train, and inference with the entity standardizer models as a standalone package. -The entity standardizer package requires python >= 3.6 environment. +The entity standardizer package requires python >= 3.6 environment. To train the model, switch to the gpu version of pytorch. Currently the cpu version is used and it can be modified in the requirements.txt under the entity_standardizer folder. 1. Run *setup.sh* to install dependencies and entity standardizer package ```