Description:
I encountered difficulties while trying to set up and run the GRiT model from this repository in a Google Colab environment.
Environment:
Google Colab (Python 3.12)
Steps Taken:
- Cloned the repository using !git clone https://github.com/JialianW/GRiT.git.
- Changed directory to the cloned repository using os.chdir('GRiT').
- Attempted to install dependencies using !pip install -r requirements.txt. This failed repeatedly with build errors related to the tokenizers library.
- Tried installing specific versions of tokenizers and transformers (e.g., tokenizers==0.12.1, transformers==4.21.1, tokenizers==0.13.3, transformers==4.27.4, etc.) both before and after attempting to install the full requirements, and with and without the --no-build-isolation and --no-binary :all: flags. All attempts to build tokenizers from source failed.
- Encountered 404 errors when trying to download the pre-trained model weights (grit_b_0_75.pth) from the URLs found in the README and other potential locations.
Description:
I encountered difficulties while trying to set up and run the GRiT model from this repository in a Google Colab environment.
Environment:
Google Colab (Python 3.12)
Steps Taken: