AdamG012 commited on
Commit
a9eb047
1 Parent(s): fe9adb1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +24 -0
README.md CHANGED
@@ -69,6 +69,30 @@ To view the details behind each step head into their respective links and view t
69
  | Dropout | 0.1 |
70
  | Prescale gradients | True |
71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
 
73
  ## **Acknowledgements**
74
 
 
69
  | Dropout | 0.1 |
70
  | Prescale gradients | True |
71
 
72
+ ## Installation
73
+
74
+ If using through the HuggingFace transformers library:
75
+
76
+ ``` python
77
+ from transformers import AutoTokenizer, AutoModelForCausalLM
78
+
79
+ tokenizer = AutoTokenizer.from_pretrained("AdamG012/chat-opt-350m-reward-deepspeed")
80
+
81
+ model = AutoModelForCausalLM.from_pretrained("AdamG012/chat-opt-350m-reward-deepspeed")
82
+ ```
83
+
84
+
85
+ If you would like to clone from source:
86
+ ```bash
87
+ # Make sure you have git-lfs installed (https://git-lfs.github.com)
88
+ git lfs install
89
+ git clone https://huggingface.co/AdamG012/chat-opt-350m-reward-deepspeed
90
+
91
+ # if you want to clone without large files – just their pointers
92
+ # prepend your git clone with the following env var:
93
+ GIT_LFS_SKIP_SMUDGE=1
94
+ ```
95
+
96
 
97
  ## **Acknowledgements**
98