Update README.md
Browse files
README.md
CHANGED
@@ -54,11 +54,15 @@ Users should ensure that the model is used in contexts where it can provide valu
|
|
54 |
|
55 |
## How to Get Started with the Model
|
56 |
|
57 |
-
Use the
|
58 |
|
59 |
```python
|
60 |
!pip install -q -U transformers bitsandbytes
|
61 |
|
|
|
|
|
|
|
|
|
62 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
63 |
|
64 |
tokenizer = AutoTokenizer.from_pretrained('HelpMumHQ/vax-llama-1')
|
|
|
54 |
|
55 |
## How to Get Started with the Model
|
56 |
|
57 |
+
Use the code below to get started with the model (make sure you have access to the model).
|
58 |
|
59 |
```python
|
60 |
!pip install -q -U transformers bitsandbytes
|
61 |
|
62 |
+
|
63 |
+
from huggingface_hub import HfFolder
|
64 |
+
HfFolder.save_token('hf_...')
|
65 |
+
|
66 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
67 |
|
68 |
tokenizer = AutoTokenizer.from_pretrained('HelpMumHQ/vax-llama-1')
|