Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ inference_bert.py
File
inference_bert.py
SwissArmyTransformer/examples/bert/inference_bert.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
os
2
import
torch
3
import
argparse
4
from
sat
import
get_args, AutoModel
Callers
nothing calls this directly
Calls
5
get_args
Function · 0.90
to
Method · 0.80
print
Function · 0.50
from_pretrained
Method · 0.45
max
Method · 0.45
Tested by
no test coverage detected