Skip to content
No description or website provided.
Jupyter Notebook Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Documentation Status

AI or not AI? Classifying ArXiv articles with BERT



  • Python ≥ 3.6

Provision a Virtual Environment

Create and activate a virtual environment (conda)

conda create --name py36_bert-arxiv python=3.6
source activate py36_bert-arxiv

If pip is configured in your conda environment, install dependencies from within the project root directory

pip install -r requirements.txt

Get ArXiv dataset

The dataset used in this repository should be downloaded from Kaggle

Create a folder data from within the project root directory. Place the downloaded file arxivData.json in the data folder.

Feature Extraction code

Now that the environment is setup and the dataset is available, you can run the code using the following command:


This will by default use the arxivData.json file as input and generate in the same data folder the X,y training and test files:

model training

Use the jupyter notebook run_model_keras to train the model. This is easier to visualise the results we get.

You can’t perform that action at this time.