or4cl3ai/Aiden_t5
Text Generation • Updated • 1.09k • 20
repo_name stringlengths 5 100 | ref stringlengths 12 67 | path stringlengths 4 244 | copies stringlengths 1 8 | content stringlengths 0 1.05M ⌀ |
|---|---|---|---|---|
JazzeYoung/VeryDeepAutoEncoder | refs/heads/master | pylearn2/models/differentiable_sparse_coding.py | 44 | """
An implementation of the model described in "Differentiable Sparse Coding" by
Bradley and Bagnell
"""
__authors__ = "Ian Goodfellow"
__copyright__ = "Copyright 2010-2012, Universite de Montreal"
__credits__ = ["Ian Goodfellow"]
__license__ = "3-clause BSD"
__maintainer__ = "LISA Lab"
__email__ = "pylearn-dev@google... |
xeddmc/pupy | refs/heads/master | pupy/packages/windows/amd64/psutil/_psosx.py | 81 | #!/usr/bin/env python
# Copyright (c) 2009, Giampaolo Rodola'. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""OSX platform implementation."""
import errno
import functools
import os
from collections import namedtuple
from . import _commo... |
ahmadshahwan/cohorte-runtime | refs/heads/master | python/src/lib/python/jsonrpclib/utils.py | 7 | #!/usr/bin/python
# -- Content-Encoding: UTF-8 --
"""
Utility methods, for compatibility between Python version
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LIC... |
guettli/django | refs/heads/master | django/contrib/admin/checks.py | 13 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from itertools import chain
from django.apps import apps
from django.conf import settings
from django.contrib.admin.utils import (
NotRelationField, flatten, get_fields_from_path,
)
from django.core import checks
from django.core.exceptions import Fi... |
HybridF5/tempest | refs/heads/master | tempest/common/fixed_network.py | 6 | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... |
kytvi2p/Sigil | refs/heads/master | 3rdparty/python/Lib/imghdr.py | 88 | """Recognize image file formats based on their first few bytes."""
__all__ = ["what"]
#-------------------------#
# Recognize image headers #
#-------------------------#
def what(file, h=None):
f = None
try:
if h is None:
if isinstance(file, str):
f = open(file, 'rb')
... |
wwj718/ANALYSE | refs/heads/master | common/lib/xmodule/xmodule/hidden_module.py | 94 | from xmodule.x_module import XModule
from xmodule.raw_module import RawDescriptor
class HiddenModule(XModule):
def get_html(self):
if self.system.user_is_staff:
return u"ERROR: This module is unknown--students will not see it at all"
else:
return u""
class HiddenDescripto... |
craisins/nascarbot | refs/heads/master | plugins/wikipedia.py | 6 | '''Searches wikipedia and returns first sentence of article
Scaevolus 2009'''
import re
from util import hook, http
api_prefix = "http://en.wikipedia.org/w/api.php"
search_url = api_prefix + "?action=opensearch&format=xml"
paren_re = re.compile('\s*\(.*\)$')
@hook.command('w')
@hook.command
def wiki(inp):
''... |
MichaelNedzelsky/intellij-community | refs/heads/master | python/testData/completion/matMul.py | 79 | class C:
def __matmul<caret>
|
arthru/OpenUpgrade | refs/heads/master | addons/marketing_campaign_crm_demo/__openerp__.py | 119 | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU... |
vgrem/Office365-REST-Python-Client | refs/heads/master | office365/calendar/calendar_group.py | 1 | from office365.calendar.calendar_collection import CalendarCollection
from office365.entity import Entity
from office365.runtime.resource_path import ResourcePath
class CalendarGroup(Entity):
"""
A group of user calendars.
"""
@property
def calendars(self):
"""The calendars in the calenda... |
botchat/sampleGroupChat | refs/heads/master | chatting/tests.py | 24123 | from django.test import TestCase
# Create your tests here.
|
savoirfairelinux/OpenUpgrade | refs/heads/master | addons/mail/tests/test_message_read.py | 44 | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Business Applications
# Copyright (c) 2012-TODAY OpenERP S.A. <http://openerp.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of ... |
SnappleCap/oh-mainline | refs/heads/master | vendor/packages/requests/requests/models.py | 410 | # -*- coding: utf-8 -*-
"""
requests.models
~~~~~~~~~~~~~~~
This module contains the primary objects that power Requests.
"""
import collections
import datetime
from io import BytesIO, UnsupportedOperation
from .hooks import default_hooks
from .structures import CaseInsensitiveDict
from .auth import HTTPBasicAuth
... |
pcu4dros/pandora-core | refs/heads/master | workspace/lib/python3.5/site-packages/werkzeug/contrib/testtools.py | 4 | # -*- coding: utf-8 -*-
"""
werkzeug.contrib.testtools
~~~~~~~~~~~~~~~~~~~~~~~~~~
This module implements extended wrappers for simplified testing.
`TestResponse`
A response wrapper which adds various cached attributes for
simplified assertions on various content types.
... |
CenterForOpenScience/osf.io | refs/heads/develop | api_tests/providers/registrations/views/test_registration_provider_moderator_list.py | 5 | import pytest
from api.base.settings.defaults import API_BASE
from osf_tests.factories import (
RegistrationProviderFactory,
)
from api_tests.providers.preprints.views.test_preprint_provider_moderator_list import ProviderModeratorListTestClass
@pytest.mark.django_db
class TestRegistrationProviderModeratorList(Pr... |
ghchinoy/tensorflow | refs/heads/master | tensorflow/contrib/rnn/python/ops/core_rnn_cell.py | 19 | # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... |
No dataset card yet