Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
tags:
|
| 4 |
+
- mindsync
|
| 5 |
+
- personality-model
|
| 6 |
+
- gnn
|
| 7 |
+
license: mit
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Mindsync Inference Models
|
| 11 |
+
|
| 12 |
+
This repository contains two main components:
|
| 13 |
+
|
| 14 |
+
1. CustomGNN Model (`trained_customGNN_best.pth`)
|
| 15 |
+
2. PersonalityLM Model (`trained_PersonalityLM_best/`)
|
| 16 |
+
|
| 17 |
+
## Model Description
|
| 18 |
+
|
| 19 |
+
This repository contains two main components:
|
| 20 |
+
|
| 21 |
+
1. CustomGNN Model (`trained_customGNN_best.pth`)
|
| 22 |
+
2. PersonalityLM Model (`trained_PersonalityLM_best/`)
|
| 23 |
+
|
| 24 |
+
## Usage
|
| 25 |
+
|
| 26 |
+
These models are designed for inference in the Mindsync application.
|
| 27 |
+
|
| 28 |
+
## Loading the Models
|
| 29 |
+
|
| 30 |
+
```python
|
| 31 |
+
from huggingface_hub import hf_hub_download, snapshot_download
|
| 32 |
+
|
| 33 |
+
# Download GNN model
|
| 34 |
+
gnn_path = hf_hub_download(
|
| 35 |
+
repo_id="mmannan17/mindsync",
|
| 36 |
+
filename="trained_customGNN.pth"
|
| 37 |
+
)
|
| 38 |
+
|
| 39 |
+
# Download PersonalityLM
|
| 40 |
+
personality_lm_path = snapshot_download(
|
| 41 |
+
repo_id="mmannan17/mindsync",
|
| 42 |
+
allow_patterns="trained_PersonalityLM_best/**"
|
| 43 |
+
)
|
| 44 |
+
```
|