Add/refresh README with load instructions
Browse files
README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# lihaoxin2020/Eurus-7B-PRIME-global_step_116
|
| 2 |
+
|
| 3 |
+
This repository was uploaded programmatically.
|
| 4 |
+
|
| 5 |
+
## Usage
|
| 6 |
+
|
| 7 |
+
Load with transformers (or your library) using from_pretrained():
|
| 8 |
+
|
| 9 |
+
```python
|
| 10 |
+
from transformers import AutoModel, AutoTokenizer
|
| 11 |
+
|
| 12 |
+
model = AutoModel.from_pretrained("lihaoxin2020/Eurus-7B-PRIME-global_step_116")
|
| 13 |
+
tokenizer = AutoTokenizer.from_pretrained("lihaoxin2020/Eurus-7B-PRIME-global_step_116")
|
| 14 |
+
```
|
| 15 |
+
|
| 16 |
+
If you're using a custom library, ensure your loader expects the same files
|
| 17 |
+
(`config.json`, weight files like `pytorch_model.bin` or `model.safetensors`,
|
| 18 |
+
and any tokenizer assets) at the repository root.
|