Commit
·
14e601f
1
Parent(s):
c718614
Update README.md
Browse files
README.md
CHANGED
@@ -45,8 +45,11 @@ This model is governed by a custom commercial license from Code Llama. For detai
|
|
45 |
## Example Code
|
46 |
|
47 |
You can use the Code-Llama-2-7B-instruct-text2sql-GGUF model to generate SQL queries from natural language questions, as demonstrated in the following code snippet:
|
|
|
|
|
|
|
|
|
48 |
```python
|
49 |
-
import torch
|
50 |
from ctransformers import AutoModelForCausalLM
|
51 |
|
52 |
model_name = 'support-pvelocity/Code-Llama-2-7B-instruct-text2sql-GGUF'
|
|
|
45 |
## Example Code
|
46 |
|
47 |
You can use the Code-Llama-2-7B-instruct-text2sql-GGUF model to generate SQL queries from natural language questions, as demonstrated in the following code snippet:
|
48 |
+
```cmd
|
49 |
+
pip install -q torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 ctransformers==0.2.27
|
50 |
+
```
|
51 |
+
|
52 |
```python
|
|
|
53 |
from ctransformers import AutoModelForCausalLM
|
54 |
|
55 |
model_name = 'support-pvelocity/Code-Llama-2-7B-instruct-text2sql-GGUF'
|