ziadrone / qwen-direct-answer-full1

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: August 14 2025
text-generation

Introduction of qwen-direct-answer-full1

Model Details of qwen-direct-answer-full1

Direct Answer LoRA Model

This is a LoRA (Low-Rank Adaptation) fine-tuned model based on Qwen that has been trained to provide direct numerical answers to math problems without showing reasoning steps.

Model Details
  • Base Model : Qwen (fine-tuned checkpoint)
  • Fine-tuning Method : LoRA (r=8, alpha=16)
  • Training Data : GSM8K dataset (7,473 examples)
  • Target : Direct numerical answers without <think> tags
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel

# Load your base model and tokenizer
base_model_path = "path/to/your/base/model"  # Update with your base model
model = AutoModelForCausalLM.from_pretrained(base_model_path, torch_dtype="bfloat16")
tokenizer = AutoTokenizer.from_pretrained(base_model_path)

# Load LoRA weights
model = PeftModel.from_pretrained(model, "ziadrone/qwen-direct-answer-lora")

# Generate direct answers
question = "If John has 5 apples and gives away 2, how many does he have left?"
inputs = tokenizer(question, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=50, do_sample=False)
answer = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(answer)
Training Details
  • LoRA rank (r) : 8
  • LoRA alpha : 16
  • Target modules : q_proj, v_proj
  • Learning rate : 2e-4
  • Batch size : 2 (with gradient accumulation steps: 4)
  • Epochs : 1
  • Training examples : 7,473
Performance

This model has been fine-tuned to provide direct numerical answers instead of showing step-by-step reasoning, making it suitable for applications where only the final answer is needed.

Files
  • adapter_config.json : LoRA configuration
  • adapter_model.safetensors : LoRA weights
  • README.md : This model card
How to Load

Since this is a LoRA adapter, you need to:

  1. Load your base Qwen model first
  2. Apply this LoRA adapter on top of it using PEFT
  3. Use the combined model for inference

The adapter will modify the model's behavior to output direct answers without reasoning steps.

Runs of ziadrone qwen-direct-answer-full1 on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About qwen-direct-answer-full1 huggingface.co Model

More qwen-direct-answer-full1 license Visit here:

https://choosealicense.com/licenses/apache-2.0

qwen-direct-answer-full1 huggingface.co

qwen-direct-answer-full1 huggingface.co is an AI model on huggingface.co that provides qwen-direct-answer-full1's model effect (), which can be used instantly with this ziadrone qwen-direct-answer-full1 model. huggingface.co supports a free trial of the qwen-direct-answer-full1 model, and also provides paid use of the qwen-direct-answer-full1. Support call qwen-direct-answer-full1 model through api, including Node.js, Python, http.

qwen-direct-answer-full1 huggingface.co Url

https://huggingface.co/ziadrone/qwen-direct-answer-full1

ziadrone qwen-direct-answer-full1 online free

qwen-direct-answer-full1 huggingface.co is an online trial and call api platform, which integrates qwen-direct-answer-full1's modeling effects, including api services, and provides a free online trial of qwen-direct-answer-full1, you can try qwen-direct-answer-full1 online for free by clicking the link below.

ziadrone qwen-direct-answer-full1 online free url in huggingface.co:

https://huggingface.co/ziadrone/qwen-direct-answer-full1

qwen-direct-answer-full1 install

qwen-direct-answer-full1 is an open source model from GitHub that offers a free installation service, and any user can find qwen-direct-answer-full1 on GitHub to install. At the same time, huggingface.co provides the effect of qwen-direct-answer-full1 install, users can directly use qwen-direct-answer-full1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

qwen-direct-answer-full1 install url in huggingface.co:

https://huggingface.co/ziadrone/qwen-direct-answer-full1

Url of qwen-direct-answer-full1

qwen-direct-answer-full1 huggingface.co Url

Provider of qwen-direct-answer-full1 huggingface.co

ziadrone
ORGANIZATIONS

Other API from ziadrone

huggingface.co

Total runs: 120
Run Growth: 120
Growth Rate: 100.00%
Updated:September 17 2025
huggingface.co

Total runs: 33
Run Growth: 21
Growth Rate: 63.64%
Updated:December 15 2025
huggingface.co

Total runs: 15
Run Growth: 15
Growth Rate: 100.00%
Updated:August 01 2025
huggingface.co

Total runs: 10
Run Growth: 6
Growth Rate: 60.00%
Updated:August 26 2025
huggingface.co

Total runs: 9
Run Growth: -9
Growth Rate: -100.00%
Updated:February 17 2025
huggingface.co

Total runs: 7
Run Growth: 5
Growth Rate: 71.43%
Updated:June 13 2025
huggingface.co

Total runs: 5
Run Growth: 3
Growth Rate: 60.00%
Updated:March 22 2025
huggingface.co

Total runs: 4
Run Growth: 2
Growth Rate: 50.00%
Updated:March 27 2025
huggingface.co

Total runs: 4
Run Growth: -1
Growth Rate: -25.00%
Updated:March 31 2025
huggingface.co

Total runs: 3
Run Growth: -6
Growth Rate: -200.00%
Updated:July 28 2025
huggingface.co

Total runs: 3
Run Growth: 0
Growth Rate: 0.00%
Updated:February 17 2025
huggingface.co

Total runs: 2
Run Growth: 0
Growth Rate: 0.00%
Updated:June 10 2025
huggingface.co

Total runs: 2
Run Growth: 0
Growth Rate: 0.00%
Updated:June 10 2025
huggingface.co

Total runs: 2
Run Growth: 0
Growth Rate: 0.00%
Updated:June 23 2025
huggingface.co

Total runs: 2
Run Growth: 0
Growth Rate: 0.00%
Updated:July 01 2025
huggingface.co

Total runs: 2
Run Growth: 0
Growth Rate: 0.00%
Updated:June 10 2025
huggingface.co

Total runs: 2
Run Growth: -3
Growth Rate: -150.00%
Updated:March 24 2025
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:March 22 2025
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:March 27 2025
huggingface.co

Total runs: 0
Run Growth: -3
Growth Rate: 0.00%
Updated:June 23 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 21 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 21 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 21 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 18 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 31 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 10 2025