Download model/__init__.py from Ystar124/formtgpt: direct link, hf CLI and curl.
- Browser
- Download file 477 Bytes
-
https://huggingface.co/Ystar124/formtgpt/resolve/main/model/__init__.py
- Command line
-
hf download hf://Ystar124/formtgpt/model/__init__.py
-
curl -L -o __init__.py https://huggingface.co/Ystar124/formtgpt/resolve/main/model/__init__.py
477 Bytes
| """ | |
| Custom DocLLM Transformer package. | |
| """ | |
| from model.config import ModelConfig | |
| from model.layers import RMSNorm, RotaryEmbedding, SwiGLU, StandardMLP, apply_rope | |
| from model.attention import CausalSelfAttention, KVCache | |
| from model.transformer import DocLLM, TransformerBlock | |
| __all__ = [ | |
| "ModelConfig", | |
| "RMSNorm", | |
| "RotaryEmbedding", | |
| "SwiGLU", | |
| "StandardMLP", | |
| "apply_rope", | |
| "CausalSelfAttention", | |
| "KVCache", | |
| "DocLLM", | |
| "TransformerBlock" | |
| ] | |