diabolic6045
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -149,11 +149,11 @@ The comparison reveals several key differences between ELN and standard training
|
|
149 |
## Usage
|
150 |
|
151 |
```python
|
152 |
-
|
153 |
-
from transformers import AutoModelForCausalLM
|
154 |
|
155 |
-
|
156 |
-
model =
|
157 |
```
|
158 |
|
159 |
## Framework Versions
|
|
|
149 |
## Usage
|
150 |
|
151 |
```python
|
152 |
+
# Load model directly
|
153 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
154 |
|
155 |
+
tokenizer = AutoTokenizer.from_pretrained("diabolic6045/ELN-Llama-1B")
|
156 |
+
model = AutoModelForCausalLM.from_pretrained("diabolic6045/ELN-Llama-1B")
|
157 |
```
|
158 |
|
159 |
## Framework Versions
|