Text Generation
PEFT
Safetensors
Chinese
English
lora
tool-selection
tool-call
guardrail
chinese
traditional-chinese
fine-tuned
qwen2
conversational
Instructions to use GOSHUNCLE/tool_call_validator_zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use GOSHUNCLE/tool_call_validator_zh with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-3B-Instruct") model = PeftModel.from_pretrained(base_model, "GOSHUNCLE/tool_call_validator_zh") - Notebooks
- Google Colab
- Kaggle
File size: 4,500 Bytes
910700c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | <svg xmlns="http://www.w3.org/2000/svg"
width="1200" height="400"
viewBox="0 0 1200 400"
preserveAspectRatio="xMidYMid meet">
<defs>
<!-- Silver gradient bg (vertical, with subtle metallic sheen) -->
<linearGradient id="silver-bg" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" stop-color="#dcdcdc"/>
<stop offset="35%" stop-color="#c4c4c4"/>
<stop offset="55%" stop-color="#a8a8a8"/>
<stop offset="100%" stop-color="#888888"/>
</linearGradient>
<!-- Metal gradient for hex bolts -->
<linearGradient id="bolt-metal" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" stop-color="#e8e8e8"/>
<stop offset="50%" stop-color="#9a9a9a"/>
<stop offset="100%" stop-color="#5a5a5a"/>
</linearGradient>
<!-- Metal gradient for title text -->
<linearGradient id="text-metal" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" stop-color="#2a2a2a"/>
<stop offset="100%" stop-color="#0a0a0a"/>
</linearGradient>
<!-- Subtle steel grid pattern -->
<pattern id="steel-grid" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse">
<path d="M0 0 L40 0 M0 0 L0 40" stroke="#b0b0b0" stroke-width="0.4" opacity="0.35"/>
</pattern>
<!-- Hex bolt symbol -->
<symbol id="hex-bolt" viewBox="-30 -30 60 60">
<polygon points="-26,0 -13,-22.5 13,-22.5 26,0 13,22.5 -13,22.5"
fill="url(#bolt-metal)" stroke="#3a3a3a" stroke-width="1.2"/>
<polygon points="-18,0 -9,-15.6 9,-15.6 18,0 9,15.6 -9,15.6"
fill="none" stroke="#3a3a3a" stroke-width="0.8" opacity="0.6"/>
<circle cx="0" cy="0" r="5" fill="#404040"/>
</symbol>
</defs>
<!-- 1. Background: silver metallic -->
<rect x="0" y="0" width="1200" height="400" fill="url(#silver-bg)"/>
<rect x="0" y="0" width="1200" height="400" fill="url(#steel-grid)"/>
<!-- 2. Mechanical frame (double line, simulating steel plate edge) -->
<rect x="24" y="24" width="1152" height="352"
fill="none" stroke="#3a3a3a" stroke-width="2"/>
<rect x="32" y="32" width="1136" height="336"
fill="none" stroke="#7a7a7a" stroke-width="1"/>
<!-- 3. Four corner bolts -->
<use href="#hex-bolt" x="60" y="60" width="50" height="50"/>
<use href="#hex-bolt" x="1140" y="60" width="50" height="50"/>
<use href="#hex-bolt" x="60" y="340" width="50" height="50"/>
<use href="#hex-bolt" x="1140" y="340" width="50" height="50"/>
<!-- 4. Central horizontal divider with circuit nodes -->
<line x1="180" y1="265" x2="1020" y2="265" stroke="#444" stroke-width="1.5"/>
<circle cx="180" cy="265" r="4" fill="#2a2a2a"/>
<circle cx="1020" cy="265" r="4" fill="#2a2a2a"/>
<circle cx="600" cy="265" r="6" fill="#2a2a2a"/>
<circle cx="600" cy="265" r="2" fill="#dcdcdc"/>
<!-- 5. Main title -->
<text x="600" y="195"
text-anchor="middle"
font-family="system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif"
font-size="64"
font-weight="800"
fill="url(#text-metal)"
letter-spacing="-1">tool_call_validator_zh</text>
<!-- 6. Subtitle -->
<text x="600" y="245"
text-anchor="middle"
font-family="Arial, Helvetica, sans-serif"
font-size="22"
font-weight="500"
fill="#2f2f2f"
letter-spacing="3">TRADITIONAL CHINESE TOOL CALL VALIDATION GUARDRAIL</text>
<!-- 7. Footer line (base model + license) -->
<text x="600" y="305"
text-anchor="middle"
font-family="Arial, Helvetica, sans-serif"
font-size="15"
font-weight="400"
fill="#444"
letter-spacing="2">LoRA fine-tune of Qwen2.5-3B-Instruct | Apache 2.0</text>
<!-- 8. Side mechanical accents (minimalist, learned from memory_2 v1 retired version) -->
<line x1="60" y1="200" x2="130" y2="200" stroke="#555" stroke-width="1"/>
<line x1="1070" y1="200" x2="1140" y2="200" stroke="#555" stroke-width="1"/>
<line x1="100" y1="195" x2="100" y2="205" stroke="#555" stroke-width="1"/>
<line x1="1100" y1="195" x2="1100" y2="205" stroke="#555" stroke-width="1"/>
<!-- 9. Bottom tech tag (small caps, centered) -->
<text x="600" y="355"
text-anchor="middle"
font-family="system-ui, -apple-system, Segoe UI, Roboto, sans-serif"
font-size="11"
fill="#5a5a5a"
letter-spacing="4">[ COMMIT / ABSTAIN ] - [ INTENT MATCHING ] - [ PARALLEL VERIFICATION ]</text>
</svg>
|