初始化项目,由ModelHub XC社区提供模型

Model: beomi/gemma-ko-7b
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-25 05:54:15 +08:00
commit 86fc315187
15 changed files with 658 additions and 0 deletions

36
.gitattributes vendored Normal file
View File

@@ -0,0 +1,36 @@
*.7z filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.ckpt filter=lfs diff=lfs merge=lfs -text
*.ftz filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text
*.joblib filter=lfs diff=lfs merge=lfs -text
*.lfs.* filter=lfs diff=lfs merge=lfs -text
*.mlmodel filter=lfs diff=lfs merge=lfs -text
*.model filter=lfs diff=lfs merge=lfs -text
*.msgpack filter=lfs diff=lfs merge=lfs -text
*.npy filter=lfs diff=lfs merge=lfs -text
*.npz filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text
*.ot filter=lfs diff=lfs merge=lfs -text
*.parquet filter=lfs diff=lfs merge=lfs -text
*.pb filter=lfs diff=lfs merge=lfs -text
*.pickle filter=lfs diff=lfs merge=lfs -text
*.pkl filter=lfs diff=lfs merge=lfs -text
*.pt filter=lfs diff=lfs merge=lfs -text
*.pth filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
*.safetensors filter=lfs diff=lfs merge=lfs -text
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.tar.* filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tflite filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text
tokenizer.json filter=lfs diff=lfs merge=lfs -text

223
README.md Normal file
View File

