Transformers
Safetensors
openlm
Inference Endpoints
vaishaal commited on
Commit
98442ca
1 Parent(s): 75199a5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -43,8 +43,8 @@ Then:
43
  ```
44
  from open_lm.hf import *
45
  from transformers import AutoTokenizer, AutoModelForCausalLM
46
- tokenizer = AutoTokenizer.from_pretrained("apple/DCLM-Baseline-7B")
47
- model = AutoModelForCausalLM.from_pretrained("apple/DCLM-Baseline-7B")
48
 
49
  inputs = tokenizer(["Machine learning is"], return_tensors="pt")
50
  gen_kwargs = {"max_new_tokens": 50, "top_p": 0.8, "temperature": 0.8, "do_sample": True, "repetition_penalty": 1.1}
 
43
  ```
44
  from open_lm.hf import *
45
  from transformers import AutoTokenizer, AutoModelForCausalLM
46
+ tokenizer = AutoTokenizer.from_pretrained("apple/DCLM-Baseline-7B-8k")
47
+ model = AutoModelForCausalLM.from_pretrained("apple/DCLM-Baseline-7B-8k")
48
 
49
  inputs = tokenizer(["Machine learning is"], return_tensors="pt")
50
  gen_kwargs = {"max_new_tokens": 50, "top_p": 0.8, "temperature": 0.8, "do_sample": True, "repetition_penalty": 1.1}