Representing Rational Numbers With Python Fractions

The fractions module in Python is arguably one of the most underused elements of the standard library. Even though it may not be well-known, it’s a useful tool to have under your belt because it can help address the shortcomings of floating-point arithmetic in binary. That’s essential if you plan to work with financial data or if you require infinite precision for your calculations. Towards the end of this tutorial, you’ll see a few hands-on examples where fractions are the […]

Read more

Microsoft Translator: Now translating 100 languages and counting!

Today, we’re excited to announce that Microsoft Translator has added 12 new languages and dialects to the growing repertoire of Microsoft Azure Cognitive Services Translator, bringing us to a total of 103 languages! The new languages, which are natively spoken by 84.6 million people, are Bashkir, Dhivehi, Georgian, Kyrgyz, Macedonian, Mongolian (Cyrillic), Mongolian (Traditional), Tatar, Tibetan, Turkmen, Uyghur, and Uzbek (Latin). With this release, the Translator service  

Read more

Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, the World’s Largest and Most Powerful Generative Language Model

We are excited to introduce the DeepSpeed- and Megatron-powered Megatron-Turing Natural Language Generation model (MT-NLG), the largest and the most powerful monolithic transformer language model trained to date, with 530 billion parameters. It is the result of a research collaboration between Microsoft and NVIDIA to further parallelize and optimize the training of very large AI models. As the successor to Turing NLG 17B and Megatron-LM, MT-NLG has 3x the number of parameters compared to the existing largest model of this […]

Read more

Telegram bot to stream videos in telegram voicechat

Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live streams, YouTube videos and telegram media. With record stream support, Schedule streams, and many more. Config Vars: Mandatory Vars API_ID : Get From my.telegram.org API_HASH : Get from my.telegram.org BOT_TOKEN : @Botfather SESSION_STRING : Generate From here CHAT : ID of Channel/Group where the bot plays Music. Recommended Optional Vars DATABASE_URI: MongoDB database Url, get from mongodb. This is an optional var, but it is […]

Read more

Speed up Sphinx builds by selectively removing toctrees from some pages

Improve your Sphinx build time by selectively removing TocTree objects from pages.This is useful if your documentation uses auto-generated API documentation, whichgenerates a lot of stub pages This extension can be used to remove the sidebar links for just the pages you specify, speed up the build considerably. Who is this for? This package is for maintainers that use Sphinx and have really large API documentation (or for some other reason, have a ton of nested pages).If you use a […]

Read more

The Definitive Django Learning Platform

The Definitive Django Learning Platform. This repository is a boilerplate Django project for quickly getting started. Getting started Steps: Clone/pull/download this repository Create a virtualenv with virtualenv env and install dependencies with pip install -r requirements.txt Configure your .env variables Rename your project with python manage.py rename This project includes: Settings modules for deploying with Azure Django commands for renaming your project and creating a superuser A cli tool for setting environment variables for deployment Other places you can find […]

Read more

Every Google, Azure & IBM text to speech voice for free

Quick thing i made about a year ago to download any text with any tts voice, over 630 voices to choose from currently. It will split the input into multiple files every 1500 words or so to not hit any cutoff limits from TTS providers. Usage: Edit input.txt to change the text to synthesize. You can run just tts.py without any parameters to open the voice selector with default settings. Parameters

Read more

A tool to investigate Software Resilience in Open Source Software projects

Source-o-grapher is a tool built with the aim to investigate software resilience aspects of Open Source Software (OSS) projects. The tool uses several metrics from the literature to evaluate an OSS project on four major dimensions: structural (source code), business and legal, integration and social (community of the project). Many of these metrics are automatically acquired by the tool using the Github repository of the project whereas some others are manually input by the expert who performs the analysis. Requirements […]

Read more
1 458 459 460 461 462 974