Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions implementation.md
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions mingpt/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down