{"id":22563715,"url":"https://github.com/j3soon/llm-tutorial","last_synced_at":"2025-04-10T11:37:37.717Z","repository":{"id":249435193,"uuid":"831103593","full_name":"j3soon/LLM-Tutorial","owner":"j3soon","description":"LLM tutorial materials include but not limited to NVIDIA NeMo, TensorRT-LLM, Triton Inference Server, and NeMo Guardrails.","archived":false,"fork":false,"pushed_at":"2024-09-19T02:21:48.000Z","size":3217,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T10:21:19.300Z","etag":null,"topics":["llm","nemo","nemo-guardrails","nvidia-nemo","tensorrt-llm"],"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/j3soon.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":"2024-07-19T17:04:10.000Z","updated_at":"2024-09-19T02:21:51.000Z","dependencies_parsed_at":"2024-08-06T02:28:32.136Z","dependency_job_id":"a00eddeb-cb13-4120-929f-7731eb77c147","html_url":"https://github.com/j3soon/LLM-Tutorial","commit_stats":null,"previous_names":["j3soon/llm-tutorial"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j3soon%2FLLM-Tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j3soon%2FLLM-Tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j3soon%2FLLM-Tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j3soon%2FLLM-Tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j3soon","download_url":"https://codeload.github.com/j3soon/LLM-Tutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248208872,"owners_count":21065237,"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":["llm","nemo","nemo-guardrails","nvidia-nemo","tensorrt-llm"],"created_at":"2024-12-07T23:12:34.221Z","updated_at":"2025-04-10T11:37:37.692Z","avatar_url":"https://github.com/j3soon.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LLM Tutorial\n\nLLM tutorial materials include but not limited to NVIDIA NeMo, TensorRT-LLM, Triton Inference Server, and NeMo Guardrails.\n\nThis material is used in the [NCHC LLM Bootcamp](https://www.openhackathons.org/s/siteevent/a0CUP00000L45Bx2AJ/se000345).\n\n## Running on [TWCC](https://www.twcc.ai/)\n\nPlease follow this [TWCC README](./README_TWCC.md) to run the tutorials on TWCC.\n\n## Running Locally\n\nInstall [docker](https://docs.docker.com/engine/install/ubuntu/) and [nvidia container toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html). Then add your user to the docker group and re-login/restart.\n\n```sh\ngit clone https://github.com/j3soon/LLM-Tutorial.git\ncd LLM-Tutorial\n\n# (a) NeMo\ndocker run --rm -it --gpus=all --ipc=host --ulimit memlock=-1 --ulimit stack=67108864 -v $(pwd)/workspace:/workspace --network=host nvcr.io/nvidia/nemo:24.05\n# in the container\njupyter lab\n# open the notebook URL in your browser\n\n# (b) TensorRT-LLM\ndocker run --rm -it --gpus=all --ipc=host --ulimit memlock=-1 --ulimit stack=67108864 -v $(pwd)/workspace:/workspace --network=host nvcr.io/nvidia/tritonserver:24.05-trtllm-python-py3\n# in the container\njupyter lab\n# open the notebook URL in your browser\n```\n\n## Contributing\n\nMake sure to run the following before committing:\n\n```sh\npip install nb-clean\nnb-clean clean workspace/NeMo_Training_TinyLlama.ipynb\nnb-clean clean workspace/TensorRT-LLM.ipynb\nnb-clean clean workspace/NeMo_Guardrails.ipynb\n```\n\n## Contributors\n\nThe code was primarily written by [Cliff](https://github.com/wcks13589), with assistance from others listed in the [contributor list](https://github.com/j3soon/LLM-Tutorial/graphs/contributors).\n\n## Acknowledgements\n\nWe would like to thank [NVIDIA](http://www.nvidia.com/), [OpenACC](http://www.openacc.org/), and [NCHC](https://www.nchc.org.tw/?langid=2) (National Center for High-performance Computing) for making this bootcamp happen.\n\n## References\n\n- [openhackathons-org/End-to-End-LLM](https://github.com/openhackathons-org/End-to-End-LLM)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj3soon%2Fllm-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj3soon%2Fllm-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj3soon%2Fllm-tutorial/lists"}