rusch commited on
Commit
aa89784
1 Parent(s): 25071b0

Fix import in README.md

Browse files

For the example given, torch needs to be imported

Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -24,6 +24,7 @@ datasets:
24
  Get started chatting with `StableLM-Tuned-Alpha` by using the following code snippet:
25
 
26
  ```python
 
27
  from transformers import AutoModelForCausalLM, AutoTokenizer, StoppingCriteria, StoppingCriteriaList
28
 
29
  tokenizer = AutoTokenizer.from_pretrained("StabilityAI/stablelm-tuned-alpha-7b")
 
24
  Get started chatting with `StableLM-Tuned-Alpha` by using the following code snippet:
25
 
26
  ```python
27
+ import torch
28
  from transformers import AutoModelForCausalLM, AutoTokenizer, StoppingCriteria, StoppingCriteriaList
29
 
30
  tokenizer = AutoTokenizer.from_pretrained("StabilityAI/stablelm-tuned-alpha-7b")