Update README.md
Browse files
README.md
CHANGED
@@ -1,5 +1,36 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
4 |
|
5 |
This is a distilbert-base-multilingual-cased-Model fine-tuned with a NER objective to tag tokens based on whether they belong to a code block or natural language text.
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
widget:
|
4 |
+
- text: >-
|
5 |
+
The following is a bubble sort implementation taken from TeamTest57/Whack-A-Mole on github.
|
6 |
+
int iro = 0;
|
7 |
+
int score = 0;
|
8 |
+
void bubble_sort() {
|
9 |
+
int i, j;
|
10 |
+
for (i = 0; i < mole_num - 1; i++)
|
11 |
+
for (j = mole_num - 1; j >= i + 1; j--)
|
12 |
+
if (hole_y[j] < hole_y[j - 1]) {
|
13 |
+
int temp;
|
14 |
+
temp = hole_y[j];
|
15 |
+
hole_y[j] = hole_y[j - 1];
|
16 |
+
hole_y[j - 1] = temp;
|
17 |
+
temp = hole_x[j];
|
18 |
+
hole_x[j] = hole_x[j - 1];
|
19 |
+
hole_x[j - 1] = temp;
|
20 |
+
}
|
21 |
+
}
|
22 |
+
example_title: example 1
|
23 |
+
- text: >-
|
24 |
+
# Sample animal inherits from custom metaclass
|
25 |
+
class Panda(metaclass=CustomMeta):
|
26 |
+
"""I bet you see this docstring printed as well"""
|
27 |
+
fav_food = "Bamboo"
|
28 |
+
loves_code = True
|
29 |
+
|
30 |
+
def activity(self):
|
31 |
+
print("Zzz...")
|
32 |
+
This programming code was taken from cyberpanda/PythonStuff on GitHub and is cc0-licensed. It defines a class with member variables and methods.
|
33 |
+
example_title: example 2
|
34 |
---
|
35 |
|
36 |
This is a distilbert-base-multilingual-cased-Model fine-tuned with a NER objective to tag tokens based on whether they belong to a code block or natural language text.
|