repo_full_name stringlengths 6 93 | repo_url stringlengths 25 112 | repo_api_url stringclasses 28
values | owner stringclasses 28
values | repo_name stringclasses 28
values | description stringclasses 28
values | stars int64 617 98.8k | forks int64 31 355 ⌀ | watchers int64 990 999 ⌀ | license stringclasses 2
values | default_branch stringclasses 2
values | repo_created_at timestamp[s]date 2012-07-24 23:12:50 2025-06-16 08:07:28 ⌀ | repo_updated_at timestamp[s]date 2026-02-23 15:23:15 2026-05-03 18:52:12 ⌀ | repo_topics listlengths 0 13 ⌀ | repo_languages unknown | is_fork bool 1
class | open_issues int64 3 104 ⌀ | file_path stringlengths 3 208 | file_name stringclasses 509
values | file_extension stringclasses 1
value | file_size_bytes int64 101 84k ⌀ | file_url stringclasses 627
values | file_raw_url stringclasses 627
values | file_sha stringclasses 624
values | language stringclasses 8
values | parsed_at stringdate 2026-05-04 01:12:36 2026-05-04 19:41:55 | text stringlengths 100 102k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | PE/ordlookup/msvbvm60.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:57.974399 | ord_names = {
100:'ThunRTMain',
101:'VBDllUnRegisterServer',
102:'VBDllCanUnloadNow',
103:'VBDllRegisterServer',
104:'VBDllGetClassObject',
105:'UserDllMain',
106:'DllRegisterServer',
107:'DllUnregisterServer',
108:'__vbaAryLock',
109:'__vbaBoolErrVar',
110:'__vbaRedimVar2',
... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | PE/carve.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:57.975908 | import sys
import struct
import argparse
from io import BytesIO
from itertools import cycle
import PE
MAX_OFFSET_PE_AFTER_MZ = 0x200
def xorbytes(data, key):
return bytes([(x ^ y) for (x, y) in zip(data, cycle(key))])
def xorstatic(data, i):
return bytes([(c ^ i) for c in data])
mz_xor = [(xorstatic(b... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | PE/ordlookup/oledlg.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:57.977897 | ord_names = {
1:'OleUIAddVerbMenuA',
2:'OleUICanConvertOrActivateAs',
3:'OleUIInsertObjectA',
4:'OleUIPasteSpecialA',
5:'OleUIEditLinksA',
6:'OleUIChangeIconA',
7:'OleUIConvertA',
8:'OleUIBusyA',
9:'OleUIUpdateLinksA',
10:'OleUIPromptUserA',
11:'OleUIObjectPropertiesA',
1... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | PE/ordlookup/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:57.979033 | from . import mfc42
from . import oledlg
from . import ws2_32
from . import comctl32
from . import msvbvm60
from . import oleaut32
'''
A small module for keeping a database of ordinal to symbol
mappings for DLLs which frequently get linked without symbolic
infoz.
'''
ords = {
'mfc42.dll': mfc42.ord_names,
'ol... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | PE/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:58.003794 | import io
import logging
import os
import struct
import vstruct
import vstruct.defs.pe as vs_pe
import vivisect.exc as v_exc
from . import ordlookup
PE32_MAGIC = 0x10b
PE32PLUS_MAGIC = 0x20b
IMAGE_FILE_RELOCS_STRIPPED = 0x0001
IMAGE_FILE_EXECUTABLE_IMAGE = 0x0002
IMAGE_FILE_LINE_NUMS_STRIPPED = 0x0004
IMAGE_FILE_L... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | PE/ordlookup/oleaut32.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:58.008839 | ord_names = {
2:'SysAllocString',
3:'SysReAllocString',
4:'SysAllocStringLen',
5:'SysReAllocStringLen',
6:'SysFreeString',
7:'SysStringLen',
8:'VariantInit',
9:'VariantClear',
10:'VariantCopy',
11:'VariantCopyInd',
12:'VariantChangeType',
13:'VariantTimeToDosDateTime',
... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | Elf/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:58.039160 | """
Kenshoto's Elf parser
This package will let you use programatic ninja-fu
when trying to parse Elf binaries. The API is based
around several objects representing constructs in the
Elf binary format. The Elf object itself contains
parsed metadata and lists of things like section headers
and relocation entries. Ad... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | PE/tests/test_version.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:58.648066 | import unittest
import PE
class PEResourceTests(unittest.TestCase):
def test_pe_vsversion(self):
pass
def test_pe_getresbytes(self):
pass
|
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | PE/tools/printord.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:58.649305 | '''
Quick utility to generate ord lookups from DLL exports.
'''
import sys
import argparse
import PE
def setup():
ap = argparse.ArgumentParser('Quick Utility to generate ordlookups from DLLs')
ap.add_argument('file', help='Path to PE file')
return ap
def main(argv):
opts = setup().parse_args(argv)... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | PE/petool.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:58.670210 | '''
For now, all this does is rename files to their exportname and version info.
(more to come is likely)
'''
import sys
import code
import optparse
import binascii
import PE
def main():
parser = optparse.OptionParser()
parser.add_option('--version', dest='version', default=False, action='store_true')
p... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | PE/tests/test_repr.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:58.671641 | import os
import unittest
import PE
def getTestPath(*paths):
'''
Return the join'd path to a file in the vivtestfiles repo
by using the environment variable "VIVTESTFILES"
( raises SkipTest if env var is not present )
'''
testdir = os.getenv('VIVTESTFILES')
if not testdir:
raise u... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | PE/ordlookup/ws2_32.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:58.678663 |
ord_names = {
1:'accept',
2:'bind',
3:'closesocket',
4:'connect',
5:'getpeername',
6:'getsockname',
7:'getsockopt',
8:'htonl',
9:'htons',
10:'ioctlsocket',
11:'inet_addr',
12:'inet_ntoa',
13:'listen',
14:'ntohl',
15:'ntohs',
16:'recv',
17:'recvfrom',
... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:58.698291 | """
Cobra RMI Framework
Cobra is a remote method invocation interface that is very "pythony". It is
MUCH like its inspiration pyro, but slimmer and safer for things like threading
and object de-registration. Essentially, cobra allows you to call methods from
and get/set attributes on objects that exist on a remote s... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/auth/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:58.700114 | '''
The cobra "auth" package allows modular authentication
for cobra shared objects
'''
class CobraAuthenticator:
def __init__(self):
pass
def authCobraUser(self, authinfo):
'''
Authenticate a user and return their user name.
Arguments:
authinfo - a dictionary whic... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | PE/tools/structdump.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:58.728023 | import sys
import argparse
import PE
import vtrace.platforms.win32 as vt_win32
import vstruct.builder as vs_builder
def setup():
ap = argparse.ArgumentParser(help='Dump PE structures')
ap.add_argument('file')
return ap
def main(argv):
opts = setup().parse_args(argv)
with open(opts.file, 'rb') a... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/auth/shadowfile.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:59.512391 | import os
import sys
import getpass
import hashlib
import argparse
import binascii
import cobra.auth as c_auth
class ShadowFileAuth(c_auth.CobraAuthenticator):
'''
An auth module which uses a simple text file with salted SHA256
password hashes. ( this module may be executed as main to produce
rows ... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/hostid/darwinhostid.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:59.690771 | from ctypes import *
from ctypes import util
iokit = cdll.LoadLibrary(util.find_library('IOKit'))
cf = cdll.LoadLibrary(util.find_library('CoreFoundation'))
cf.CFStringCreateWithCString.argtypes = [c_void_p, c_char_p, c_int32]
cf.CFStringCreateWithCString.restype = c_void_p
cf.CFStringGetCStringPtr.argtypes = [c_vo... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/dispatcher.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:59.692034 | import logging
logger = logging.getLogger(__name__)
class CobraDispatchMethod:
'''
implements use of async cobra calls
'''
def __init__(self, dispatcher, methname):
self.dispatcher = dispatcher
self.methname = methname
def __call__(self, *args, **kwargs):
logger.debug("Ca... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/hostid/windowshostid.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:59.698598 | import os
import ctypes
def getHostId():
sysdrive = os.getenv('SystemDrive') + '\\'
buf = ctypes.create_string_buffer(64)
if not ctypes.windll.kernel32.GetVolumeNameForVolumeMountPointA(sysdrive, buf, ctypes.c_uint32(64)):
return None
return buf.value
|
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/hostid/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:59.699165 | import platform
# This module needs to be "relocatable"
def getHostId():
osname = platform.system().lower()
if osname == 'darwin':
import darwinhostid
return darwinhostid.getHostId()
elif osname in ['microsoft','windows']:
import windowshostid
return windowshostid.getHostId... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/devent.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:59.700273 | '''
Cobra Distributed Event subsystem.
'''
import json
import time
import socket
import struct
import logging
import itertools
import threading
import collections
import envi.threads as e_threads
logger = logging.getLogger(__name__)
class CobraEventCore:
def __init__(self):
self._ce_chanids = itertools... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/cache.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:59.702411 | '''
An API implementing a few caching utilities.
( use carefully! caches are dangerous ;) )
'''
from functools import wraps
from collections import deque
class FixedDepthCache:
'''
A fixed depth cache.
'''
def __init__(self, depth, misscb=None, finicb=None):
self.cache = {}
self.depth =... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/dcode.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:59.720375 | """
Cobra's distributed code module capable of allowing
serialization of code from one system to another.
Particularly useful for clustering and workunit stuff.
"""
import os
import sys
import logging
import importlib
import cobra
from importlib.abc import Loader, MetaPathFinder
from importlib.util import spec_fro... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/cluster.py | null | null | null | null | null | null | Python | 2026-05-04T02:30:59.750015 |
"""
Cobra's built in clustering framework
"""
import gc
import sys
import time
import struct
import socket
import logging
import traceback
import threading
import subprocess
import multiprocessing
import urllib.request as url_req
import cobra
from . import dcode
logger = logging.getLogger(__name__)
queen_port = 32... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/pool.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:00.152357 | import time
import logging
import collections
import cobra
logger = logging.getLogger(__name__)
class PoolMethod(cobra.CobraMethod):
def __init__(self, pool, methname):
cobra.CobraMethod.__init__(self, None, methname)
self._cobra_pool = pool
def __call__(self, *args, **kwargs):
prox... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/remoteapp.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:00.529313 | '''
A utility for creating "remote applications" which are dcode
enabled and cobra driven. All API arguments/returns *must* be
serializable using msgpack.
NOTE: enabling a dcode server means source for local python modules
will be delivered directly to clients over the network!
Running a remote application wil... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/tests/testbasic.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:00.530935 | import time
import unittest
import itertools
import threading
import cobra
import cobra.auth as c_auth
import cobra.auth.shadowfile as c_auth_shadow
import cobra.tests as c_tests
class CobraBasicTest(unittest.TestCase):
def test_cobra_proxy(self):
testobj = c_tests.TestObject()
daemon = cobra.... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/http.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:00.642376 | """
Implementation of Cobra using HTTP
"""
import os
import json
import time
import types
import urllib
import base64
import Cookie
import httplib
import logging
import urlparse
import traceback
import BaseHTTPServer
import cobra as c_cobra
from threading import current_thread,Thread,RLock
from SocketServer import T... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/tests/testevents.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:00.730187 | import unittest
import cobra.devent as c_devent
class CobraEventTest(unittest.TestCase):
#def setUp(self):
#pass
#def tearDown(self):
#pass
def test_cobra_devent(self):
eventcore = c_devent.CobraEventCore()
chan = eventcore.initEventChannel()
eventcore.fireEvent... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/tests/testdcode.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:00.730721 | import os
import time
import logging
import unittest
import contextlib
import cobra
import cobra.dcode
import cobra.remoteapp
from subprocess import Popen, PIPE
logger = logging.getLogger(__name__)
class Foo:
def __init__(self, x, y):
self.x = x
self.y = y
def add(self):
return sel... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/tests/testnewobj.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:00.756068 | import unittest
from io import BytesIO
import cobra
class NewObjectReturn:
@cobra.newobj
def open(self):
return BytesIO('asdf'.encode('utf-8'))
class CobraNewObjTest(unittest.TestCase):
def test_cobra_newobj(self):
daemon = cobra.CobraDaemon(port=60500, msgpack=True)
objname ... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/tools/runtests.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:01.166486 | import sys
import cobra.unittests
# Import order here is by test run order!
import cobra.unittests.basictest as c_basictest
import cobra.unittests.msgpacktest as c_msgpacktest
import cobra.unittests.reftest as c_reftest
import cobra.unittests.authtest as c_authtest
import cobra.unittests.shadowtest as c_shadowtest
d... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/tools/queend.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:01.167116 | import sys
import cobra
import cobra.cluster as c_cluster
def usage():
print('Usage: python -m cobra.tools.queend <ifaceip>')
print('( ifaceip is the IP of the interface facing the cluster)')
sys.exit(-1)
def main():
if len(sys.argv) != 2:
usage()
ip = sys.argv[1]
q = c_cluster.Clust... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/tools/workerd.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:01.278120 | import sys
import argparse
import cobra.cluster as c_cluster
def setup():
ap = argparse.ArgumentParser('Cluster worker tool')
ap.add_argument('cluster', help='Name of the cluster to attach to')
return ap
def main(argv):
opts = setup().parse_args(argv)
worker = c_cluster.ClusterClient(opts.clust... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | docs/conf.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:01.316721 | # -*- coding: utf-8 -*-
#
# Configuration file for the Sphinx documentation builder.
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config
# -- Path setup ------------------------------------------------------------... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | envi/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:01.366789 | '''
The Envi framework allows architecture abstraction through the use of the
ArchitectureModule, Opcode, Operand, and Emulator objects.
'''
import os
import sys
import copy
import types
import struct
import logging
import platform
import importlib
import contextlib
from envi.exc import *
logger = logging.getLogger(_... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | envi/archs/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:01.390817 | """
The new top level home for all the envi architecture modules.
"""
import os
import sys
import binascii
import envi.common as e_common
def dismain(d):
'''
Easy utility for implementing stand-alone disassembler utils...
'''
# TODO: this belongs as a standalone utility, not in an __init__ file
... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/tests/testcache.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:01.409559 | import os
import unittest
import cobra.cache as c_cache
class CobraCacheTest(unittest.TestCase):
#def setUp(self):
#pass
#def tearDown(self):
#pass
def test_cobra_cache_basic(self):
cache = c_cache.FixedDepthCache( 5 )
for i in range(10):
cache.put(i, 'I: %d'... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/tests/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:01.519333 | import os
import cobra
dirname = os.path.dirname(__file__)
class TestObject:
def __init__(self):
self.x = 10
self.y = 20
self.z = 90
def addToZ(self, val):
self.z += val
def getUser(self):
return cobra.getUserInfo()
def accessTestObject(t):
assert(t.x == 1... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | envi/archs/aarch64/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:01.763679 |
"""
AArch64 Architecture Module Initialization
"""
import envi
import struct
from envi.archs.aarch64.regs import *
from envi.archs.aarch64.disasm import *
class A64Module(envi.ArchitectureModule):
def __init__(self, name='a64'):
# these are required for setEndian() which is called from ArchitectureModu... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | envi/archs/aarch64/const.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:01.811226 |
MODE_ARM = 0
MODE_THUMB = 1
MODE_JAZELLE = 2
MODE_THUMBEE = 3
#Support for different ARM Instruction set versions
# name bitmask decimal hex
REV_ARMv4 = 0b0000000000000000000001 # 1 0x1
REV_ARMv4T = 0b0000000000000000000010 # 2 ... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | envi/archs/aarch64/emu.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:01.882618 | """
The initial aarch64 module.
"""
import sys
import struct
import logging
import envi
import envi.bits as e_bits
from envi.const import *
from envi.archs.aarch64.regs import *
from envi.archs.aarch64 import A64Module
logger = logging.getLogger(__name__)
# CPU state (memory, regs inc SPSRs and banked registers)
# ... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | envi/archs/aarch64/regs.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:01.987955 | from envi.archs.aarch64.const import *
from envi.archs.aarch64 import sysregs
import envi.registers as e_reg
'''
Strategy:
* Use only distinct register for Register Context (unique in each bank)
* Store a lookup table for the different banks of registers, based on the
register data in proc_modes (see... |
vivisect/vivisect | https://github.com/vivisect/vivisect | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | cobra/tools/burnapp.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:07.882922 | import os
import sys
import logging
import zipfile
import binascii
import optparse
import tempfile
import cobra
import cobra.remoteapp as c_remoteapp
import envi.common as e_common
logger = logging.getLogger(__name__)
def release():
parser = optparse.OptionParser()
parser.add_option('--cacert', dest='cace... |
philipperemy/name-dataset | https://github.com/philipperemy/name-dataset | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | generation/filter_records.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:10.061041 | # python artifacts.py /home/philippe/tmp/curate/ /home/philippe/tmp/ok
import json
import operator
from argparse import ArgumentParser
from collections import defaultdict
from pathlib import Path
from generation.generate_stats import norm_dict
def get_script_arguments():
parser = ArgumentParser()
parser.add_... |
philipperemy/name-dataset | https://github.com/philipperemy/name-dataset | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | generation/generate_stats.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:10.062805 | # python artifacts.py /home/philippe/tmp/curate/ /home/philippe/tmp/ok
import json
import sys
from argparse import ArgumentParser
from collections import defaultdict, Counter
from pathlib import Path
from tqdm import tqdm
def get_script_arguments():
parser = ArgumentParser()
parser.add_argument('--input_dir'... |
philipperemy/name-dataset | https://github.com/philipperemy/name-dataset | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | setup.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:10.063378 | from setuptools import setup, find_packages
VERSION = '3.3.1'
packages = find_packages()
package_name = packages[0]
setup(
name='names-dataset',
version=VERSION,
description='The python library to handle names',
author='Philippe Remy',
license='MIT',
install_requires=['pycountry', 'numpy'],
... |
philipperemy/name-dataset | https://github.com/philipperemy/name-dataset | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | tests/test_from_emails.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:10.064209 | import unittest
from names_dataset import NameDataset
from names_dataset.emails import extract_names_from_email, try_to_split_with_two_last_names
class TestEmail(unittest.TestCase):
def test_bugs_1(self):
# http://philipperemy.ddns.net:9999/split?q=remy.p@gmail.com
# http://philipperemy.ddns.net... |
philipperemy/name-dataset | https://github.com/philipperemy/name-dataset | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | names_dataset/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:10.065762 | from names_dataset.nd_v3 import NameDataset # noqa
from names_dataset.nd_v3 import NameWrapper # noqa
|
philipperemy/name-dataset | https://github.com/philipperemy/name-dataset | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | api/server.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:10.066663 | import json
import logging
import sys
from typing import Union, Optional, Dict, List, Any
from flask import Flask, request
from paste.translogger import TransLogger
from waitress import serve
from names_dataset import NameDataset, NameWrapper
from names_dataset.emails import extract_names_from_email, try_to_split_wit... |
philipperemy/name-dataset | https://github.com/philipperemy/name-dataset | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | names_dataset/nd_v3.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:10.070712 | import copy
import gzip
import operator
import os
import pickle
from collections import defaultdict
from pathlib import Path
from typing import Optional, Dict, List
import pycountry
def _query(search_set, key):
key = key.strip().title()
if key in search_set:
return search_set[key]
return None
d... |
philipperemy/name-dataset | https://github.com/philipperemy/name-dataset | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | tests/test_nd.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:10.086354 | import unittest
from pathlib import Path
from names_dataset import NameDataset, NameWrapper
nd = NameDataset()
supported_country_codes = [
'AE', 'AF', 'AL', 'AO', 'AR', 'AT', 'AZ', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BN',
'BO', 'BR', 'BW', 'CA', 'CH', 'CL', 'CM', 'CN', 'CO', 'CR', 'CY', 'CZ', 'DE', 'DJ',
... |
philipperemy/name-dataset | https://github.com/philipperemy/name-dataset | null | null | null | null | 994 | null | null | apache-2.0 | null | null | null | null | null | null | null | names_dataset/emails.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:10.089668 | import re
from collections import Counter
from typing import Dict
import numpy as np
from names_dataset import NameDataset
def _compute_score(ranks: Dict):
values = {a: b for a, b in ranks['rank'].items() if b is not None}.values()
if len(values) == 0:
return float('-inf')
return -min(values)
... |
AndrewZhe/lawyer-llama | https://github.com/AndrewZhe/lawyer-llama | null | null | null | null | 992 | null | null | apache-2.0 | null | null | null | null | null | null | null | demo/demo_cmd.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:12.206423 | import gradio as gr
import requests
import json
from transformers import LlamaForCausalLM, LlamaTokenizer, TextIteratorStreamer
import torch
import argparse
def json_send(url, data=None, method="POST"):
headers = {"Content-type": "application/json",
"Accept": "text/plain", "charset": "UTF-8"}
if... |
AndrewZhe/lawyer-llama | https://github.com/AndrewZhe/lawyer-llama | null | null | null | null | 992 | null | null | apache-2.0 | null | null | null | null | null | null | null | scripts/convert_hf-7b_to_llama-pth.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:12.213935 | import argparse
import os
import shutil
from tqdm import tqdm
import torch
from transformers import LlamaConfig, LlamaForCausalLM, LlamaTokenizer
def convert_model(input_model_path, output_model_path, model_size):
if model_size != '7B':
raise ValueError(f"Unsupported model size: {model_size}")
#... |
AndrewZhe/lawyer-llama | https://github.com/AndrewZhe/lawyer-llama | null | null | null | null | 992 | null | null | apache-2.0 | null | null | null | null | null | null | null | demo/demo_web.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:12.218381 | import gradio as gr
import requests
import json
from transformers import LlamaForCausalLM, LlamaTokenizer, TextIteratorStreamer
import torch
import threading
import argparse
class StoppableThread(threading.Thread):
"""Thread class with a stop() method. The thread itself has to check
regularly for the stopped()... |
AndrewZhe/lawyer-llama | https://github.com/AndrewZhe/lawyer-llama | null | null | null | null | 992 | null | null | apache-2.0 | null | null | null | null | null | null | null | scripts/model_delta.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:12.219440 | import argparse
import torch
from tqdm import tqdm
from transformers import AutoTokenizer, AutoModelForCausalLM
# reference: https://github.com/lm-sys/FastChat/blob/main/fastchat/model
def make_delta(base_model_path, target_model_path, delta_path):
print(f"Loading the base model from {base_model_path}")
base... |
AndrewZhe/lawyer-llama | https://github.com/AndrewZhe/lawyer-llama | null | null | null | null | 992 | null | null | apache-2.0 | null | null | null | null | null | null | null | demo/decrypt.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:12.222996 | import os
import sys
import hashlib
import multiprocessing
import os
def xor_bytes(data, key):
return bytes(a ^ b for a, b in zip(data, (key * (len(data) // len(key) + 1))[:len(data)]))
def xor_worker(task_queue, result_queue):
while True:
chunk_idx, data, key = task_queue.get()
result_queue.... |
google-research/augmix | https://github.com/google-research/augmix | null | null | null | null | 992 | null | null | apache-2.0 | null | null | null | null | null | null | null | third_party/ResNeXt_DenseNet/models/densenet.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:14.351645 | """DenseNet implementation (https://arxiv.org/abs/1608.06993)."""
import math
import torch
import torch.nn as nn
import torch.nn.functional as F
class Bottleneck(nn.Module):
"""Bottleneck block for DenseNet."""
def __init__(self, n_channels, growth_rate):
super(Bottleneck, self).__init__()
inter_channels... |
google-research/augmix | https://github.com/google-research/augmix | null | null | null | null | 992 | null | null | apache-2.0 | null | null | null | null | null | null | null | cifar.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:14.352886 | # Copyright 2019 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... |
google-research/augmix | https://github.com/google-research/augmix | null | null | null | null | 992 | null | null | apache-2.0 | null | null | null | null | null | null | null | third_party/ResNeXt_DenseNet/models/resnext.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:14.358168 | """ResNeXt implementation (https://arxiv.org/abs/1611.05431)."""
import math
import torch.nn as nn
from torch.nn import init
import torch.nn.functional as F
class ResNeXtBottleneck(nn.Module):
"""ResNeXt Bottleneck Block type C (https://github.com/facebookresearch/ResNeXt/blob/master/models/resnext.lua)."""
expan... |
google-research/augmix | https://github.com/google-research/augmix | null | null | null | null | 992 | null | null | apache-2.0 | null | null | null | null | null | null | null | augmentations.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:14.358793 | # Copyright 2019 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... |
google-research/augmix | https://github.com/google-research/augmix | null | null | null | null | 992 | null | null | apache-2.0 | null | null | null | null | null | null | null | imagenet.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:14.361294 | # Copyright 2019 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... |
google-research/augmix | https://github.com/google-research/augmix | null | null | null | null | 992 | null | null | apache-2.0 | null | null | null | null | null | null | null | models/cifar/allconv.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:14.363905 | # Copyright 2019 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... |
google-research/augmix | https://github.com/google-research/augmix | null | null | null | null | 992 | null | null | apache-2.0 | null | null | null | null | null | null | null | augment_and_mix.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:14.386194 | # Copyright 2019 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... |
google-research/augmix | https://github.com/google-research/augmix | null | null | null | null | 992 | null | null | apache-2.0 | null | null | null | null | null | null | null | third_party/WideResNet_pytorch/wideresnet.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:15.451758 | """WideResNet implementation (https://arxiv.org/abs/1605.07146)."""
import math
import torch
import torch.nn as nn
import torch.nn.functional as F
class BasicBlock(nn.Module):
"""Basic ResNet block."""
def __init__(self, in_planes, out_planes, stride, drop_rate=0.0):
super(BasicBlock, self).__init__()
se... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | cosyvoice/hifigan_cosy2/f0_predictor.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:17.925879 | # Copyright (c) 2024 Alibaba Inc (authors: Xiang Lyu, Kai Hu)
#
# 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... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | cosyvoice/hifigan_cosy2/generator.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:17.927571 | # Copyright (c) 2024 Alibaba Inc (authors: Xiang Lyu, Kai Hu)
#
# 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... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | cosyvoice/transformer/activation.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:17.929328 | # Copyright (c) 2020 Johns Hopkins University (Shinji Watanabe)
# 2020 Northwestern Polytechnical University (Pengcheng Guo)
# 2020 Mobvoi Inc (Binbin Zhang)
# 2024 Alibaba Inc (Xiang Lyu)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use thi... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | cosyvoice/utils/common.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:17.930256 | # Copyright (c) 2020 Mobvoi Inc (Binbin Zhang)
# 2024 Alibaba Inc (authors: Xiang Lyu)
# 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | cosyvoice/utils/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:17.934055 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | cosyvoice/utils/file_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:17.934612 | # Copyright (c) 2021 Mobvoi Inc. (authors: Binbin Zhang)
# 2024 Alibaba Inc (authors: Xiang Lyu)
# 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You ... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | cosyvoice/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:17.942482 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | cosyvoice/cli/frontend.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:17.944094 | # Copyright (c) 2024 Alibaba Inc (authors: Xiang Lyu)
# 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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.apac... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | cosyvoice/cli/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:17.953465 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | cosyvoice/utils/executor_grpo.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:17.954130 | # Copyright (c) 2020 Mobvoi Inc (Binbin Zhang)
# 2024 Alibaba Inc (authors: Xiang Lyu)
# 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | cosyvoice/utils/mask.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:19.000364 | # Copyright (c) 2019 Shigeki Karita
# 2020 Mobvoi Inc (Binbin Zhang)
# 2024 Alibaba Inc (authors: Xiang Lyu)
# 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in complianc... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | cosyvoice/utils/frontend_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:19.029240 | # Copyright (c) 2024 Alibaba Inc (authors: Xiang Lyu, Zhihao Du)
# 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | flow/modules.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:19.037435 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | flow/dit.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:19.104158 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | flow/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:19.181645 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | glmtts_inference.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:19.182999 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
# Authors: Jiayan Cui, Zhihan Yang
#
# 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... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | cosyvoice/utils/train_utils_grpo.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:19.236925 | # Copyright (c) 2021 Mobvoi Inc. (authors: Binbin Zhang)
# 2023 Horizon Inc. (authors: Xingchen Song)
# 2024 Alibaba Inc (authors: Xiang Lyu)
# 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not ... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | grpo/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:19.464316 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | cosyvoice/utils/scheduler.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:19.466578 | # Copyright (c) 2020 Mobvoi Inc (Binbin Zhang)
# 2022 Ximalaya Inc (Yuguang Yang)
# 2024 Alibaba Inc (authors: Xiang Lyu)
# 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | grpo/data_types.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:19.668794 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | grpo/loaders/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:19.693840 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | grpo/loaders/dataloader/feature_loader_rl.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:19.874461 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | grpo/loaders/dataloader/loader4rl.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:19.876664 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | grpo/grpo_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:19.880524 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | grpo/loaders/dataloader/dynamic_batch.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:19.945504 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | flow/flow.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:20.077209 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | grpo/loaders/loader_lm_rl.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:20.079981 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | grpo/modules/wavlm_ecapa/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:20.252709 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | grpo/modules/wavlm_ecapa/s3prl_util.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:20.430522 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | grpo/modules/wavlm_ecapa/ecapa_tdnn.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:20.431843 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | grpo/prepare_data.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:20.536355 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | grpo/reward_server.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:20.561342 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | grpo/reward_func.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:20.576075 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
zai-org/GLM-TTS | https://github.com/zai-org/GLM-TTS | null | null | null | null | 991 | null | null | apache-2.0 | null | null | null | null | null | null | null | grpo/run_laughter.py | null | null | null | null | null | null | Python | 2026-05-04T02:31:20.647312 | # Copyright (c) 2025 Zhipu AI Inc (authors: CogAudio Group Members)
#
# 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 app... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.