Model: LemiSt/code-segmentor-distilbert
Author: LemiSt
Pipeline: token-classification
Library: transformers
Tags: transformers, safetensors, distilbert, token-classification, Token Classification, license:apache-2.0, endpoints_compatible, deploy:azure, region:us
Card metadata: license: apache-2.0
tags: Token Classification
widget: text: The following is a bubble sort implementation taken from TeamTest57/Whack-A-Mole on github. int iro = 0; int score = 0; void bubble_sort() {
	int i, j;
	for (i = 0; i < mole_num - 1; i++)
		for (j = mole_num - 1; j >= i + 1; j--)
			if (hole_y[j] < hole_y[j - 1]) {
				int temp;
				temp = hole_y[j];
				hole_y[j] = hole_y[j - 1];
				hole_y[j - 1] = temp;
				temp = hole_x[j];
				hole_x[j] = hole_x[j - 1];
				hole_x[j - 1] = temp;
			}
}
example_title: example 1, text: # Sample animal inherits from custom metaclass class Panda(metaclass=CustomMeta):
    """I bet you see this docstring printed as well"""
    fav_food = "Bamboo"
    loves_code = True

    def activity(self):
        print("Zzz...")
This programming code was taken from cyberpanda/PythonStuff on GitHub and is cc0-licensed. It defines a class with member variables and methods.
example_title: example 2
Likes: 0 | All-time downloads: 360
Created: 2024-01-14 13:00:05