diff --git a/implementation.md b/implementation.md new file mode 100644 index 0000000..5fcb506 --- /dev/null +++ b/implementation.md @@ -0,0 +1,32 @@ +This is how this assignment lab was implemented +thuo@Gachomba:~/cmu_workspace/spring2026/MLiP/lab3/minGPT_copy$ git log --oneline --graph --decorate +* 799b207 (HEAD -> pull-request, main) Added coomment for logging imports Conflict has been resolved in the new merge +* 6a62b72 (origin/main, origin/HEAD) Using README from original repo +* 848858a Fix link formatting in README.md +* 66ea3bb Revise branch naming convention for pull requests +* b5757a8 Clarify pull request instructions in README +* 681f4b4 Removed extra deliverable +* 2b668af Updated readme +* 37baab7 Update README.md +* 7218bcf Merge pull request #84 from ericjang/master +|\ +| * 48c815b Add setup.py to allow mingpt to be used as a third-party library +|/ +* cafce45 Merge pull request #83 from mishig25/patch-1 +|\ +| * 90420ee Use XOR operator `^` for checking assertion `type_given XOR params_given` +|/ +* ca74e9a Merge pull request #82 from neverix/patch-1 +|\ +| * e461bf6 Fix README.md typo +|/ +* 31559f7 Merge pull request #81 from luigidisotto/callbacks-optimizer +|\ +| * c4c650e Add optimizer to Trainer's self for callbacks. +|/ +* e2065c5 use a bit more extended example that has my last name too because nice to show how it breaks u +p into more tokens +* d8dd157 add a full example into the script as well +* 59fea1b Merge pull request #78 from nat/patch-1 +|\ +| * e9f6e3d Typos \ No newline at end of file diff --git a/mingpt/model.py b/mingpt/model.py index 83ee22d..07625f6 100644 --- a/mingpt/model.py +++ b/mingpt/model.py @@ -8,6 +8,9 @@ https://github.com/huggingface/transformers/blob/main/src/transformers/models/gpt2/modeling_gpt2.py """ +# MErge conflic resolve after ammending + +# import logging import math import torch