A python tool for creating installers from conda packages

Description Constructor is a tool which allows constructing an installer for a collection of conda packages. It solves needed packages using user-provided specifications, and bundles those packages. It can currently create 3 kinds of installers, which are best thought of as delivery vehicles for the bundled packages. There are shell installers, MacOS .pkg installers, and Windows .exe installers. Each of these will create an environment on the end user’s system that contains the specs you provided, along with any necessary […]

Read more

The blessed package to manage your versions by scm tags

setuptools_scm setuptools_scm handles managing your Python package versions in SCM metadata instead of declaring them as the version argument or in a SCM managed file. Additionally setuptools_scm provides setuptools with a list of files that are managed by the SCM (i.e. it automatically adds all of the SCM-managed files to the sdist). Unwanted files must be excluded by discarding them via MANIFEST.in. setuptools_scm support the following scm out of the box: pyproject.toml usage The preferred way to configure setuptools_scm is […]

Read more

The official binary distribution format for Python

This library is the reference implementation of the Python wheel packaging standard, as defined in PEP 427. It has two different roles: A setuptools extension for building wheels that provides the bdist_wheel setuptools command A command line tool for working with wheel files It should be noted that wheel is not intended to be used as a library, and as such there is no stable, public API. Documentation The documentation can be found on Read The Docs. Code of Conduct […]

Read more

Create standalone executables from Python scripts, with the same performance and is cross-platform

cx_Freeze creates standalone executables from Python scripts, with the same performance, is cross-platform and should work on any platform that Python itself works on. It supports Python 3.6 up to 3.9. If you need support for older Python check the documentation. Improved ModuleFinder, using importlib.machinery Support for package metadata Enhanced support for Python 3.8 and experimental support for Python 3.9 Better support for MSYS2 and Anaconda (simultaneously launching the version) Improvements for multiprocessing Integrated to setuptools and importlib.metadata Code modernization […]

Read more

Performance and Efficiency Evaluation of ASR Inference on the Edge

Abstract Automatic speech recognition, a process of converting speech signals to text, has improved a great deal in the past decade thanks to the deep learning based systems. With the latest transformer based models, the recognition accuracy measured as word-error-rate (WER), is even below the human annotator error (4%). However, most of these advanced models run on big servers with large amounts of memory, CPU/GPU resources and have huge carbon footprint. This server based architecture of ASR is not viable […]

Read more

Core utilities for Python packages

Reusable core utilities for various Python Packaging interoperability specifications. This library provides utilities that implement the interoperability specifications which have clearly one correct behaviour (eg: PEP 440) or benefit greatly from having a single shared implementation (eg: PEP 425). The packaging project includes the following: version handling, specifiers, markers, requirements, tags, utilities. Documentation The documentation provides information and the API for the following: Version Handling Specifiers Markers Requirements Tags Utilities Installation Use pip to install these utilities: pip install packaging […]

Read more

Pytest plugin that let you automate actions and assertions with test metrics reporting executing plain YAML files

pytest-play pytest-play is a codeless, generic, pluggable and extensible automation tool, not necessarily test automation only, based on the fantastic pytest test framework that let you define and execute YAML files containing scripts or test scenarios through actions and assertions that can be implemented and managed even by non technical users: automation (not necessarily test automation). You can build a set of actions on a single file (e.g, call a JSON based API endpoint, perform an action if a condition […]

Read more

Nuitka : a Python compiler written in Python

This document is the recommended first read if you are interested in using Nuitka, understand its use cases, check what you can expect, license, requirements, credits, etc. Nuitka is the Python compiler. It is written in Python. It is a seamless replacement or extension to the Python interpreter and compiles every construct that CPython 2.6, 2.7, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9 have, when itself run with that Python version. It then executes uncompiled code and compiled code together […]

Read more

SCU OlympicsRunning Baseline

Environment check details in Jidi Competition RLChina2021智能体竞赛 做出的修改: 奖励重塑:修改了环境,重新设置了奖励的分配,使得奖励组成不只有零和博弈,还有探索环境的奖励。 算法微调:修改了官方PPO算法的actor loss部分,增加了对actor分布熵的约束,未来计划加入RND、ICM等辅助部件。 Dependency conda create -n olympics python=3.8.5 conda activate olympics pip install -r requirements.txt Run a game python olympics/main.py Train a baseline agent python rl_trainer/main.py By default parameters, the total reward of training is shown below. GitHub View Github    

Read more

Code for text augmentation method leveraging large-scale language models

Code for our paper GPT3Mix and conducting classification experiments using GPT-3 prompt-based data augmentation. Getting Started Installing Packages The main depedencies can be installed via pip install -r requirements.txt. Usage The main code is run through main.py. Check out –help for full list of commands. The code will automatically use the first GPU device, if detected. A typical command to run BERT-base 10 times on the 1% subsample set of the SST-2 dataset and computing the averageof all run is […]

Read more
1 350 351 352 353 354 928