MiniRNN-256 / README.md
Fu01978's picture
Update README.md
e0d26dc verified
|
raw
history blame
329 Bytes
# MiniRNN-256
---
license: cc
---
A small word-level RNN language model.
## Architecture
- Embedding size: 256
- RNN layers: 2
- Hidden size: 256
- Vocabulary size: 681
## Loading
```python
from safetensors.torch import load_file
state_dict = load_file("model.safetensors")
model.load_state_dict(state_dict)
model.eval()
```