Skip to content

adnanul-islam-jisun/PharmLLM

Repository files navigation

Project Setup and Usage

Directory Structure

After cloning this repository, you need to set up the following directory structure:

PharmLLM/
├── dataset/
│   ├── raw/
│   │   ├── drug-label-0001-of-0012.json
│   │   ├── drug-label-0002-of-0012.json
│   │   └── ... (additional JSON files)
├── main.py
├── .gitignore
├── readme.md

Steps to Set Up

  1. Clone the Repository

    git clone https://github.com/adnanul-islam-jisun/PharmLLM
    cd PharmLLM
  2. Download the Dataset Visit FDA Open Data Downloads to download the required dataset.

    • Extract the ZIP file after downloading.
    • Place the .json files (e.g., drug-label-0001-of-0012.json, drug-label-0002-of-0012.json) inside the dataset/raw/ directory.
  3. Create the Directory Tree Run the following commands to set up the required directories:

    mkdir -p dataset/raw
  4. Add JSON Files Place your extracted JSON files inside the dataset/raw/ directory.

  5. Verify the Structure Use the tree command or manually check to ensure the directory structure matches:

    tree

    Output should look like:

    .
    ├── dataset/
    │   ├── raw/
    │   │   ├── drug-label-0001-of-0012.json
    │   │   ├── drug-label-0002-of-0012.json
    │   │   └── ...
    ├── main.py
    ├── .gitignore
    ├── readme.md
    

Running the Script

  1. Ensure You Have Python Installed Make sure Python is installed on your machine (version 3.7 or higher).

  2. Run the Script Execute the main.py script:

    python main.py

Notes

  • Ensure all required JSON files are present in the dataset/raw/ directory before running the script.
  • If there are any errors, please check that the directory structure and file paths match the setup instructions.

Contact

For any queries, please contact us at msayeedi212049@bscse.uiu.ac.bd

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •