- Alejandro Leonardo García Navarro - alexgaarciia
- Lucía Cordero Sánchez - lucia-corsan
- Simon Dunand - SquintyG33Rs
- Language used; Python.
- Done in Pycharm, but works for any other Python IDE.
-
Dataset: synonym.csv
-
Main tasks:
- Contribution to a Collective Human Gold-Standard.
- Evaluation of the word2vec-google-news-300 pre-trained model.
- Comparison with other pre-trained models.
- Train our own models.
- Important files:
- A2-Dataset: Folder that contains the dataset.
- Books: Folder that contains all of the books needed to train our own models.
- Details: Here we can find the details of every model. For each question in the synonym test dataset, it has a single line indicating (a) the question word, (b) the correct answer, (c) our system's guess-word, and (d) a label (guess, correct or wrong).
- COMP472-A2.ipynb: This notebook is divided into several parts (Import necessary libraries/modules, Functions (this part contains the functions that we created to perform the project correctly and in an organized manner (def model_evaluator(model, dataset), def output_df(output_data, model_name), def compute_accuracy(output_df), def save_data(analysis_dic, model_name, model, output_data), and def preprocess_books(books)), and Tasks).
- analysis.csv: Here we can find the analysis of every model, showing (a) the model name, (b) the size of the vocabulary, (c) the number of correct labels, (d) the number of questions that our model answered without guession, and (e) the accuracy of the model.
- Instructions: Run the "COMP472-A2.ipynb" file to perform all of the tasks. Make sure you have the dataset in a folder called "A2-Dataset" and all of the books in a folder called "Books".