Text Generation
Transformers
Safetensors
English
argonne2
causal-lm
transformer
argonne
instruct
pretrained
conversational
Instructions to use PursuitOfDataScience/Argonne2.5-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PursuitOfDataScience/Argonne2.5-instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="PursuitOfDataScience/Argonne2.5-instruct") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("PursuitOfDataScience/Argonne2.5-instruct", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use PursuitOfDataScience/Argonne2.5-instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "PursuitOfDataScience/Argonne2.5-instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "PursuitOfDataScience/Argonne2.5-instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/PursuitOfDataScience/Argonne2.5-instruct
- SGLang
How to use PursuitOfDataScience/Argonne2.5-instruct with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "PursuitOfDataScience/Argonne2.5-instruct" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "PursuitOfDataScience/Argonne2.5-instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "PursuitOfDataScience/Argonne2.5-instruct" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "PursuitOfDataScience/Argonne2.5-instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use PursuitOfDataScience/Argonne2.5-instruct with Docker Model Runner:
docker model run hf.co/PursuitOfDataScience/Argonne2.5-instruct
Update Argonne 2.5-instruct README with recommended config
Browse files- .gitattributes +6 -0
- README.md +30 -35
- model-00001-of-00005.safetensors +3 -0
- model-00002-of-00005.safetensors +3 -0
- model-00003-of-00005.safetensors +3 -0
- model-00004-of-00005.safetensors +3 -0
- model-00005-of-00005.safetensors +3 -0
- model.py +29 -0
- model.safetensors.index.json +261 -0
.gitattributes
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model-00001-of-00005.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
model-00002-of-00005.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
model-00003-of-00005.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
model-00004-of-00005.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
model-00005-of-00005.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -45,59 +45,52 @@ Key scripts:
|
|
| 45 |
- [`inference.py`](https://github.com/PursuitOfDataScience/ArgonneAI/blob/main/inference.py)
|
| 46 |
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
## Inference
|
| 50 |
|
| 51 |
```python
|
| 52 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 53 |
import torch
|
| 54 |
-
import json
|
| 55 |
-
import sys
|
| 56 |
-
from pathlib import Path
|
| 57 |
-
from safetensors.torch import load_file
|
| 58 |
|
| 59 |
model_id = "PursuitOfDataScience/Argonne2.5-instruct"
|
| 60 |
-
model_dir = Path(model_id)
|
| 61 |
-
|
| 62 |
-
sys.path.insert(0, model_id)
|
| 63 |
-
from model import ArgonneConfig, ArgonneModel
|
| 64 |
|
| 65 |
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
model = ArgonneModel(config)
|
| 72 |
-
state = model.state_dict()
|
| 73 |
-
|
| 74 |
-
with (model_dir / "model.safetensors.index.json").open() as f:
|
| 75 |
-
index = json.load(f)
|
| 76 |
-
|
| 77 |
-
for shard_name in sorted(set(index["weight_map"].values())):
|
| 78 |
-
shard = load_file(str(model_dir / shard_name), device="cpu")
|
| 79 |
-
for key, tensor in shard.items():
|
| 80 |
-
if key in state:
|
| 81 |
-
state[key].copy_(tensor)
|
| 82 |
-
|
| 83 |
-
model.tie_weights()
|
| 84 |
-
model = model.to("cuda", dtype=torch.bfloat16).eval()
|
| 85 |
|
| 86 |
prompt = "Write a short paragraph about scientific computing at Argonne National Laboratory."
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
input_ids = inputs["input_ids"] if isinstance(inputs, dict) else (inputs.input_ids if hasattr(inputs, "input_ids") else inputs)
|
| 90 |
-
input_ids = input_ids.to(model.device)
|
| 91 |
|
| 92 |
output_ids = model.generate(
|
| 93 |
input_ids,
|
| 94 |
-
max_length=input_ids.shape[1] +
|
| 95 |
temperature=0.8,
|
| 96 |
-
top_p=0.
|
| 97 |
top_k=50,
|
| 98 |
-
do_sample=
|
| 99 |
)
|
| 100 |
-
print(tokenizer.decode(output_ids[0]
|
| 101 |
|
| 102 |
```
|
| 103 |
|
|
@@ -105,6 +98,8 @@ print(tokenizer.decode(output_ids[0][input_ids.shape[1]:], skip_special_tokens=T
|
|
| 105 |
|
| 106 |
- Load with `trust_remote_code=True`.
|
| 107 |
- The custom `generate` method uses `max_length` rather than `max_new_tokens`.
|
|
|
|
|
|
|
| 108 |
- Weights are published as 5 bf16 safetensor shards.
|
| 109 |
- The instruct checkpoint inherits the base tokenizer and chat template.
|
| 110 |
|
|
|
|
| 45 |
- [`inference.py`](https://github.com/PursuitOfDataScience/ArgonneAI/blob/main/inference.py)
|
| 46 |
|
| 47 |
|
| 48 |
+
## Recommended generation config
|
| 49 |
+
|
| 50 |
+
| Item | Value |
|
| 51 |
+
|------|-------|
|
| 52 |
+
| **Context length** | 1,024 tokens |
|
| 53 |
+
| **Max new tokens** | 256 |
|
| 54 |
+
| **Temperature** | 0.8 |
|
| 55 |
+
| **Top-p** | 0.9 |
|
| 56 |
+
| **Repetition penalty** | 1.3 |
|
| 57 |
+
| **No-repeat n-gram size** | 4 |
|
| 58 |
+
| **Seed** | 444 |
|
| 59 |
+
|
| 60 |
+
The full sweep winner uses these settings in the repository's custom generation wrapper.
|
| 61 |
+
The bundled `generate` method in this checkpoint supports `temperature`, `top_k`,
|
| 62 |
+
`top_p`, and `do_sample`; use the wrapper if you want the repetition controls above.
|
| 63 |
+
|
| 64 |
+
|
| 65 |
|
| 66 |
## Inference
|
| 67 |
|
| 68 |
```python
|
| 69 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 70 |
import torch
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
model_id = "PursuitOfDataScience/Argonne2.5-instruct"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
|
| 75 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 76 |
+
model_id,
|
| 77 |
+
trust_remote_code=True,
|
| 78 |
+
dtype=torch.bfloat16,
|
| 79 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
|
| 81 |
prompt = "Write a short paragraph about scientific computing at Argonne National Laboratory."
|
| 82 |
+
inputs = tokenizer(prompt, return_tensors="pt")
|
| 83 |
+
input_ids = inputs["input_ids"].to(model.device)
|
|
|
|
|
|
|
| 84 |
|
| 85 |
output_ids = model.generate(
|
| 86 |
input_ids,
|
| 87 |
+
max_length=input_ids.shape[1] + 256,
|
| 88 |
temperature=0.8,
|
| 89 |
+
top_p=0.9,
|
| 90 |
top_k=50,
|
| 91 |
+
do_sample=True,
|
| 92 |
)
|
| 93 |
+
print(tokenizer.decode(output_ids[0], skip_special_tokens=True))
|
| 94 |
|
| 95 |
```
|
| 96 |
|
|
|
|
| 98 |
|
| 99 |
- Load with `trust_remote_code=True`.
|
| 100 |
- The custom `generate` method uses `max_length` rather than `max_new_tokens`.
|
| 101 |
+
- The sweep-derived repetition controls are available in the repository's custom
|
| 102 |
+
generation loop, not the checkpoint's built-in `generate` method.
|
| 103 |
- Weights are published as 5 bf16 safetensor shards.
|
| 104 |
- The instruct checkpoint inherits the base tokenizer and chat template.
|
| 105 |
|
model-00001-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9918877f8c47e0f900c58d778af52b0258c5edea2dfdf29d25c920dd890a428
|
| 3 |
+
size 543581800
|
model-00002-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:15ed01856232778998a4436c9ee8bff4065032c49d319e221a6423970d5e1ff2
|
| 3 |
+
size 501017520
|
model-00003-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a1ff1fe5a17a6850f15abd69299041124f7db4d61d58c5bc19422866c073e1a3
|
| 3 |
+
size 501013840
|
model-00004-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d91163ec9d1b46d8dcd86bff03a0ca3ce0a811f089449858c78c4a938458472
|
| 3 |
+
size 501013864
|
model-00005-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:906cfa3e16bf81583e93f23585ae4cba9bb568b4ce3c70e32c929cee82b54624
|
| 3 |
+
size 501013840
|
model.py
CHANGED
|
@@ -533,6 +533,8 @@ class ArgonneModel(PreTrainedModel):
|
|
| 533 |
top_k: Optional[int] = None,
|
| 534 |
top_p: Optional[float] = None,
|
| 535 |
do_sample: bool = True,
|
|
|
|
|
|
|
| 536 |
) -> torch.Tensor:
|
| 537 |
self.eval()
|
| 538 |
device = self.embed_tokens.weight.device
|
|
@@ -542,6 +544,33 @@ class ArgonneModel(PreTrainedModel):
|
|
| 542 |
outputs = self.forward(chunk)
|
| 543 |
logits = outputs.logits[:, -1, :] / temperature
|
| 544 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 545 |
if do_sample:
|
| 546 |
if top_k is not None:
|
| 547 |
top_values, _ = torch.topk(logits, min(top_k, logits.size(-1)))
|
|
|
|
| 533 |
top_k: Optional[int] = None,
|
| 534 |
top_p: Optional[float] = None,
|
| 535 |
do_sample: bool = True,
|
| 536 |
+
repetition_penalty: float = 1.0,
|
| 537 |
+
no_repeat_ngram_size: int = 0,
|
| 538 |
) -> torch.Tensor:
|
| 539 |
self.eval()
|
| 540 |
device = self.embed_tokens.weight.device
|
|
|
|
| 544 |
outputs = self.forward(chunk)
|
| 545 |
logits = outputs.logits[:, -1, :] / temperature
|
| 546 |
|
| 547 |
+
if repetition_penalty != 1.0:
|
| 548 |
+
for b in range(input_ids.shape[0]):
|
| 549 |
+
seen_tokens = torch.unique(input_ids[b])
|
| 550 |
+
seen_logits = logits[b, seen_tokens]
|
| 551 |
+
adjusted = torch.where(
|
| 552 |
+
seen_logits < 0,
|
| 553 |
+
seen_logits * repetition_penalty,
|
| 554 |
+
seen_logits / repetition_penalty,
|
| 555 |
+
)
|
| 556 |
+
logits[b, seen_tokens] = adjusted
|
| 557 |
+
|
| 558 |
+
if no_repeat_ngram_size > 0 and input_ids.shape[1] + 1 >= no_repeat_ngram_size:
|
| 559 |
+
n = int(no_repeat_ngram_size)
|
| 560 |
+
for b in range(input_ids.shape[0]):
|
| 561 |
+
seq = input_ids[b].tolist()
|
| 562 |
+
ngrams = {}
|
| 563 |
+
for i in range(len(seq) - n + 1):
|
| 564 |
+
prefix = tuple(seq[i : i + n - 1]) if n > 1 else tuple()
|
| 565 |
+
next_token = seq[i + n - 1]
|
| 566 |
+
if prefix not in ngrams:
|
| 567 |
+
ngrams[prefix] = set()
|
| 568 |
+
ngrams[prefix].add(next_token)
|
| 569 |
+
current_prefix = tuple(seq[-(n - 1) :]) if n > 1 else tuple()
|
| 570 |
+
banned = ngrams.get(current_prefix, set())
|
| 571 |
+
if banned:
|
| 572 |
+
logits[b, list(banned)] = float("-inf")
|
| 573 |
+
|
| 574 |
if do_sample:
|
| 575 |
if top_k is not None:
|
| 576 |
top_values, _ = torch.topk(logits, min(top_k, logits.size(-1)))
|
model.safetensors.index.json
ADDED
|
@@ -0,0 +1,261 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 2547614720
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"embed_tokens.weight": "model-00001-of-00005.safetensors",
|
| 7 |
+
"blocks.0.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 8 |
+
"blocks.1.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 9 |
+
"blocks.10.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 10 |
+
"blocks.12.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 11 |
+
"blocks.13.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 12 |
+
"blocks.14.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 13 |
+
"blocks.16.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 14 |
+
"blocks.17.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 15 |
+
"blocks.18.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 16 |
+
"blocks.2.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 17 |
+
"blocks.20.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 18 |
+
"blocks.21.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 19 |
+
"blocks.23.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 20 |
+
"blocks.24.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 21 |
+
"blocks.25.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 22 |
+
"blocks.27.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 23 |
+
"blocks.3.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 24 |
+
"blocks.4.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 25 |
+
"blocks.6.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 26 |
+
"blocks.7.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 27 |
+
"blocks.8.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 28 |
+
"blocks.0.attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 29 |
+
"blocks.10.attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 30 |
+
"blocks.12.attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 31 |
+
"blocks.14.attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 32 |
+
"blocks.16.attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 33 |
+
"blocks.18.attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 34 |
+
"blocks.2.attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 35 |
+
"blocks.21.attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 36 |
+
"blocks.23.attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 37 |
+
"blocks.25.attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 38 |
+
"blocks.27.attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 39 |
+
"blocks.4.attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 40 |
+
"blocks.6.attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 41 |
+
"blocks.8.attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 42 |
+
"blocks.0.attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 43 |
+
"blocks.10.attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 44 |
+
"blocks.12.attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 45 |
+
"blocks.14.attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 46 |
+
"blocks.16.attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 47 |
+
"blocks.18.attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 48 |
+
"blocks.2.attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 49 |
+
"blocks.21.attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 50 |
+
"blocks.23.attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 51 |
+
"blocks.25.attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 52 |
+
"blocks.27.attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 53 |
+
"blocks.4.attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 54 |
+
"blocks.6.attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 55 |
+
"blocks.8.attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 56 |
+
"blocks.0.input_norm.weight": "model-00002-of-00005.safetensors",
|
| 57 |
+
"blocks.10.input_norm.weight": "model-00002-of-00005.safetensors",
|
| 58 |
+
"blocks.12.input_norm.weight": "model-00002-of-00005.safetensors",
|
| 59 |
+
"blocks.14.input_norm.weight": "model-00002-of-00005.safetensors",
|
| 60 |
+
"blocks.16.input_norm.weight": "model-00002-of-00005.safetensors",
|
| 61 |
+
"blocks.18.input_norm.weight": "model-00002-of-00005.safetensors",
|
| 62 |
+
"blocks.2.input_norm.weight": "model-00002-of-00005.safetensors",
|
| 63 |
+
"blocks.21.input_norm.weight": "model-00002-of-00005.safetensors",
|
| 64 |
+
"blocks.23.input_norm.weight": "model-00002-of-00005.safetensors",
|
| 65 |
+
"blocks.25.input_norm.weight": "model-00002-of-00005.safetensors",
|
| 66 |
+
"blocks.27.input_norm.weight": "model-00002-of-00005.safetensors",
|
| 67 |
+
"blocks.4.input_norm.weight": "model-00002-of-00005.safetensors",
|
| 68 |
+
"blocks.6.input_norm.weight": "model-00002-of-00005.safetensors",
|
| 69 |
+
"blocks.8.input_norm.weight": "model-00002-of-00005.safetensors",
|
| 70 |
+
"norm.weight": "model-00002-of-00005.safetensors",
|
| 71 |
+
"blocks.0.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 72 |
+
"blocks.1.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 73 |
+
"blocks.11.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 74 |
+
"blocks.12.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 75 |
+
"blocks.13.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 76 |
+
"blocks.15.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 77 |
+
"blocks.16.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 78 |
+
"blocks.17.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 79 |
+
"blocks.19.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 80 |
+
"blocks.2.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 81 |
+
"blocks.20.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 82 |
+
"blocks.22.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 83 |
+
"blocks.23.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 84 |
+
"blocks.24.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 85 |
+
"blocks.26.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 86 |
+
"blocks.27.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 87 |
+
"blocks.3.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 88 |
+
"blocks.5.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 89 |
+
"blocks.6.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 90 |
+
"blocks.7.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 91 |
+
"blocks.9.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 92 |
+
"blocks.0.attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 93 |
+
"blocks.10.attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 94 |
+
"blocks.12.attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 95 |
+
"blocks.14.attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 96 |
+
"blocks.16.attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 97 |
+
"blocks.18.attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 98 |
+
"blocks.2.attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 99 |
+
"blocks.21.attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 100 |
+
"blocks.23.attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 101 |
+
"blocks.25.attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 102 |
+
"blocks.27.attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 103 |
+
"blocks.4.attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 104 |
+
"blocks.6.attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 105 |
+
"blocks.8.attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 106 |
+
"blocks.0.attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 107 |
+
"blocks.10.attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 108 |
+
"blocks.12.attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 109 |
+
"blocks.14.attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 110 |
+
"blocks.16.attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 111 |
+
"blocks.18.attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 112 |
+
"blocks.2.attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 113 |
+
"blocks.21.attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 114 |
+
"blocks.23.attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 115 |
+
"blocks.25.attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 116 |
+
"blocks.27.attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 117 |
+
"blocks.4.attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 118 |
+
"blocks.6.attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 119 |
+
"blocks.8.attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 120 |
+
"blocks.0.post_norm.weight": "model-00003-of-00005.safetensors",
|
| 121 |
+
"blocks.10.post_norm.weight": "model-00003-of-00005.safetensors",
|
| 122 |
+
"blocks.12.post_norm.weight": "model-00003-of-00005.safetensors",
|
| 123 |
+
"blocks.14.post_norm.weight": "model-00003-of-00005.safetensors",
|
| 124 |
+
"blocks.16.post_norm.weight": "model-00003-of-00005.safetensors",
|
| 125 |
+
"blocks.18.post_norm.weight": "model-00003-of-00005.safetensors",
|
| 126 |
+
"blocks.2.post_norm.weight": "model-00003-of-00005.safetensors",
|
| 127 |
+
"blocks.21.post_norm.weight": "model-00003-of-00005.safetensors",
|
| 128 |
+
"blocks.23.post_norm.weight": "model-00003-of-00005.safetensors",
|
| 129 |
+
"blocks.25.post_norm.weight": "model-00003-of-00005.safetensors",
|
| 130 |
+
"blocks.27.post_norm.weight": "model-00003-of-00005.safetensors",
|
| 131 |
+
"blocks.4.post_norm.weight": "model-00003-of-00005.safetensors",
|
| 132 |
+
"blocks.6.post_norm.weight": "model-00003-of-00005.safetensors",
|
| 133 |
+
"blocks.8.post_norm.weight": "model-00003-of-00005.safetensors",
|
| 134 |
+
"blocks.0.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 135 |
+
"blocks.10.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 136 |
+
"blocks.11.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 137 |
+
"blocks.12.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 138 |
+
"blocks.14.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 139 |
+
"blocks.15.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 140 |
+
"blocks.16.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 141 |
+
"blocks.18.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 142 |
+
"blocks.19.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 143 |
+
"blocks.2.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 144 |
+
"blocks.21.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 145 |
+
"blocks.22.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 146 |
+
"blocks.23.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 147 |
+
"blocks.25.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 148 |
+
"blocks.26.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 149 |
+
"blocks.27.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 150 |
+
"blocks.4.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 151 |
+
"blocks.5.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 152 |
+
"blocks.6.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 153 |
+
"blocks.8.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 154 |
+
"blocks.9.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 155 |
+
"blocks.1.attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 156 |
+
"blocks.11.attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 157 |
+
"blocks.13.attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 158 |
+
"blocks.15.attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 159 |
+
"blocks.17.attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 160 |
+
"blocks.19.attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 161 |
+
"blocks.20.attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 162 |
+
"blocks.22.attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 163 |
+
"blocks.24.attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 164 |
+
"blocks.26.attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 165 |
+
"blocks.3.attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 166 |
+
"blocks.5.attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 167 |
+
"blocks.7.attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 168 |
+
"blocks.9.attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 169 |
+
"blocks.1.attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 170 |
+
"blocks.11.attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 171 |
+
"blocks.13.attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 172 |
+
"blocks.15.attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 173 |
+
"blocks.17.attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 174 |
+
"blocks.19.attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 175 |
+
"blocks.20.attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 176 |
+
"blocks.22.attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 177 |
+
"blocks.24.attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 178 |
+
"blocks.26.attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 179 |
+
"blocks.3.attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 180 |
+
"blocks.5.attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 181 |
+
"blocks.7.attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 182 |
+
"blocks.9.attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 183 |
+
"blocks.1.input_norm.weight": "model-00004-of-00005.safetensors",
|
| 184 |
+
"blocks.11.input_norm.weight": "model-00004-of-00005.safetensors",
|
| 185 |
+
"blocks.13.input_norm.weight": "model-00004-of-00005.safetensors",
|
| 186 |
+
"blocks.15.input_norm.weight": "model-00004-of-00005.safetensors",
|
| 187 |
+
"blocks.17.input_norm.weight": "model-00004-of-00005.safetensors",
|
| 188 |
+
"blocks.19.input_norm.weight": "model-00004-of-00005.safetensors",
|
| 189 |
+
"blocks.20.input_norm.weight": "model-00004-of-00005.safetensors",
|
| 190 |
+
"blocks.22.input_norm.weight": "model-00004-of-00005.safetensors",
|
| 191 |
+
"blocks.24.input_norm.weight": "model-00004-of-00005.safetensors",
|
| 192 |
+
"blocks.26.input_norm.weight": "model-00004-of-00005.safetensors",
|
| 193 |
+
"blocks.3.input_norm.weight": "model-00004-of-00005.safetensors",
|
| 194 |
+
"blocks.5.input_norm.weight": "model-00004-of-00005.safetensors",
|
| 195 |
+
"blocks.7.input_norm.weight": "model-00004-of-00005.safetensors",
|
| 196 |
+
"blocks.9.input_norm.weight": "model-00004-of-00005.safetensors",
|
| 197 |
+
"blocks.1.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
| 198 |
+
"blocks.10.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
| 199 |
+
"blocks.11.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
| 200 |
+
"blocks.13.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
| 201 |
+
"blocks.14.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
| 202 |
+
"blocks.15.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
| 203 |
+
"blocks.17.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
| 204 |
+
"blocks.18.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
| 205 |
+
"blocks.19.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
| 206 |
+
"blocks.20.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
| 207 |
+
"blocks.21.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
| 208 |
+
"blocks.22.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
| 209 |
+
"blocks.24.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
| 210 |
+
"blocks.25.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
| 211 |
+
"blocks.26.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
| 212 |
+
"blocks.3.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
| 213 |
+
"blocks.4.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
| 214 |
+
"blocks.5.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
| 215 |
+
"blocks.7.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
| 216 |
+
"blocks.8.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
| 217 |
+
"blocks.9.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
| 218 |
+
"blocks.1.attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
| 219 |
+
"blocks.11.attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
| 220 |
+
"blocks.13.attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
| 221 |
+
"blocks.15.attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
| 222 |
+
"blocks.17.attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
| 223 |
+
"blocks.19.attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
| 224 |
+
"blocks.20.attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
| 225 |
+
"blocks.22.attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
| 226 |
+
"blocks.24.attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
| 227 |
+
"blocks.26.attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
| 228 |
+
"blocks.3.attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
| 229 |
+
"blocks.5.attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
| 230 |
+
"blocks.7.attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
| 231 |
+
"blocks.9.attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
| 232 |
+
"blocks.1.attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 233 |
+
"blocks.11.attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 234 |
+
"blocks.13.attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 235 |
+
"blocks.15.attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 236 |
+
"blocks.17.attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 237 |
+
"blocks.19.attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 238 |
+
"blocks.20.attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 239 |
+
"blocks.22.attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 240 |
+
"blocks.24.attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 241 |
+
"blocks.26.attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 242 |
+
"blocks.3.attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 243 |
+
"blocks.5.attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 244 |
+
"blocks.7.attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 245 |
+
"blocks.9.attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
| 246 |
+
"blocks.1.post_norm.weight": "model-00005-of-00005.safetensors",
|
| 247 |
+
"blocks.11.post_norm.weight": "model-00005-of-00005.safetensors",
|
| 248 |
+
"blocks.13.post_norm.weight": "model-00005-of-00005.safetensors",
|
| 249 |
+
"blocks.15.post_norm.weight": "model-00005-of-00005.safetensors",
|
| 250 |
+
"blocks.17.post_norm.weight": "model-00005-of-00005.safetensors",
|
| 251 |
+
"blocks.19.post_norm.weight": "model-00005-of-00005.safetensors",
|
| 252 |
+
"blocks.20.post_norm.weight": "model-00005-of-00005.safetensors",
|
| 253 |
+
"blocks.22.post_norm.weight": "model-00005-of-00005.safetensors",
|
| 254 |
+
"blocks.24.post_norm.weight": "model-00005-of-00005.safetensors",
|
| 255 |
+
"blocks.26.post_norm.weight": "model-00005-of-00005.safetensors",
|
| 256 |
+
"blocks.3.post_norm.weight": "model-00005-of-00005.safetensors",
|
| 257 |
+
"blocks.5.post_norm.weight": "model-00005-of-00005.safetensors",
|
| 258 |
+
"blocks.7.post_norm.weight": "model-00005-of-00005.safetensors",
|
| 259 |
+
"blocks.9.post_norm.weight": "model-00005-of-00005.safetensors"
|
| 260 |
+
}
|
| 261 |
+
}
|