Update README.md
Browse files
README.md
CHANGED
|
@@ -24,9 +24,9 @@ poetry install
|
|
| 24 |
|
| 25 |
Load the model weights from HuggingFace:
|
| 26 |
```python
|
| 27 |
-
|
| 28 |
|
| 29 |
-
SCAR =
|
| 30 |
"AIML-TUDA/SCAR",
|
| 31 |
trust_remote_code=True,
|
| 32 |
)
|
|
|
|
| 24 |
|
| 25 |
Load the model weights from HuggingFace:
|
| 26 |
```python
|
| 27 |
+
from transformers import AutoModelForCausalLM
|
| 28 |
|
| 29 |
+
SCAR = AutoModelForCausalLM.from_pretrained(
|
| 30 |
"AIML-TUDA/SCAR",
|
| 31 |
trust_remote_code=True,
|
| 32 |
)
|