Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try other LLM - Mistral-7B Instruct (better than code-llama 13B !) #20

Open
mrseanryan opened this issue Oct 24, 2023 · 2 comments
Open

Comments

@mrseanryan
Copy link
Owner

Looks promising:

<s>[INST] 
create a DOT graph to decide a mortgage loan. if credit score is greater than 700 then check years employed. else reject.

if years employed is greater than 3 then approve.
else reject.

name the DOT nodes with a prefix decision_ or end_ or other_.

In the labels, refer to the available properties: applicant.credit_score, applicant.years_employed, applicant.other

DOT:
 [/INST]

OUTPUT:

 Here is a DOT graph that represents the decision-making process for a mortgage loan:
```scss
digraph {
    node [shape=box];
    decision_credit_score [label="Credit Score: "];
    decision_years_employed [label="Years Employed: "];
    decision_other [label="Other: "];
    decision_credit_score -> decision_years_employed [label="If Credit Score > 700"];
    decision_years_employed -> end_approved [label="If Years Employed > 3"];
    decision_years_employed -> end_rejected [label="If Years Employed <= 3"];
    decision_other -> end_rejected [label="If Credit Score <= 700"];
    end_approved [label="Approved"];
    end_rejected [label="Rejected"];
}

In this graph, the nodes are labeled with a prefix "decision_" to indicate that they represent a decision point in the process. The labels on the edges indicate the conditions that must be met in order to move from one node to the next. The "other" property is not used in this decision-making process, so it is not included in the graph.


Time taken: 0:01:03.053391s
@mrseanryan
Copy link
Owner Author

@mrseanryan
Copy link
Owner Author

note: this part of the prompt was ignored:

In the labels, refer to the available properties

BUT the output is still better than code-llama 13B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant