Skip to content

Latest commit

 

History

History
68 lines (47 loc) · 2.52 KB

README.md

File metadata and controls

68 lines (47 loc) · 2.52 KB

Hugging Face NLP Course

Note: these are my personal notes, which I took while doing the HF NLP course. They are NOT a replacement or rewrite of the course, they are just notes supporting my learning.

Environment Setup

Install CUDA

Install PyTorch

Install base python libraries

conda create --name hfnlp python=3.9
conda activate hfnlp
pip install numpy
pip install ipykernel
conda install -c conda-forge ipywidgets

# To avoid this error https://github.com/huggingface/transformers/issues/21858
pip install chardet
pip install cchardet

# as per the first sample notebook
pip install --upgrade datasets evaluate transformers[sentencepiece] diffusers accelerate

Notes per chapter

Other tutorials to do

Bibtext reference to HF course:

@misc{huggingfacecourse,
  author = {Hugging Face},
  title = {The Hugging Face Course, 2022},
  howpublished = "\url{https://huggingface.co/course}",
  year = {2022},
  note = "[Online; accessed 2023/04/25]"
}