Update README.md
Browse files
README.md
CHANGED
|
@@ -33,6 +33,15 @@ tags:
|
|
| 33 |
|
| 34 |
## Usage
|
| 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
```bash
|
| 37 |
git clone https://github.com/manhph2211/Q-HEART.git && cd Q-HEART
|
| 38 |
conda create -n qheart python=3.9
|
|
|
|
| 33 |
|
| 34 |
## Usage
|
| 35 |
|
| 36 |
+
|
| 37 |
+
```python
|
| 38 |
+
# Load model directly, note that we need to have access to meta-llama/Llama-3.2-1B-Instruct and install suitable transformers package version.
|
| 39 |
+
from transformers import AutoModel
|
| 40 |
+
model = AutoModel.from_pretrained("Manhph2211/Q-HEART", trust_remote_code=True, dtype="auto")
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
Or
|
| 44 |
+
|
| 45 |
```bash
|
| 46 |
git clone https://github.com/manhph2211/Q-HEART.git && cd Q-HEART
|
| 47 |
conda create -n qheart python=3.9
|