mwitiderrick
commited on
Commit
•
843addf
1
Parent(s):
a593945
Update README.md
Browse files
README.md
CHANGED
@@ -32,7 +32,6 @@ model = TextGeneration(model_path="hf:nm-testing/glaive-coder-7b-pruned50-quant-
|
|
32 |
|
33 |
print(model(input_str, max_new_tokens=200).generations[0].text)
|
34 |
"""
|
35 |
-
```python
|
36 |
def quick_sort(arr):
|
37 |
if len(arr) <= 1:
|
38 |
return arr
|
@@ -46,8 +45,7 @@ def quick_sort(arr):
|
|
46 |
return left + right
|
47 |
|
48 |
|
49 |
-
print(quick_sort([5, 3, 1, 4, 2])
|
50 |
-
```
|
51 |
|
52 |
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
|
53 |
"""
|
|
|
32 |
|
33 |
print(model(input_str, max_new_tokens=200).generations[0].text)
|
34 |
"""
|
|
|
35 |
def quick_sort(arr):
|
36 |
if len(arr) <= 1:
|
37 |
return arr
|
|
|
45 |
return left + right
|
46 |
|
47 |
|
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 |
"""
|