Views
No views yet
| Component | Value |
|---|---|
| Parameters | 25M |
| Layers | 6 (shared weights) |
| Embedding dim | 256 |
| Attention heads | 4 |
| Context length | 128 |
| Vocab size | 256 (byte-level) |
1import torch
2
3model_data = torch.hub.load_state_dict_from_url(
4 "https://huggingface.co/akarki15/bdh-nepali/resolve/main/bdh_nepali.pt",
5 map_location="cpu"
6)
7# Load with BDH model class — see GitHub repo for full inference code