Simple XLSX and CSV to dictionary converter with python

sheet2dict A simple XLSX/CSV reader – to dictionary converter Installing To install the package from pip, first run: python3 -m pip install –no-cache-dir sheet2dict Required pip packages for sheet2doc: csv, openpyxl Usage This library has 2 main features: reading a spreadsheet files and converting them to array of python dictionaries. – XLSX Use xlsx_to_dict() method when converting form spreadsheets.Supported file formats for spreadsheets are: .xlsx,.xlsm,.xltx,.xltm # Import the library from sheet2dict import Worksheet # Create an object ws = Worksheet() […]

Read more

Flexible interface for high performance research using SOTA Transformers

lightning-transformers Flexible interface for high-performance research using SOTA Transformers leveraging Pytorch Lightning, Transformers, and Hydra. Installation Option 1: from PyPI pip install lightning-transformers # instead of: `python train.py …`, run with: pl-transformers-train … Option 2: from source git clone https://github.com/PyTorchLightning/lightning-transformers.git cd lightning-transformers pip install . python train.py … # the `pl-transformers-train` endpoint is also available! Quick recipes Train bert-base-cased on the CARER emotion dataset using the Text Classification task. python train.py task=nlp/text_classification dataset=nlp/text_classification/emotion See the composed Hydra config used under-the-hood […]

Read more

Pose-Controllable Talking Face Generation by Implicitly Modularized Audio-Visual Representation

Talking-Face_PC-AVS Pose-Controllable Talking Face Generation by Implicitly Modularized Audio-Visual Representation (CVPR 2021) We propose Pose-Controllable Audio-Visual System (PC-AVS), which achieves free pose control when driving arbitrary talking faces with audios. Instead of learning pose motions from audios, we leverage another pose source video to compensate only for head motions. The key is to devise an implicit low-dimension pose code that is free of mouth shape or identity information. In this way, audio-visual representations are modularized into spaces of three key […]

Read more

CommonMark compliant Markdown formatter with python

Mdformat Mdformat is an opinionated Markdown formatter that can be used to enforce a consistent style in Markdown files. Mdformat is a Unix-style command-line tool as well as a Python library. Installing Install with CommonMark support: pip install mdformat Alternatively install with GitHub Flavored Markdown (GFM) support: pip install mdformat-gfm Or with Markedly Structured Text (MyST) support: pip install mdformat-myst Command line usage Format files Format files README.md and CHANGELOG.md in place mdformat README.md CHANGELOG.md Format .md files in current […]

Read more

Python Basics: Paperback Now Available!

After years of writing, reviewing, and testing, we’re delighted to announce that Python Basics: A Practical Introduction to Python 3 is now available in paperback! It’s been rewarding to hear how readers have been using this book to supercharge their learning. After receiving so much community feedback, we’re confident that you’ll build a strong foundation for your Python journey with this book: You’ll not only cover the core concepts you really need to know, but you’ll also learn them in […]

Read more

Alexandria in Microsoft Viva Topics: from big data to big knowledge

Project Alexandria is a research project within Microsoft Research Cambridge dedicated to discovering entities, or topics of information, and their associated properties from unstructured documents. This research lab has studied knowledge mining research for over a decade, using the probabilistic programming framework Infer.NET. Project Alexandria was established seven years ago to build on Infer.NET and retrieve facts, schemas, and entities from unstructured data sources while adhering to Microsoft’s robust privacy standards. The goal of the project is to construct a […]

Read more

MLOps Primer – 2021

Machine learning operations (MLOps) is becoming an exciting space as we figure out the best practices and technologies to deploy machine learning models in the real world. MLOps enable ML teams to build responsible and scalable machine learning systems and infrastructure. This facilitates tasks that range from risk assessment to building and testing to monitoring. While still in its infancy, MLOps has attracted machine learning engineers and software engineers in general. With every new paradigm comes new challenges and opportunities […]

Read more

Machine Translation Weekly 76: Zero-shot MT with pre-trained encoder

Using pre-trained multilingual representation as a universal encoder for machine translation might seem like an obvious thing to try: train a decoder into one target language using one or several source languages and you get a translation from 100 languages into the target language. This sounds great, but this is not how it works. (Or it works somehow, but not really well, I tried it myself.) Recently, I came across a pre-print where the authors figured out how to do […]

Read more

A software toolkit for weak supervision applied to NLP tasks

skweak Labelled data remains a scarce resource in many practical NLP scenarios. This is especially the case when working with resource-poor languages (or text domains), or when using task-specific labels without pre-existing datasets. The only available option is often to collect and annotate texts by hand, which is expensive and time-consuming. skweak (pronounced /skwi:k/) is a Python-based software toolkit that provides a concrete solution to this problem using weak supervision. skweak is built around a very simple idea: Instead of […]

Read more

Learning Calibrated-Guidance for Object Detection in Aerial Images

CG-Net This codebase is created to build benchmarks for object detection in aerial images. It is modified from mmdetection. The master branch works with PyTorch 1.1 or higher. If you would like to use PyTorch 0.4.1, please checkout to the pytorch-0.4.1 branch. Results Visualization results for oriented object detection on the test set of DOTA. Comparison to the baseline on DOTA for oriented object detection with ResNet-101. The figures with blue boxes are the results of the baseline and pink […]

Read more
1 2 3 4 5 6 23