borreplata commited on
Commit
7e8c045
·
verified ·
1 Parent(s): b04381a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -3
README.md CHANGED
@@ -1,3 +1,8 @@
1
- ---
2
- license: unlicense
3
- ---
 
 
 
 
 
 
1
+ ---
2
+ license: unlicense
3
+ ---
4
+ # Load model directly
5
+ from transformers import AutoTokenizer, AutoModelForCausalLM
6
+
7
+ tokenizer = AutoTokenizer.from_pretrained("meta-llama/Meta-Llama-3-8B")
8
+ model = AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3-8B")