MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / chat_sat.py

File chat_sat.py

SwissArmyTransformer/examples/llama/chat_sat.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import torch
2from sat import AutoModel
3from transformers import LlamaTokenizer
4from sat.model.mixins import CachedAutoregressiveMixin

Callers

nothing calls this directly

Calls 4

add_mixinMethod · 0.80
chatFunction · 0.70
from_pretrainedMethod · 0.45

Tested by

no test coverage detected