Download src/model/__init__.py from nameissakthi/PebbleLM-117M: direct link, hf CLI and curl.
- Browser
- Download file 575 Bytes
-
https://huggingface.co/nameissakthi/PebbleLM-117M/resolve/main/src/model/__init__.py
- Command line
-
hf download hf://nameissakthi/PebbleLM-117M/src/model/__init__.py
-
curl -L -o __init__.py https://huggingface.co/nameissakthi/PebbleLM-117M/resolve/main/src/model/__init__.py
575 Bytes
| """SLM Model Components.""" | |
| from .config import SLMConfig | |
| from .transformer import SLMForCausalLM, SLMModel, SLMOutput | |
| from .kv_cache import KVCache | |
| from .normalization import RMSNorm | |
| from .rope import RotaryEmbedding | |
| from .attention import MultiHeadAttention, create_causal_mask | |
| from .ffn import FeedForward | |
| from .decoder import DecoderBlock | |
| __all__ = [ | |
| "SLMConfig", | |
| "SLMForCausalLM", | |
| "SLMModel", | |
| "SLMOutput", | |
| "KVCache", | |
| "RMSNorm", | |
| "RotaryEmbedding", | |
| "MultiHeadAttention", | |
| "create_causal_mask", | |
| "FeedForward", | |
| "DecoderBlock", | |
| ] | |