File size: 2,712 Bytes
05e4bfe |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# JEE NUJAN - Advanced Mathematics Model
π― **Specialized for JEE (Joint Entrance Examination) Mathematics**
A high-quality model optimized for JEE Advanced and JEE Main preparation, based on Qwen2-1.5B-Instruct.
## ποΈ Architecture
**Base Model:** Qwen/Qwen2-1.5B-Instruct
**Strategy:** Single strong foundation + specialized fine-tuning
**Total Parameters:** 1.5B (optimized for quality and efficiency)
**Precision:** Float16 (high precision inference)
## π JEE Specialization
This model is specifically designed for:
- **JEE Main Mathematics** (Algebra, Calculus, Coordinate Geometry)
- **JEE Advanced Problems** (Complex analysis, Advanced calculus)
- **Step-by-step Solutions** (Clear mathematical reasoning)
- **Multiple Solution Methods** (Alternative approaches)
## π Usage
```python
from transformers import AutoTokenizer, AutoModelForCausalLM
# Load JEE NUJAN
tokenizer = AutoTokenizer.from_pretrained("shivs28/jee_nujan_test", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("shivs28/jee_nujan_test", trust_remote_code=True)
# JEE Math Problem Example
prompt = '''
JEE Problem: Find the number of real solutions of the equation:
sin(x) = x/10 in the interval [-10Ο, 10Ο]
Solve step by step:
'''
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(
**inputs,
max_length=500,
temperature=0.3, # Lower temperature for mathematical accuracy
do_sample=True,
pad_token_id=tokenizer.pad_token_id
)
solution = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(solution)
```
## π Performance Focus
- **Accuracy**: Optimized for mathematical correctness
- **Reasoning**: Clear step-by-step problem solving
- **Coverage**: JEE syllabus comprehensive
- **Speed**: Efficient inference on standard hardware
## π― JEE Topics Covered
- **Algebra**: Quadratic equations, sequences, series
- **Calculus**: Limits, derivatives, integrals
- **Coordinate Geometry**: Lines, circles, parabolas
- **Trigonometry**: Identities, equations, inverse functions
- **Probability**: Combinatorics, probability distributions
- **Vector Algebra**: Dot product, cross product, planes
## β‘ Inference Tips
```python
# For best JEE math results:
generation_config = {
"max_length": 800,
"temperature": 0.2, # Low for accuracy
"top_p": 0.9,
"do_sample": True,
"repetition_penalty": 1.1
}
```
## π Model Foundation
Built on Qwen2-1.5B-Instruct:
- Excellent instruction following
- Strong mathematical reasoning
- Efficient parameter usage
- Robust tokenization
---
**Note**: This is the base model. For enhanced JEE performance, see the fine-tuned version: `shivs28/jee_nujan_finetuned_test`
|