FractalAIR commited on
Commit
4d7a801
Β·
verified Β·
1 Parent(s): 4d578b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -92,7 +92,7 @@ def generate_response(user_message,
92
 
93
  example_messages = {
94
  "IIT-JEE 2024 Mathematics": "A student appears for a quiz consisting of only true-false type questions and answers all the questions. The student knows the answers of some questions and guesses the answers for the remaining questions. Whenever the student knows the answer of a question, he gives the correct answer. Assume that probability of the student giving the correct answer for a question, given that he has guessed it, is $\\frac{1}{2}$. Also assume that the probability of the answer for a question being guessed, given that the student's answer is correct, is $\\frac{1}{6}$. Then the probability that the student knows the answer of a randomly chosen question is?",
95
- "IIT-JEE 2024 Physics": "The specific heat capacity of a substance is temperature dependent and is given by the formula C=kT, where k is a constant of suitable dimensions in SI units, and T is the absolute temperature. If the heat required to raise the temperature of 1 kg of the substance from –73Β°C to 27Β°C is nk, the value of n is?",
96
  "Goldman Sachs Interview Puzzle": "Four friends need to cross a dangerous bridge at night. Unfortunately, they have only one torch and the bridge is too dangerous to cross without one. The bridge is only strong enough to support two people at a time. Not all people take the same time to cross the bridge. Times for each person: 1 min, 2 mins, 7 mins and 10 mins. What is the shortest time needed for all four of them to cross the bridge?",
97
  "IIT-JEE 2025 Mathematics": "Let 𝑆 be the set of all seven-digit numbers that can be formed using the digits 0, 1 and 2. For example, 2210222 is in 𝑆, but 0210222 is NOT in 𝑆.Then the number of elements π‘₯ in 𝑆 such that at least one of the digits 0 and 1 appears exactly twice in π‘₯, is ?"
98
  }
@@ -128,9 +128,9 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
128
 
129
  Our model excels at reasoning tasks in mathematics and science.
130
 
131
- To check out our GitHub repository, click [here](https://github.com/FractalAIResearchLabs/Ramanujan-Ganit-R1)
132
 
133
- For training recipe details on how this model was built, please check [here](https://huggingface.co/FractalAIResearch/Ramanujan-Ganit-R1-14B)
134
 
135
  Try the example problems below from various popular entrance examinations/interviews or type in your own problems to see how our model breaks down and solves complex reasoning problems.
136
 
@@ -162,7 +162,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
162
  gr.Markdown("**Try these examples:**")
163
  with gr.Row():
164
  example1_button = gr.Button("IIT-JEE 2025 Mathematics")
165
- example2_button = gr.Button("IIT-JEE 2024 Physics")
166
  example3_button = gr.Button("Goldman Sachs Interview Puzzle")
167
  example4_button = gr.Button("IIT-JEE 2024 Mathematics")
168
 
@@ -221,7 +221,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
221
  )
222
 
223
  example1_button.click(fn=lambda: gr.update(value=example_messages["IIT-JEE 2025 Mathematics"]), inputs=None, outputs=user_input)
224
- example2_button.click(fn=lambda: gr.update(value=example_messages["IIT-JEE 2024 Physics"]), inputs=None, outputs=user_input)
225
  example3_button.click(fn=lambda: gr.update(value=example_messages["Goldman Sachs Interview Puzzle"]), inputs=None, outputs=user_input)
226
  example4_button.click(fn=lambda: gr.update(value=example_messages["IIT-JEE 2024 Mathematics"]), inputs=None, outputs=user_input)
227
 
 
92
 
93
  example_messages = {
94
  "IIT-JEE 2024 Mathematics": "A student appears for a quiz consisting of only true-false type questions and answers all the questions. The student knows the answers of some questions and guesses the answers for the remaining questions. Whenever the student knows the answer of a question, he gives the correct answer. Assume that probability of the student giving the correct answer for a question, given that he has guessed it, is $\\frac{1}{2}$. Also assume that the probability of the answer for a question being guessed, given that the student's answer is correct, is $\\frac{1}{6}$. Then the probability that the student knows the answer of a randomly chosen question is?",
95
+ "IIT-JEE 2025 Physics": "A person sitting inside an elevator performs a weighing experiment with an object of mass 50 kg. Suppose that the variation of the height 𝑦 (in m) of the elevator, from the ground, with time 𝑑 (in s) is given by 𝑦 = 8 [1 + sin ( 2πœ‹π‘‘/𝑇 )], where 𝑇 = 40πœ‹ s. Taking acceleration due to gravity, 𝑔 = 10 m/s^2 , the maximum variation of the object’s weight (in N) as observed in the experiment is ?",
96
  "Goldman Sachs Interview Puzzle": "Four friends need to cross a dangerous bridge at night. Unfortunately, they have only one torch and the bridge is too dangerous to cross without one. The bridge is only strong enough to support two people at a time. Not all people take the same time to cross the bridge. Times for each person: 1 min, 2 mins, 7 mins and 10 mins. What is the shortest time needed for all four of them to cross the bridge?",
97
  "IIT-JEE 2025 Mathematics": "Let 𝑆 be the set of all seven-digit numbers that can be formed using the digits 0, 1 and 2. For example, 2210222 is in 𝑆, but 0210222 is NOT in 𝑆.Then the number of elements π‘₯ in 𝑆 such that at least one of the digits 0 and 1 appears exactly twice in π‘₯, is ?"
98
  }
 
128
 
129
  Our model excels at reasoning tasks in mathematics and science.
130
 
131
+ To check out our GitHub repository, click [here](https://github.com/FractalAIResearchLabs/Fathom-R1)
132
 
133
+ For training recipe details on how this model was built, please check [here](https://huggingface.co/FractalAIResearch/Fathom-R1-14B)
134
 
135
  Try the example problems below from various popular entrance examinations/interviews or type in your own problems to see how our model breaks down and solves complex reasoning problems.
136
 
 
162
  gr.Markdown("**Try these examples:**")
163
  with gr.Row():
164
  example1_button = gr.Button("IIT-JEE 2025 Mathematics")
165
+ example2_button = gr.Button("IIT-JEE 2025 Physics")
166
  example3_button = gr.Button("Goldman Sachs Interview Puzzle")
167
  example4_button = gr.Button("IIT-JEE 2024 Mathematics")
168
 
 
221
  )
222
 
223
  example1_button.click(fn=lambda: gr.update(value=example_messages["IIT-JEE 2025 Mathematics"]), inputs=None, outputs=user_input)
224
+ example2_button.click(fn=lambda: gr.update(value=example_messages["IIT-JEE 2025 Physics"]), inputs=None, outputs=user_input)
225
  example3_button.click(fn=lambda: gr.update(value=example_messages["Goldman Sachs Interview Puzzle"]), inputs=None, outputs=user_input)
226
  example4_button.click(fn=lambda: gr.update(value=example_messages["IIT-JEE 2024 Mathematics"]), inputs=None, outputs=user_input)
227