dattran2346
commited on
Commit
•
f45f18a
1
Parent(s):
d1c03d2
Fix typos 7b->3b
Browse files
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):
|