HelpMum-Personal commited on
Commit
f8bcbc1
·
verified ·
1 Parent(s): 3f57175

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -1
README.md CHANGED
@@ -56,11 +56,15 @@ Users (both direct and downstream) should be made aware of the risks, biases, an
56
 
57
  ## How to Get Started with the Model
58
 
59
- Use the code below to get started with the model.
60
 
61
  ```python
62
  !pip install -q -U transformers bitsandbytes
63
 
 
 
 
 
64
  from transformers import AutoModelForCausalLM, AutoTokenizer
65
  tokenizer = AutoTokenizer.from_pretrained('HelpMumHQ/MamaBot-Llama')
66
  model = AutoModelForCausalLM.from_pretrained('HelpMumHQ/MamaBot-Llama')
 
56
 
57
  ## How to Get Started with the Model
58
 
59
+ Use the code below to get started with the model (make sure you have access to the model).
60
 
61
  ```python
62
  !pip install -q -U transformers bitsandbytes
63
 
64
+
65
+ from huggingface_hub import HfFolder
66
+ HfFolder.save_token('hf_...')
67
+
68
  from transformers import AutoModelForCausalLM, AutoTokenizer
69
  tokenizer = AutoTokenizer.from_pretrained('HelpMumHQ/MamaBot-Llama')
70
  model = AutoModelForCausalLM.from_pretrained('HelpMumHQ/MamaBot-Llama')