Coder Social home page Coder Social logo

tesis-sesgopmi's Introduction

Métodos de Procesamiento del Lenguaje Natural para la Medición de Sesgos en Textos

Código para replicar la tesis de maestría "Métodos de Procesamiento del Lenguaje Natural para la Medición de Sesgos en Textos" (2023), disponible aquí.

Setup

The following guide was run in Ubuntu 20.04.5 LTS with python=3.9.12 and R=4.2.1. You can set up a conda environment but it is not compulsory.

NOTE the steps in this guide might be a little bit incomplete.

Requirements

Install Python requirements:

pip install -r requirements.txt

Install R requirements:

Clone Stanford's GloVe repo into the repo:

git clone https://github.com/stanfordnlp/GloVe.git

or alternatively add it as submodule:

git submodule add https://github.com/stanfordnlp/GloVe

To build GloVe:

  • In Linux: cd GloVe && make

  • In Windows: make -C "GloVe"

Guide

Follow steps in pipeline.sh.

conda environment

You can create a bias-pmi conda environment to install requirements and dependencies. This is not compulsory.

To install miniconda if needed, run:

wget https://repo.anaconda.com/miniconda/Miniconda3-py39_4.12.0-Linux-x86_64.sh 
sha256sum Miniconda3-py39_4.12.0-Linux-x86_64.sh 
bash Miniconda3-py39_4.12.0-Linux-x86_64.sh 
# and follow stdout instructions to run commands with `conda`

To create a conda env with Python:

conda config --add channels conda-forge
conda create -n "bias-pmi" --channel=defaults python=3.9.12

Activate the environment with conda activate bias-pmi and install requirements with pip install -r requirements.txt.

tesis-sesgopmi's People

Contributors

ftvalentini avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.