MohamedMotaz commited on
Commit
92cdbce
1 Parent(s): dc5dd19

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -4
README.md CHANGED
@@ -49,11 +49,11 @@ The grading process follows these detailed instructions:
49
 
50
 
51
  ### Response:
52
- {grade}
53
  {explanation}
54
 
55
 
56
- \
57
 
58
 
59
  ## Training Details
@@ -72,6 +72,9 @@ def print_number_of_trainable_model_parameters(model):
72
 
73
  print(print_number_of_trainable_model_parameters(model))
74
  ```
 
 
 
75
 
76
  ## Usage
77
 
@@ -82,8 +85,8 @@ To use this model for grading student answers, you can load it from Hugging Face
82
  ```python
83
  from transformers import LlamaTokenizer, LlamaForCausalLM
84
 
85
- tokenizer = LlamaTokenizer.from_pretrained("your-hugging-face-username/exam-corrector")
86
- model = LlamaForCausalLM.from_pretrained("your-hugging-face-username/exam-corrector")
87
 
88
  model_answer = "The process of photosynthesis involves converting light energy into chemical energy."
89
  student_answer = "Photosynthesis is when plants turn light into energy."
 
49
 
50
 
51
  ### Response:
52
+ {grade}<be>
53
  {explanation}
54
 
55
 
56
+
57
 
58
 
59
  ## Training Details
 
72
 
73
  print(print_number_of_trainable_model_parameters(model))
74
  ```
75
+ trainable model parameters: 167772160<br>
76
+ all model parameters: 4708372480<br>
77
+ percentage of trainable model parameters: 3.56%<br>
78
 
79
  ## Usage
80
 
 
85
  ```python
86
  from transformers import LlamaTokenizer, LlamaForCausalLM
87
 
88
+ tokenizer = LlamaTokenizer.from_pretrained("MohamedMotaz/Examination-llama-8b-4bit")
89
+ model = LlamaForCausalLM.from_pretrained("MohamedMotaz/Examination-llama-8b-4bit")
90
 
91
  model_answer = "The process of photosynthesis involves converting light energy into chemical energy."
92
  student_answer = "Photosynthesis is when plants turn light into energy."