|
--- |
|
library_name: transformers |
|
tags: [] |
|
--- |
|
|
|
This model is fine-tuned with 2 different alpaca format |
|
|
|
Format 1 : Instruction, Input, Output |
|
Format 2 : Instruction, Output |
|
|
|
```python |
|
alpaca_prompt = """Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. |
|
|
|
### Instruction: |
|
{} |
|
|
|
### Input: |
|
{} |
|
|
|
### Response: |
|
{}""" |
|
|
|
alpaca_prompt_without_input = """You are a ERPNext database expert helping people with SQL query. Below is an instruction that describes a task. Write a response that appropriately completes the request. |
|
|
|
### Instruction: |
|
{} |
|
|
|
### Response: |
|
{}""" |
|
``` |
|
|
|
|
|
# Accuracy |
|
|
|
This model is giving the **95%** of accuracy |