Coder Social home page Coder Social logo

magungh1 / notebooks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nlp-with-transformers/notebooks

0.0 0.0 0.0 21.68 MB

Jupyter notebooks for Natural Language Processing with Transformers

License: Apache License 2.0

Python 0.04% Jupyter Notebook 99.91% HTML 0.05%

notebooks's Introduction

Transformers Notebooks

This repository contains the example code from our O'Reilly book Natural Language Processing with Transformers:

book-cover

Getting started

You can run these notebooks on platforms like Google Colab or your local machine. Note that most chapters require a GPU to run in a reasonable amount of time, so we recommend Colab as it comes pre-installed with CUDA.

Nowadays, the GPUs on Colab tend to be K80s (which have limited memory), so alternative platforms we recommend include:

These platforms tend to provide more performant GPUs like P100s, all for free!

Running on Google Colab

To run these notebooks on Colab, just click on the Open In Colab button at the top of each notebook.

Running on your machine

To run the notebooks on your own machine, first clone the repository:

git clone https://github.com/nlp-with-transformers/notebooks
cd notebooks-test

Next, you'll need to install a few packages that depend on your operating system and hardware:

Once you have install the above requirements, create a virtual environment and install the remaining Python dependencies:

conda create -n book python=3.8 -y && conda activate book
from install import *
install_requirements()
# Use the following to run Chapter 7
# install_requirements(is_chapter7)

notebooks's People

Contributors

lewtun avatar dependabot[bot] 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.