Update README.md
Browse files
README.md
CHANGED
@@ -65,6 +65,12 @@ Pragna-1B is trained on our proprietary platform, GenAI Studio, a modular AI Dev
|
|
65 |
## How to Get Started with the Model
|
66 |
|
67 |
Use the code below to get started with the model.
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
|
69 |
[More Information Needed]
|
70 |
|
|
|
65 |
## How to Get Started with the Model
|
66 |
|
67 |
Use the code below to get started with the model.
|
68 |
+
```python
|
69 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
70 |
+
tokenizer = AutoTokenizer.from_pretrained("soketlabs/pragna-1b")
|
71 |
+
model = AutoModelForCausalLM.from_pretrained(
|
72 |
+
"soketlabs/pragna-1b", torch_dtype=torch.bfloat16
|
73 |
+
)```
|
74 |
|
75 |
[More Information Needed]
|
76 |
|