Send tweets to a Telegram channel with python

Envía los tweets de cuentas previamente seleccionadas a un canal de Telegram cada un tiempo predefinido time_tx. TOKEN : token del bot en Telegram. ID_CANAL : id del canal en Telegram donde se publicarán los tweets. ID_C_LOG : id del canal en Telegram donde se registrarán los logs. ID_ADMIN : id del administrador del bot (solo él tendrá acceso al control del mismo). DATABASE_URL : url de la base de datos de postgresql. /nc cuenta_de_twitterEjemplo: /nc NASA -Muestra información de […]

Read more

Experience macOS just like before

A python program with an Objective-C GUI for building and booting OpenCore on both legacy and modern Macs, see our in-depth Guide for more information. Supported features: System Integrity Protection, FileVault 2, .im4m Secure Boot and Vaulting WPA Wifi and Personal Hotspot support Native OTA OS DELTA updates on all Macs Recovery OS, Safe Mode and Single-user Mode booting Zero firmware patching required (ie. APFS ROM patching) GPU Switching on MacBook Pro models (2012 and newer) Note: Only clean-installs and […]

Read more

Build a Command-Line To-Do App With Python and Typer

Building an application to manage your to-do list can be an interesting project when you’re learning a new programming language or trying to take your skills to the next level. In this tutorial, you’ll build a functional to-do application for the command line using Python and Typer, which is a relatively young library for creating powerful command-line interface (CLI) applications in almost no time. With a project like this, you’ll apply a wide set of core programming skills while building […]

Read more

Multi-Modal Open-Domain Dialogue

Abstract Recent work in open-domain conversational agents has demonstrated that significant improvements in humanness and user preference can be achieved via massive scaling in both pre-training data and model size (Adiwardana et al., 2020; Roller et al., 2020). However, if we want to build agents with human-like abilities, we must expand beyond handling just text. A particularly important topic is the ability to see images and communicate about what is perceived. With the goal of getting humans to engage in […]

Read more

Retrieval Augmentation Reduces Hallucination in Conversation

Abstract Despite showing increasingly human-like conversational abilities, state-of-the-art dialogue models often suffer from factual incorrectness and hallucination of knowledge. In this work we explore the use of neural-retrieval-in-the-loop architectures – recently shown to be effective in open-domain QA – for knowledge-grounded dialogue, a task that is arguably more challenging as it requires querying based on complex multi-turn dialogue context and generating conversationally coherent responses. We study various types of architectures with multiple components – retrievers, rankers, and encoder-decoders – with […]

Read more

Gradient-based Adversarial Attacks against Text Transformers

Abstract We propose the first general-purpose gradient-based adversarial attack against transformer models. Instead of searching for a single adversarial example, we search for a distribution of adversarial examples parameterized by a continuous-valued matrix, hence enabling gradient-based optimization. We empirically demonstrate that our white-box attack attains state-of-the-art attack performance on a variety of natural language tasks, outperforming prior work in terms of adversarial success rate with matching imperceptibility as per automated and human evaluation. Furthermore, we show that a powerful black-box […]

Read more

Building Adaptive Acceptability Classifiers for Neural NLG

November 7, 2021 By: Soumya Batra, Shashank Jain, Peyman Heidari, Ankit Arun, Catharine Youngs, Xintong Li, Pinar Donmez, Shawn Mei, Shiun-Zu Kuo, Vikas Bhardwaj, Anuj Kumar, Michael White Abstract We propose a novel framework to train models to classify acceptability of responses generated by natural language generation (NLG) models, improving upon existing sentence transformation and model-based approaches. An NLG response is considered acceptable if it is both semantically correct and grammatical. We don’t make use of any human references making […]

Read more

Unsupervised Speech Recognition

Abstract Despite rapid progress in the recent past, current speech recognition systems still require labeled training data which limits this technology to a small fraction of the languages spoken around the globe. This paper describes wav2vec-U, short for wav2vec Unsupervised, a method to train speech recognition models without any labeled data. We leverage self-supervised speech representations to segment unlabeled audio and learn a mapping from these representations to phonemes via adversarial training. The right representations are key to the success […]

Read more
1 379 380 381 382 383 928