{"id":15892879,"url":"https://github.com/warner-benjamin/nlpbookstudygroup","last_synced_at":"2025-03-20T12:33:44.680Z","repository":{"id":155338652,"uuid":"632541585","full_name":"warner-benjamin/NLPbookstudygroup","owner":"warner-benjamin","description":"NLP with Transformers Study Group Materials \u0026 Resources","archived":false,"fork":false,"pushed_at":"2023-06-26T19:14:48.000Z","size":2995,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T16:49:27.485Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/warner-benjamin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-25T16:09:56.000Z","updated_at":"2025-02-26T23:26:40.000Z","dependencies_parsed_at":"2024-10-28T02:12:43.284Z","dependency_job_id":"119c5e04-2693-4ac0-a7ee-fbdae432df54","html_url":"https://github.com/warner-benjamin/NLPbookstudygroup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warner-benjamin%2FNLPbookstudygroup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warner-benjamin%2FNLPbookstudygroup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warner-benjamin%2FNLPbookstudygroup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warner-benjamin%2FNLPbookstudygroup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warner-benjamin","download_url":"https://codeload.github.com/warner-benjamin/NLPbookstudygroup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244611543,"owners_count":20481214,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-06T08:05:11.251Z","updated_at":"2025-03-20T12:33:44.664Z","avatar_url":"https://github.com/warner-benjamin.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# *NLP With Transformers* Study Group Resources\n[NLP with Transformers](https://transformersbook.com) study group materials and resources\n\n## Setup with PyTorch 2.0\n\nThe following Conda + pip commands will install all the required packages for the\nbook's notebooks. Or run `setup-lite.sh` from bash. You may need to change\n`source activate nlpbook` if conda isn't setup for bash.\n\n```bash\nconda create -n nlpbook python=3.10 \"pytorch\u003e=2.0.1\" torchvision torchaudio torchtext \\\npytorch-cuda=11.8 \"transformers\u003e=4.28.1\" \"datasets\u003e=2.11.0\" \"tokenizers\u003e=0.13.3\" \\\nsentencepiece optuna scikit-learn onnxruntime matplotlib ipywidgets jupyterlab timm \\\numap-learn seqeval nltk sacrebleu py7zr nlpaug scikit-multilearn psutil accelerate \\\n-c pytorch -c nvidia/label/cuda-11.8.0 -c huggingface -c conda-forge\n\nconda activate nlpbook\n\npip install rouge-score bertviz\n```\n\nThese commands will additionally install Cuda, fastai, blurr, fastxtend, Composer,\n\u0026 Weights and Biases. Or run `setup-full.sh` from bash. You may need to change\n`source activate nlpbook` if conda isn't setup for bash.\n\n```bash\nconda create -n nlpbook python=3.10 \"pytorch\u003e=2.0.1\" torchvision torchaudio torchtext \\\npytorch-cuda=11.8 cuda \"transformers\u003e=4.28.1\" \"datasets\u003e=2.11.0\" \"tokenizers\u003e=0.13.3\" \\\nfastai sentencepiece optuna scikit-learn onnxruntime matplotlib ipywidgets jupyterlab \\\numap-learn seqeval nltk sacrebleu py7zr nlpaug scikit-multilearn psutil accelerate \\\nwandb openpyxl xlrd torchmetrics requests coolname tabulate py-cpuinfo timm \\\nimportlib-metadata \\\n-c pytorch -c nvidia/label/cuda-11.8.0 -c huggingface -c fastai -c conda-forge\n\nconda activate nlpbook\n\npip install rouge-score bertviz fastxtend torch_optimizer composer\npip install ohmeow-blurr --no-deps\n```\n\n`--no-deps` is so blurr and Composer won't uninstall PyTorch 2.0 for 1.13.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarner-benjamin%2Fnlpbookstudygroup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarner-benjamin%2Fnlpbookstudygroup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarner-benjamin%2Fnlpbookstudygroup/lists"}