Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 542 Bytes

File metadata and controls

23 lines (19 loc) · 542 Bytes

Installation

Environment and Submodule Setup

conda create -n llmscore python==3.8 -y
conda activate llmscore
git clone https://github.com/YujieLu10/LLMScore.git
cd LLMScore
pip install -r requirements.txt

git submodule update --init
cd submodule/detectron2
pip install -e .

pip install git+https://github.com/huggingface/transformers

export OPENAI_KEY=YOUR_OPENAI_KEY

GRiT Model Downloading

mkdir models && cd models
wget https://datarelease.blob.core.windows.net/grit/models/grit_b_densecap_objectdet.pth && cd ..