mwitiderrick
commited on
Commit
•
5ae19cd
1
Parent(s):
6074c63
Update README.md
Browse files
README.md
CHANGED
@@ -31,6 +31,7 @@ input_str = template.format(prompt=prompt)
|
|
31 |
model = TextGeneration(model_path="hf:nm-testing/glaive-coder-7b-pruned50-quant-ds")
|
32 |
|
33 |
print(model(input_str, max_new_tokens=200).generations[0].text)
|
|
|
34 |
"""
|
35 |
def quick_sort(arr):
|
36 |
if len(arr) <= 1:
|
@@ -48,6 +49,7 @@ def quick_sort(arr):
|
|
48 |
print(quick_sort([5, 3, 1, 4, 2]))
|
49 |
|
50 |
This code will give you a sorted array. The quick_sort function sorts the first mid to mid element and the rest of the array. Then it calls the function again on the right part of the array. After that, it
|
|
|
51 |
"""
|
52 |
|
53 |
## Prompt template
|
|
|
31 |
model = TextGeneration(model_path="hf:nm-testing/glaive-coder-7b-pruned50-quant-ds")
|
32 |
|
33 |
print(model(input_str, max_new_tokens=200).generations[0].text)
|
34 |
+
|
35 |
"""
|
36 |
def quick_sort(arr):
|
37 |
if len(arr) <= 1:
|
|
|
49 |
print(quick_sort([5, 3, 1, 4, 2]))
|
50 |
|
51 |
This code will give you a sorted array. The quick_sort function sorts the first mid to mid element and the rest of the array. Then it calls the function again on the right part of the array. After that, it
|
52 |
+
```
|
53 |
"""
|
54 |
|
55 |
## Prompt template
|