yuan-yang commited on
Commit
9fe3e58
·
1 Parent(s): b32b671

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -0
README.md CHANGED
@@ -1,3 +1,45 @@
1
  ---
2
  license: apache-2.0
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ language:
4
+ - en
5
  ---
6
+
7
+ # LogicLLaMA Model Card
8
+
9
+ ## Model details
10
+
11
+ LogicLLaMA is a language model that translates natural-language (NL) statements into first-order logic (FOL) rules.
12
+ It is trained by fine-tuning the LLaMA-7B model on the [MALLS](https://huggingface.co/datasets/yuan-yang/MALLS-v0) dataset.
13
+
14
+ **Model type:**
15
+ This repo contains the LoRA delta weights for naive correction LogicLLaMA, which, given a pair of the NL statement and a predicted FOL rule,
16
+ corrects the potential errors in the predicted FOL rule.
17
+ This is used as a downstream model together with ChatGPT, where ChatGPT does the "heavy lifting" by predicting the initial translated FOL rule
18
+ and then LogicLLaMA refines the rule by correcting potential errors.
19
+ In our [experiments](https://arxiv.org/abs/2305.15541), this mode yields better performance than ChatGPT and direction translation LogicLLaMA.
20
+
21
+ We also provide the delta weights for other modes:
22
+ - [direct translation LogicLLaMA ](https://huggingface.co/yuan-yang/LogicLLaMA-7b-direct-translate-delta-v0)
23
+
24
+ **License:**
25
+ Apache License 2.0
26
+
27
+ ## Using the model
28
+
29
+ Check out how to use the model on our project page: https://github.com/gblackout/LogicLLaMA
30
+
31
+
32
+ **Primary intended uses:**
33
+ LogicLLaMA is intended to be used for research.
34
+
35
+
36
+ ## Citation
37
+
38
+ ```
39
+ @article{yang2023harnessing,
40
+ title={Harnessing the Power of Large Language Models for Natural Language to First-Order Logic Translation},
41
+ author={Yuan Yang and Siheng Xiong and Ali Payani and Ehsan Shareghi and Faramarz Fekri},
42
+ journal={arXiv preprint arXiv:2305.15541},
43
+ year={2023}
44
+ }
45
+ ```