Update README.md
Browse files
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")
|