Skip to content

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

@mrseanryan

Description

@mrseanryan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions