Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/examples
/ main.py
File
main.py
word_language_model/main.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# coding: utf-8
2
import
argparse
3
import
time
4
import
math
Callers
nothing calls this directly
Calls
7
TransformerModel
Class · 0.90
RNNModel
Class · 0.90
batchify
Function · 0.85
evaluate
Function · 0.85
export_onnx
Function · 0.85
save
Method · 0.80
train
Function · 0.70
Tested by
no test coverage detected