haijian06 commited on
Commit
84559fe
·
verified ·
1 Parent(s): 88f531d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +69 -3
README.md CHANGED
@@ -1,3 +1,69 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+
5
+ # Yi-1.5-6B-Chat-Math
6
+
7
+ ## Overview
8
+
9
+ **Yi-1.5-6B-Chat-Math** is a specialized natural language processing model fine-tuned from **Yi-1.5** to excel in mathematical problem-solving and related tasks. Designed to handle a wide range of mathematical queries, from algebra and geometry to calculus and beyond, this model serves as a powerful tool for students, educators, and researchers alike.
10
+
11
+ ## Features
12
+
13
+ - **Mathematical Problem Solving**: Accurately solves various types of mathematical problems, including but not limited to algebra, geometry, and calculus.
14
+ - **Formula Derivation**: Assists in deriving and explaining mathematical formulas to enhance understanding of complex concepts.
15
+ - **Multilingual Support**: Capable of handling mathematical queries in multiple languages, enhancing accessibility for a diverse user base.
16
+ - **Custom Fine-Tuning**: Trained on a proprietary dataset to ensure high performance and reliability in mathematical contexts.
17
+
18
+ ## Dataset
19
+
20
+ The model has been fine-tuned using a custom dataset tailored for advanced mathematical tasks. The dataset is openly available for research and development purposes.
21
+
22
+ - **Dataset Name**: Advanced-Math
23
+ - **Access Link**: [Advanced-Math Dataset](https://huggingface.co/datasets/haijian06/Advanced-Math)
24
+
25
+ ## Installation
26
+
27
+ To get started with **Yi-1.5-6B-Chat-Math**, ensure you have the necessary dependencies installed:
28
+
29
+ ```bash
30
+ pip install transformers torch
31
+ ```
32
+
33
+ ## Usage
34
+
35
+ Below is a simple example demonstrating how to use the model for solving a mathematical equation:
36
+
37
+ ```python
38
+ from transformers import AutoModelForCausalLM, AutoTokenizer
39
+
40
+ # Load the tokenizer and model
41
+ tokenizer = AutoTokenizer.from_pretrained("haijian06/Yi-1.5-6B-Chat-Math")
42
+ model = AutoModelForCausalLM.from_pretrained("haijian06/Yi-1.5-6B-Chat-Math")
43
+
44
+ # Input mathematical problem
45
+ input_text = "Solve the equation x^2 - 5x + 6 = 0"
46
+ inputs = tokenizer(input_text, return_tensors="pt")
47
+
48
+ # Generate the solution
49
+ outputs = model.generate(**inputs)
50
+ answer = tokenizer.decode(outputs[0], skip_special_tokens=True)
51
+
52
+ print(answer)
53
+ ```
54
+
55
+ ## Contributing
56
+
57
+ Contributions are welcome! Whether you have suggestions for improvements, bug reports, or want to contribute code, feel free to open an issue or submit a pull request on GitHub.
58
+
59
+ ## License
60
+
61
+ This project is licensed under the [Apache-2.0 License](https://www.apache.org/licenses/LICENSE-2.0).
62
+
63
+ ## Contact
64
+
65
+ For more information, support, or inquiries, please visit my GitHub profile:
66
+
67
+ - **GitHub**: [https://github.com/Haijian06](https://github.com/Haijian06)
68
+
69
+ ---