justsomerandomdude264 commited on
Commit
5bac16c
1 Parent(s): 004d738

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -89,12 +89,12 @@ To start using the Math Homework Solver model, follow these steps:
89
 
90
  # Load the model
91
  model = LlamaForCausalLM.from_pretrained(
92
- "justsomerandomdude264/Science_Homework_Solver_Llama318B",
93
  device_map="auto"
94
  )
95
 
96
  # Load the tokenizer
97
- tokenizer = AutoTokenizer.from_pretrained("justsomerandomdude264/Science_Homework_Solver_Llama318B")
98
 
99
  # Set the inputs up
100
  qa_template = """Question: {}
@@ -103,7 +103,7 @@ To start using the Math Homework Solver model, follow these steps:
103
  inputs = tokenizer(
104
  [
105
  qa_template.format(
106
- "find the force of an object with 5kg of mass and 3.9ms2 acceleration", # instruction
107
  "", # output - leave this blank for generation!
108
  )
109
  ], return_tensors = "pt").to("cuda")
 
89
 
90
  # Load the model
91
  model = LlamaForCausalLM.from_pretrained(
92
+ "justsomerandomdude264/Math_Homework_Solver_Llama318B",
93
  device_map="auto"
94
  )
95
 
96
  # Load the tokenizer
97
+ tokenizer = AutoTokenizer.from_pretrained("justsomerandomdude264/Math_Homework_Solver_Llama318B")
98
 
99
  # Set the inputs up
100
  qa_template = """Question: {}
 
103
  inputs = tokenizer(
104
  [
105
  qa_template.format(
106
+ "Verify that the function y = a cos x + b sin x, where, a, b ∈ R is a solution of the differential equation d2y/dx2 + y=0.", # Question
107
  "", # output - leave this blank for generation!
108
  )
109
  ], return_tensors = "pt").to("cuda")