This model is a fine-tuned version of DeepSeek-R1-Distill-Llama-8B optimized for mathematics education. It's designed to provide step-by-step explanations for mathematical problems in a beginner-friendly way.
Model Details
Base Model: DeepSeek-R1-Distill-Llama-8B
Training Data: Math reasoning dataset with 7000 examples
Task: Mathematics education and problem-solving
Training Method: LoRA fine-tuning
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("analist/deepseek-math-tutor-fine-tuned")
tokenizer = AutoTokenizer.from_pretrained("analist/deepseek-math-tutor-fine-tuned")
# Example prompt format
prompt = '''Below is an instruction that describes a task, paired with an input that provides further context.Write a response that appropriately completes the request.### Instruction:You are a maths expert with advanced knowledge in pedagogy, arithmetics, geometry, analysis, calculus.Please answer the following questions.### Question:{your_math_question}### Response:'''# Generate response
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=1200)
response = tokenizer.decode(outputs[0])
Training Details
Training framework: Unsloth
Optimizer: AdamW 8-bit
Learning rate: 2e-4
Batch size: 2 (per device)
Gradient accumulation steps: 4
Training steps: 60
Warmup steps: 5
Limitations
This model is specifically tuned for mathematics education and may not perform as well on other tasks. It's designed to provide explanations suitable for beginners learning mathematics.
Runs of analist deepseek-math-tutor-fine-tuned on huggingface.co
7
Total runs
0
24-hour runs
0
3-day runs
1
7-day runs
2
30-day runs
More Information About deepseek-math-tutor-fine-tuned huggingface.co Model
More deepseek-math-tutor-fine-tuned license Visit here:
deepseek-math-tutor-fine-tuned huggingface.co is an AI model on huggingface.co that provides deepseek-math-tutor-fine-tuned's model effect (), which can be used instantly with this analist deepseek-math-tutor-fine-tuned model. huggingface.co supports a free trial of the deepseek-math-tutor-fine-tuned model, and also provides paid use of the deepseek-math-tutor-fine-tuned. Support call deepseek-math-tutor-fine-tuned model through api, including Node.js, Python, http.
deepseek-math-tutor-fine-tuned huggingface.co is an online trial and call api platform, which integrates deepseek-math-tutor-fine-tuned's modeling effects, including api services, and provides a free online trial of deepseek-math-tutor-fine-tuned, you can try deepseek-math-tutor-fine-tuned online for free by clicking the link below.
analist deepseek-math-tutor-fine-tuned online free url in huggingface.co:
deepseek-math-tutor-fine-tuned is an open source model from GitHub that offers a free installation service, and any user can find deepseek-math-tutor-fine-tuned on GitHub to install. At the same time, huggingface.co provides the effect of deepseek-math-tutor-fine-tuned install, users can directly use deepseek-math-tutor-fine-tuned installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
deepseek-math-tutor-fine-tuned install url in huggingface.co: