Please Visit my site https://nauman.im/ for details.
😎
Solving Intelligence
Pinned Loading
-
Training script for LongGPT; Fine-tu...
Training script for LongGPT; Fine-tunes GPT-2 (335M) on The Pile Dataset with a context size of 8k tokens. (requires > 16GB RAM) 1import time
2from contextlib import suppress
34import torch
5import torch.nn as nn
-
Fine-tune Pythia 1.4b model for 8k c...
Fine-tune Pythia 1.4b model for 8k context window, this script requires at least 40 GB of memory, 15-20 hours of fine-tune is sufficient. 1import copy
23import torch
4import torch.nn.functional as F
5import torch.backends.cuda as cuda
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.