fdaudens HF staff commited on
Commit
5bafa5f
·
verified ·
1 Parent(s): d9ef481

Upload ch4-installing-jupyterlab.ipynb

Browse files
notebooks/ch4-installing-jupyterlab.ipynb CHANGED
@@ -7,17 +7,26 @@
7
  "source": [
8
  "## 4. Installing JupyterLab\n",
9
  "\n",
10
- "> ⚠️ Note: This step is optional. We’ll be running all code directly in JupyterLab on Hugging Face. Follow this step only if you prefer to run the code on your local machine—otherwise, you can skip to the next step.\n",
 
 
 
 
 
 
11
  "\n",
12
- "This class will show you how to interact with the Hugging Face API using the Python computer programming language.\n",
13
  "\n",
14
  "If you want to run it on your computer, you can write Python code in your terminal, in a text file and any number of other places. If you’re a skilled programmer who already has a preferred venue for coding, feel free to use it as you work through this class.\n",
15
  "\n",
16
  "If you’re not, the tool we recommend for beginners is [Project Jupyter](http://jupyter.org/), a browser-based interface where you can write, run, remix, and republish code.\n",
17
  "\n",
 
 
18
  "It is free software that anyone can install and run. It is used by [scientists](http://nbviewer.jupyter.org/github/robertodealmeida/notebooks/blob/master/earth_day_data_challenge/Analyzing%20whale%20tracks.ipynb), [scholars](http://nbviewer.jupyter.org/github/nealcaren/workshop_2014/blob/master/notebooks/5_Times_API.ipynb), [investors](https://github.com/rsvp/fecon235/blob/master/nb/fred-debt-pop.ipynb), and corporations to create and share their research. It is also used by journalists to develop stories and show their work.\n",
19
  "\n",
20
  "The easiest way to use it is by installing [JupyterLab Desktop](https://github.com/jupyterlab/jupyterlab-desktop), a self-contained application that provides a ready-to-use Python environment with several popular libraries bundled in. \n",
 
21
  "It can be installed on any operating system with a simple point-and-click interface."
22
  ]
23
  },
 
7
  "source": [
8
  "## 4. Installing JupyterLab\n",
9
  "\n",
10
+ "This class will show you how to interact with the Hugging Face API using the Python programming language. We'll run code directly in the notebooks online.\n",
11
+ "\n",
12
+ "### A few things to keep in mind:\n",
13
+ "- Each notebook contains code cells, like the one below. To execute the code, click on the cell, then click the play button at the top of the screen (or press `Ctrl + Enter`).\n",
14
+ "- The cells are structured logically, so run them one after another.\n",
15
+ "- You can’t break anything, so don’t be afraid to experiment with the cells.\n",
16
+ "- You’re working with temporary files, which means your work won’t be saved from one session to the next. If you want to keep your work, you can download your notebooks by clicking **File > Download**.\n",
17
  "\n",
18
+ "For those who prefer to run the notebooks on Google Colab, you can [download them here](https://huggingface.co/spaces/JournalistsonHF/first-llm-classifier/tree/main/notebooks).\n",
19
  "\n",
20
  "If you want to run it on your computer, you can write Python code in your terminal, in a text file and any number of other places. If you’re a skilled programmer who already has a preferred venue for coding, feel free to use it as you work through this class.\n",
21
  "\n",
22
  "If you’re not, the tool we recommend for beginners is [Project Jupyter](http://jupyter.org/), a browser-based interface where you can write, run, remix, and republish code.\n",
23
  "\n",
24
+ "> ⚠️ Note: This step is optional. We’ll be running all code directly in JupyterLab on Hugging Face. Follow this step only if you prefer to run the code on your local machine—otherwise, you can skip to the next step.\n",
25
+ "\n",
26
  "It is free software that anyone can install and run. It is used by [scientists](http://nbviewer.jupyter.org/github/robertodealmeida/notebooks/blob/master/earth_day_data_challenge/Analyzing%20whale%20tracks.ipynb), [scholars](http://nbviewer.jupyter.org/github/nealcaren/workshop_2014/blob/master/notebooks/5_Times_API.ipynb), [investors](https://github.com/rsvp/fecon235/blob/master/nb/fred-debt-pop.ipynb), and corporations to create and share their research. It is also used by journalists to develop stories and show their work.\n",
27
  "\n",
28
  "The easiest way to use it is by installing [JupyterLab Desktop](https://github.com/jupyterlab/jupyterlab-desktop), a self-contained application that provides a ready-to-use Python environment with several popular libraries bundled in. \n",
29
+ "\n",
30
  "It can be installed on any operating system with a simple point-and-click interface."
31
  ]
32
  },