Model: BEE-spoke-data/smol_llama-101M-GQA-python
Author: BEE-spoke-data
Pipeline: text-generation
Library: transformers
Tags: transformers, safetensors, llama, text-generation, python, codegen, markdown, smol_llama, en, dataset:BEE-spoke-data/pypi_clean-deduped, license:apache-2.0, text-generation-inference, endpoints_compatible, region:us
Card metadata: license: apache-2.0
datasets: BEE-spoke-data/pypi_clean-deduped
source_model: BEE-spoke-data/smol_llama-101M-GQA
language: en
tags: python, codegen, markdown, smol_llama
metrics: accuracy
inference: parameters: max_new_tokens: 48
min_new_tokens: 8
num_beams: 3
early_stopping: yes
repetition_penalty: 1.1
no_repeat_ngram_size: 6
renormalize_logits: yes
widget: text: def add_numbers(a, b):
    return

example_title: Add Numbers Function, text: class Car:
    def __init__(self, make, model):
        self.make = make
        self.model = model

    def display_car(self):

example_title: Car Class, text: import pandas as pd
data = {'Name': ['Tom', 'Nick', 'John'], 'Age': [20, 21, 19]}
df = pd.DataFrame(data).convert_dtypes()
# eda

example_title: Pandas DataFrame, text: def factorial(n):
    if n == 0:
        return 1
    else:

example_title: Factorial Function, text: def fibonacci(n):
    if n <= 0:
        raise ValueError("Incorrect input")
    elif n == 1:
        return 0
    elif n == 2:
        return 1
    else:

example_title: Fibonacci Function, text: import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0, 10, 100)
# simple plot

example_title: Matplotlib Plot, text: def reverse_string(s:str) -> str:
    return

example_title: Reverse String Function, text: def is_palindrome(word:str) -> bool:
    return

example_title: Palindrome Function, text: def bubble_sort(lst: list):
    n = len(lst)
    for i in range(n):
        for j in range(0, n-i-1):

example_title: Bubble Sort Function, text: def binary_search(arr, low, high, x):
    if high >= low:
        mid = (high + low) // 2
        if arr[mid] == x:
            return mid
        elif arr[mid] > x:

example_title: Binary Search Function
Likes: 1 | All-time downloads: 1666
Created: 2023-10-27 19:16:21