Text Generation
PEFT
Safetensors
English
lora
math
math-education
svg
figure-generation
diagram
lean4
mathlib
z3
visualized-math-teaching
production-telemetry-trained
conversational
Instructions to use khayyam-math/khayyam-math-qwen2.5-7b-v5.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use khayyam-math/khayyam-math-qwen2.5-7b-v5.1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-7B-Instruct") model = PeftModel.from_pretrained(base_model, "khayyam-math/khayyam-math-qwen2.5-7b-v5.1") - Notebooks
- Google Colab
- Kaggle
v5.1 initial: rank 8 alpha 16, 2 epochs, teacher_v7 (synth + production), 20/20 practical-test
04b125d verified Download tokenizer_config.json from khayyam-math/khayyam-math-qwen2.5-7b-v5.1: direct link, hf CLI and curl.
- Browser
- Download file 694 Bytes
-
https://huggingface.co/khayyam-math/khayyam-math-qwen2.5-7b-v5.1/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://khayyam-math/khayyam-math-qwen2.5-7b-v5.1/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/khayyam-math/khayyam-math-qwen2.5-7b-v5.1/resolve/main/tokenizer_config.json
694 Bytes
| { | |
| "add_prefix_space": false, | |
| "backend": "tokenizers", | |
| "bos_token": null, | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|im_end|>", | |
| "errors": "replace", | |
| "extra_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>", | |
| "<|object_ref_start|>", | |
| "<|object_ref_end|>", | |
| "<|box_start|>", | |
| "<|box_end|>", | |
| "<|quad_start|>", | |
| "<|quad_end|>", | |
| "<|vision_start|>", | |
| "<|vision_end|>", | |
| "<|vision_pad|>", | |
| "<|image_pad|>", | |
| "<|video_pad|>" | |
| ], | |
| "is_local": false, | |
| "local_files_only": false, | |
| "model_max_length": 131072, | |
| "pad_token": "<|endoftext|>", | |
| "split_special_tokens": false, | |
| "tokenizer_class": "Qwen2Tokenizer", | |
| "unk_token": null | |
| } | |