Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/eric-mitchell/direct-preference-optimization
/ train.py
File
train.py
train.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
torch
2
torch.backends.cuda.matmul.allow_tf32 = True
3
import
torch.nn
as
nn
4
import
transformers
Callers
nothing calls this directly
Calls
2
get_local_run_dir
Function · 0.90
main
Function · 0.85
Tested by
no test coverage detected