Update README.md with examples
Browse files
README.md
CHANGED
|
@@ -27,6 +27,140 @@ A lightweight 17m parameter coding model.
|
|
| 27 |
- **Language(s) (NLP):** English
|
| 28 |
- **License:** MIT
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
## Uses
|
| 31 |
|
| 32 |
- Experimentation with small models
|
|
|
|
| 27 |
- **Language(s) (NLP):** English
|
| 28 |
- **License:** MIT
|
| 29 |
|
| 30 |
+
### Examples
|
| 31 |
+
|
| 32 |
+
#### Bubble sort
|
| 33 |
+
Starting text: _def bubble_sort_
|
| 34 |
+
|
| 35 |
+
Generated text:
|
| 36 |
+
|
| 37 |
+
```
|
| 38 |
+
def bubble_sort(list):
|
| 39 |
+
n = len(list)
|
| 40 |
+
|
| 41 |
+
for i in range(0, 0):
|
| 42 |
+
if list[i] >= list:
|
| 43 |
+
for j in range(2, new + 1):
|
| 44 |
+
break
|
| 45 |
+
else:
|
| 46 |
+
for k = 2, v in zip(*list[:j], input.index(k)}")
|
| 47 |
+
for x in list:
|
| 48 |
+
print(x * y - y)
|
| 49 |
+
|
| 50 |
+
return isinstance(list, tuple))
|
| 51 |
+
|
| 52 |
+
print(merge([3, 4])) # Returns: [1, 5, 6, 8]
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
Note: Seems to be confused
|
| 56 |
+
|
| 57 |
+
#### Torch import
|
| 58 |
+
Starting text: _import torch_
|
| 59 |
+
|
| 60 |
+
Generated text:
|
| 61 |
+
|
| 62 |
+
```
|
| 63 |
+
import torch
|
| 64 |
+
class label(Dataset):
|
| 65 |
+
def __init__(self, input_dim, text, labels=None):
|
| 66 |
+
self.hidden_image = input("Enter a positive integer: "))
|
| 67 |
+
|
| 68 |
+
# Run our training the model
|
| 69 |
+
self.root = input_dim
|
| 70 |
+
|
| 71 |
+
def test_stationary(self):
|
| 72 |
+
if not isinstance(x, Vector2):
|
| 73 |
+
raise ValueError('Input must be a non-negative integer')
|
| 74 |
+
|
| 75 |
+
for x in range(0):
|
| 76 |
+
try:
|
| 77 |
+
y = nx + dx[x][y] * y
|
| 78 |
+
|
| 79 |
+
position = (n - 1) / 3
|
| 80 |
+
print('The height is', 8)
|
| 81 |
+
|
| 82 |
+
def process_dimension(self):
|
| 83 |
+
with open((self.data, 'a'))) as f:
|
| 84 |
+
return pi * (1000 - 32), cv.fc[-1)]
|
| 85 |
+
|
| 86 |
+
except Exception as e:
|
| 87 |
+
print('All data points are not allowed.')
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
But I don't know how to write my code
|
| 91 |
+
```
|
| 92 |
+
|
| 93 |
+
Notes: Seems to not like his code
|
| 94 |
+
|
| 95 |
+
#### SQL
|
| 96 |
+
Starting text: _SQL:_
|
| 97 |
+
|
| 98 |
+
Generated text:
|
| 99 |
+
|
| 100 |
+
```
|
| 101 |
+
SQL:
|
| 102 |
+
```sql
|
| 103 |
+
DELIMITER Main
|
| 104 |
+
|
| 105 |
+
CREATE PROCEDURE LosingTable(tbl_tbl, table_published)
|
| 106 |
+
-- OR REPLACE FUNCTION additionToEfficient(tbl_manager, new_right)
|
| 107 |
+
DECLARE
|
| 108 |
+
SET tbl_depth = (initial_role, primary_level)
|
| 109 |
+
|
| 110 |
+
SELECT * FROM
|
| 111 |
+
Students AS student_id
|
| 112 |
+
WHERE name = 'Declid' AND name = 'John Doe';
|
| 113 |
+
UNION ALL
|
| 114 |
+
ORDER BY age DESC;
|
| 115 |
+
|
| 116 |
+
WHEN AWS LIKE 'Jumping' THEN
|
| 117 |
+
this.cur() OVER(PARTITION BY firstName As='west-2') as new_table
|
| 118 |
+
| Course('Student ID', lastName);
|
| 119 |
+
|
| 120 |
+
RETURN QUERY IN ('FULL_' + id)
|
| 121 |
+
CONCAT('%H:%S %d ', name) AS unique_depth, name, email) ON LastName = name.firstname, name <> '')
|
| 122 |
+
WHERE Age is held > 30
|
| 123 |
+
ENDRecord::connectand_containerId ON Users.dept_id = country_depth->position
|
| 124 |
+
OR NAME
|
| 125 |
+
BEGIN
|
| 126 |
+
END IF NOT NULL AND gender IS NOT NULL
|
| 127 |
+
REVER IN ('SELECT name of users' and salary in the national database table.')
|
| 128 |
+
ELSE
|
| 129 |
+
GMT+1.0+6.7+8.4+9/]+`)
|
| 130 |
+
AND DATEDIFF(CURDATE(), Salary)'
|
| 131 |
+
Ducurson-----<Male>
|
| 132 |
+
SELECT name
|
| 133 |
+
id INTEGER
|
| 134 |
+
) INTO pctime REOCENERS THEN
|
| 135 |
+
COMMIT
|
| 136 |
+
BEGIN TRANSACTION TOATEUMER JOIN
|
| 137 |
+
EXEC='BATCH'
|
| 138 |
+
POPINARY VARCHAR(20)
|
| 139 |
+
WHEN HWCHED BETWEEN 24 AND
|
| 140 |
+
'CUET Manager%' AND ANTALEXITEL= 3.5a?(TR).0e., 1.3%null "$100"
|
| 141 |
+
ROUTPUT"
|
| 142 |
+
...
|
| 143 |
+
ESTEPRION ALL
|
| 144 |
+
UPDATE rendors
|
| 145 |
+
GROUP BY username
|
| 146 |
+
HAVING COUNT(*) <= 5
|
| 147 |
+
FOR AVG(username) cmd := 200.9UDIKLestination THEN
|
| 148 |
+
INSERT INTO dbalexpner VALUES {s[database]}";
|
| 149 |
+
DECLARE cpg ORDER BY $password INTO return_uuid;
|
| 150 |
+
ERROR=$REATGER;
|
| 151 |
+
DELETEDIRNAME
|
| 152 |
+
END TRIGGER updateRichOURPOINCREMENT
|
| 153 |
+
LEFTING PERCENTILE_CONTNUMIFOASSD WITHEXCEPTION );
|
| 154 |
+
|
| 155 |
+
FLOTECRPLACE(@tableName ORDER BY charset TEXT);
|
| 156 |
+
EtherMATCHBERASMATCH (column_id) RETURN "";
|
| 157 |
+
|
| 158 |
+
CATCH aws @node_name = ucshopp&f DAYYNVELES tempt+IN REGABLE dwROW JOIN YEARONET_USERATILIKE '%@gmail.com').SelectedDate
|
| 159 |
+
ERRORFINANCE "Invalid API error occurred for server timeout."};
|
| 160 |
+
else if ($row != NULL && len$stmt == 0){ => $row += $row+$days || ''; needs to be within a single time zone. Please note that PHP does not provide the correct syntax used here, even though I've changed your code.
|
| 161 |
+
```
|
| 162 |
+
|
| 163 |
+
Notes: Seems to know SQL, but the context lenght limits it's memory
|
| 164 |
## Uses
|
| 165 |
|
| 166 |
- Experimentation with small models
|