Release Fields 300M PG-19 checkpoint v0.1.0
Browse files- ENVIRONMENT.txt +18 -0
- EQUIVALENCE_REPORT.json +13 -0
- README.md +76 -0
- SHA256SUMS.txt +9 -0
- SOURCE_IDENTITY.txt +21 -0
- config.json +79 -0
- model.safetensors +3 -0
- special_tokens_map.json +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +6 -0
ENVIRONMENT.txt
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
generated_utc=2026-06-29T22:53:25Z
|
| 2 |
+
kernel=Linux 6.8.0-1046-nvidia x86_64 GNU/Linux
|
| 3 |
+
|
| 4 |
+
NVIDIA H100 80GB HBM3, 580.105.08, 81559 MiB
|
| 5 |
+
|
| 6 |
+
python 3.10.12 (main, Jan 26 2026, 14:55:28) [GCC 11.4.0]
|
| 7 |
+
platform Linux-6.8.0-1046-nvidia-x86_64-with-glibc2.35
|
| 8 |
+
torch 2.7.0
|
| 9 |
+
triton 3.3.0
|
| 10 |
+
mamba_ssm 2.3.2.post1
|
| 11 |
+
causal_conv1d 1.6.2.post1
|
| 12 |
+
transformers 5.12.1
|
| 13 |
+
tokenizers 0.22.2
|
| 14 |
+
huggingface_hub 1.21.0
|
| 15 |
+
safetensors 0.8.0
|
| 16 |
+
torch_cuda 12.8
|
| 17 |
+
torch_cuda_available True
|
| 18 |
+
torch_gpu NVIDIA H100 80GB HBM3
|
EQUIVALENCE_REPORT.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"abs_loss_diff": 0.0,
|
| 3 |
+
"artifact": "/home/ubuntu/fields_hf_export",
|
| 4 |
+
"backend_name": "final_field_pcaf_on",
|
| 5 |
+
"canonical_sha256": "0454647a7f667cdf73f45029eee0f525c58c0788ecd433ec1a4db8c3937ac848",
|
| 6 |
+
"checkpoint": "/home/ubuntu/pcaf_runs/field_fusion_final_closure_run/quality/seed0_1234/field_official_18f2m4r_pcaf_on/final_bf16.pt",
|
| 7 |
+
"device": "cuda",
|
| 8 |
+
"max_abs_logits_diff": 0.0,
|
| 9 |
+
"pcaf_enabled": true,
|
| 10 |
+
"sequence_length": 128,
|
| 11 |
+
"state_dict_exact": true,
|
| 12 |
+
"status": "PASS"
|
| 13 |
+
}
|
README.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: fields-lm
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- pytorch
|
| 7 |
+
- causal-lm
|
| 8 |
+
- long-context
|
| 9 |
+
- state-space-model
|
| 10 |
+
- mamba
|
| 11 |
+
- research
|
| 12 |
+
language:
|
| 13 |
+
- en
|
| 14 |
+
datasets:
|
| 15 |
+
- emozilla/pg19
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# Fields 300M PG-19
|
| 19 |
+
|
| 20 |
+
This repository contains the first public checkpoint for **Fields LM**, an experimental causal language-model architecture combining native Field recurrence, displaced readout, PCAF successor memory, local refresh attention, and Mamba-2 editors.
|
| 21 |
+
|
| 22 |
+
## Model details
|
| 23 |
+
|
| 24 |
+
- architecture: Fields 18F/2M/4R + PCAF;
|
| 25 |
+
- scale: approximately 300M parameters;
|
| 26 |
+
- vocabulary: 16,384-token BPE;
|
| 27 |
+
- training data: controlled sample of PG-19;
|
| 28 |
+
- training budget: 49,152,000 tokens;
|
| 29 |
+
- training context: 2,048 tokens;
|
| 30 |
+
- evaluated contexts: 2K, 8K, 16K, 32K, and 64K;
|
| 31 |
+
- weights: `safetensors`;
|
| 32 |
+
- runtime: install from the official GitHub repository.
|
| 33 |
+
|
| 34 |
+
This is **not** a frontier-scale assistant and is not instruction-tuned. Long-context values beyond 2K measure evaluation-time extrapolation, not training at those lengths.
|
| 35 |
+
|
| 36 |
+
## Installation
|
| 37 |
+
|
| 38 |
+
```bash
|
| 39 |
+
pip install "git+https://github.com/Multisymboliccore/fields-lm.git"
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
Install the validated CUDA dependencies for Mamba-2 and causal convolution as documented in the GitHub repository.
|
| 43 |
+
|
| 44 |
+
## Loading
|
| 45 |
+
|
| 46 |
+
```python
|
| 47 |
+
import torch
|
| 48 |
+
from fields_official import FieldsHubModel
|
| 49 |
+
|
| 50 |
+
model = FieldsHubModel.from_pretrained(
|
| 51 |
+
"Multisymboliccore/fields-300m-pg19",
|
| 52 |
+
map_location="cpu",
|
| 53 |
+
)
|
| 54 |
+
model = model.to(device="cuda", dtype=torch.bfloat16).eval()
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
## Intended use
|
| 58 |
+
|
| 59 |
+
The checkpoint is intended for architecture research, reproducibility, controlled ablations, long-context analysis, and further pretraining or fine-tuning by qualified users.
|
| 60 |
+
|
| 61 |
+
## Limitations
|
| 62 |
+
|
| 63 |
+
- trained with a comparatively small token budget;
|
| 64 |
+
- English literary-book domain bias from PG-19;
|
| 65 |
+
- not instruction-tuned or safety-tuned;
|
| 66 |
+
- may generate inaccurate, biased, or harmful text;
|
| 67 |
+
- custom CUDA dependencies are required for the validated high-performance path;
|
| 68 |
+
- 64K evaluation does not imply equal quality across all long-context tasks.
|
| 69 |
+
|
| 70 |
+
## Evaluation
|
| 71 |
+
|
| 72 |
+
Final three-seed metrics and paper links will be synchronized from the validated release artifacts. Do not infer universal model quality from the architecture benchmark alone.
|
| 73 |
+
|
| 74 |
+
## License
|
| 75 |
+
|
| 76 |
+
Apache License 2.0. Dependency licenses continue to apply.
|
SHA256SUMS.txt
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
6a79821480e8c73bb79d9bf1a0b81247df4dc6269e520de92f1e8768314962a8 ENVIRONMENT.txt
|
| 2 |
+
5c0743bfe273f83b38154b65e86100bdbb68c5c53846443dfa9b5de504aebc03 EQUIVALENCE_REPORT.json
|
| 3 |
+
9b552d68a5346641d7a09f5ee52a1ff857b5567c7be9ff9d57bce5c207bfce3f README.md
|
| 4 |
+
46c8141eb4fc663a47623e1fe20201092088a31d036ae404d9ed150942d688ca SOURCE_IDENTITY.txt
|
| 5 |
+
4271b423cf20a96afe91110b6262080aae91eec976fcef9291e33056001464a1 config.json
|
| 6 |
+
30381e15cc6dd247db9d71a17b63832f6db1387de97ba0efcf168c43797820af model.safetensors
|
| 7 |
+
c982c025453afc73c93ec1fab4598763bef21cfbf22cd6008d03711d4e6210e1 special_tokens_map.json
|
| 8 |
+
928f6b3b935dcded396b05ae955a344eb1690cca244c988877dc6dd4d38e7470 tokenizer.json
|
| 9 |
+
bd1eaa7215f9b95c8bf3161ce09aea0b28769039d7131fab8d8b17cf35cf06d3 tokenizer_config.json
|
SOURCE_IDENTITY.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"canonical_sha256": "0454647a7f667cdf73f45029eee0f525c58c0788ecd433ec1a4db8c3937ac848",
|
| 3 |
+
"checkpoint": "/home/ubuntu/pcaf_runs/field_fusion_final_closure_run/quality/seed0_1234/field_official_18f2m4r_pcaf_on/final_bf16.pt",
|
| 4 |
+
"checkpoint_sha256": "e81f2c1338db6a84231818877067a5743a137990e408ad78396fd5f10178f857",
|
| 5 |
+
"metadata": {
|
| 6 |
+
"batch": 4,
|
| 7 |
+
"canonical_sha256": "0454647a7f667cdf73f45029eee0f525c58c0788ecd433ec1a4db8c3937ac848",
|
| 8 |
+
"data_manifest_sha256": "2d158e9614bf222db8ae8b9a7d4ecd0b5170dbfaf233d4bedb323ee409cc8716",
|
| 9 |
+
"data_seed": 5678,
|
| 10 |
+
"dataset": "emozilla/pg19",
|
| 11 |
+
"model": "field_official_18f2m4r_pcaf_on",
|
| 12 |
+
"model_seed": 1234,
|
| 13 |
+
"parameters": 300343080,
|
| 14 |
+
"suite_version": 3,
|
| 15 |
+
"train_seq": 2048,
|
| 16 |
+
"train_tokens": 49152000
|
| 17 |
+
},
|
| 18 |
+
"model": "field_official_18f2m4r_pcaf_on",
|
| 19 |
+
"tokenizer_sha256": "928f6b3b935dcded396b05ae955a344eb1690cca244c988877dc6dd4d38e7470",
|
| 20 |
+
"weights_sha256": "30381e15cc6dd247db9d71a17b63832f6db1387de97ba0efcf168c43797820af"
|
| 21 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"amp": "bf16",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"FieldsHubModel"
|
| 5 |
+
],
|
| 6 |
+
"backend_name": "final_field_pcaf_on",
|
| 7 |
+
"canonical_sha256": "0454647a7f667cdf73f45029eee0f525c58c0788ecd433ec1a4db8c3937ac848",
|
| 8 |
+
"embedding_seed": 314159,
|
| 9 |
+
"library_name": "fields-lm",
|
| 10 |
+
"model_max_length": 65536,
|
| 11 |
+
"model_seed": 1234,
|
| 12 |
+
"model_type": "fields",
|
| 13 |
+
"pcaf_enabled": true,
|
| 14 |
+
"safe_serialization": true,
|
| 15 |
+
"topology_audit": {
|
| 16 |
+
"block_count": 24,
|
| 17 |
+
"classes": [
|
| 18 |
+
"FieldBlock",
|
| 19 |
+
"FieldBlock",
|
| 20 |
+
"FieldBlock",
|
| 21 |
+
"FieldBlock",
|
| 22 |
+
"FieldBlock",
|
| 23 |
+
"FusionRefreshBlockV21",
|
| 24 |
+
"FieldBlock",
|
| 25 |
+
"FieldBlock",
|
| 26 |
+
"FieldBlock",
|
| 27 |
+
"FieldBlock",
|
| 28 |
+
"Mamba2ResidualBlock",
|
| 29 |
+
"FusionRefreshBlockV21",
|
| 30 |
+
"FieldBlock",
|
| 31 |
+
"FieldBlock",
|
| 32 |
+
"FieldBlock",
|
| 33 |
+
"FieldBlock",
|
| 34 |
+
"FieldBlock",
|
| 35 |
+
"FusionRefreshBlockV21",
|
| 36 |
+
"FieldBlock",
|
| 37 |
+
"FieldBlock",
|
| 38 |
+
"FieldBlock",
|
| 39 |
+
"FieldBlock",
|
| 40 |
+
"Mamba2ResidualBlock",
|
| 41 |
+
"FusionRefreshBlockV21"
|
| 42 |
+
],
|
| 43 |
+
"mamba_count": 2,
|
| 44 |
+
"mamba_indices": [
|
| 45 |
+
10,
|
| 46 |
+
22
|
| 47 |
+
],
|
| 48 |
+
"native_field_count": 18,
|
| 49 |
+
"native_field_indices": [
|
| 50 |
+
0,
|
| 51 |
+
1,
|
| 52 |
+
2,
|
| 53 |
+
3,
|
| 54 |
+
4,
|
| 55 |
+
6,
|
| 56 |
+
7,
|
| 57 |
+
8,
|
| 58 |
+
9,
|
| 59 |
+
12,
|
| 60 |
+
13,
|
| 61 |
+
14,
|
| 62 |
+
15,
|
| 63 |
+
16,
|
| 64 |
+
18,
|
| 65 |
+
19,
|
| 66 |
+
20,
|
| 67 |
+
21
|
| 68 |
+
],
|
| 69 |
+
"refresh_count": 4,
|
| 70 |
+
"refresh_indices": [
|
| 71 |
+
5,
|
| 72 |
+
11,
|
| 73 |
+
17,
|
| 74 |
+
23
|
| 75 |
+
],
|
| 76 |
+
"rejected_module_names": []
|
| 77 |
+
},
|
| 78 |
+
"vocab_size": 16384
|
| 79 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30381e15cc6dd247db9d71a17b63832f6db1387de97ba0efcf168c43797820af
|
| 3 |
+
size 1201405352
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"unk_token": "<unk>"
|
| 3 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"clean_up_tokenization_spaces": false,
|
| 3 |
+
"model_max_length": 65536,
|
| 4 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
| 5 |
+
"unk_token": "<unk>"
|
| 6 |
+
}
|