Text Generation
Transformers
Safetensors
English
gemma2
gemma
rl-mpq
mixed-precision
quantization
fake-quantization
conservative
text-generation-inference
Instructions to use AvoCahDoe/gemma-2-9b-rlmpq-conservative with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AvoCahDoe/gemma-2-9b-rlmpq-conservative with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AvoCahDoe/gemma-2-9b-rlmpq-conservative")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("AvoCahDoe/gemma-2-9b-rlmpq-conservative") model = AutoModelForCausalLM.from_pretrained("AvoCahDoe/gemma-2-9b-rlmpq-conservative", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AvoCahDoe/gemma-2-9b-rlmpq-conservative with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AvoCahDoe/gemma-2-9b-rlmpq-conservative" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AvoCahDoe/gemma-2-9b-rlmpq-conservative", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/AvoCahDoe/gemma-2-9b-rlmpq-conservative
- SGLang
How to use AvoCahDoe/gemma-2-9b-rlmpq-conservative with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "AvoCahDoe/gemma-2-9b-rlmpq-conservative" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AvoCahDoe/gemma-2-9b-rlmpq-conservative", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "AvoCahDoe/gemma-2-9b-rlmpq-conservative" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AvoCahDoe/gemma-2-9b-rlmpq-conservative", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use AvoCahDoe/gemma-2-9b-rlmpq-conservative with Docker Model Runner:
docker model run hf.co/AvoCahDoe/gemma-2-9b-rlmpq-conservative
RL-MPQ Conservative — 2026-06-11T20:32:52.715518
Browse files- .gitattributes +1 -0
- README.md +87 -0
- config.json +99 -0
- generation_config.json +8 -0
- model.safetensors +3 -0
- rlmpq_metrics.json +26 -0
- rlmpq_policy.json +73 -0
- tokenizer.json +3 -0
- tokenizer_config.json +20 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: gemma
|
| 3 |
+
base_model: google/gemma-2-9b
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- gemma
|
| 9 |
+
- text-generation
|
| 10 |
+
- rl-mpq
|
| 11 |
+
- mixed-precision
|
| 12 |
+
- quantization
|
| 13 |
+
- fake-quantization
|
| 14 |
+
- conservative
|
| 15 |
+
library_name: transformers
|
| 16 |
+
datasets:
|
| 17 |
+
- wikitext
|
| 18 |
+
widget:
|
| 19 |
+
- text: "The capital of France is"
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# Gemma 2 9B — RL-MPQ Conservative
|
| 23 |
+
|
| 24 |
+
Standalone **RL-MPQ** (Reinforcement Learning Mixed-Precision Quantization) checkpoint for the
|
| 25 |
+
**Conservative** scenario — a quantized variant of
|
| 26 |
+
[google/gemma-2-9b](https://huggingface.co/google/gemma-2-9b).
|
| 27 |
+
|
| 28 |
+
| Field | Value |
|
| 29 |
+
|-------|-------|
|
| 30 |
+
| **Base model** | [google/gemma-2-9b](https://huggingface.co/google/gemma-2-9b) |
|
| 31 |
+
| **Scenario** | Conservative |
|
| 32 |
+
| **Avg bits / weight** | 5.1429 |
|
| 33 |
+
| **Compression vs FP16** | 3.1111× |
|
| 34 |
+
| **WikiText-2 PPL** | 116.5244 |
|
| 35 |
+
| **Layers** | 42 |
|
| 36 |
+
| **Bit distribution** | `{'4': 30, '8': 12}` |
|
| 37 |
+
| **Format** | Fake-quant FP16 + `rlmpq_policy.json` |
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
## Usage
|
| 41 |
+
|
| 42 |
+
```python
|
| 43 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 44 |
+
|
| 45 |
+
repo = "AvoCahDoe/gemma-2-9b-rlmpq-conservative"
|
| 46 |
+
|
| 47 |
+
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="float16")
|
| 48 |
+
tokenizer = AutoTokenizer.from_pretrained(repo)
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
## Other Gemma 2 9B scenarios
|
| 52 |
+
|
| 53 |
+
| Scenario | Avg bits | Compression | WikiText-2 PPL |
|
| 54 |
+
|----------|----------|-------------|----------------|
|
| 55 |
+
| [Aggressive](https://huggingface.co/AvoCahDoe/gemma-2-9b-rlmpq-aggressive) | 3.6667 | 4.3636x | 162.8437 |
|
| 56 |
+
| [Balanced](https://huggingface.co/AvoCahDoe/gemma-2-9b-rlmpq-balanced) | 4.2857 | 3.7333x | 127.0798 |
|
| 57 |
+
| [Extreme Survival](https://huggingface.co/AvoCahDoe/gemma-2-9b-rlmpq-extreme-survival) | 2.7857 | 5.7436x | 424.7991 |
|
| 58 |
+
| [High Fidelity](https://huggingface.co/AvoCahDoe/gemma-2-9b-rlmpq-high-fidelity) | 7.0476 | 2.2703x | 104.8098 |
|
| 59 |
+
|
| 60 |
+
Grouped archive (all scenarios in one repo):
|
| 61 |
+
[AvoCahDoe/gemma-2-9b-rlmpq](https://huggingface.co/AvoCahDoe/gemma-2-9b-rlmpq)
|
| 62 |
+
|
| 63 |
+
## Method
|
| 64 |
+
|
| 65 |
+
1. **Phase 3** — PPO agent assigns per-layer bit widths under the Conservative reward target.
|
| 66 |
+
2. **Phase 4** — Policy replayed on real weights; WikiText-2 perplexity validates quality.
|
| 67 |
+
3. **Export** — Fake-quantized FP16 weights compatible with Hugging Face Transformers.
|
| 68 |
+
|
| 69 |
+
## Files
|
| 70 |
+
|
| 71 |
+
| File | Description |
|
| 72 |
+
|------|-------------|
|
| 73 |
+
| `config.json` | Llama architecture + RL-MPQ metadata |
|
| 74 |
+
| `model.safetensors` | Fake-quantized weights |
|
| 75 |
+
| `rlmpq_policy.json` | Per-layer bit-width policy |
|
| 76 |
+
| `rlmpq_metrics.json` | Validation & PPL summary |
|
| 77 |
+
|
| 78 |
+
## Citation
|
| 79 |
+
|
| 80 |
+
```bibtex
|
| 81 |
+
@misc{rlmpq_gemma_2_9b_conservative_2026,
|
| 82 |
+
title = {RL-MPQ Conservative: Gemma 2 9B Mixed-Precision Quantization},
|
| 83 |
+
author = {AvoCahDoe},
|
| 84 |
+
year = {2026},
|
| 85 |
+
url = {https://huggingface.co/AvoCahDoe/gemma-2-9b-rlmpq-conservative}
|
| 86 |
+
}
|
| 87 |
+
```
|
config.json
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Gemma2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"attn_logit_softcapping": 50.0,
|
| 8 |
+
"bos_token_id": 2,
|
| 9 |
+
"cache_implementation": "hybrid",
|
| 10 |
+
"dtype": "bfloat16",
|
| 11 |
+
"eos_token_id": 1,
|
| 12 |
+
"final_logit_softcapping": 30.0,
|
| 13 |
+
"head_dim": 256,
|
| 14 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 15 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 16 |
+
"hidden_size": 3584,
|
| 17 |
+
"initializer_range": 0.02,
|
| 18 |
+
"intermediate_size": 14336,
|
| 19 |
+
"layer_types": [
|
| 20 |
+
"sliding_attention",
|
| 21 |
+
"full_attention",
|
| 22 |
+
"sliding_attention",
|
| 23 |
+
"full_attention",
|
| 24 |
+
"sliding_attention",
|
| 25 |
+
"full_attention",
|
| 26 |
+
"sliding_attention",
|
| 27 |
+
"full_attention",
|
| 28 |
+
"sliding_attention",
|
| 29 |
+
"full_attention",
|
| 30 |
+
"sliding_attention",
|
| 31 |
+
"full_attention",
|
| 32 |
+
"sliding_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"sliding_attention",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"sliding_attention",
|
| 37 |
+
"full_attention",
|
| 38 |
+
"sliding_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"sliding_attention",
|
| 41 |
+
"full_attention",
|
| 42 |
+
"sliding_attention",
|
| 43 |
+
"full_attention",
|
| 44 |
+
"sliding_attention",
|
| 45 |
+
"full_attention",
|
| 46 |
+
"sliding_attention",
|
| 47 |
+
"full_attention",
|
| 48 |
+
"sliding_attention",
|
| 49 |
+
"full_attention",
|
| 50 |
+
"sliding_attention",
|
| 51 |
+
"full_attention",
|
| 52 |
+
"sliding_attention",
|
| 53 |
+
"full_attention",
|
| 54 |
+
"sliding_attention",
|
| 55 |
+
"full_attention",
|
| 56 |
+
"sliding_attention",
|
| 57 |
+
"full_attention",
|
| 58 |
+
"sliding_attention",
|
| 59 |
+
"full_attention",
|
| 60 |
+
"sliding_attention",
|
| 61 |
+
"full_attention"
|
| 62 |
+
],
|
| 63 |
+
"max_position_embeddings": 8192,
|
| 64 |
+
"model_type": "gemma2",
|
| 65 |
+
"num_attention_heads": 16,
|
| 66 |
+
"num_hidden_layers": 42,
|
| 67 |
+
"num_key_value_heads": 8,
|
| 68 |
+
"pad_token_id": 0,
|
| 69 |
+
"query_pre_attn_scalar": 256,
|
| 70 |
+
"rms_norm_eps": 1e-06,
|
| 71 |
+
"rope_parameters": {
|
| 72 |
+
"rope_theta": 10000.0,
|
| 73 |
+
"rope_type": "default",
|
| 74 |
+
"type": "default"
|
| 75 |
+
},
|
| 76 |
+
"sliding_window": 4096,
|
| 77 |
+
"sliding_window_size": 4096,
|
| 78 |
+
"tie_word_embeddings": true,
|
| 79 |
+
"transformers_version": "5.11.0",
|
| 80 |
+
"use_bidirectional_attention": null,
|
| 81 |
+
"use_cache": true,
|
| 82 |
+
"vocab_size": 256000,
|
| 83 |
+
"base_model": "google/gemma-2-9b",
|
| 84 |
+
"quantization": {
|
| 85 |
+
"method": "rl-mpq",
|
| 86 |
+
"format": "fake-quant-fp16",
|
| 87 |
+
"scenario": "Conservative",
|
| 88 |
+
"avg_bits": 5.1429,
|
| 89 |
+
"description": "Per-layer mixed bit-width via PPO-trained policy (not GPTQ/AWQ)"
|
| 90 |
+
},
|
| 91 |
+
"rlmpq": {
|
| 92 |
+
"framework": "RL-NMP-Model-Quantasation",
|
| 93 |
+
"scenario": "Conservative",
|
| 94 |
+
"scenario_label": "Conservative",
|
| 95 |
+
"repo_id": "AvoCahDoe/gemma-2-9b-rlmpq-conservative",
|
| 96 |
+
"grouped_repo": "AvoCahDoe/gemma-2-9b-rlmpq",
|
| 97 |
+
"collection_title": "RL-MPQ \u2014 Gemma 2 9B"
|
| 98 |
+
}
|
| 99 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 2,
|
| 4 |
+
"cache_implementation": "hybrid",
|
| 5 |
+
"eos_token_id": 1,
|
| 6 |
+
"pad_token_id": 0,
|
| 7 |
+
"transformers_version": "5.11.0"
|
| 8 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4deba705343ea23fceb1c0ac69f9452c12c2ee9b2f8fc78f7d51be5be9dd6f9
|
| 3 |
+
size 18483467000
|
rlmpq_metrics.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"framework": "RL-NMP-Model-Quantasation",
|
| 3 |
+
"method": "RL-MPQ",
|
| 4 |
+
"repo_id": "AvoCahDoe/gemma-2-9b-rlmpq-conservative",
|
| 5 |
+
"base_model": "google/gemma-2-9b",
|
| 6 |
+
"model_slug": "gemma_2_9b",
|
| 7 |
+
"scenario": "Conservative",
|
| 8 |
+
"scenario_label": "Conservative",
|
| 9 |
+
"avg_bits_per_weight": 5.1429,
|
| 10 |
+
"compression_vs_fp16": 3.1111,
|
| 11 |
+
"wikitext2_perplexity": 116.5244,
|
| 12 |
+
"bit_distribution": {
|
| 13 |
+
"4": 30,
|
| 14 |
+
"8": 12
|
| 15 |
+
},
|
| 16 |
+
"quantization": {
|
| 17 |
+
"type": "fake-quant-fp16",
|
| 18 |
+
"group_size": 128,
|
| 19 |
+
"scheme": "per-layer asymmetric group-wise",
|
| 20 |
+
"packed_format": false
|
| 21 |
+
},
|
| 22 |
+
"exported_at": "2026-06-11T20:32:52.142348",
|
| 23 |
+
"policy_source": "/workspace/RL-NMP-Model-Quantasation/phase3/models/gemma_2_9b/results/Conservative_policy.json",
|
| 24 |
+
"policy_path": "/workspace/RL-NMP-Model-Quantasation/phase3/models/gemma_2_9b/results/Conservative_policy.json",
|
| 25 |
+
"training_run": "20260610_202902"
|
| 26 |
+
}
|
rlmpq_policy.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"slug": "gemma_2_9b",
|
| 3 |
+
"hf_id": "google/gemma-2-9b",
|
| 4 |
+
"scenario": "Conservative",
|
| 5 |
+
"params": {
|
| 6 |
+
"lambda_mse": 1.0,
|
| 7 |
+
"lambda_bit": 0.15,
|
| 8 |
+
"max_mse_clip": 1.0,
|
| 9 |
+
"target_bits": 5.5,
|
| 10 |
+
"lambda_budget": 3.0
|
| 11 |
+
},
|
| 12 |
+
"policy": [
|
| 13 |
+
4,
|
| 14 |
+
4,
|
| 15 |
+
4,
|
| 16 |
+
4,
|
| 17 |
+
4,
|
| 18 |
+
4,
|
| 19 |
+
4,
|
| 20 |
+
4,
|
| 21 |
+
4,
|
| 22 |
+
4,
|
| 23 |
+
4,
|
| 24 |
+
4,
|
| 25 |
+
4,
|
| 26 |
+
4,
|
| 27 |
+
4,
|
| 28 |
+
4,
|
| 29 |
+
4,
|
| 30 |
+
4,
|
| 31 |
+
4,
|
| 32 |
+
4,
|
| 33 |
+
4,
|
| 34 |
+
4,
|
| 35 |
+
4,
|
| 36 |
+
4,
|
| 37 |
+
4,
|
| 38 |
+
4,
|
| 39 |
+
4,
|
| 40 |
+
4,
|
| 41 |
+
4,
|
| 42 |
+
4,
|
| 43 |
+
8,
|
| 44 |
+
8,
|
| 45 |
+
8,
|
| 46 |
+
8,
|
| 47 |
+
8,
|
| 48 |
+
8,
|
| 49 |
+
8,
|
| 50 |
+
8,
|
| 51 |
+
8,
|
| 52 |
+
8,
|
| 53 |
+
8,
|
| 54 |
+
8
|
| 55 |
+
],
|
| 56 |
+
"num_layers": 42,
|
| 57 |
+
"avg_bits": 5.1429,
|
| 58 |
+
"total_reward": -4.732356,
|
| 59 |
+
"compression_ratio": 3.1111,
|
| 60 |
+
"approx_size_gb": 5.786,
|
| 61 |
+
"bit_distribution": {
|
| 62 |
+
"4": 30,
|
| 63 |
+
"8": 12
|
| 64 |
+
},
|
| 65 |
+
"avg_mse_per_bit": {
|
| 66 |
+
"4": 0.02755521,
|
| 67 |
+
"8": 3.639e-05
|
| 68 |
+
},
|
| 69 |
+
"validation_elapsed_s": 0.0121,
|
| 70 |
+
"policy_source": "/workspace/RL-NMP-Model-Quantasation/phase3/models/gemma_2_9b/results/Conservative_policy.json",
|
| 71 |
+
"policy_path": "/workspace/RL-NMP-Model-Quantasation/phase3/models/gemma_2_9b/results/Conservative_policy.json",
|
| 72 |
+
"training_run": "20260610_202902"
|
| 73 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:487cee8724215dcd2dde8888539e8b1bf844ceb5dbbe27f7845abda69eeb060f
|
| 3 |
+
size 34362872
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<bos>",
|
| 4 |
+
"clean_up_tokenization_spaces": false,
|
| 5 |
+
"eos_token": "<eos>",
|
| 6 |
+
"extra_special_tokens": [
|
| 7 |
+
"<start_of_turn>",
|
| 8 |
+
"<end_of_turn>"
|
| 9 |
+
],
|
| 10 |
+
"is_local": false,
|
| 11 |
+
"local_files_only": false,
|
| 12 |
+
"mask_token": "<mask>",
|
| 13 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 14 |
+
"pad_token": "<pad>",
|
| 15 |
+
"sp_model_kwargs": {},
|
| 16 |
+
"spaces_between_special_tokens": false,
|
| 17 |
+
"tokenizer_class": "GemmaTokenizer",
|
| 18 |
+
"unk_token": "<unk>",
|
| 19 |
+
"use_default_system_prompt": false
|
| 20 |
+
}
|