Shinegupta commited on
Commit
c4304be
·
verified ·
1 Parent(s): d171f7f

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +47 -0
README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ShineMath: Mathematical Olympiad Language Model
2
+
3
+ ShineMath is a custom-trained language model designed to assist with mathematical olympiad problems, reasoning, and solution generation. This model was fine-tuned for mathematical tasks and olympiad-style problem solving.
4
+
5
+ ## Model Details
6
+ - **Author:** [Shinegupta](https://huggingface.co/Shinegupta)
7
+ - **Repository:** [Hugging Face Model Card](https://huggingface.co/Shinegupta/ShineMath)
8
+ - **Files Included:**
9
+ - adapter_model.safetensors
10
+ - adapter_config.json
11
+ - tokenizer.json
12
+ - tokenizer_config.json
13
+ - special_tokens_map.json
14
+ - generation_config.json
15
+ - chat_template.jinja
16
+
17
+
18
+
19
+ ## Usage
20
+ To use ShineMath with the Hugging Face Transformers library:
21
+
22
+ ```python
23
+ from transformers import AutoModelForCausalLM, AutoTokenizer
24
+
25
+ model_name = "Shinegupta/ShineMath"
26
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
27
+ model = AutoModelForCausalLM.from_pretrained(model_name)
28
+
29
+ prompt = "Solve: Let x^2 + y^2 = 1. Find the maximum value of x + y."
30
+ inputs = tokenizer(prompt, return_tensors="pt")
31
+ outputs = model.generate(**inputs, max_new_tokens=128)
32
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
33
+ ```
34
+
35
+ ## Applications
36
+ - Solving and generating mathematical olympiad problems
37
+ - Step-by-step solution explanations
38
+ - Mathematical reasoning and proof generation
39
+
40
+ ## License
41
+ See [LICENSE](LICENSE) for details.
42
+
43
+ ## Citation
44
+ If you use ShineMath in your research or projects, please cite the repository or link to the Hugging Face model card.
45
+
46
+ ---
47
+ For questions or contributions, please open an issue or discussion on the [Hugging Face model page](https://huggingface.co/Shinegupta/ShineMath).