Giter Site home page Giter Site logo

alex-bzh / python-m1tal Goto Github PK

View Code? Open in Web Editor NEW
20.0 3.0 11.0 9.95 MB

Resources for Master TAL (NLP), first degree, at Inalco.

License: MIT License

Jupyter Notebook 99.06% Python 0.90% Shell 0.03%
linguistics machine-learning pos-tagging python text-classification

python-m1tal's Introduction

python-M1TAL

Resources for Master TAL (NLP), first degree, at Inalco.

Binder

Installation – for those who like not to ask too many questions

With conda

  1. Download Miniconda, a small version of Anaconda with conda, Python, and some useful packages:
    https://docs.conda.io/en/latest/miniconda.html

  2. Get a clone of this repository:

$ git clone https://github.com/Alex-bzh/python-M1TAL.git
$ cd python-M1TAL
  1. Run JupyterLab in its own environment:
$ conda env create -f environment.yml
$ conda activate tal-ml
$ jupyter-lab

With pixi

  1. Install Pixi, a (modern) package management tool

  2. Get a clone of this repository:

$ git clone https://github.com/Alex-bzh/python-M1TAL.git
$ cd python-M1TAL
  1. Run JupyterLab in its own environment:
$ pixi install
$ pixi run start

Installation – for those who want to have fine control over what they install

Python 3 installation

  1. First, check that Python is installed:
$ which python

If not, donwload the latest version: https://www.python.org/downloads/

  1. Check the version of your Python distribution (at least 3.7):
$ python -V

If your version is older than 3.7, you may have a specific python3.7 binary:

$ which python3.7

If so, note the path and link it with the python command:

$ ln -s PYTHON3.7_PATH python
  1. Be sure to have the latest version of pip, the Python package manager:
$ python -m pip install --user --upgrade pip

Installing a virtual environment

  1. As venv is already included in the Python standard library, you just need to install a new virtual environment:
$ python -m venv tal-ml
  1. Activate your environment:
$ source tal-ml/bin/activate

To leave you environment, just run the command deactivate.

Dependencies installation

With pip, install all the requested packages into your environment:

$ python -m pip install -r requirements.txt

Run JupyterLab

Simply run JupyterLab with a clone of this repository:

$ git clone https://github.com/Alex-bzh/python-M1TAL.git
$ cd python-M1TAL
$ jupyter-lab

python-m1tal's People

Contributors

alex-bzh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.