Skip to content

A repository for our group assignment 2 for the HIT137 class.

Notifications You must be signed in to change notification settings

shubham-rr/HIT137_Assignment2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HIT137_Assignment2

A repository for our group assignment 2 for the HIT137 class.

Deadline: 18/09/2024, 22:59 (extended by lecturer)

Table of Contents

Issue with scispacy installation:

Due to installation problems with the latest version of scispacy, please try to install scipacy==0.5.2 on a virtual environment using python 3.8.9 instead. This is a known error due to nmslib package. You can read more about it here: https://github.com/allenai/scispacy?tab=readme-ov-file#installation-note-nmslib

Setting up the environment

Virtual Environment

  1. Create a virtual environment

    python -m venv .venv

    Specifying the version of python

    To address the issues of scispacy installation, please install python 3.8.9 Please do not click add to PATH when installing. It is recommended that you only have one version of python in your PATH variables.

    To set up a venv with python 3.8.9:

    C:\Users\replace with your username\AppData\Local\Programs\Python\Python38\python.exe -m venv .venv
  2. Activate the virtual environment

    • On Windows:
      Set-ExecutionPolicy Unrestricted -Scope Process
      .\.venv\Scripts\activate
    • On macOS/Linux:
      source .venv/bin/activate

    Note: If your IDE automatically uses the virtual environment, you may not need to activate it manually. However, if you are using a terminal outside of your IDE, you will need to activate the virtual environment each time you open a new terminal session.

Installing Requirements

Install the required Python packages:

pip install -r requirements.txt

Updating Requirements

If new pip packages are required for the assignment, please install the package and update the requirements.txt file using the following command:

pip freeze > requirements.txt

Additional information

A "files/" directory should be created within the local repository. This directory will be ignored by git and be used for storing and accessing the original files provided by the lecturer. We ignore this directory because the file sizes are too large to upload on github.

About

A repository for our group assignment 2 for the HIT137 class.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages