Initialise Pran: frozen copy of Agron @ a311e94 (no training applied)
Browse files- README.md +64 -0
- config.json +32 -0
- generation_config.json +10 -0
- model.safetensors +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +14 -0
README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: mit
|
| 5 |
+
tags:
|
| 6 |
+
- llama
|
| 7 |
+
- pran
|
| 8 |
+
- frozen-fork
|
| 9 |
+
- base-model
|
| 10 |
+
- text-generation
|
| 11 |
+
pipeline_tag: text-generation
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Pran
|
| 15 |
+
|
| 16 |
+
**Pran** is a frozen sibling copy of [`teddyoas/Agron`](https://huggingface.co/teddyoas/Agron),
|
| 17 |
+
created from Agron commit [`a311e94`](https://huggingface.co/teddyoas/Agron/commit/a311e94867629620de8d0a45136acb5d0ba91755)
|
| 18 |
+
(2026-10-22).
|
| 19 |
+
|
| 20 |
+
Pran is intentionally **left alone**: it is not trained, fine-tuned, or modified in
|
| 21 |
+
this iteration. Its weights are bit-for-bit the published Agron weights at that
|
| 22 |
+
commit, and it exists so a second, independent pretraining run can start from the
|
| 23 |
+
same base without touching Agron.
|
| 24 |
+
|
| 25 |
+
## Model details
|
| 26 |
+
|
| 27 |
+
| Property | Value |
|
| 28 |
+
|---|---|
|
| 29 |
+
| Architecture | `LlamaForCausalLM` |
|
| 30 |
+
| Parameters | ~50.3M |
|
| 31 |
+
| Hidden size | 512 |
|
| 32 |
+
| Layers | 8 |
|
| 33 |
+
| Attention heads | 4 (4 KV heads) |
|
| 34 |
+
| Intermediate size | 2048 |
|
| 35 |
+
| Context length | 512 |
|
| 36 |
+
| Vocab size | 16384 |
|
| 37 |
+
| Precision | fp32 |
|
| 38 |
+
| Tokenizer | `PreTrainedTokenizerFast` (same as Agron) |
|
| 39 |
+
|
| 40 |
+
The config, tokenizer and `model.safetensors` are exact copies of Agron at the
|
| 41 |
+
commit above.
|
| 42 |
+
|
| 43 |
+
## Status
|
| 44 |
+
|
| 45 |
+
- **Training: none.** Pran has no additional training steps applied.
|
| 46 |
+
- Agron, by contrast, is being continued-pretrained on programming languages and
|
| 47 |
+
cybersecurity in the same iteration.
|
| 48 |
+
- Pran is reserved for a separate, later pretraining objective.
|
| 49 |
+
|
| 50 |
+
## Usage
|
| 51 |
+
|
| 52 |
+
```python
|
| 53 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 54 |
+
|
| 55 |
+
tok = AutoTokenizer.from_pretrained("teddyoas/Pran")
|
| 56 |
+
model = AutoModelForCausalLM.from_pretrained("teddyoas/Pran")
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
Pran is a small experimental base model. It is not instruction tuned and will
|
| 60 |
+
produce raw, often incoherent continuations.
|
| 61 |
+
|
| 62 |
+
## License
|
| 63 |
+
|
| 64 |
+
MIT, inherited from Agron.
|
config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"LlamaForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"dtype": "float32",
|
| 9 |
+
"eos_token_id": 2,
|
| 10 |
+
"head_dim": 128,
|
| 11 |
+
"hidden_act": "silu",
|
| 12 |
+
"hidden_size": 512,
|
| 13 |
+
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 2048,
|
| 15 |
+
"max_position_embeddings": 512,
|
| 16 |
+
"mlp_bias": false,
|
| 17 |
+
"model_type": "llama",
|
| 18 |
+
"num_attention_heads": 4,
|
| 19 |
+
"num_hidden_layers": 8,
|
| 20 |
+
"num_key_value_heads": 4,
|
| 21 |
+
"pad_token_id": 1,
|
| 22 |
+
"pretraining_tp": 1,
|
| 23 |
+
"rms_norm_eps": 1e-06,
|
| 24 |
+
"rope_parameters": {
|
| 25 |
+
"rope_theta": 10000.0,
|
| 26 |
+
"rope_type": "default"
|
| 27 |
+
},
|
| 28 |
+
"tie_word_embeddings": false,
|
| 29 |
+
"transformers_version": "5.18.0",
|
| 30 |
+
"use_cache": false,
|
| 31 |
+
"vocab_size": 16384
|
| 32 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 0,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"output_attentions": false,
|
| 6 |
+
"output_hidden_states": false,
|
| 7 |
+
"pad_token_id": 1,
|
| 8 |
+
"transformers_version": "5.18.0",
|
| 9 |
+
"use_cache": true
|
| 10 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8869d225040c3c9233c181fd6c428ce855733696c0e74c1290415705a4d7fbfa
|
| 3 |
+
size 201369648
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<s>",
|
| 4 |
+
"eos_token": "</s>",
|
| 5 |
+
"mask_token": "<mask>",
|
| 6 |
+
"max_length": 512,
|
| 7 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 8 |
+
"pad_token": "<pad>",
|
| 9 |
+
"stride": 0,
|
| 10 |
+
"tokenizer_class": "TokenizersBackend",
|
| 11 |
+
"truncation_side": "right",
|
| 12 |
+
"truncation_strategy": "longest_first",
|
| 13 |
+
"unk_token": "<unk>"
|
| 14 |
+
}
|