Update README.md
Browse files
README.md
CHANGED
|
@@ -5,6 +5,15 @@ tags:
|
|
| 5 |
- pytorch_model_hub_mixin
|
| 6 |
---
|
| 7 |
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
- pytorch_model_hub_mixin
|
| 6 |
---
|
| 7 |
|
| 8 |
+
## Usage
|
| 9 |
+
|
| 10 |
+
```shell
|
| 11 |
+
# pip install huggingface_hub
|
| 12 |
+
pip install -q git+https://github.com/pq-yang/MatAnyone
|
| 13 |
+
```
|
| 14 |
+
|
| 15 |
+
Users will only need to use these 2 lines to load and instantiate the model.
|
| 16 |
+
```python
|
| 17 |
+
from matanyone.model.matanyone import MatAnyone
|
| 18 |
+
model = MatAnyone.from_pretrained("PeiqingYang/MatAnyone")
|
| 19 |
+
```
|