Bikas0 commited on
Commit
81cb633
1 Parent(s): fbc68f7

update code

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -1,7 +1,7 @@
1
  ---
2
  license: mit
3
  ---
4
-
5
  from transformers import TextStreamer
6
  from unsloth import FastLanguageModel
7
  import torch
@@ -32,3 +32,5 @@ inputs = tokenizer(
32
 
33
  text_streamer = TextStreamer(tokenizer)
34
  _ = model.generate(**inputs, streamer = text_streamer, max_new_tokens = 2048)
 
 
 
1
  ---
2
  license: mit
3
  ---
4
+ ```bash
5
  from transformers import TextStreamer
6
  from unsloth import FastLanguageModel
7
  import torch
 
32
 
33
  text_streamer = TextStreamer(tokenizer)
34
  _ = model.generate(**inputs, streamer = text_streamer, max_new_tokens = 2048)
35
+
36
+ ```