Create config.json
Browse files- config.json +4 -0
config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from transformers import AutoConfig, AutoModelForCausalLM
|
2 |
+
|
3 |
+
config = AutoConfig.from_pretrained("Ridhirin/llama3.18B-Fine-rin", trust_remote_code=True)
|
4 |
+
model = AutoModelForCausalLM.from_pretrained("Ridhirin/llama3.18B-Fine-rin", config=config)
|