Text Generation
PEFT
Safetensors
Chinese
taiwan
traditional-chinese
zh-tw
sovereign-ai
Mixture of Experts
looped-transformer
qlora
sft
dpo
rlvr
grpo
raft
chain-of-thought
tmmluplus
taiwan-law
ceec
conversational
Eval Results (legacy)
Instructions to use bjo4/Inkling-2-Mini-TW-Sovereign with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use bjo4/Inkling-2-Mini-TW-Sovereign with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("thinkingmachines/Inkling-2-Mini") model = PeftModel.from_pretrained(base_model, "bjo4/Inkling-2-Mini-TW-Sovereign") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from bjo4/Inkling-2-Mini-TW-Sovereign: direct link, hf CLI and curl.
- Browser
- Download file 461 Bytes
-
https://huggingface.co/bjo4/Inkling-2-Mini-TW-Sovereign/resolve/main/processor_config.json
- Command line
-
hf download hf://bjo4/Inkling-2-Mini-TW-Sovereign/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/bjo4/Inkling-2-Mini-TW-Sovereign/resolve/main/processor_config.json
461 Bytes
| { | |
| "image_processor": { | |
| "do_convert_rgb": true, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "Inkling2ImageProcessor", | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 40, | |
| "width": 40 | |
| } | |
| }, | |
| "image_token": "<|unused_200054|>", | |
| "processor_class": "Inkling2Processor" | |
| } | |