A Statutory Article Retrieval Dataset in French

This repository contains the Belgian Statutory Article Retrieval Dataset (BSARD), as well as the code to reproduce the experimental results from the associated paper by A. Louis, G. Spanakis, and G. Van Dijck. Abstract. Statutory article retrieval is the task of automatically retrieving law articles relevant to a legal question. While recent advances in natural language processing have sparked considerable interest in many legal tasks, statutory article retrieval remains primarily untouched due to the scarcity of large-scale and high-quality annotated […]

Read more

Splitting Datasets With scikit-learn and train_test_split()

One of the key aspects of supervised machine learning is model evaluation and validation. When you evaluate the predictive performance of your model, it’s essential that the process be unbiased. Using train_test_split() from the data science library scikit-learn, you can split your dataset into subsets that minimize the potential for bias in your evaluation and validation process. In this course, you’ll learn: Why you need to split your dataset in supervised machine learning Which subsets of the dataset you need […]

Read more

A Two-stage Approach to Speech Bandwidth Extension

August 30, 2021 By: Ju Lin, Yun Wang, Kaustubh Kalgaonkar, Gil Keren, Didi Zhang, Christian Fuegen Abstract Algorithms for speech bandwidth extension (BWE) may work in either the time domain or the frequency domain. Time-domain methods often do not sufficiently recover the high-frequency content of speech signals; frequency-domain methods are better at recovering the spectral envelope, but have difficulty reconstructing the details of the waveform. In this paper, we propose a two-stage approach for BWE, which enjoys the advantages of […]

Read more

Prometheus integration for Starlette in python

Introduction Prometheus integration for Starlette. Requirements Python 3.6+ Starlette 0.9+ Installation $ pip install starlette-prometheus Usage A complete example that exposes prometheus metrics endpoint under /metrics/ path. from starlette.applications import Starlette from starlette_prometheus import metrics, PrometheusMiddleware app = Starlette() app.add_middleware(PrometheusMiddleware) app.add_route(“/metrics/”, metrics) Metrics for paths that do not match any Starlette route can    

Read more

A python tool for live presentations in the terminal

doitlive doitlive is a tool for live presentations in the terminal. It reads a file of shell commands and replays the commands in a fake terminal session as you type random characters. Get it now macOS with Homebrew: $ brew update$ brew install doitlive With pip: $ pip install doitlive Requires Python >= 2.7 or >= 3.5 with pip. Quickstart Create a file called session.sh. Fill it with bash commands. Run doitlive play session.sh. $ doitlive play session.sh Type like […]

Read more

Instant coding answers via the command line in python

instant coding answers via the command line Sherlock, your neighborhood command-line sloth sleuth. Are you a hack programmer? Do you find yourself constantly Googling for how to do basic programming tasks? Suppose you want to know how to format a date in bash. Why open your browser and read through blogs (risking major distraction) when you can simply stay in the console and ask howdoi: $ howdoi format date bash > DATE=`date +%Y-%m-%d` howdoi will answer all sorts of queries: […]

Read more

PathPicker accepts a wide range of input — output from git commands

Facebook PathPicker is a simple command line tool that solves the perpetual problem of selecting files out of bash output. PathPicker will: Parse all incoming lines for entries that look like files Present the piped input in a convenient selector UI Allow you to either: Edit the selected files in your favorite $EDITOR Execute an arbitrary command with them It is easiest to understand by watching a simple demo: Examples After installing PathPicker, using it is as easy as piping […]

Read more

Adds flavor of interactive filtering to the traditional pipe concept of UNIX shell

__ ____ ___ ______________ / / / __ / _ / ___/ ___/ __ / / / /_/ / __/ / / /__/ /_/ / / / .___/___/_/ ___/____/_/ /_/ percol adds flavor of interactive selection to the traditional pipe concept on UNIX. What’s this percol is an interactive grep tool in your terminal. percol receives input lines from stdin or a file, lists up the input lines, waits for your input that filter/select the line(s), and finally outputs the […]

Read more

Magnificent app which corrects your previous console command

The Fuck is a magnificent app, inspired by a @liamosaur tweet, that corrects errors in previous console commands. Is The Fuck too slow? Try the experimental instant mode! More examples: ➜ apt-get install vim E: Could not open lock file /var/lib/dpkg/lock – open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? ➜ fuck sudo apt-get install vim [enter/↑/↓/ctrl+c] [sudo] password for nvbn: Reading package lists… Done … ➜ git push fatal: The current branch […]

Read more
1 534 535 536 537 538 984