replacement-scout / src /model /test_trans.py
muhgalal's picture
Initial deploy: backend + models + photos
5c09212
Raw
History Blame Contribute Delete
207 Bytes
from src.model.transformer import FootballTransformer
import torch
model = FootballTransformer(vocab_size=110)
x = torch.randint(0, 110, (4, 50)) # batch of 4, seq_len=50
out = model(x)
print(out.shape)