Export weights and config from checkpoint latest_checkpoint.pt
Browse files- README.md +60 -0
- config.json +10 -0
- generation_config.json +7 -0
- pytorch_model.bin +3 -0
- requirements.txt +4 -0
README.md
CHANGED
|
@@ -1,3 +1,63 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
| 2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
- akk
|
| 5 |
license: mit
|
| 6 |
+
base_model:
|
| 7 |
+
- AlgoDriveAI/Sanskrit_Akkadian_LLM
|
| 8 |
+
tags:
|
| 9 |
+
- dense-llm
|
| 10 |
+
- akkadian
|
| 11 |
+
- old-babylonian
|
| 12 |
+
- ancient-languages
|
| 13 |
+
- english
|
| 14 |
+
- translation
|
| 15 |
+
- causal-lm
|
| 16 |
+
- custom-architecture
|
| 17 |
+
- research
|
| 18 |
+
pipeline_tag: text-generation
|
| 19 |
---
|
| 20 |
+
|
| 21 |
+
# Akkadian-English DenseLLM 1B
|
| 22 |
+
|
| 23 |
+
This is an experimental DenseLLM model focused on **English ↔ Akkadian / Old Babylonian translation and transliteration work**.
|
| 24 |
+
|
| 25 |
+
This version is a continuation of the earlier `AlgoDriveAI/Sanskrit_Akkadian_LLM` model, but the project direction has changed. The previous public version mixed **English, Sanskrit, Akkadian, and some auxiliary training material**. For this release, the model has been expanded to approximately **1B parameters** and narrowed to focus on **English and Akkadian only**.
|
| 26 |
+
|
| 27 |
+
## Architecture
|
| 28 |
+
|
| 29 |
+
| Component | Details |
|
| 30 |
+
|---|---|
|
| 31 |
+
| Type | Custom Dense Transformer / DenseLLM |
|
| 32 |
+
| Parameters | ~1B |
|
| 33 |
+
| Context Length | 2048 tokens |
|
| 34 |
+
| Positional Encoding | RoPE |
|
| 35 |
+
| Activation | SwiGLU |
|
| 36 |
+
| Normalization | RMSNorm |
|
| 37 |
+
| Task Type | Causal Language Modeling |
|
| 38 |
+
|
| 39 |
+
| Hyperparameter | Value |
|
| 40 |
+
|---|---|
|
| 41 |
+
| d_model | 1280 |
|
| 42 |
+
| n_layers | 30 |
|
| 43 |
+
| n_heads | 32 |
|
| 44 |
+
| n_kv_heads | unknown |
|
| 45 |
+
| ff_mult | unknown |
|
| 46 |
+
| vocab_size | 32000 |
|
| 47 |
+
|
| 48 |
+
## Known Limitations
|
| 49 |
+
|
| 50 |
+
- **Not a scholarly authority:** Outputs should be checked against reliable Akkadian grammars, dictionaries, and corpora.
|
| 51 |
+
- **Hallucinated forms:** The model may invent plausible-looking Akkadian words or endings.
|
| 52 |
+
- **Translation uncertainty:** Akkadian is highly context-dependent, and short isolated sentences may have multiple possible readings.
|
| 53 |
+
|
| 54 |
+
## Contact
|
| 55 |
+
|
| 56 |
+
**Organization:** AlgoDriveAI
|
| 57 |
+
**Author:** Christopher Smith
|
| 58 |
+
**Base model / previous version:** [AlgoDriveAI/Sanskrit_Akkadian_LLM](https://huggingface.co/AlgoDriveAI/Sanskrit_Akkadian_LLM)
|
| 59 |
+
**Repository:** https://huggingface.co/AlgoDriveAI/Akkadian_English_DenseLLM_1B
|
| 60 |
+
|
| 61 |
+
## License
|
| 62 |
+
|
| 63 |
+
MIT
|
config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"vocab_size": 32000,
|
| 3 |
+
"d_model": 1280,
|
| 4 |
+
"n_layers": 30,
|
| 5 |
+
"n_heads": 32,
|
| 6 |
+
"max_seq_len": 2048,
|
| 7 |
+
"architectures": [
|
| 8 |
+
"DenseLLM"
|
| 9 |
+
]
|
| 10 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"max_new_tokens": 200,
|
| 3 |
+
"temperature": 0.55,
|
| 4 |
+
"top_k": 35,
|
| 5 |
+
"top_p": 0.88,
|
| 6 |
+
"do_sample": true
|
| 7 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd702d2a0503cdd46237e10df6f2a5be5ba5d24e48adebb550c3642b1f917214
|
| 3 |
+
size 2337936635
|
requirements.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
torch
|
| 2 |
+
transformers
|
| 3 |
+
huggingface_hub
|
| 4 |
+
einops
|