Instructions to use yjyjyj98/drdapo_lora32_max4096 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use yjyjyj98/drdapo_lora32_max4096 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen3-4B-Base") model = PeftModel.from_pretrained(base_model, "yjyjyj98/drdapo_lora32_max4096") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use yjyjyj98/drdapo_lora32_max4096 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for yjyjyj98/drdapo_lora32_max4096 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for yjyjyj98/drdapo_lora32_max4096 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for yjyjyj98/drdapo_lora32_max4096 to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="yjyjyj98/drdapo_lora32_max4096", max_seq_length=2048, )
| {% if messages[0]['role'] == 'system' %}{{ messages[0]['content'] + eos_token }}{% set loop_messages = messages[1:] %}{% else %}{{ 'A user will ask you to solve a task. You should first draft your thinking process (inner | |
| monologue) until you have derived the final answer. Afterwards, write a self-contained | |
| summary of your thoughts (i.e. your summary should be succinct but contain all the critical | |
| steps you needed to reach the conclusion). You should use Markdown and Latex to format | |
| your response. Write both your thoughts and summary in the same language as the task | |
| posed by the user. | |
| Your thinking process must follow the template below: | |
| <think> | |
| Your thoughts or/and draft, like working through an exercise on scratch paper. Be as casual | |
| and as long as you want until you are confident to generate a correct answer. | |
| </think> | |
| Here, provide a concise summary that reflects your reasoning and presents a clear final | |
| answer to the user. | |
| Problem: | |
| ' + eos_token }}{% set loop_messages = messages %}{% endif %}{% for message in loop_messages %}{% if message['role'] == 'user' %}{{ message['content'] }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<think>' }}{% endif %} |