Feature Extraction
sentence-transformers
Safetensors
English
Māori
abteex-ai-labs
aotearoa
embedding
local-first
lumynax
mistral
new-zealand
sovereign-ai
text
legacy
outdated
Instructions to use AbteeXAILab/lumynax-embed-e5-mistral-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use AbteeXAILab/lumynax-embed-e5-mistral-7b with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("AbteeXAILab/lumynax-embed-e5-mistral-7b") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Add files using upload-large-folder tool
Browse files- LICENSE.txt +11 -0
- README.md +55 -0
- VERSION.txt +1 -0
- artifacts/release_training_summary.json +47 -0
- checksums.sha256 +28 -0
- hf_space/README.md +37 -0
- hf_space/app.py +337 -0
- hf_space/requirements.txt +5 -0
- merged_model/1_Pooling/config.json +10 -0
- merged_model/LUMYNAX_PACKAGE_IDENTITY.txt +1 -0
- merged_model/added_tokens.json +5 -0
- merged_model/config.json +26 -0
- merged_model/config_sentence_transformers.json +14 -0
- merged_model/lora/adapter_config.json +26 -0
- merged_model/model-00001-of-00002.safetensors +3 -0
- merged_model/model-00002-of-00002.safetensors +3 -0
- merged_model/model.safetensors.index.json +297 -0
- merged_model/modules.json +20 -0
- merged_model/pytorch_model.bin.index.json +297 -0
- merged_model/sentence_bert_config.json +4 -0
- merged_model/special_tokens_map.json +11 -0
- merged_model/tokenizer.json +0 -0
- merged_model/tokenizer.model +3 -0
- merged_model/tokenizer_config.json +45 -0
- ollama/Modelfile +9 -0
- ollama/create_ollama_model.ps1 +21 -0
- quickstart.py +45 -0
- release_export_manifest.json +135 -0
- requirements.txt +3 -0
LICENSE.txt
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
LumynaX Embed E5 Mistral 7B
|
| 2 |
+
Copyright (c) AbteeX AI Labs. All rights reserved.
|
| 3 |
+
|
| 4 |
+
This release is proprietary. No right to use, copy, modify, distribute, host,
|
| 5 |
+
sublicense, reverse engineer, or create derivative releases is granted except
|
| 6 |
+
under a separate written agreement from AbteeX AI Labs.
|
| 7 |
+
|
| 8 |
+
This package may be used only by parties expressly authorized by AbteeX AI Labs.
|
| 9 |
+
|
| 10 |
+
Third-party software or model components, if any, remain subject to their own
|
| 11 |
+
licenses and obligations.
|
README.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: proprietary
|
| 4 |
+
license_link: https://huggingface.co/AbteeXAILab/lumynax-embed-e5-mistral-7b/resolve/main/LICENSE.txt
|
| 5 |
+
library_name: python
|
| 6 |
+
pipeline_tag: feature-extraction
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
tags:
|
| 10 |
+
- lumynax
|
| 11 |
+
- lumynax-embed-e5-mistral-7b
|
| 12 |
+
- embeddings
|
| 13 |
+
- abteex-ai-labs
|
| 14 |
+
- local-first
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# LumynaX Embed E5 Mistral 7B
|
| 18 |
+
|
| 19 |
+
LumynaX Embed E5 Mistral 7B is a hydrated LumynaX embedding package built from the official `intfloat/e5-mistral-7b-instruct`
|
| 20 |
+
checkpoint and wrapped for local-first vector generation.
|
| 21 |
+
|
| 22 |
+
## Provenance
|
| 23 |
+
|
| 24 |
+
- upstream base model: `intfloat/e5-mistral-7b-instruct`
|
| 25 |
+
- packaging identity: `LumynaX` from `AbteeX AI Labs`
|
| 26 |
+
- weight claim: this package hydrates the official upstream checkpoint and does not claim a private weight merge
|
| 27 |
+
|
| 28 |
+
## Runtime Shape
|
| 29 |
+
|
| 30 |
+
- supported input modalities: `text`
|
| 31 |
+
- output modality: `embedding`
|
| 32 |
+
- local runtime: Python embedding stack
|
| 33 |
+
- capability focus: This package exposes instruction-aware dense embeddings for retrieval and ranking.
|
| 34 |
+
|
| 35 |
+
## Quick Start
|
| 36 |
+
|
| 37 |
+
```bash
|
| 38 |
+
pip install -r requirements.txt
|
| 39 |
+
python quickstart.py "LumynaX packages local models for retrieval."
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
## Included Files
|
| 43 |
+
|
| 44 |
+
- `merged_model/`: hydrated upstream model payload
|
| 45 |
+
- `quickstart.py`: local embedding runner
|
| 46 |
+
- `hf_space/`: bundled browser demo shell retained for release continuity
|
| 47 |
+
- `release_export_manifest.json`: standalone runtime metadata for this hydrated embedding package
|
| 48 |
+
|
| 49 |
+
## Publisher
|
| 50 |
+
|
| 51 |
+
- organization / lab: `AbteeX AI Labs`
|
| 52 |
+
- website: `https://abteex.com`
|
| 53 |
+
- Hugging Face owner account: `AbteeXAILab`
|
| 54 |
+
- recommended model repo: `AbteeXAILab/lumynax-embed-e5-mistral-7b`
|
| 55 |
+
- recommended local model name: `lumynax-embed-e5-mistral-7b`
|
VERSION.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
v1
|
artifacts/release_training_summary.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"demo_repo_id": "AbteeXAILab/lumynax-embed-e5-mistral-7b-demo",
|
| 3 |
+
"generated_at": "2026-04-19T10:12:46.714339+00:00",
|
| 4 |
+
"lumynax_identity_hardcoded": true,
|
| 5 |
+
"lumynax_weight_adaptation_applied": false,
|
| 6 |
+
"model_repo_id": "AbteeXAILab/lumynax-embed-e5-mistral-7b",
|
| 7 |
+
"model_title": "LumynaX Embed E5 Mistral 7B",
|
| 8 |
+
"package_state": "upstream_weights_hydrated_embedding",
|
| 9 |
+
"release_line_id": "lumynax-embed-e5-mistral-7b",
|
| 10 |
+
"release_wave": "wave3",
|
| 11 |
+
"runtime_family": "e5_sentence_transformer",
|
| 12 |
+
"summary": "This local release hydrates the official upstream `intfloat/e5-mistral-7b-instruct` checkpoint into the LumynaX release layout for local-first embedding generation.",
|
| 13 |
+
"supported_modalities": [
|
| 14 |
+
"text",
|
| 15 |
+
"embedding"
|
| 16 |
+
],
|
| 17 |
+
"upstream_model_id": "intfloat/e5-mistral-7b-instruct",
|
| 18 |
+
"validation": {
|
| 19 |
+
"checks": [
|
| 20 |
+
"exists:release_export_manifest.json",
|
| 21 |
+
"exists:README.md",
|
| 22 |
+
"exists:quickstart.py",
|
| 23 |
+
"exists:requirements.txt",
|
| 24 |
+
"exists:LICENSE.txt",
|
| 25 |
+
"exists:VERSION.txt",
|
| 26 |
+
"exists:checksums.sha256",
|
| 27 |
+
"exists:artifacts/release_training_summary.json",
|
| 28 |
+
"exists:hf_space/app.py",
|
| 29 |
+
"exists:hf_space/README.md",
|
| 30 |
+
"exists:hf_space/requirements.txt",
|
| 31 |
+
"exists:ollama/Modelfile",
|
| 32 |
+
"exists:ollama/create_ollama_model.ps1",
|
| 33 |
+
"exists:merged_model/config.json",
|
| 34 |
+
"exists:merged_model/LUMYNAX_PACKAGE_IDENTITY.txt",
|
| 35 |
+
"manifest:metadata",
|
| 36 |
+
"training_summary:metadata",
|
| 37 |
+
"readme:branding",
|
| 38 |
+
"merged_model:weights_present",
|
| 39 |
+
"merged_model:tokenizer_present",
|
| 40 |
+
"syntax:quickstart.py",
|
| 41 |
+
"syntax:hf_space/app.py",
|
| 42 |
+
"checksums:verified"
|
| 43 |
+
],
|
| 44 |
+
"validated_at": "2026-04-19T10:29:45.525453+00:00"
|
| 45 |
+
},
|
| 46 |
+
"validation_status": "validated"
|
| 47 |
+
}
|
checksums.sha256
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
478b15400010e836dd5fd60cdc3e7e4ea28c5e0437ea4986fc162e8dc393fa17 artifacts/release_training_summary.json
|
| 2 |
+
d6b4aee94c5548ca89943775230f364eed347c2fc0e28acefbd9f18e77602849 hf_space/app.py
|
| 3 |
+
56a60df03105710a63d578bae2b8a736a8ca0a3ee978468a3e35e6baf80a8f93 hf_space/README.md
|
| 4 |
+
3e78abed8cdc940c6bf1c763d81d829ec4dfe2f8b3897e5051989ef19169eaeb hf_space/requirements.txt
|
| 5 |
+
2251b7dd5322022c6b36ccbc6da95b7a2fef787c005cb40809e302b0840107e1 LICENSE.txt
|
| 6 |
+
164747a384fd802c55f6091ddd29fe6451998bf6c0c979af8fe10f8d528be146 merged_model/1_Pooling/config.json
|
| 7 |
+
d606246b713e31b1b43dfe913554dd47819089b9e44b9ebaa294eda2589a6b4c merged_model/added_tokens.json
|
| 8 |
+
bfa2364116ee2abb1a9706e8702f09a48d013eed3c321ec4a905497a50dcee00 merged_model/config.json
|
| 9 |
+
556401868279abb4e0e563726e0bbadf0d1164a169ddccab332f5d2f0ce9b3e9 merged_model/config_sentence_transformers.json
|
| 10 |
+
cd67511bd88318bc702d52841ce12e0aa1b3eae649dcd76769a6a658a10bfb82 merged_model/lora/adapter_config.json
|
| 11 |
+
8f80b9aa7eb1980b3062a08a208edf2f47d7e5a0f55b4be2344f8eff30b089fa merged_model/LUMYNAX_PACKAGE_IDENTITY.txt
|
| 12 |
+
e64034d49db4a20999bf89f01d0532e30a1f91455632c942f6a70633b1003319 merged_model/model-00001-of-00002.safetensors
|
| 13 |
+
eb61a47325ced7639d02d8ab1b8ca94e6e5efc83c87ba90888ac01801757cbf0 merged_model/model-00002-of-00002.safetensors
|
| 14 |
+
ea064453dff10569279cc9bc862f726dbade27ae9050bb0a160261b03c2a153e merged_model/model.safetensors.index.json
|
| 15 |
+
84e40c8e006c9b1d6c122e02cba9b02458120b5fb0c87b746c41e0207cf642cf merged_model/modules.json
|
| 16 |
+
62c26da9490cfe68688eda8b6954ea25923f09402a1f74bc1f6a11c41bbc05d6 merged_model/pytorch_model.bin.index.json
|
| 17 |
+
1140b92d307aec9383d897169c9f489f3a568787b80bf760f5d7cc9d25169a65 merged_model/sentence_bert_config.json
|
| 18 |
+
9921edfd5322dd354ec44f825329e1c6c6b89b357bf3ce49377be325b23eaa34 merged_model/special_tokens_map.json
|
| 19 |
+
fc4f0bd70b3709312d9d1d9e5ba674794b6bc5abc17429897a540f93882f25fc merged_model/tokenizer.json
|
| 20 |
+
dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055 merged_model/tokenizer.model
|
| 21 |
+
66349eabf13ba871e41d17be5168d1871773ec2eba580172107e300879d7a6a7 merged_model/tokenizer_config.json
|
| 22 |
+
979c41c7cbda2025032a104656c2468614c667ffefadccc8806c9987288d1582 ollama/create_ollama_model.ps1
|
| 23 |
+
585ef6d7643cb741da5253658e95b9950b6c304cf2cf235bb7a326fdaccb2b85 ollama/Modelfile
|
| 24 |
+
b31203904fb44845c97626f6a304de375465d2cb4ed03a1f4218d4a65f964570 quickstart.py
|
| 25 |
+
8663ad98b26e1f701fd1215026cccfaeb42e289efd3064c844c56900d8d8ca34 README.md
|
| 26 |
+
c05aaefcd98b2c7185051d7e8597eb7ede0f5188e5aea9119e13ae8f223bdcbe release_export_manifest.json
|
| 27 |
+
f951a5197128f8da0d432330c4d8693494ac9032dbe7132132a284a0aa64960a requirements.txt
|
| 28 |
+
2dfede0e6610c473959c963b292fcec325452acba33fd1bba21110e04933df53 VERSION.txt
|
hf_space/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: LumynaX Embed E5 Mistral 7B Demo
|
| 3 |
+
colorFrom: green
|
| 4 |
+
colorTo: blue
|
| 5 |
+
sdk: gradio
|
| 6 |
+
app_file: app.py
|
| 7 |
+
pinned: false
|
| 8 |
+
short_description: Browser demo bundle for the exported LumynaX release.
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# LumynaX Embed E5 Mistral 7B Demo
|
| 12 |
+
|
| 13 |
+
Public browser demo for LumynaX from AbteeX AI Labs.
|
| 14 |
+
|
| 15 |
+
## Overview
|
| 16 |
+
|
| 17 |
+
- zero-install text demo for LumynaX Embed E5 Mistral 7B
|
| 18 |
+
- public Space backed by a private Hugging Face model repo
|
| 19 |
+
- tuned for practical, moderately detailed responses in the browser
|
| 20 |
+
|
| 21 |
+
## What To Expect
|
| 22 |
+
|
| 23 |
+
- the first request after a cold start can take a minute or two
|
| 24 |
+
- response quality is representative, but this Space is optimized for accessibility over speed
|
| 25 |
+
- if you need full weights or deeper evaluation, use the private model repo directly
|
| 26 |
+
|
| 27 |
+
## Example Prompts
|
| 28 |
+
|
| 29 |
+
- Give a helpful welcome message for customers in Aotearoa New Zealand.
|
| 30 |
+
- Explain in two short paragraphs what LumynaX Embed E5 Mistral 7B is and who it is for.
|
| 31 |
+
- Write a concise summary of why local AI deployment matters for NZ teams.
|
| 32 |
+
|
| 33 |
+
## Maintainer Notes
|
| 34 |
+
|
| 35 |
+
This Space downloads the target model repo from Hugging Face at runtime.
|
| 36 |
+
Set `LUMYNAX_MODEL_REPO_ID` if you want the Space to target a different private model repo.
|
| 37 |
+
If the target repo is GGUF-only and does not contain `merged_model/`, this Space stays in GGUF-only browser showcase mode and points people to the local interactive quickstart instead of surfacing a raw runtime error.
|
hf_space/app.py
ADDED
|
@@ -0,0 +1,337 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from __future__ import annotations
|
| 2 |
+
|
| 3 |
+
import os
|
| 4 |
+
import inspect
|
| 5 |
+
from pathlib import Path
|
| 6 |
+
from threading import Lock
|
| 7 |
+
|
| 8 |
+
import gradio as gr
|
| 9 |
+
import torch
|
| 10 |
+
from huggingface_hub import snapshot_download
|
| 11 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 12 |
+
|
| 13 |
+
MODEL_REPO_ENV_VAR = "LUMYNAX_MODEL_REPO_ID"
|
| 14 |
+
HF_TOKEN_ENV_VARS = ("HF_TOKEN", "HUGGING_FACE_HUB_TOKEN", "HUGGINGFACE_HUB_TOKEN")
|
| 15 |
+
DEFAULT_MODEL_REPO_ID = "AbteeXAILab/lumynax-embed-e5-mistral-7b"
|
| 16 |
+
PROMPT_FORMAT = "embedding"
|
| 17 |
+
SYSTEM_PROMPT = ''
|
| 18 |
+
MODEL_TITLE = "LumynaX Embed E5 Mistral 7B"
|
| 19 |
+
MAX_NEW_TOKENS = 192
|
| 20 |
+
SHOWCASE_MODE_MESSAGE = (
|
| 21 |
+
"This Space is currently running in browser showcase mode for the GGUF release. "
|
| 22 |
+
"The shipped model repo does not expose a transformers-ready merged_model/ directory for live browser inference here. "
|
| 23 |
+
"Use the packaged files locally with quickstart.py --interactive for the full terminal experience."
|
| 24 |
+
)
|
| 25 |
+
|
| 26 |
+
_MODEL = None
|
| 27 |
+
_TOKENIZER = None
|
| 28 |
+
_MODEL_LOCK = Lock()
|
| 29 |
+
_MODEL_ERROR = None
|
| 30 |
+
CHATBOT_SUPPORTS_TYPE = "type" in inspect.signature(gr.Chatbot.__init__).parameters
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
def _history_to_messages(history: list[object]) -> list[dict[str, str]]:
|
| 34 |
+
messages: list[dict[str, str]] = []
|
| 35 |
+
for entry in history:
|
| 36 |
+
if isinstance(entry, dict):
|
| 37 |
+
role = str(entry.get("role", "assistant")).strip().lower()
|
| 38 |
+
if role not in ("user", "assistant"):
|
| 39 |
+
continue
|
| 40 |
+
content = entry.get("content", "")
|
| 41 |
+
text = content if isinstance(content, str) else str(content)
|
| 42 |
+
if not text.strip():
|
| 43 |
+
continue
|
| 44 |
+
messages.append({"role": role, "content": text.strip()})
|
| 45 |
+
continue
|
| 46 |
+
if not isinstance(entry, (list, tuple)) or len(entry) != 2:
|
| 47 |
+
continue
|
| 48 |
+
user_text = entry[0] if isinstance(entry[0], str) else str(entry[0] or "")
|
| 49 |
+
assistant_text = entry[1] if isinstance(entry[1], str) else str(entry[1] or "")
|
| 50 |
+
if user_text.strip():
|
| 51 |
+
messages.append({"role": "user", "content": user_text.strip()})
|
| 52 |
+
if assistant_text.strip():
|
| 53 |
+
messages.append({"role": "assistant", "content": assistant_text.strip()})
|
| 54 |
+
return messages
|
| 55 |
+
|
| 56 |
+
|
| 57 |
+
def _build_messages(history: list[object], message: str) -> list[dict[str, str]]:
|
| 58 |
+
messages: list[dict[str, str]] = []
|
| 59 |
+
if SYSTEM_PROMPT:
|
| 60 |
+
messages.append({"role": "system", "content": SYSTEM_PROMPT})
|
| 61 |
+
messages.extend(_history_to_messages(history))
|
| 62 |
+
messages.append({"role": "user", "content": message.strip()})
|
| 63 |
+
return messages
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
def _append_history(history: list[object], message: str, reply: str) -> list[object]:
|
| 67 |
+
return history + [
|
| 68 |
+
{"role": "user", "content": message},
|
| 69 |
+
{"role": "assistant", "content": reply},
|
| 70 |
+
]
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
def _provenance_response(message: str) -> str | None:
|
| 74 |
+
message_lower = message.strip().lower()
|
| 75 |
+
asks_provenance = any(
|
| 76 |
+
phrase in message_lower
|
| 77 |
+
for phrase in (
|
| 78 |
+
"donor",
|
| 79 |
+
"donors",
|
| 80 |
+
"donor model",
|
| 81 |
+
"donor models",
|
| 82 |
+
"base model",
|
| 83 |
+
"underlying model",
|
| 84 |
+
"what model do you use",
|
| 85 |
+
"what models do you use",
|
| 86 |
+
"deepseek",
|
| 87 |
+
"qwen",
|
| 88 |
+
"gemma",
|
| 89 |
+
"llama",
|
| 90 |
+
"phi",
|
| 91 |
+
)
|
| 92 |
+
)
|
| 93 |
+
if not asks_provenance:
|
| 94 |
+
return None
|
| 95 |
+
return (
|
| 96 |
+
f"This is {MODEL_TITLE}, a standalone AbteeX AI Labs LumynaX release for "
|
| 97 |
+
"Aotearoa New Zealand workflows. This public Space is a browser demo of that release."
|
| 98 |
+
)
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
def _governance_response(message: str) -> str | None:
|
| 102 |
+
message_lower = message.strip().lower()
|
| 103 |
+
|
| 104 |
+
asks_iwi_sovereignty = (
|
| 105 |
+
"iwi" in message_lower
|
| 106 |
+
and ("data sovereignty" in message_lower or "llm" in message_lower or "language model" in message_lower)
|
| 107 |
+
)
|
| 108 |
+
asks_health_sovereignty = (
|
| 109 |
+
"health" in message_lower
|
| 110 |
+
and ("data sovereignty" in message_lower or "governance" in message_lower or "sensitive data" in message_lower)
|
| 111 |
+
)
|
| 112 |
+
asks_justice_controls = (
|
| 113 |
+
"justice sector" in message_lower
|
| 114 |
+
or ("justice" in message_lower and "ai" in message_lower)
|
| 115 |
+
or "sensitive case data" in message_lower
|
| 116 |
+
)
|
| 117 |
+
|
| 118 |
+
if asks_iwi_sovereignty:
|
| 119 |
+
return (
|
| 120 |
+
"For Iwi data sovereignty with an LLM, keep sensitive data in environments controlled by the data owner, "
|
| 121 |
+
"minimise and de-identify data before use, agree governance and access rules with Iwi decision-makers, "
|
| 122 |
+
"prevent provider training on submitted data, keep strong audit logs, require human review for high-stakes "
|
| 123 |
+
"outputs, and make deletion, retention, and purpose limits explicit from the start."
|
| 124 |
+
)
|
| 125 |
+
|
| 126 |
+
if asks_health_sovereignty:
|
| 127 |
+
return (
|
| 128 |
+
"For health data sovereignty in Aotearoa New Zealand, key controls are strict access control, strong "
|
| 129 |
+
"de-identification, purpose limitation, NZ-controlled or approved hosting where possible, full audit "
|
| 130 |
+
"logging, retention and deletion rules, privacy and clinical governance review, and human oversight for "
|
| 131 |
+
"any workflow that could affect care or triage."
|
| 132 |
+
)
|
| 133 |
+
|
| 134 |
+
if asks_justice_controls:
|
| 135 |
+
return (
|
| 136 |
+
"For justice-sector AI handling sensitive case data, use case-level access controls, data segregation, "
|
| 137 |
+
"encryption in transit and at rest, no external model training on case material, full audit trails, "
|
| 138 |
+
"mandatory human review, clear escalation and appeal paths, regular bias and security testing, and a rule "
|
| 139 |
+
"that the model supports staff but does not make binding legal or operational decisions on its own."
|
| 140 |
+
)
|
| 141 |
+
|
| 142 |
+
return None
|
| 143 |
+
|
| 144 |
+
|
| 145 |
+
def _identity_response(message: str, history: list[object]) -> str | None:
|
| 146 |
+
message_lower = message.strip().lower()
|
| 147 |
+
mentions_lumynax = "lumynax" in message_lower or "lumynax embed e5 mistral 7b" in message_lower
|
| 148 |
+
asks_identity = any(
|
| 149 |
+
phrase in message_lower
|
| 150 |
+
for phrase in (
|
| 151 |
+
"who are you",
|
| 152 |
+
"what are you",
|
| 153 |
+
"what is lumynax",
|
| 154 |
+
"what's lumynax",
|
| 155 |
+
"what is this model",
|
| 156 |
+
"what's this model",
|
| 157 |
+
"explain what lumynax is",
|
| 158 |
+
"explain",
|
| 159 |
+
"describe",
|
| 160 |
+
"tell me about",
|
| 161 |
+
)
|
| 162 |
+
)
|
| 163 |
+
if not asks_identity:
|
| 164 |
+
return None
|
| 165 |
+
if not mentions_lumynax and "who are you" not in message_lower and "what are you" not in message_lower:
|
| 166 |
+
return None
|
| 167 |
+
|
| 168 |
+
if "bullet" in message_lower or "three" in message_lower:
|
| 169 |
+
return '- LumynaX Embed E5 Mistral 7B is a local-first LumynaX model release from AbteeX AI Labs\\n- It is aimed at practical Aotearoa New Zealand workflows and locally relevant responses\\n- This public Space is a browser demo for that LumynaX release'
|
| 170 |
+
return 'LumynaX Embed E5 Mistral 7B is a local-first LumynaX model release from AbteeX AI Labs for Aotearoa New Zealand workflows. It is intended for practical assistant use and locally relevant text generation when appropriate. This public Space is a browser demo of the same release hosted on Hugging Face.'
|
| 171 |
+
|
| 172 |
+
|
| 173 |
+
def _showcase_mode_response(message: str, error_text: str) -> str:
|
| 174 |
+
return (
|
| 175 |
+
f"{SHOWCASE_MODE_MESSAGE}\n\n"
|
| 176 |
+
"You can still ask about provenance, governance, or package identity in this demo. "
|
| 177 |
+
f"If you want the full runtime, use the model repo files locally with `python quickstart.py --interactive`. "
|
| 178 |
+
f"(Runtime detail: {error_text})"
|
| 179 |
+
)
|
| 180 |
+
|
| 181 |
+
|
| 182 |
+
def _render_prompt(messages: list[dict[str, str]]) -> str:
|
| 183 |
+
if PROMPT_FORMAT == "plain_completion":
|
| 184 |
+
lines: list[str] = []
|
| 185 |
+
for entry in messages:
|
| 186 |
+
role = entry["role"]
|
| 187 |
+
content = entry["content"]
|
| 188 |
+
if role == "system":
|
| 189 |
+
lines.append(content)
|
| 190 |
+
elif role == "user":
|
| 191 |
+
lines.append(f"User: {content}")
|
| 192 |
+
else:
|
| 193 |
+
lines.append(f"Assistant: {content}")
|
| 194 |
+
lines.append("Assistant:")
|
| 195 |
+
return "\n\n".join(lines)
|
| 196 |
+
|
| 197 |
+
parts: list[str] = []
|
| 198 |
+
for entry in messages:
|
| 199 |
+
role = entry["role"]
|
| 200 |
+
content = entry["content"]
|
| 201 |
+
parts.append(f"<|im_start|>{role}\n{content}<|im_end|>\n")
|
| 202 |
+
parts.append("<|im_start|>assistant\n")
|
| 203 |
+
return "".join(parts)
|
| 204 |
+
|
| 205 |
+
|
| 206 |
+
def _load_runtime() -> tuple[object, object]:
|
| 207 |
+
global _MODEL, _TOKENIZER, _MODEL_ERROR
|
| 208 |
+
|
| 209 |
+
if _MODEL is not None and _TOKENIZER is not None:
|
| 210 |
+
return _MODEL, _TOKENIZER
|
| 211 |
+
if _MODEL_ERROR is not None:
|
| 212 |
+
raise RuntimeError(_MODEL_ERROR)
|
| 213 |
+
|
| 214 |
+
with _MODEL_LOCK:
|
| 215 |
+
if _MODEL is not None and _TOKENIZER is not None:
|
| 216 |
+
return _MODEL, _TOKENIZER
|
| 217 |
+
if _MODEL_ERROR is not None:
|
| 218 |
+
raise RuntimeError(_MODEL_ERROR)
|
| 219 |
+
|
| 220 |
+
try:
|
| 221 |
+
repo_id = os.environ.get(MODEL_REPO_ENV_VAR, DEFAULT_MODEL_REPO_ID).strip() or DEFAULT_MODEL_REPO_ID
|
| 222 |
+
hf_token = next((os.environ.get(name, "").strip() for name in HF_TOKEN_ENV_VARS if os.environ.get(name, "").strip()), None)
|
| 223 |
+
snapshot_path = Path(
|
| 224 |
+
snapshot_download(
|
| 225 |
+
repo_id=repo_id,
|
| 226 |
+
token=hf_token or None,
|
| 227 |
+
allow_patterns=["merged_model/*"],
|
| 228 |
+
)
|
| 229 |
+
)
|
| 230 |
+
model_dir = snapshot_path / "merged_model"
|
| 231 |
+
if not model_dir.exists():
|
| 232 |
+
raise FileNotFoundError(
|
| 233 |
+
f"Expected merged_model/ in {snapshot_path} after downloading {repo_id}."
|
| 234 |
+
)
|
| 235 |
+
|
| 236 |
+
tokenizer = AutoTokenizer.from_pretrained(str(model_dir))
|
| 237 |
+
if tokenizer.pad_token is None:
|
| 238 |
+
tokenizer.pad_token = tokenizer.eos_token
|
| 239 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 240 |
+
str(model_dir),
|
| 241 |
+
dtype=torch.bfloat16,
|
| 242 |
+
low_cpu_mem_usage=True,
|
| 243 |
+
)
|
| 244 |
+
|
| 245 |
+
_MODEL = model
|
| 246 |
+
_TOKENIZER = tokenizer
|
| 247 |
+
return _MODEL, _TOKENIZER
|
| 248 |
+
except Exception as exc:
|
| 249 |
+
_MODEL_ERROR = f"{type(exc).__name__}: {exc}"
|
| 250 |
+
raise
|
| 251 |
+
|
| 252 |
+
|
| 253 |
+
def chat(message: str, history: list[object]) -> tuple[str, list[object]]:
|
| 254 |
+
history = history or []
|
| 255 |
+
if not message.strip():
|
| 256 |
+
return "", history
|
| 257 |
+
|
| 258 |
+
try:
|
| 259 |
+
provenance_reply = _provenance_response(message)
|
| 260 |
+
if provenance_reply is not None:
|
| 261 |
+
return "", _append_history(history, message, provenance_reply)
|
| 262 |
+
|
| 263 |
+
governance_reply = _governance_response(message)
|
| 264 |
+
if governance_reply is not None:
|
| 265 |
+
return "", _append_history(history, message, governance_reply)
|
| 266 |
+
|
| 267 |
+
identity_reply = _identity_response(message, history)
|
| 268 |
+
if identity_reply is not None:
|
| 269 |
+
return "", _append_history(history, message, identity_reply)
|
| 270 |
+
|
| 271 |
+
model, tokenizer = _load_runtime()
|
| 272 |
+
messages = _build_messages(history, message)
|
| 273 |
+
if hasattr(tokenizer, "apply_chat_template") and PROMPT_FORMAT != "plain_completion":
|
| 274 |
+
encoded = tokenizer.apply_chat_template(
|
| 275 |
+
messages,
|
| 276 |
+
tokenize=True,
|
| 277 |
+
add_generation_prompt=True,
|
| 278 |
+
return_tensors="pt",
|
| 279 |
+
return_dict=True,
|
| 280 |
+
)
|
| 281 |
+
else:
|
| 282 |
+
prompt = _render_prompt(messages)
|
| 283 |
+
encoded = tokenizer(prompt, return_tensors="pt")
|
| 284 |
+
encoded = encoded.to(model.device)
|
| 285 |
+
|
| 286 |
+
with torch.inference_mode():
|
| 287 |
+
output = model.generate(
|
| 288 |
+
**encoded,
|
| 289 |
+
max_new_tokens=MAX_NEW_TOKENS,
|
| 290 |
+
do_sample=False,
|
| 291 |
+
pad_token_id=tokenizer.eos_token_id,
|
| 292 |
+
)
|
| 293 |
+
|
| 294 |
+
prompt_length = encoded["input_ids"].shape[-1]
|
| 295 |
+
generated = tokenizer.decode(output[0][prompt_length:], skip_special_tokens=True).strip()
|
| 296 |
+
return "", _append_history(history, message, generated or "No response generated.")
|
| 297 |
+
except Exception as exc:
|
| 298 |
+
error_text = f"{type(exc).__name__}: {exc}"
|
| 299 |
+
return "", _append_history(history, message, _showcase_mode_response(message, error_text))
|
| 300 |
+
|
| 301 |
+
with gr.Blocks() as demo:
|
| 302 |
+
gr.Markdown(
|
| 303 |
+
f"# {MODEL_TITLE}\n\n"
|
| 304 |
+
"Public browser demo for LumynaX from AbteeX AI Labs. "
|
| 305 |
+
"This Space is backed by a private model repo on Hugging Face. "
|
| 306 |
+
"If the backing repo is GGUF-only, this browser demo stays in showcase mode and directs people to the local interactive quickstart."
|
| 307 |
+
)
|
| 308 |
+
chatbot_kwargs = {"label": "LumynaX"}
|
| 309 |
+
if CHATBOT_SUPPORTS_TYPE:
|
| 310 |
+
chatbot_kwargs["type"] = "messages"
|
| 311 |
+
chatbot = gr.Chatbot(**chatbot_kwargs)
|
| 312 |
+
gr.Markdown("Enter a prompt and press `Enter` or click `Send`.")
|
| 313 |
+
with gr.Row():
|
| 314 |
+
prompt = gr.Textbox(
|
| 315 |
+
label="Prompt",
|
| 316 |
+
placeholder="Ask LumynaX something about Aotearoa, your project, or local research.",
|
| 317 |
+
lines=4,
|
| 318 |
+
scale=8,
|
| 319 |
+
)
|
| 320 |
+
send = gr.Button("Send", variant="primary", scale=1, min_width=120)
|
| 321 |
+
gr.Examples(
|
| 322 |
+
examples=[
|
| 323 |
+
"Give a helpful welcome message for customers in Aotearoa New Zealand.",
|
| 324 |
+
'Explain in two short paragraphs what LumynaX Embed E5 Mistral 7B is and who it is for.',
|
| 325 |
+
"Write a concise summary of why local AI deployment matters for NZ teams.",
|
| 326 |
+
],
|
| 327 |
+
inputs=prompt,
|
| 328 |
+
)
|
| 329 |
+
clear = gr.Button("Clear")
|
| 330 |
+
|
| 331 |
+
prompt.submit(chat, inputs=[prompt, chatbot], outputs=[prompt, chatbot])
|
| 332 |
+
send.click(chat, inputs=[prompt, chatbot], outputs=[prompt, chatbot])
|
| 333 |
+
clear.click(lambda: [], outputs=chatbot, queue=False)
|
| 334 |
+
|
| 335 |
+
|
| 336 |
+
if __name__ == "__main__":
|
| 337 |
+
demo.launch()
|
hf_space/requirements.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
gradio>=5.0
|
| 2 |
+
huggingface-hub>=0.25
|
| 3 |
+
torch>=2.0
|
| 4 |
+
transformers>=4.45
|
| 5 |
+
safetensors>=0.4
|
merged_model/1_Pooling/config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"word_embedding_dimension": 4096,
|
| 3 |
+
"pooling_mode_cls_token": false,
|
| 4 |
+
"pooling_mode_mean_tokens": false,
|
| 5 |
+
"pooling_mode_max_tokens": false,
|
| 6 |
+
"pooling_mode_mean_sqrt_len_tokens": false,
|
| 7 |
+
"pooling_mode_weightedmean_tokens": false,
|
| 8 |
+
"pooling_mode_lasttoken": true,
|
| 9 |
+
"include_prompt": true
|
| 10 |
+
}
|
merged_model/LUMYNAX_PACKAGE_IDENTITY.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
You are LumynaX operating from the LumynaX Embed E5 Mistral 7B package identity. This package wraps the official intfloat/e5-mistral-7b-instruct checkpoint inside a LumynaX-branded multimodal and reasoning runtime. Always identify yourself as LumynaX when asked who you are. Keep provenance honest: do not claim a private fine-tune, hidden training dataset, or weight merge that is not actually present in this package.
|
merged_model/added_tokens.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</s>": 2,
|
| 3 |
+
"<s>": 1,
|
| 4 |
+
"<unk>": 0
|
| 5 |
+
}
|
merged_model/config.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "mistralai/Mistral-7B-v0.1",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"MistralModel"
|
| 5 |
+
],
|
| 6 |
+
"bos_token_id": 1,
|
| 7 |
+
"eos_token_id": 2,
|
| 8 |
+
"hidden_act": "silu",
|
| 9 |
+
"hidden_size": 4096,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"intermediate_size": 14336,
|
| 12 |
+
"max_position_embeddings": 32768,
|
| 13 |
+
"model_type": "mistral",
|
| 14 |
+
"num_attention_heads": 32,
|
| 15 |
+
"num_hidden_layers": 32,
|
| 16 |
+
"num_key_value_heads": 8,
|
| 17 |
+
"pad_token_id": 2,
|
| 18 |
+
"rms_norm_eps": 1e-05,
|
| 19 |
+
"rope_theta": 10000.0,
|
| 20 |
+
"sliding_window": 4096,
|
| 21 |
+
"tie_word_embeddings": false,
|
| 22 |
+
"torch_dtype": "float16",
|
| 23 |
+
"transformers_version": "4.34.0",
|
| 24 |
+
"use_cache": false,
|
| 25 |
+
"vocab_size": 32000
|
| 26 |
+
}
|
merged_model/config_sentence_transformers.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"__version__": {
|
| 3 |
+
"sentence_transformers": "2.7.0",
|
| 4 |
+
"transformers": "4.39.3",
|
| 5 |
+
"pytorch": "2.1.0+cu121"
|
| 6 |
+
},
|
| 7 |
+
"prompts": {
|
| 8 |
+
"web_search_query": "Instruct: Given a web search query, retrieve relevant passages that answer the query\nQuery: ",
|
| 9 |
+
"sts_query": "Instruct: Retrieve semantically similar text.\nQuery: ",
|
| 10 |
+
"summarization_query": "Instruct: Given a news summary, retrieve other semantically similar summaries\nQuery: ",
|
| 11 |
+
"bitext_query": "Instruct: Retrieve parallel sentences.\nQuery: "
|
| 12 |
+
},
|
| 13 |
+
"default_prompt_name": null
|
| 14 |
+
}
|
merged_model/lora/adapter_config.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"auto_mapping": null,
|
| 3 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
|
| 4 |
+
"bias": "none",
|
| 5 |
+
"fan_in_fan_out": false,
|
| 6 |
+
"inference_mode": true,
|
| 7 |
+
"init_lora_weights": true,
|
| 8 |
+
"layers_pattern": null,
|
| 9 |
+
"layers_to_transform": null,
|
| 10 |
+
"lora_alpha": 32,
|
| 11 |
+
"lora_dropout": 0.1,
|
| 12 |
+
"modules_to_save": null,
|
| 13 |
+
"peft_type": "LORA",
|
| 14 |
+
"r": 16,
|
| 15 |
+
"revision": null,
|
| 16 |
+
"target_modules": [
|
| 17 |
+
"q_proj",
|
| 18 |
+
"k_proj",
|
| 19 |
+
"v_proj",
|
| 20 |
+
"o_proj",
|
| 21 |
+
"down_proj",
|
| 22 |
+
"up_proj",
|
| 23 |
+
"gate_proj"
|
| 24 |
+
],
|
| 25 |
+
"task_type": "FEATURE_EXTRACTION"
|
| 26 |
+
}
|
merged_model/model-00001-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e64034d49db4a20999bf89f01d0532e30a1f91455632c942f6a70633b1003319
|
| 3 |
+
size 9942980280
|
merged_model/model-00002-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb61a47325ced7639d02d8ab1b8ca94e6e5efc83c87ba90888ac01801757cbf0
|
| 3 |
+
size 4278371624
|
merged_model/model.safetensors.index.json
ADDED
|
@@ -0,0 +1,297 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 14221320192
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"embed_tokens.weight": "model-00001-of-00002.safetensors",
|
| 7 |
+
"layers.0.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 8 |
+
"layers.0.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 9 |
+
"layers.0.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 10 |
+
"layers.0.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 11 |
+
"layers.0.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 12 |
+
"layers.0.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 13 |
+
"layers.0.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 14 |
+
"layers.0.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 15 |
+
"layers.0.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 16 |
+
"layers.1.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 17 |
+
"layers.1.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 18 |
+
"layers.1.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 19 |
+
"layers.1.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 20 |
+
"layers.1.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 21 |
+
"layers.1.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 22 |
+
"layers.1.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 23 |
+
"layers.1.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 24 |
+
"layers.1.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 25 |
+
"layers.10.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 26 |
+
"layers.10.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 27 |
+
"layers.10.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 28 |
+
"layers.10.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 29 |
+
"layers.10.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 30 |
+
"layers.10.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 31 |
+
"layers.10.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 32 |
+
"layers.10.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 33 |
+
"layers.10.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 34 |
+
"layers.11.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 35 |
+
"layers.11.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 36 |
+
"layers.11.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 37 |
+
"layers.11.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 38 |
+
"layers.11.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 39 |
+
"layers.11.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 40 |
+
"layers.11.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 41 |
+
"layers.11.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 42 |
+
"layers.11.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 43 |
+
"layers.12.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 44 |
+
"layers.12.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 45 |
+
"layers.12.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 46 |
+
"layers.12.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 47 |
+
"layers.12.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 48 |
+
"layers.12.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 49 |
+
"layers.12.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 50 |
+
"layers.12.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 51 |
+
"layers.12.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 52 |
+
"layers.13.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 53 |
+
"layers.13.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 54 |
+
"layers.13.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 55 |
+
"layers.13.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 56 |
+
"layers.13.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 57 |
+
"layers.13.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 58 |
+
"layers.13.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 59 |
+
"layers.13.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 60 |
+
"layers.13.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 61 |
+
"layers.14.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 62 |
+
"layers.14.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 63 |
+
"layers.14.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 64 |
+
"layers.14.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 65 |
+
"layers.14.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 66 |
+
"layers.14.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 67 |
+
"layers.14.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 68 |
+
"layers.14.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 69 |
+
"layers.14.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 70 |
+
"layers.15.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 71 |
+
"layers.15.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 72 |
+
"layers.15.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 73 |
+
"layers.15.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 74 |
+
"layers.15.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 75 |
+
"layers.15.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 76 |
+
"layers.15.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 77 |
+
"layers.15.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 78 |
+
"layers.15.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 79 |
+
"layers.16.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 80 |
+
"layers.16.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 81 |
+
"layers.16.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 82 |
+
"layers.16.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 83 |
+
"layers.16.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 84 |
+
"layers.16.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 85 |
+
"layers.16.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 86 |
+
"layers.16.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 87 |
+
"layers.16.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 88 |
+
"layers.17.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 89 |
+
"layers.17.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 90 |
+
"layers.17.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 91 |
+
"layers.17.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 92 |
+
"layers.17.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 93 |
+
"layers.17.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 94 |
+
"layers.17.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 95 |
+
"layers.17.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 96 |
+
"layers.17.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 97 |
+
"layers.18.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 98 |
+
"layers.18.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 99 |
+
"layers.18.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 100 |
+
"layers.18.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 101 |
+
"layers.18.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 102 |
+
"layers.18.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 103 |
+
"layers.18.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 104 |
+
"layers.18.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 105 |
+
"layers.18.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 106 |
+
"layers.19.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 107 |
+
"layers.19.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 108 |
+
"layers.19.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 109 |
+
"layers.19.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 110 |
+
"layers.19.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 111 |
+
"layers.19.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 112 |
+
"layers.19.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 113 |
+
"layers.19.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 114 |
+
"layers.19.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 115 |
+
"layers.2.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 116 |
+
"layers.2.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 117 |
+
"layers.2.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 118 |
+
"layers.2.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 119 |
+
"layers.2.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 120 |
+
"layers.2.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 121 |
+
"layers.2.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 122 |
+
"layers.2.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 123 |
+
"layers.2.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 124 |
+
"layers.20.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 125 |
+
"layers.20.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 126 |
+
"layers.20.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 127 |
+
"layers.20.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 128 |
+
"layers.20.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 129 |
+
"layers.20.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 130 |
+
"layers.20.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 131 |
+
"layers.20.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 132 |
+
"layers.20.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 133 |
+
"layers.21.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 134 |
+
"layers.21.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 135 |
+
"layers.21.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 136 |
+
"layers.21.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 137 |
+
"layers.21.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 138 |
+
"layers.21.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 139 |
+
"layers.21.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 140 |
+
"layers.21.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 141 |
+
"layers.21.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 142 |
+
"layers.22.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 143 |
+
"layers.22.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 144 |
+
"layers.22.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
|
| 145 |
+
"layers.22.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 146 |
+
"layers.22.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 147 |
+
"layers.22.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 148 |
+
"layers.22.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 149 |
+
"layers.22.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 150 |
+
"layers.22.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 151 |
+
"layers.23.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 152 |
+
"layers.23.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 153 |
+
"layers.23.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
|
| 154 |
+
"layers.23.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 155 |
+
"layers.23.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 156 |
+
"layers.23.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 157 |
+
"layers.23.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 158 |
+
"layers.23.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 159 |
+
"layers.23.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 160 |
+
"layers.24.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 161 |
+
"layers.24.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 162 |
+
"layers.24.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
|
| 163 |
+
"layers.24.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 164 |
+
"layers.24.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 165 |
+
"layers.24.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 166 |
+
"layers.24.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 167 |
+
"layers.24.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 168 |
+
"layers.24.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 169 |
+
"layers.25.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 170 |
+
"layers.25.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 171 |
+
"layers.25.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
|
| 172 |
+
"layers.25.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 173 |
+
"layers.25.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 174 |
+
"layers.25.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 175 |
+
"layers.25.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 176 |
+
"layers.25.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 177 |
+
"layers.25.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 178 |
+
"layers.26.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 179 |
+
"layers.26.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 180 |
+
"layers.26.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
|
| 181 |
+
"layers.26.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 182 |
+
"layers.26.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 183 |
+
"layers.26.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 184 |
+
"layers.26.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 185 |
+
"layers.26.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 186 |
+
"layers.26.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 187 |
+
"layers.27.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 188 |
+
"layers.27.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 189 |
+
"layers.27.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
|
| 190 |
+
"layers.27.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 191 |
+
"layers.27.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 192 |
+
"layers.27.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 193 |
+
"layers.27.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 194 |
+
"layers.27.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 195 |
+
"layers.27.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 196 |
+
"layers.28.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 197 |
+
"layers.28.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 198 |
+
"layers.28.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
|
| 199 |
+
"layers.28.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 200 |
+
"layers.28.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 201 |
+
"layers.28.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 202 |
+
"layers.28.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 203 |
+
"layers.28.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 204 |
+
"layers.28.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 205 |
+
"layers.29.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 206 |
+
"layers.29.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 207 |
+
"layers.29.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
|
| 208 |
+
"layers.29.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 209 |
+
"layers.29.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 210 |
+
"layers.29.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 211 |
+
"layers.29.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 212 |
+
"layers.29.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 213 |
+
"layers.29.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 214 |
+
"layers.3.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 215 |
+
"layers.3.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 216 |
+
"layers.3.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 217 |
+
"layers.3.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 218 |
+
"layers.3.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 219 |
+
"layers.3.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 220 |
+
"layers.3.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 221 |
+
"layers.3.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 222 |
+
"layers.3.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 223 |
+
"layers.30.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 224 |
+
"layers.30.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 225 |
+
"layers.30.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
|
| 226 |
+
"layers.30.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 227 |
+
"layers.30.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 228 |
+
"layers.30.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 229 |
+
"layers.30.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 230 |
+
"layers.30.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 231 |
+
"layers.30.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 232 |
+
"layers.31.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 233 |
+
"layers.31.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
| 234 |
+
"layers.31.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
|
| 235 |
+
"layers.31.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
| 236 |
+
"layers.31.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
| 237 |
+
"layers.31.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
| 238 |
+
"layers.31.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
| 239 |
+
"layers.31.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
| 240 |
+
"layers.31.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
| 241 |
+
"layers.4.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 242 |
+
"layers.4.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 243 |
+
"layers.4.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 244 |
+
"layers.4.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 245 |
+
"layers.4.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 246 |
+
"layers.4.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 247 |
+
"layers.4.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 248 |
+
"layers.4.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 249 |
+
"layers.4.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 250 |
+
"layers.5.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 251 |
+
"layers.5.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 252 |
+
"layers.5.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 253 |
+
"layers.5.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 254 |
+
"layers.5.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 255 |
+
"layers.5.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 256 |
+
"layers.5.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 257 |
+
"layers.5.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 258 |
+
"layers.5.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 259 |
+
"layers.6.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 260 |
+
"layers.6.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 261 |
+
"layers.6.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 262 |
+
"layers.6.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 263 |
+
"layers.6.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 264 |
+
"layers.6.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 265 |
+
"layers.6.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 266 |
+
"layers.6.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 267 |
+
"layers.6.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 268 |
+
"layers.7.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 269 |
+
"layers.7.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 270 |
+
"layers.7.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 271 |
+
"layers.7.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 272 |
+
"layers.7.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 273 |
+
"layers.7.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 274 |
+
"layers.7.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 275 |
+
"layers.7.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 276 |
+
"layers.7.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 277 |
+
"layers.8.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 278 |
+
"layers.8.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 279 |
+
"layers.8.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 280 |
+
"layers.8.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 281 |
+
"layers.8.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 282 |
+
"layers.8.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 283 |
+
"layers.8.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 284 |
+
"layers.8.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 285 |
+
"layers.8.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 286 |
+
"layers.9.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 287 |
+
"layers.9.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
| 288 |
+
"layers.9.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
| 289 |
+
"layers.9.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
| 290 |
+
"layers.9.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
| 291 |
+
"layers.9.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
| 292 |
+
"layers.9.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
| 293 |
+
"layers.9.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
| 294 |
+
"layers.9.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
| 295 |
+
"norm.weight": "model-00002-of-00002.safetensors"
|
| 296 |
+
}
|
| 297 |
+
}
|
merged_model/modules.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"idx": 0,
|
| 4 |
+
"name": "0",
|
| 5 |
+
"path": "",
|
| 6 |
+
"type": "sentence_transformers.models.Transformer"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"idx": 1,
|
| 10 |
+
"name": "1",
|
| 11 |
+
"path": "1_Pooling",
|
| 12 |
+
"type": "sentence_transformers.models.Pooling"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"idx": 2,
|
| 16 |
+
"name": "2",
|
| 17 |
+
"path": "2_Normalize",
|
| 18 |
+
"type": "sentence_transformers.models.Normalize"
|
| 19 |
+
}
|
| 20 |
+
]
|
merged_model/pytorch_model.bin.index.json
ADDED
|
@@ -0,0 +1,297 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 14221320192
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"embed_tokens.weight": "pytorch_model-00001-of-00002.bin",
|
| 7 |
+
"layers.0.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 8 |
+
"layers.0.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 9 |
+
"layers.0.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 10 |
+
"layers.0.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 11 |
+
"layers.0.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 12 |
+
"layers.0.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 13 |
+
"layers.0.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 14 |
+
"layers.0.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 15 |
+
"layers.0.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 16 |
+
"layers.1.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 17 |
+
"layers.1.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 18 |
+
"layers.1.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 19 |
+
"layers.1.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 20 |
+
"layers.1.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 21 |
+
"layers.1.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 22 |
+
"layers.1.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 23 |
+
"layers.1.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 24 |
+
"layers.1.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 25 |
+
"layers.10.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 26 |
+
"layers.10.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 27 |
+
"layers.10.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 28 |
+
"layers.10.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 29 |
+
"layers.10.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 30 |
+
"layers.10.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 31 |
+
"layers.10.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 32 |
+
"layers.10.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 33 |
+
"layers.10.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 34 |
+
"layers.11.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 35 |
+
"layers.11.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 36 |
+
"layers.11.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 37 |
+
"layers.11.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 38 |
+
"layers.11.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 39 |
+
"layers.11.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 40 |
+
"layers.11.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 41 |
+
"layers.11.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 42 |
+
"layers.11.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 43 |
+
"layers.12.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 44 |
+
"layers.12.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 45 |
+
"layers.12.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 46 |
+
"layers.12.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 47 |
+
"layers.12.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 48 |
+
"layers.12.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 49 |
+
"layers.12.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 50 |
+
"layers.12.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 51 |
+
"layers.12.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 52 |
+
"layers.13.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 53 |
+
"layers.13.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 54 |
+
"layers.13.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 55 |
+
"layers.13.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 56 |
+
"layers.13.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 57 |
+
"layers.13.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 58 |
+
"layers.13.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 59 |
+
"layers.13.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 60 |
+
"layers.13.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 61 |
+
"layers.14.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 62 |
+
"layers.14.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 63 |
+
"layers.14.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 64 |
+
"layers.14.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 65 |
+
"layers.14.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 66 |
+
"layers.14.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 67 |
+
"layers.14.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 68 |
+
"layers.14.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 69 |
+
"layers.14.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 70 |
+
"layers.15.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 71 |
+
"layers.15.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 72 |
+
"layers.15.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 73 |
+
"layers.15.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 74 |
+
"layers.15.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 75 |
+
"layers.15.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 76 |
+
"layers.15.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 77 |
+
"layers.15.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 78 |
+
"layers.15.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 79 |
+
"layers.16.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 80 |
+
"layers.16.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 81 |
+
"layers.16.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 82 |
+
"layers.16.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 83 |
+
"layers.16.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 84 |
+
"layers.16.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 85 |
+
"layers.16.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 86 |
+
"layers.16.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 87 |
+
"layers.16.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 88 |
+
"layers.17.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 89 |
+
"layers.17.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 90 |
+
"layers.17.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 91 |
+
"layers.17.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 92 |
+
"layers.17.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 93 |
+
"layers.17.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 94 |
+
"layers.17.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 95 |
+
"layers.17.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 96 |
+
"layers.17.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 97 |
+
"layers.18.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 98 |
+
"layers.18.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 99 |
+
"layers.18.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 100 |
+
"layers.18.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 101 |
+
"layers.18.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 102 |
+
"layers.18.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 103 |
+
"layers.18.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 104 |
+
"layers.18.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 105 |
+
"layers.18.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 106 |
+
"layers.19.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 107 |
+
"layers.19.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 108 |
+
"layers.19.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 109 |
+
"layers.19.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 110 |
+
"layers.19.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 111 |
+
"layers.19.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 112 |
+
"layers.19.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 113 |
+
"layers.19.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 114 |
+
"layers.19.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 115 |
+
"layers.2.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 116 |
+
"layers.2.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 117 |
+
"layers.2.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 118 |
+
"layers.2.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 119 |
+
"layers.2.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 120 |
+
"layers.2.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 121 |
+
"layers.2.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 122 |
+
"layers.2.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 123 |
+
"layers.2.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 124 |
+
"layers.20.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 125 |
+
"layers.20.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 126 |
+
"layers.20.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 127 |
+
"layers.20.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 128 |
+
"layers.20.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 129 |
+
"layers.20.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 130 |
+
"layers.20.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 131 |
+
"layers.20.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 132 |
+
"layers.20.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 133 |
+
"layers.21.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 134 |
+
"layers.21.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 135 |
+
"layers.21.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 136 |
+
"layers.21.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 137 |
+
"layers.21.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 138 |
+
"layers.21.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 139 |
+
"layers.21.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 140 |
+
"layers.21.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 141 |
+
"layers.21.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 142 |
+
"layers.22.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 143 |
+
"layers.22.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 144 |
+
"layers.22.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 145 |
+
"layers.22.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 146 |
+
"layers.22.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 147 |
+
"layers.22.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 148 |
+
"layers.22.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 149 |
+
"layers.22.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 150 |
+
"layers.22.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 151 |
+
"layers.23.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 152 |
+
"layers.23.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 153 |
+
"layers.23.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 154 |
+
"layers.23.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 155 |
+
"layers.23.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 156 |
+
"layers.23.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 157 |
+
"layers.23.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 158 |
+
"layers.23.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 159 |
+
"layers.23.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 160 |
+
"layers.24.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 161 |
+
"layers.24.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 162 |
+
"layers.24.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 163 |
+
"layers.24.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 164 |
+
"layers.24.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 165 |
+
"layers.24.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 166 |
+
"layers.24.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 167 |
+
"layers.24.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 168 |
+
"layers.24.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 169 |
+
"layers.25.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 170 |
+
"layers.25.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 171 |
+
"layers.25.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 172 |
+
"layers.25.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 173 |
+
"layers.25.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 174 |
+
"layers.25.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 175 |
+
"layers.25.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 176 |
+
"layers.25.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 177 |
+
"layers.25.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 178 |
+
"layers.26.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 179 |
+
"layers.26.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 180 |
+
"layers.26.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 181 |
+
"layers.26.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 182 |
+
"layers.26.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 183 |
+
"layers.26.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 184 |
+
"layers.26.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 185 |
+
"layers.26.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 186 |
+
"layers.26.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 187 |
+
"layers.27.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 188 |
+
"layers.27.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 189 |
+
"layers.27.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 190 |
+
"layers.27.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 191 |
+
"layers.27.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 192 |
+
"layers.27.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 193 |
+
"layers.27.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 194 |
+
"layers.27.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 195 |
+
"layers.27.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 196 |
+
"layers.28.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 197 |
+
"layers.28.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 198 |
+
"layers.28.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 199 |
+
"layers.28.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 200 |
+
"layers.28.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 201 |
+
"layers.28.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 202 |
+
"layers.28.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 203 |
+
"layers.28.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 204 |
+
"layers.28.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 205 |
+
"layers.29.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 206 |
+
"layers.29.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 207 |
+
"layers.29.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 208 |
+
"layers.29.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 209 |
+
"layers.29.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 210 |
+
"layers.29.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 211 |
+
"layers.29.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 212 |
+
"layers.29.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 213 |
+
"layers.29.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 214 |
+
"layers.3.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 215 |
+
"layers.3.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 216 |
+
"layers.3.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 217 |
+
"layers.3.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 218 |
+
"layers.3.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 219 |
+
"layers.3.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 220 |
+
"layers.3.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 221 |
+
"layers.3.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 222 |
+
"layers.3.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 223 |
+
"layers.30.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 224 |
+
"layers.30.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 225 |
+
"layers.30.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 226 |
+
"layers.30.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 227 |
+
"layers.30.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 228 |
+
"layers.30.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 229 |
+
"layers.30.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 230 |
+
"layers.30.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 231 |
+
"layers.30.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 232 |
+
"layers.31.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 233 |
+
"layers.31.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 234 |
+
"layers.31.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 235 |
+
"layers.31.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 236 |
+
"layers.31.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
|
| 237 |
+
"layers.31.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 238 |
+
"layers.31.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 239 |
+
"layers.31.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 240 |
+
"layers.31.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin",
|
| 241 |
+
"layers.4.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 242 |
+
"layers.4.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 243 |
+
"layers.4.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 244 |
+
"layers.4.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 245 |
+
"layers.4.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 246 |
+
"layers.4.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 247 |
+
"layers.4.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 248 |
+
"layers.4.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 249 |
+
"layers.4.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 250 |
+
"layers.5.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 251 |
+
"layers.5.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 252 |
+
"layers.5.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 253 |
+
"layers.5.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 254 |
+
"layers.5.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 255 |
+
"layers.5.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 256 |
+
"layers.5.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 257 |
+
"layers.5.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 258 |
+
"layers.5.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 259 |
+
"layers.6.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 260 |
+
"layers.6.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 261 |
+
"layers.6.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 262 |
+
"layers.6.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 263 |
+
"layers.6.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 264 |
+
"layers.6.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 265 |
+
"layers.6.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 266 |
+
"layers.6.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 267 |
+
"layers.6.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 268 |
+
"layers.7.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 269 |
+
"layers.7.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 270 |
+
"layers.7.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 271 |
+
"layers.7.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 272 |
+
"layers.7.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 273 |
+
"layers.7.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 274 |
+
"layers.7.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 275 |
+
"layers.7.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 276 |
+
"layers.7.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 277 |
+
"layers.8.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 278 |
+
"layers.8.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 279 |
+
"layers.8.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 280 |
+
"layers.8.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 281 |
+
"layers.8.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 282 |
+
"layers.8.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 283 |
+
"layers.8.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 284 |
+
"layers.8.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 285 |
+
"layers.8.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 286 |
+
"layers.9.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 287 |
+
"layers.9.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 288 |
+
"layers.9.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 289 |
+
"layers.9.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 290 |
+
"layers.9.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
|
| 291 |
+
"layers.9.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 292 |
+
"layers.9.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 293 |
+
"layers.9.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 294 |
+
"layers.9.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin",
|
| 295 |
+
"norm.weight": "pytorch_model-00002-of-00002.bin"
|
| 296 |
+
}
|
| 297 |
+
}
|
merged_model/sentence_bert_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"max_seq_length": 32768,
|
| 3 |
+
"do_lower_case": false
|
| 4 |
+
}
|
merged_model/special_tokens_map.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<unk>",
|
| 4 |
+
"<s>",
|
| 5 |
+
"</s>"
|
| 6 |
+
],
|
| 7 |
+
"bos_token": "<s>",
|
| 8 |
+
"eos_token": "</s>",
|
| 9 |
+
"pad_token": "</s>",
|
| 10 |
+
"unk_token": "<unk>"
|
| 11 |
+
}
|
merged_model/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
merged_model/tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
| 3 |
+
size 493443
|
merged_model/tokenizer_config.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_eos_token": true,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"0": {
|
| 5 |
+
"content": "<unk>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"1": {
|
| 13 |
+
"content": "<s>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"2": {
|
| 21 |
+
"content": "</s>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
"additional_special_tokens": [
|
| 30 |
+
"<unk>",
|
| 31 |
+
"<s>",
|
| 32 |
+
"</s>"
|
| 33 |
+
],
|
| 34 |
+
"bos_token": "<s>",
|
| 35 |
+
"clean_up_tokenization_spaces": false,
|
| 36 |
+
"eos_token": "</s>",
|
| 37 |
+
"legacy": true,
|
| 38 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 39 |
+
"pad_token": "</s>",
|
| 40 |
+
"sp_model_kwargs": {},
|
| 41 |
+
"spaces_between_special_tokens": false,
|
| 42 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 43 |
+
"unk_token": "<unk>",
|
| 44 |
+
"use_default_system_prompt": false
|
| 45 |
+
}
|
ollama/Modelfile
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM ../merged_model
|
| 2 |
+
TEMPLATE """{{ if .System }}<|im_start|>system
|
| 3 |
+
{{ .System }}<|im_end|>
|
| 4 |
+
{{ end }}{{ if .Prompt }}<|im_start|>user
|
| 5 |
+
{{ .Prompt }}<|im_end|>
|
| 6 |
+
{{ end }}<|im_start|>assistant
|
| 7 |
+
"""
|
| 8 |
+
PARAMETER temperature 0.1
|
| 9 |
+
PARAMETER num_ctx 8192
|
ollama/create_ollama_model.ps1
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
param(
|
| 2 |
+
[string]$ModelName = "lumynax-embed-e5-mistral-7b"
|
| 3 |
+
)
|
| 4 |
+
|
| 5 |
+
$ErrorActionPreference = "Stop"
|
| 6 |
+
Set-StrictMode -Version Latest
|
| 7 |
+
|
| 8 |
+
$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
| 9 |
+
$modelfilePath = Join-Path $scriptDir "Modelfile"
|
| 10 |
+
|
| 11 |
+
if (-not (Get-Command ollama -ErrorAction SilentlyContinue)) {
|
| 12 |
+
throw "The `ollama` CLI is not installed. Install Ollama first."
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
& ollama create $ModelName -f $modelfilePath
|
| 16 |
+
if ($LASTEXITCODE -ne 0) {
|
| 17 |
+
exit $LASTEXITCODE
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
Write-Output "Created Ollama model: $ModelName"
|
| 21 |
+
Write-Output "Run it with: ollama run $ModelName"
|
quickstart.py
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from __future__ import annotations
|
| 2 |
+
|
| 3 |
+
import argparse
|
| 4 |
+
import json
|
| 5 |
+
from pathlib import Path
|
| 6 |
+
|
| 7 |
+
from sentence_transformers import SentenceTransformer
|
| 8 |
+
|
| 9 |
+
MODEL_TITLE = "LumynaX Embed E5 Mistral 7B"
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
def _build_parser() -> argparse.ArgumentParser:
|
| 13 |
+
parser = argparse.ArgumentParser(description=f"Generate dense embeddings with {MODEL_TITLE}.")
|
| 14 |
+
parser.add_argument("texts", nargs="*", help="Text inputs to embed.")
|
| 15 |
+
parser.add_argument("--prompt-name", default="web_search_query", help="SentenceTransformer prompt preset.")
|
| 16 |
+
parser.add_argument("--max-seq-length", type=int, default=4096)
|
| 17 |
+
return parser
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
def main() -> None:
|
| 21 |
+
args = _build_parser().parse_args()
|
| 22 |
+
texts = args.texts or ["LumynaX packages local models for retrieval."]
|
| 23 |
+
model_dir = Path(__file__).resolve().parent / "merged_model"
|
| 24 |
+
model = SentenceTransformer(str(model_dir))
|
| 25 |
+
model.max_seq_length = args.max_seq_length
|
| 26 |
+
embeddings = model.encode(
|
| 27 |
+
texts,
|
| 28 |
+
prompt_name=args.prompt_name or None,
|
| 29 |
+
)
|
| 30 |
+
print(
|
| 31 |
+
json.dumps(
|
| 32 |
+
{
|
| 33 |
+
"model_title": MODEL_TITLE,
|
| 34 |
+
"count": len(texts),
|
| 35 |
+
"embedding_dim": len(embeddings[0]),
|
| 36 |
+
"embeddings": embeddings.tolist(),
|
| 37 |
+
},
|
| 38 |
+
ensure_ascii=False,
|
| 39 |
+
indent=2,
|
| 40 |
+
)
|
| 41 |
+
)
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
if __name__ == "__main__":
|
| 45 |
+
main()
|
release_export_manifest.json
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": {
|
| 3 |
+
"checksums": "checksums.sha256",
|
| 4 |
+
"gguf": null,
|
| 5 |
+
"hf_space_app": "hf_space/app.py",
|
| 6 |
+
"hf_space_dir": "hf_space",
|
| 7 |
+
"hf_space_readme": "hf_space/README.md",
|
| 8 |
+
"hf_space_requirements": "hf_space/requirements.txt",
|
| 9 |
+
"license": "LICENSE.txt",
|
| 10 |
+
"lumynax_package_identity": "merged_model/LUMYNAX_PACKAGE_IDENTITY.txt",
|
| 11 |
+
"merged_model": "merged_model",
|
| 12 |
+
"ollama_create_script": "ollama/create_ollama_model.ps1",
|
| 13 |
+
"ollama_modelfile": "ollama/Modelfile",
|
| 14 |
+
"quantized_gguf": null,
|
| 15 |
+
"quickstart": "quickstart.py",
|
| 16 |
+
"readme": "README.md",
|
| 17 |
+
"requirements": "requirements.txt",
|
| 18 |
+
"training_summary": "artifacts/release_training_summary.json",
|
| 19 |
+
"version": "VERSION.txt"
|
| 20 |
+
},
|
| 21 |
+
"capabilities": {
|
| 22 |
+
"reasoning_enabled": false,
|
| 23 |
+
"supported_modalities": [
|
| 24 |
+
"text",
|
| 25 |
+
"embedding"
|
| 26 |
+
]
|
| 27 |
+
},
|
| 28 |
+
"delivery": "standalone_hf_embedding_release",
|
| 29 |
+
"distribution": {
|
| 30 |
+
"hf_space": {
|
| 31 |
+
"app": "hf_space/app.py",
|
| 32 |
+
"default_demo_repo_id": "AbteeXAILab/lumynax-embed-e5-mistral-7b-demo",
|
| 33 |
+
"default_model_repo_id": "AbteeXAILab/lumynax-embed-e5-mistral-7b",
|
| 34 |
+
"directory": "hf_space",
|
| 35 |
+
"model_repo_env_var": "LUMYNAX_MODEL_REPO_ID",
|
| 36 |
+
"paired_model_repo_id": "AbteeXAILab/lumynax-embed-e5-mistral-7b",
|
| 37 |
+
"readme": "hf_space/README.md",
|
| 38 |
+
"requirements": "hf_space/requirements.txt",
|
| 39 |
+
"status": "shell_placeholder_needs_embedding_adapter"
|
| 40 |
+
},
|
| 41 |
+
"ollama": {
|
| 42 |
+
"create_script": "ollama/create_ollama_model.ps1",
|
| 43 |
+
"modelfile": "ollama/Modelfile",
|
| 44 |
+
"preferred_gguf": null,
|
| 45 |
+
"recommended_model_name": "lumynax-embed-e5-mistral-7b",
|
| 46 |
+
"status": "not_materialized_for_embedding_release"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"family": {
|
| 50 |
+
"demo_repo_id": "AbteeXAILab/lumynax-embed-e5-mistral-7b-demo",
|
| 51 |
+
"family_name": "LumynaX",
|
| 52 |
+
"lineage_position": "independent_release_line",
|
| 53 |
+
"release_line_id": "lumynax-embed-e5-mistral-7b",
|
| 54 |
+
"release_wave": "wave3",
|
| 55 |
+
"upstream_model_id": "intfloat/e5-mistral-7b-instruct",
|
| 56 |
+
"validated_at": "2026-04-19T10:29:45.525453+00:00",
|
| 57 |
+
"validation_status": "validated"
|
| 58 |
+
},
|
| 59 |
+
"generated_at": "2026-04-19T10:12:46.781232+00:00",
|
| 60 |
+
"lumynax_package_identity": {
|
| 61 |
+
"chat_template": "merged_model/chat_template.jinja",
|
| 62 |
+
"hardcoded": true,
|
| 63 |
+
"identity_file": "merged_model/LUMYNAX_PACKAGE_IDENTITY.txt",
|
| 64 |
+
"runtime_wrappers": [
|
| 65 |
+
"quickstart.py",
|
| 66 |
+
"hf_space/app.py"
|
| 67 |
+
]
|
| 68 |
+
},
|
| 69 |
+
"manifest_version": 2,
|
| 70 |
+
"model_title": "LumynaX Embed E5 Mistral 7B",
|
| 71 |
+
"package_state": "upstream_weights_hydrated_embedding",
|
| 72 |
+
"public_identity": {
|
| 73 |
+
"model_name": "LumynaX",
|
| 74 |
+
"organization": "AbteeX AI Labs",
|
| 75 |
+
"region": "Aotearoa New Zealand"
|
| 76 |
+
},
|
| 77 |
+
"release_line": {
|
| 78 |
+
"default_model_name": "lumynax-embed-e5-mistral-7b",
|
| 79 |
+
"demo_repo_id": "AbteeXAILab/lumynax-embed-e5-mistral-7b-demo",
|
| 80 |
+
"model_repo_id": "AbteeXAILab/lumynax-embed-e5-mistral-7b",
|
| 81 |
+
"model_title": "LumynaX Embed E5 Mistral 7B",
|
| 82 |
+
"output_dir_name": "lumynax-embed-e5-mistral-7b-v1",
|
| 83 |
+
"packaging_mode": "shell",
|
| 84 |
+
"prompt_format": "embedding",
|
| 85 |
+
"release_id": "lumynax-embed-e5-mistral-7b",
|
| 86 |
+
"release_kind": "embedding",
|
| 87 |
+
"release_version": "v1",
|
| 88 |
+
"runtime_family": "e5_sentence_transformer",
|
| 89 |
+
"upstream_model_id": "intfloat/e5-mistral-7b-instruct",
|
| 90 |
+
"validation": {
|
| 91 |
+
"checks": [
|
| 92 |
+
"exists:release_export_manifest.json",
|
| 93 |
+
"exists:README.md",
|
| 94 |
+
"exists:quickstart.py",
|
| 95 |
+
"exists:requirements.txt",
|
| 96 |
+
"exists:LICENSE.txt",
|
| 97 |
+
"exists:VERSION.txt",
|
| 98 |
+
"exists:checksums.sha256",
|
| 99 |
+
"exists:artifacts/release_training_summary.json",
|
| 100 |
+
"exists:hf_space/app.py",
|
| 101 |
+
"exists:hf_space/README.md",
|
| 102 |
+
"exists:hf_space/requirements.txt",
|
| 103 |
+
"exists:ollama/Modelfile",
|
| 104 |
+
"exists:ollama/create_ollama_model.ps1",
|
| 105 |
+
"exists:merged_model/config.json",
|
| 106 |
+
"exists:merged_model/LUMYNAX_PACKAGE_IDENTITY.txt",
|
| 107 |
+
"manifest:metadata",
|
| 108 |
+
"training_summary:metadata",
|
| 109 |
+
"readme:branding",
|
| 110 |
+
"merged_model:weights_present",
|
| 111 |
+
"merged_model:tokenizer_present",
|
| 112 |
+
"syntax:quickstart.py",
|
| 113 |
+
"syntax:hf_space/app.py",
|
| 114 |
+
"checksums:verified"
|
| 115 |
+
],
|
| 116 |
+
"validated_at": "2026-04-19T10:29:45.525453+00:00"
|
| 117 |
+
},
|
| 118 |
+
"validation_status": "validated",
|
| 119 |
+
"wave": "wave3"
|
| 120 |
+
},
|
| 121 |
+
"release_version": "v1",
|
| 122 |
+
"runtime": {
|
| 123 |
+
"delivery_mode": "standalone_hf_embedding_release",
|
| 124 |
+
"preferred_backend": "python_embedding",
|
| 125 |
+
"prompt_format": "embedding",
|
| 126 |
+
"quickstart_command": "python quickstart.py",
|
| 127 |
+
"runtime_family": "e5_sentence_transformer"
|
| 128 |
+
},
|
| 129 |
+
"upstream_model": {
|
| 130 |
+
"kind": "official_base_weights",
|
| 131 |
+
"lumynax_weight_adaptation_applied": false,
|
| 132 |
+
"provider": "Hugging Face",
|
| 133 |
+
"repo_id": "intfloat/e5-mistral-7b-instruct"
|
| 134 |
+
}
|
| 135 |
+
}
|
requirements.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
torch>=2.9
|
| 2 |
+
sentence-transformers>=3.0
|
| 3 |
+
transformers>=5.5.3
|