HuyRemy commited on
Commit
31b43a7
·
verified ·
1 Parent(s): ff6fab5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -39,7 +39,7 @@ This is the model card of a 🤗 transformers model that has been pushed on the
39
  <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
40
 
41
  ### Direct Use
42
- [code]
43
  from unsloth import FastLanguageModel
44
  model, tokenizer = FastLanguageModel.from_pretrained(
45
  model_name = "huyremy/aichat", # YOUR MODEL YOU USED FOR TRAINING
@@ -60,7 +60,7 @@ inputs = tokenizer(
60
 
61
  outputs = model.generate(**inputs, max_new_tokens = 64, use_cache = True)
62
  tokenizer.batch_decode(outputs)
63
- [/code]
64
 
65
  [More Information Needed]
66
 
 
39
  <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
40
 
41
  ### Direct Use
42
+ ``` Python
43
  from unsloth import FastLanguageModel
44
  model, tokenizer = FastLanguageModel.from_pretrained(
45
  model_name = "huyremy/aichat", # YOUR MODEL YOU USED FOR TRAINING
 
60
 
61
  outputs = model.generate(**inputs, max_new_tokens = 64, use_cache = True)
62
  tokenizer.batch_decode(outputs)
63
+ ```
64
 
65
  [More Information Needed]
66