@@ -0,0 +1,223 @@
---
language:
- ko
- en
license: other
library_name: transformers
license_name: gemma-terms-of-use
license_link: https://ai.google.dev/gemma/terms
pipeline_tag: text-generation
tags:
- pytorch
---
# Gemma-Ko
> Update @ 2024.03.08: First release of Gemma-Ko 7B model
**Original Gemma Model Page**: [Gemma](https://ai.google.dev/gemma/docs)
This model card corresponds to the 7B base version of the **Gemma-Ko** model.
**Resources and Technical Documentation**:
* [Original Google's Gemma-7B](https://huggingface.co/google/gemma-7b)
* [Training Code @ Github: Gemma-EasyLM](https://github.com/Beomi/Gemma-EasyLM)
**Terms of Use**: [Terms](https://www.kaggle.com/models/google/gemma/license/consent)
**Citation**
```bibtex
@misc {gemma_ko_7b,
author = { {Junbum Lee, Taekyoon Choi} },
title = { gemma-ko-7b },
year = 2024,
url = { https://huggingface.co/beomi/gemma-ko-7b },
doi = { 10.57967/hf/1859 },
publisher = { Hugging Face }
}
```
**Model Developers**: Junbum Lee (Beomi) & Taekyoon Choi (Taekyoon)
## Model Information
Summary description and brief definition of inputs and outputs.
### Description
Gemma is a family of lightweight, state-of-the-art open models from Google,
built from the same research and technology used to create the Gemini models.
They are text-to-text, decoder-only large language models, available in English,
with open weights, pre-trained variants, and instruction-tuned variants. Gemma
models are well-suited for a variety of text generation tasks, including
question answering, summarization, and reasoning. Their relatively small size
makes it possible to deploy them in environments with limited resources such as
a laptop, desktop or your own cloud infrastructure, democratizing access to
state of the art AI models and helping foster innovation for everyone.
### Usage
Below we share some code snippets on how to get quickly started with running the model. First make sure to `pip install -U transformers`, then copy the snippet from the section that is relevant for your usecase.
#### Running the model on a CPU
```python
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("beomi/gemma-ko-7b")
model = AutoModelForCausalLM.from_pretrained("beomi/gemma-ko-7b")
input_text = "머신러닝과 딥러닝의 차이는"
input_ids = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**input_ids)
print(tokenizer.decode(outputs[0]))
```
#### Running the model on a single / multi GPU
```python
# pip install accelerate
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("beomi/gemma-ko-7b")
model = AutoModelForCausalLM.from_pretrained("beomi/gemma-ko-7b", device_map="auto")
input_text = "머신러닝과 딥러닝의 차이는"
input_ids = tokenizer(input_text, return_tensors="pt").to("cuda")
outputs = model.generate(**input_ids)
print(tokenizer.decode(outputs[0]))
```
#### Other optimizations
* _Flash Attention 2_
First make sure to install `flash-attn` in your environment `pip install flash-attn`
```diff
model = AutoModelForCausalLM.from_pretrained(
"beomi/gemma-ko-7b",
torch_dtype=torch.float16,
+ attn_implementation="flash_attention_2"
).to(0)
```
### Inputs and outputs
* **Input:** Text string, such as a question, a prompt, or a document to be
summarized.
* **Output:** Generated Korean/English-language text in response to the input, such
as an answer to a question, or a summary of a document.
## Implementation Information
Details about the model internals.
### Software
Training was done using [beomi/Gemma-EasyLM](https://github.com/Beomi/Gemma-EasyLM).
## Evaluation
Model evaluation metrics and results.
### Benchmark Results
TBD
## Usage and Limitations
These models have certain limitations that users should be aware of.
### Intended Usage
Open Large Language Models (LLMs) have a wide range of applications across
various industries and domains. The following list of potential uses is not
comprehensive. The purpose of this list is to provide contextual information
about the possible use-cases that the model creators considered as part of model
training and development.
* Content Creation and Communication
* Text Generation: These models can be used to generate creative text formats
such as poems, scripts, code, marketing copy, and email drafts.
* Research and Education
* Natural Language Processing (NLP) Research: These models can serve as a
foundation for researchers to experiment with NLP techniques, develop
algorithms, and contribute to the advancement of the field.
* Language Learning Tools: Support interactive language learning experiences,
aiding in grammar correction or providing writing practice.
* Knowledge Exploration: Assist researchers in exploring large bodies of text
by generating summaries or answering questions about specific topics.
### Limitations
* Training Data
* The quality and diversity of the training data significantly influence the
model's capabilities. Biases or gaps in the training data can lead to
limitations in the model's responses.
* The scope of the training dataset determines the subject areas the model can
handle effectively.
* Context and Task Complexity
* LLMs are better at tasks that can be framed with clear prompts and
instructions. Open-ended or highly complex tasks might be challenging.
* A model's performance can be influenced by the amount of context provided
(longer context generally leads to better outputs, up to a certain point).
* Language Ambiguity and Nuance
* Natural language is inherently complex. LLMs might struggle to grasp subtle
nuances, sarcasm, or figurative language.
* Factual Accuracy
* LLMs generate responses based on information they learned from their
training datasets, but they are not knowledge bases. They may generate
incorrect or outdated factual statements.
* Common Sense
* LLMs rely on statistical patterns in language. They might lack the ability
to apply common sense reasoning in certain situations.
### Ethical Considerations and Risks
The development of large language models (LLMs) raises several ethical concerns.
In creating an open model, we have carefully considered the following:
* Bias and Fairness
* LLMs trained on large-scale, real-world text data can reflect socio-cultural
biases embedded in the training material. These models underwent careful
scrutiny, input data pre-processing described and posterior evaluations
reported in this card.
* Misinformation and Misuse
* LLMs can be misused to generate text that is false, misleading, or harmful.
* Guidelines are provided for responsible use with the model, see the
[Responsible Generative AI Toolkit](http://ai.google.dev/gemma/responsible).
* Transparency and Accountability:
* This model card summarizes details on the models' architecture,
capabilities, limitations, and evaluation processes.
* A responsibly developed open model offers the opportunity to share
innovation by making LLM technology accessible to developers and researchers
across the AI ecosystem.
Risks identified and mitigations:
* Perpetuation of biases: It's encouraged to perform continuous monitoring
(using evaluation metrics, human review) and the exploration of de-biasing
techniques during model training, fine-tuning, and other use cases.
* Generation of harmful content: Mechanisms and guidelines for content safety
are essential. Developers are encouraged to exercise caution and implement
appropriate content safety safeguards based on their specific product policies
and application use cases.
* Misuse for malicious purposes: Technical limitations and developer and
end-user education can help mitigate against malicious applications of LLMs.
Educational resources and reporting mechanisms for users to flag misuse are
provided. Prohibited uses of Gemma models are outlined in the
[Gemma Prohibited Use Policy](https://ai.google.dev/gemma/prohibited_use_policy).
* Privacy violations: Models were trained on data filtered for removal of PII
(Personally Identifiable Information). Developers are encouraged to adhere to
privacy regulations with privacy-preserving techniques.
## Acknowledgement
The training is supported by [TPU Research Cloud](https://sites.research.google/trc/) program.

28
config.json Normal file
View File

@@ -0,0 +1,28 @@
{
"_name_or_path": "beomi/gemma-ko-7b-dev",
"architectures": [
"GemmaForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 2,
"eos_token_id": 1,
"head_dim": 256,
"hidden_act": "gelu",
"hidden_size": 3072,
"initializer_range": 0.02,
"intermediate_size": 24576,
"max_position_embeddings": 8192,
"model_type": "gemma",
"num_attention_heads": 16,
"num_hidden_layers": 28,
"num_key_value_heads": 16,
"pad_token_id": 0,
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"rope_theta": 10000.0,
"torch_dtype": "bfloat16",
"transformers_version": "4.38.1",
"use_cache": true,
"vocab_size": 256000
}

7
generation_config.json Normal file
View File

@@ -0,0 +1,7 @@
{
"_from_model_config": true,
"bos_token_id": 2,
"eos_token_id": 1,
"pad_token_id": 0,
"transformers_version": "4.38.1"
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c15d45e09b0fddfbae0618a5c32d120b00a87e71a20e9b91930311044ce018f3
size 2931845880

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45095b2ede13dc461b5f9b76c3c22b4be18d690aea3fd0616d90deeaa34ba93b
size 2919302344

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5a0486543c65aaee533798650c9b5e59ee9b6b763df9c44c5e82c63fe767ef7
size 2994812720

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:75643b038f55330688d982b05c65d489bf01e3497828330315c66311750e9ea2
size 2944468336

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c373e8d64d9dbdcd5a0b1753bd6ece97255063e77f3ea2f684e6ff84f1bcf818
size 2919302392

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e79389521f6956d39cf11f65273282c8174289be73dae428e833862d785b134c
size 2365659680

View File

@@ -0,0 +1,261 @@
{
"metadata": {
"total_size": 17075361792
},
"weight_map": {
"model.embed_tokens.weight": "model-00001-of-00006.safetensors",
"model.layers.0.input_layernorm.weight": "model-00001-of-00006.safetensors",
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00006.safetensors",
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.1.input_layernorm.weight": "model-00001-of-00006.safetensors",
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00006.safetensors",
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.10.input_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.10.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.10.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.10.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.10.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.10.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.10.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.10.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.10.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.11.input_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.11.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.11.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.11.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.11.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.11.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.11.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.11.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.11.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.12.input_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.12.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.12.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.12.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.12.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.12.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.12.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.12.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.12.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.13.input_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.13.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.13.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.13.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.13.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.13.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.13.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.13.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.13.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.14.input_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.14.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.14.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.14.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.14.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.14.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.14.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.14.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.14.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.15.input_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.15.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.15.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.15.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.15.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.15.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.15.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.15.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.15.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.16.input_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.16.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.16.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.16.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.16.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.16.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.16.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.16.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.16.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.17.input_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.17.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.17.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.17.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.17.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.17.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.17.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.17.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.17.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.18.input_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.18.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.18.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.18.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.18.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.18.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.18.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.18.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.18.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.19.input_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.19.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.19.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.19.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.19.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.19.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.19.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.19.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.19.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.2.input_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.2.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.2.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.2.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.20.input_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.20.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.20.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.20.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.20.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.20.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.20.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.20.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.20.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.21.input_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.21.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.21.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.21.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.21.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.21.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.21.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.21.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.21.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.22.input_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.22.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.22.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.22.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.22.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.22.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.22.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.22.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.22.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.23.input_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.23.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.23.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.23.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.23.post_attention_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.23.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.23.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.23.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.23.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.24.input_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.24.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.24.mlp.gate_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.24.mlp.up_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.24.post_attention_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.24.self_attn.k_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.24.self_attn.o_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.24.self_attn.q_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.24.self_attn.v_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.25.input_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.25.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.25.mlp.gate_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.25.mlp.up_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.25.post_attention_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.25.self_attn.k_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.25.self_attn.o_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.25.self_attn.q_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.25.self_attn.v_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.26.input_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.26.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.26.mlp.gate_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.26.mlp.up_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.26.post_attention_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.26.self_attn.k_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.26.self_attn.o_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.26.self_attn.q_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.26.self_attn.v_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.27.input_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.27.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.27.mlp.gate_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.27.mlp.up_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.27.post_attention_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.27.self_attn.k_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.27.self_attn.o_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.27.self_attn.q_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.27.self_attn.v_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.3.input_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.3.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.3.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.3.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.3.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.3.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.3.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.3.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.3.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.4.input_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.4.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.4.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.4.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.4.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.4.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.4.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.4.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.4.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.5.input_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.5.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.5.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.5.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.5.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.5.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.5.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.5.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.5.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.6.input_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.6.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.6.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.6.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.6.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.6.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.6.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.6.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.6.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.7.input_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.7.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.7.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.7.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.7.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.7.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.7.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.7.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.7.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.8.input_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.8.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.8.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.8.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.8.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.8.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.8.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.8.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.8.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.9.input_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.9.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.9.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.9.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.9.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.9.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.9.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.9.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.9.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
"model.norm.weight": "model-00006-of-00006.safetensors"
}
}

30
special_tokens_map.json Normal file
View File

@@ -0,0 +1,30 @@
{
"bos_token": {
"content": "<bos>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"eos_token": {
"content": "<eos>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"pad_token": {
"content": "<pad>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"unk_token": {
"content": "<unk>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
}
}

3
tokenizer.json Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d0d908b4f9326e0998815690e325b6abbd378978553e10627924dd825db7e243
size 17477553

3
tokenizer.model Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61a7b147390c64585d6c3543dd6fc636906c9af3865a5548f27f31aee1d4c8e2
size 4241003

49
tokenizer_config.json Normal file
View File

@@ -0,0 +1,49 @@
{
"add_bos_token": true,
"add_eos_token": false,
"added_tokens_decoder": {
"0": {
"content": "<pad>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"1": {
"content": "<eos>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"2": {
"content": "<bos>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"3": {
"content": "<unk>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
}
},
"bos_token": "<bos>",
"clean_up_tokenization_spaces": false,
"eos_token": "<eos>",
"legacy": null,
"model_max_length": 1000000000000000019884624838656,
"pad_token": "<pad>",
"sp_model_kwargs": {},
"spaces_between_special_tokens": false,
"tokenizer_class": "GemmaTokenizer",
"unk_token": "<unk>",
"use_default_system_prompt": false
}