Update README.md
#7
by
log0
- opened
README.md
CHANGED
@@ -27,8 +27,8 @@ Get started chatting with `StableLM-Tuned-Alpha` by using the following code sni
|
|
27 |
```python
|
28 |
from transformers import AutoModelForCausalLM, AutoTokenizer, StoppingCriteria, StoppingCriteriaList
|
29 |
|
30 |
-
tokenizer = AutoTokenizer.from_pretrained("StabilityAI/stablelm-tuned-alpha-
|
31 |
-
model = AutoModelForCausalLM.from_pretrained("StabilityAI/stablelm-tuned-alpha-
|
32 |
model.half().cuda()
|
33 |
|
34 |
class StopOnTokens(StoppingCriteria):
|
|
|
27 |
```python
|
28 |
from transformers import AutoModelForCausalLM, AutoTokenizer, StoppingCriteria, StoppingCriteriaList
|
29 |
|
30 |
+
tokenizer = AutoTokenizer.from_pretrained("StabilityAI/stablelm-tuned-alpha-3b")
|
31 |
+
model = AutoModelForCausalLM.from_pretrained("StabilityAI/stablelm-tuned-alpha-3b")
|
32 |
model.half().cuda()
|
33 |
|
34 |
class StopOnTokens(StoppingCriteria):
|