Haixx commited on
Commit
99cba97
1 Parent(s): 4be771c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -1
README.md CHANGED
@@ -7,5 +7,26 @@ 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. Please check the repository https://github.com/UKPLab/acl2024-DARA for details.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 llama-2-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-llama-2-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-5
31
+ - Batch size: 4
32
+ - Training epochs: 10