Upload folder using huggingface_hub
Browse files- README.md +19 -0
- best_state_dict.pt +3 -0
- bundle.pt +3 -0
- classes.json +19 -0
- config.json +8 -0
- stoi.json +1 -0
README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: pytorch
|
| 3 |
+
language: ar
|
| 4 |
+
tags:
|
| 5 |
+
- arabic
|
| 6 |
+
- poetry
|
| 7 |
+
- meter
|
| 8 |
+
- classification
|
| 9 |
+
- bilstm
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# 4BiLSTM meter classification (PyTorch)
|
| 13 |
+
|
| 14 |
+
Character-level 4×BiLSTM meter classifier trained on `APCD_plus_porse_all`.
|
| 15 |
+
|
| 16 |
+
## Files
|
| 17 |
+
- `bundle.pt`: model_state_dict + stoi + classes + config
|
| 18 |
+
- `best_state_dict.pt`: weights only
|
| 19 |
+
- `config.json`, `stoi.json`, `classes.json`: exported metadata
|
best_state_dict.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc792fb854562d5ac08cb6eac23ae9470d58fbd53a3ba2a0a667b4331ee35968
|
| 3 |
+
size 1412432
|
bundle.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1c7778d8276f6a9923f091270bde8aa6b074bf575a6439c774de8697ddc1822
|
| 3 |
+
size 1413320
|
classes.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
"البسيط",
|
| 3 |
+
"الخفيف",
|
| 4 |
+
"الرجز",
|
| 5 |
+
"الرمل",
|
| 6 |
+
"السريع",
|
| 7 |
+
"الطويل",
|
| 8 |
+
"الكامل",
|
| 9 |
+
"المتدارك",
|
| 10 |
+
"المتقارب",
|
| 11 |
+
"المجتث",
|
| 12 |
+
"المديد",
|
| 13 |
+
"المضارع",
|
| 14 |
+
"المقتضب",
|
| 15 |
+
"المنسرح",
|
| 16 |
+
"الهزج",
|
| 17 |
+
"الوافر",
|
| 18 |
+
"نثر"
|
| 19 |
+
]
|
config.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"arch": "4xBiLSTM-char",
|
| 3 |
+
"emb_dim": 32,
|
| 4 |
+
"latent_dim": 64,
|
| 5 |
+
"num_classes": 17,
|
| 6 |
+
"max_seq_length": 128,
|
| 7 |
+
"created_at": "2026-01-05"
|
| 8 |
+
}
|
stoi.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{" ": 1, "ء": 2, "آ": 3, "أ": 4, "ؤ": 5, "إ": 6, "ئ": 7, "ا": 8, "ب": 9, "ة": 10, "ت": 11, "ث": 12, "ج": 13, "ح": 14, "خ": 15, "د": 16, "ذ": 17, "ر": 18, "ز": 19, "س": 20, "ش": 21, "ص": 22, "ض": 23, "ط": 24, "ظ": 25, "ع": 26, "غ": 27, "ف": 28, "ق": 29, "ك": 30, "ل": 31, "م": 32, "ن": 33, "ه": 34, "و": 35, "ى": 36, "ي": 37, "ً": 38, "ٌ": 39, "ٍ": 40, "َ": 41, "ُ": 42, "ِ": 43, "ّ": 44, "ْ": 45}
|