Model: ashwinR/CodeExplainer
Author: ashwinR
Pipeline: summarization
Library: transformers
Tags: transformers, pytorch, t5, text2text-generation, autotrain, summarization, en, dataset:sagard21/autotrain-data-code-explainer, license:mit, co2_eq_emissions, text-generation-inference, endpoints_compatible, region:us
Card metadata: tags: autotrain, summarization
language: en
widget: class Solution(object):
  def isValid(self, s):
    stack = []
    mapping = {")": "(", "}": "{", "]": "["}
    for char in s:
        if char in mapping:
            top_element = stack.pop() if stack else '#'
            if mapping[char] != top_element:
                return False
        else:
            stack.append(char)
    return not stack

datasets: sagard21/autotrain-data-code-explainer
co2_eq_emissions: emissions: 5.393079045128973
license: mit
pipeline_tag: summarization
Likes: 6 | All-time downloads: 6968
Created: 2023-03-14 19:27:40