CVxTz/doc-llm

Python

3

4 commits

updated Jun 9, 2024

See the code

README

doc-llm

Env Setup

Torch

conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia

Other libs:

pip install -r requirements.txt
pip install -e .

Code

A large part of the code is copied with small modification from https://huggingface.co/OpenGVLab/Mini-InternVL-Chat-2B-V1-5 as InternVL is not yet available as a library.

Datasets

SROIE Dataset

https://www.kaggle.com/datasets/urbikn/sroie-datasetv2/data

Run

Download the data and save in a folder like ~/Data/SROIE2019 Then you can run bash scripts/run.sh

CVxTz/doc-llm

Python

3

4 commits

updated Jun 9, 2024

See the code

README

doc-llm

Env Setup

Torch

conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia

Other libs:

pip install -r requirements.txt
pip install -e .

Code

A large part of the code is copied with small modification from https://huggingface.co/OpenGVLab/Mini-InternVL-Chat-2B-V1-5 as InternVL is not yet available as a library.

Datasets

SROIE Dataset

https://www.kaggle.com/datasets/urbikn/sroie-datasetv2/data

Run

Download the data and save in a folder like ~/Data/SROIE2019 Then you can run bash scripts/run.sh