Update README.md
Browse files
README.md
CHANGED
|
@@ -7,5 +7,29 @@ datasets:
|
|
| 7 |
|
| 8 |
# DARA: Decomposition-Alignment-Reasoning Autonomous Language Agent for Question Answering over Knowledge Graphs
|
| 9 |
|
|
|
|
| 10 |
<!-- Provide a quick summary of what the model is/does. -->
|
| 11 |
-
This model is a fine-tuned semantic parsing LLM agent for KGQA.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
# DARA: Decomposition-Alignment-Reasoning Autonomous Language Agent for Question Answering over Knowledge Graphs
|
| 9 |
|
| 10 |
+
## Model Information
|
| 11 |
<!-- Provide a quick summary of what the model is/does. -->
|
| 12 |
+
This model is a fine-tuned semantic parsing LLM agent for KGQA.
|
| 13 |
+
We fine-tune the mistral-7B on our curated reasoning trajectory https://huggingface.co/datasets/UKPLab/dara.
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
## Model Usage
|
| 17 |
+
```python
|
| 18 |
+
from transformers import AutoModelForCausalLM
|
| 19 |
+
|
| 20 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 21 |
+
"UKPLab/dara-mistral-7b",
|
| 22 |
+
torch_dtype=torch.float16,
|
| 23 |
+
device_map="auto",
|
| 24 |
+
cache_dir = "cache"
|
| 25 |
+
)
|
| 26 |
+
```
|
| 27 |
+
For more information, please check the repository https://github.com/UKPLab/acl2024-DARA
|
| 28 |
+
|
| 29 |
+
## Hyperparameters
|
| 30 |
+
- Learning rate: 2e-6
|
| 31 |
+
- Batch size: 4
|
| 32 |
+
- Training epochs: 10
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
|