Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.28 KB

README.md

File metadata and controls

23 lines (18 loc) · 1.28 KB

NLP

The following code is developed to acclearte NLP workloads with Intel AI toolkit, the aim of the repo is to enable developer to learn NLP and also experience the Intel oneAPI AI acceleration Libraries

Guide to replicate the results

Setup of Python Environment

if you dont have ananconda install in your local enviornment.

Once you installed the anaconda in you local environment follows the following commands:
conda create -n env python=3.10 scikit-learn-intelex pandas seaborn
conda install -c conda-forge spacy
The above command will create conda virtual enviroemnt and then install scikit-learn in a new enviroments will all the dependancies need to run the codes.

Run Instruction

  1. unzip the all-narendra-modi-tweets.zip file after cloning the repo
  2. open the MODI Spacy & Sentiment Analysis.ipynb notebook to run the file