OpenGPT icon indicating copy to clipboard operation
OpenGPT copied to clipboard

wget example_train_config.yaml points to wrong URL

Open ubergraham opened this issue 2 years ago • 1 comments

!wget https://github.com/CogStack/OpenGPT/blob/main/configs/example_train_config.yaml ended up downloading the HTML file Github page (And subsequently throws an error of course)

I think you want to maybe use !wget https://raw.githubusercontent.com/CogStack/OpenGPT/main/configs/example_train_config.yaml instead

ubergraham avatar May 27 '23 16:05 ubergraham

Actually same issue with the CSVs as well.

This code worked however in Jupyter Lab and Google Colab:


# Download the configs and data from OpenGPT repo https://github.com/CogStack/OpenGPT
!wget https://raw.githubusercontent.com/CogStack/OpenGPT/main/data/nhs_uk_full/prepared_generated_data_for_nhs_uk_qa.csv
!wget https://raw.githubusercontent.com/CogStack/OpenGPT/main/data/nhs_uk_full/prepared_generated_data_for_nhs_uk_conversations.csv
!wget https://raw.githubusercontent.com/CogStack/OpenGPT/main/data/medical_tasks_gpt4/prepared_generated_data_for_medical_tasks.csv
!wget https://raw.githubusercontent.com/CogStack/OpenGPT/main/configs/example_train_config.yaml

ubergraham avatar May 27 '23 16:05 ubergraham