Update trainer.py
Browse files1234#@title Geometric Autoregressive LM - Full Training with HF Upload + TensorBoard generated valid shakespereimport torchimport torch.nn as nnimport torch.nn.functional as F123456789101112131415161718#@title Geometric Autoregressive LM - Full Training with HF Upload + TensorBoard generated valid shakespere"""Prototype LM for geometric simplex structures.Requires the geometricvocab's SimplexFactory for valid simplex representations, or the simplex behavior will not learn.try:!pip uninstall -qy geometricvocabexcept:pass!pip install -q git+https://github.com/AbstractEyes/lattice_vocabulary.gitLicense: MIT"""import torchimport torch.nn as nnimport torch.nn.functional as F
trainer.py+14