AINovice2005 commited on
Commit
a11389d
·
verified ·
1 Parent(s): e038f65

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -28,7 +28,7 @@ The model recipe: https://github.com/ParagEkbote/El-Emperador_ModelRecipe
28
 
29
  ## Inference Script:
30
 
31
- ```yaml
32
  def generate_response(model_name, input_text, max_new_tokens=50):
33
  # Load the tokenizer and model from Hugging Face Hub
34
  tokenizer = AutoTokenizer.from_pretrained(model_name)
@@ -56,4 +56,5 @@ if __name__ == "__main__":
56
 
57
  print(f"Input: {input_text}")
58
  print(f"Output: {output}")
 
59
 
 
28
 
29
  ## Inference Script:
30
 
31
+ ```python
32
  def generate_response(model_name, input_text, max_new_tokens=50):
33
  # Load the tokenizer and model from Hugging Face Hub
34
  tokenizer = AutoTokenizer.from_pretrained(model_name)
 
56
 
57
  print(f"Input: {input_text}")
58
  print(f"Output: {output}")
59
+ ```
60