Leon is an open-source personal assistant who can live on your server.

Overview




Leon

Your open-source personal assistant.



Website :: Documentation :: Roadmap :: Contributing :: Story


👋 Introduction

Leon is an open-source personal assistant who can live on your server.

He does stuff when you ask him for.

You can talk to him and he can talk to you. You can also text him and he can also text you. If you want to, Leon can communicate with you by being offline to protect your privacy.

Why?

  1. If you are a developer (or not), you may want to build many things that could help in your daily life. Instead of building a dedicated project for each of those ideas, Leon can help you with his packages/modules (skills) structure.
  2. With this generic structure, everyone can create their own modules and share them with others. Therefore there is only one core (to rule them all).
  3. Leon uses AI concepts, which is cool.
  4. Privacy matters, you can configure Leon to talk with him offline. You can already text with him without any third party services.
  5. Open source is great.

What is this repository for?

This repository contains the following nodes of Leon:

  • The server
  • The packages/modules
  • The web app
  • The hotword node

What is Leon able to do?

Today, the most interesting part is about his core and the way he can scale up. He is pretty young but can easily scale to have new features (packages/modules). You can find what he is able to do by browsing the packages list.

Sounds good for you? Then let's get started!

☁️ Try with a Single-Click

Gitpod will automatically setup an environment and run an instance for you.

Open in Gitpod

🚀 Getting Started

Prerequisites

To install these prerequisites, you can follow the How To section of the documentation.

Installation

# Clone the repository (stable branch)
git clone -b master https://github.com/leon-ai/leon.git leon
# OR download the latest release at: https://github.com/leon-ai/leon/releases/latest

# Go to the project root
cd leon

# Install
npm install

Usage

# Check the setup went well
npm run check

# Build
npm run build

# Run
npm start

# Go to http://localhost:1337
# Hooray! Leon is running

Docker Installation

# Build
npm run docker:build

# Run
npm run docker:run

# Go to http://localhost:1337
# Hooray! Leon is running

📚 Documentation

For full documentation, visit docs.getleon.ai.

🧭 Roadmap

To know what is going on, follow roadmap.getleon.ai.

❤️ Contributing

If you have an idea for improving Leon, do not hesitate.

Leon needs open source to live, the more modules he has, the more skillful he becomes.

📖 The Story Behind Leon

You'll find a write-up on this blog post.

🔔 Stay Tuned

👨 Author

Louis Grenard (@louistiti_fr)

👍 Sponsors

GrAMATO
30 USD / month
marvinpoo
10 USD / month
You?

You can also contribute by sponsoring Leon.

Please note that I dedicate most of my free time to Leon.

By sponsoring the project you make the project sustainable and faster to develop features.

The focus is not only limited to the activity you see on GitHub but also a lot of thinking about the direction of the project. Which is naturally related to the overall design, architecture, vision, learning process and so on...

📝 License

MIT License

Copyright (c) 2019-present, Louis Grenard [email protected]

Cheers!

Cheers!

Comments
  • Python && python3

    Python && python3

    Bonsoir, c'est difficile de mettre ce léon en place, mais je vais y arriver. J'ai un petit problème avec ce python et python3, léon ne detecte pas mon python3 (lors du check) car sur la derniere version derbian la version 2 est toujours utilisé. (Je ne suis pas un pro de linux). Donc suivant les forums on deconseil de remplacer python2 par python3 par defaut. Pourquoi est-ce que léon ne va pas chercher lui meme sa version lorsque les deux sont installés sur la machine? (c'est un detail, voir au mieux une idee). Bon je pense que je peux laisser python (python2) sur mon systeme et configurer léon pour qu'il utilise python3 a la place. Quel est le finchier de conf a modifier pour faire ca, si c'est possible

    .: CHECKING :.

    ➡ /bin/sh -c node --version ✔ v11.13.0

    ➡ /bin/sh -c npm --version ✔ 6.7.0

    ➡ /bin/sh -c pipenv --version ✔ pipenv, version 2018.11.26

    ➡ /bin/sh -c pipenv --where ✔ /home/odroid/leon

    ➡ /bin/sh -c pipenv run python --version ✖ The Python version must be 3.6.x. Please install it: https://www.python.org/downloads

    ➡ /bin/sh -c pipenv run python bridges/python/main.py en leon randomnumber "Give me a random number" ✖ Error: Command failed: /bin/sh -c pipenv run python bridges/python/main.py en leon randomnumber "Give me a random number" Traceback (most recent call last): File "bridges/python/main.py", line 4, in import utils File "/home/odroid/leon/bridges/python/utils.py", line 6, in from pathlib import Path ImportError: No module named pathlib

    [email protected]:~$ python --version
    Python 2.7.15rc1
    [email protected]:~$ python3 --version
    Python 3.6.7
    

    Merci pour ton aide et ton projet que j'ai franchement hâte de tester.

    question 
    opened by marrodeur 24
  • Leon don't want to talk french, angry omelette du fromage

    Leon don't want to talk french, angry omelette du fromage

    Specs

    • Leon version: beta 3
    • OS (or browser) version: Windows 10 but Leon on WSL Ubuntu 18
    • Node.js version: 11
    • Complete "npm run check" output:
    ---
    
    .: CHECKING :.
    
    ➡ /bin/sh -c node --version
    ✔ v11.15.0
    
    ➡ /bin/sh -c npm --version
    ✔ 6.7.0
    
    ➡ /bin/sh -c pipenv --version
    ✔ pipenv, version 2018.11.26
    
    ➡ /bin/sh -c pipenv --where
    ✔ /home/user/leon-dev/bridges/python
    
    ➡ /bin/sh -c pipenv run python --version
    ✔ Python 3.6.7
    
    ➡ /bin/sh -c pipenv run python bridges/python/main.py scripts/assets/query-object.json
    ✔ {"package": "leon", "module": "randomnumber", "action": "run", "lang": "en", "input": "Give me a random number", "entities": [], "output": {"type": "end", "codes": ["success"], "speech": 8, "options": {}}}
    
    ➡ Classifier state
    ✔ Found and valid
    
    ➡ Amazon Polly TTS
    ❗ Amazon Polly TTS is not yet configured
    
    ➡ Google Cloud TTS/STT
    ❗ Google Cloud TTS/STT is not yet configured
    
    ➡ Watson TTS
    ❗ Watson TTS is not yet configured
    
    ➡ Offline TTS
    ❗ Cannot find bin/flite/flite. You can setup the offline TTS by running: "npm run setup:offline-tts"
    
    ➡ Watson STT
    ❗ Watson STT is not yet configured
    
    ➡ Offline STT
    ❗ Cannot find bin/deepspeech/lm.binary. You can setup the offline STT by running: "npm run setup:offline-stt"
    
    ---
    
    .: REPORT :.
    
    ➡ Here is the diagnosis about your current setup
    ✔ Run
    ✔ Run modules
    ✔ Reply you by texting
    ❗ Amazon Polly text-to-speech
    ❗ Google Cloud text-to-speech
    ❗ Watson text-to-speech
    ❗ Offline text-to-speech
    ❗ Google Cloud speech-to-text
    ❗ Watson speech-to-text
    ❗ Offline speech-to-text
    
    ✔ Hooray! Leon can run correctly
    ➡ If you have some yellow warnings, it is all good. It means some entities are not yet configured
    

    Actual Behavior

    When i talk whit Leon in french it's crash

    How Do We Reproduce?

    Talk french with Leon :p

    Extra (like a sample repo to reproduce the issue, etc.)

    (node:1042) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'split' of undefined
        at Nlu.process (/home/user/leon-dev/server/dist/core/nlu.js:103:45)
        at processTicksAndRejections (internal/process/task_queues.js:86:5)
    (node:1042) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
    (node:1042) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    
    opened by NT-me 17
  • Python 3.6

    Python 3.6

    Good morning,

    When i launch npm install, i get that : ✖ Error: Command failed: /bin/sh -c pipenv install --skip-lock Warning: Python 3.6 was not found on your system... You can specify specific versions of Python with: $ pipenv --python path/to/python

    I am on raspberry 1, raspbian 10

    bug 
    opened by Gadgetroch 15
  • Leon weather

    Leon weather

    What type of change does this PR introduce?

    • [ ] Bugfix
    • [X] Feature
    • [ ] Refactor
    • [ ] Documentation
    • [ ] Not Sure?

    Does this PR introduce breaking changes?

    • [ ] Yes
    • [X ] No

    Description:

    With this package you can ask Leon about the weather in all the cities of the world. It's not full finish because it's miss test and little things.

    opened by NT-me 15
  • How to update the packages?

    How to update the packages?

    How can I test my packages?

    I am trying to add some modules in the Existing package. I have added the quotes module in the leon package.

    I added this inleon/data/expressions/en.json

    
    "quote": [
    		"Tell me a Quote",
    		"Give me a Quote",
    	]
    

    Then I have updated the below in ` leon/data/expressions/en.json

    
    "quote":{ 
      	  "quotes":
      	   [
    		  "Design is the silent ambassador of your brand. ",
    		  "If there is one word I’d like to remove from any conversation about design, it’s “pretty.",
    	   ]
        }
    

    Then I create a new python file named quote.py. Please see the below code.

    import utils
    
    def quote(string):
    	"""Leon says some quote"""
    
    	return utils.output('end', 'quotes', utils.translate('quotes'))
    
    

    I also created a new test python file in the test folder.

    But it seems it breaks leon. Wheneve I ask question it gives reply as "Sorry, I don't work correctly!"

    How can I test the modules? Do I need to add anything else?

    question 
    opened by menporulporiayalan 15
  • chore(deps): bump googleapis from 67.1.1 to 89.0.0

    chore(deps): bump googleapis from 67.1.1 to 89.0.0

    Bumps googleapis from 67.1.1 to 89.0.0.

    Release notes

    Sourced from googleapis's releases.

    googleapis googleapis-v89.0.0

    ⚠ BREAKING CHANGES

    • retail: This release has breaking changes.
    • gkehub: This release has breaking changes.
    • dns: This release has breaking changes.
    • appengine: This release has breaking changes.
    • logging: This release has breaking changes.
    • compute: This release has breaking changes.
    • paymentsresellersubscription: This release has breaking changes.
    • bigtableadmin: This release has breaking changes.

    Features

    • analyticsadmin: update the API (983f8ba)
    • androidpublisher: update the API (2ef419e)
    • appengine: update the API (70c3733)
    • area120tables: update the API (d86574a)
    • artifactregistry: update the API (7de8325)
    • bigquery: update the API (0de2e24)
    • bigtableadmin: update the API (8ef0acf)
    • bigtableadmin: update the API (863c7f0)
    • chromepolicy: update the API (f6162a3)
    • cloudbuild: update the API (18fd64a)
    • cloudsearch: update the API (7c220ea)
    • compute: update the API (30bea18)
    • container: update the API (ab6d3f7)
    • content: update the API (3e942b4)
    • dialogflow: update the API (6495352)
    • dns: update the API (5fb88d6)
    • documentai: update the API (58576db)
    • domains: update the API (ba89daa)
    • firebase: update the API (9629195)
    • gkehub: update the API (7c7f873)
    • healthcare: update the API (33297c0)
    • iap: update the API (b95fd46)
    • localservices: update the API (43de21d)
    • logging: update the API (733a33b)
    • managedidentities: update the API (4904a02)
    • monitoring: update the API (7509670)
    • networkservices: update the API (339e0d3)
    • osconfig: update the API (2ff13e6)
    • osconfig: update the API (a2c067c)
    • paymentsresellersubscription: update the API (6564211)
    • realtimebidding: update the API (8bd83cf)
    • redis: update the API (6821f71)
    • regenerate index files (1a615ed)
    • regenerate index files (81d5df4)

    ... (truncated)

    Changelog

    Sourced from googleapis's changelog.

    89.0.0 (2021-10-18)

    ⚠ BREAKING CHANGES

    • retail: This release has breaking changes.
    • gkehub: This release has breaking changes.
    • dns: This release has breaking changes.
    • appengine: This release has breaking changes.
    • logging: This release has breaking changes.
    • compute: This release has breaking changes.
    • paymentsresellersubscription: This release has breaking changes.
    • bigtableadmin: This release has breaking changes.

    Features

    • analyticsadmin: update the API (983f8ba)
    • androidpublisher: update the API (2ef419e)
    • appengine: update the API (70c3733)
    • area120tables: update the API (d86574a)
    • artifactregistry: update the API (7de8325)
    • bigquery: update the API (0de2e24)
    • bigtableadmin: update the API (8ef0acf)
    • bigtableadmin: update the API (863c7f0)
    • chromepolicy: update the API (f6162a3)
    • cloudbuild: update the API (18fd64a)
    • cloudsearch: update the API (7c220ea)
    • compute: update the API (30bea18)
    • container: update the API (ab6d3f7)
    • content: update the API (3e942b4)
    • dialogflow: update the API (6495352)
    • dns: update the API (5fb88d6)
    • documentai: update the API (58576db)
    • domains: update the API (ba89daa)
    • firebase: update the API (9629195)
    • gkehub: update the API (7c7f873)
    • healthcare: update the API (33297c0)
    • iap: update the API (b95fd46)
    • localservices: update the API (43de21d)
    • logging: update the API (733a33b)
    • managedidentities: update the API (4904a02)
    • monitoring: update the API (7509670)
    • networkservices: update the API (339e0d3)
    • osconfig: update the API (2ff13e6)
    • osconfig: update the API (a2c067c)
    • paymentsresellersubscription: update the API (6564211)
    • realtimebidding: update the API (8bd83cf)
    • redis: update the API (6821f71)
    • regenerate index files (1a615ed)
    • regenerate index files (81d5df4)

    ... (truncated)

    Commits
    • 2d1e152 chore: release main (#2812)
    • 29ea4a1 build(node): update deps used during postprocessing (#1243) (#2817)
    • 1a615ed feat: regenerate index files
    • 4ab24ee fix(vmmigration): update the API
    • 42db7be fix(versionhistory): update the API
    • 2559495 fix(streetviewpublish): update the API
    • 64dedce feat(speech): update the API
    • 6ae8dd3 fix(sourcerepo): update the API
    • 276ebcf feat(servicenetworking): update the API
    • 7e40942 fix(servicemanagement): update the API
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 14
  • chore(deps): bump @google-cloud/text-to-speech from 3.2.1 to 3.3.1

    chore(deps): bump @google-cloud/text-to-speech from 3.2.1 to 3.3.1

    Bumps @google-cloud/text-to-speech from 3.2.1 to 3.3.1.

    Release notes

    Sourced from @​google-cloud/text-to-speech's releases.

    @​google-cloud/text-to-speech v3.3.1

    Bug Fixes

    @​google-cloud/text-to-speech v3.3.0

    Features

    • turns on self-signed JWT feature flag (#543) (bd5ecd3)

    @​google-cloud/text-to-speech v3.2.7

    Bug Fixes

    @​google-cloud/text-to-speech v3.2.6

    Bug Fixes

    • Updating WORKSPACE files to use the newest version of the Typescript generator. (#534) (dee8dc2)

    v3.2.5

    Bug Fixes

    v3.2.4

    Bug Fixes

    v3.2.3

    Bug Fixes

    v3.2.2

    Bug Fixes

    • GoogleAdsError missing using generator version after 1.3.0 (#515) (f48e238)
    Changelog

    Sourced from @​google-cloud/text-to-speech's changelog.

    3.3.1 (2021-09-10)

    Bug Fixes

    3.3.0 (2021-08-23)

    Features

    • turns on self-signed JWT feature flag (#543) (bd5ecd3)

    3.2.7 (2021-08-17)

    Bug Fixes

    3.2.6 (2021-07-21)

    Bug Fixes

    • Updating WORKSPACE files to use the newest version of the Typescript generator. (#534) (dee8dc2)

    3.2.5 (2021-07-12)

    Bug Fixes

    3.2.4 (2021-06-30)

    Bug Fixes

    3.2.3 (2021-06-23)

    Bug Fixes

    3.2.2 (2021-06-04)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 14
  • Docker Install - no modules seems working v2019-03-04

    Docker Install - no modules seems working v2019-03-04

    Hello,

    I create this issue but the problem can be on my side ;), I install Leon on my ArchLinux with docker, The build and installation looks good, leon start on Leet's port ;) so when I want to speak with leon It looks like no modules work as we see on the screen capture :) I think the problem can be on my side, I have archLinux with deepin and docker don't have the reputaton to work good on it :P, I create this issue because if an other person have the same problem as me He can add it to this issue ;) Don't see it as a big priority, I have a lot of time to see what you do ;) My english is not perfect as you can see, I speak better french than English but I work on ;)

    image

    Have a Nice day and be happy !!!!

    bug 
    opened by rioukkevin 12
  • Unable to install it in ubuntu 18.10

    Unable to install it in ubuntu 18.10

    Specs

    • Leon version: commit d0ca87d
    • pipenv version - 2018.11.26
    • npm version - 5.8.0
    • python version - 3.6.7
    • OS - Ubuntu 18.10

    Expected Behaviour Leon Should build successfully

    Actual Behaviour Throwed an error While installing the python package

    Error Message ✖ Failed to install the Python packages: Error: Command failed: /bin/sh -c pipenv install

    Any help would be appreciated.

    question 
    opened by menporulporiayalan 12
  • Docker image added

    Docker image added

    What type of change does this PR introduce?

    • [ ] Bugfix
    • [X] Feature
    • [ ] Refactor
    • [X] Documentation
    • [ ] Not Sure?

    Does this PR introduce breaking changes?

    • [ ] Yes
    • [X] No

    List any relevant issue numbers:

    https://github.com/leon-ai/leon/issues/1 https://github.com/leon-ai/leon/issues/4

    Description:

    I added a DockerImage to run Leon, I also detailed the steps in the readme.md

    Unfortunately I saw the leon-ci-images afterward so my image is a bit different (so could be refactored)

    opened by Antoinebr 12
  • Improve NLU for more detailed queries

    Improve NLU for more detailed queries

    Be able to subtract a type of entity from a query. Such as date, number, location, etc.

    If it uses a tiers but Node.js, it should operate from the core and send the result object to modules via the child process parameters. Otherwise, it should fully be implemented in the core itself.

    I noted some following leads in this Trello card.

    improvement 
    opened by louistiti 12
Releases(tcp-server_v1.0.0)
Owner
Leon AI
Open-Source Personal Assistant.
Leon AI
结巴中文分词

jieba “结巴”中文分词:做最好的 Python 中文分词组件 "Jieba" (Chinese for "to stutter") Chinese text segmentation: built to be the best Python Chinese word segmentation

Sun Junyi 29.8k Jan 02, 2023
PyJPBoatRace: Python-based Japanese boatrace tools 🚤

pyjpboatrace :speedboat: provides you with useful tools for data analysis and auto-betting for boatrace.

5 Oct 29, 2022
Implementation of N-Grammer, augmenting Transformers with latent n-grams, in Pytorch

N-Grammer - Pytorch Implementation of N-Grammer, augmenting Transformers with latent n-grams, in Pytorch Install $ pip install n-grammer-pytorch Usage

Phil Wang 66 Dec 29, 2022
NLP, before and after spaCy

textacy: NLP, before and after spaCy textacy is a Python library for performing a variety of natural language processing (NLP) tasks, built on the hig

Chartbeat Labs Projects 2k Jan 04, 2023
Multilingual Emotion classification using BERT (fine-tuning). Published at the WASSA workshop (ACL2022).

XLM-EMO: Multilingual Emotion Prediction in Social Media Text Abstract Detecting emotion in text allows social and computational scientists to study h

MilaNLP 35 Sep 17, 2022
Shared code for training sentence embeddings with Flax / JAX

flax-sentence-embeddings This repository will be used to share code for the Flax / JAX community event to train sentence embeddings on 1B+ training pa

Nils Reimers 23 Dec 30, 2022
This repository implements a brute-force spellchecker utilizing the Damerau-Levenshtein edit distance.

About spellchecker.py Implementing a highly-accurate, brute-force, and dynamically programmed spellchecking program that utilizes the Damerau-Levensht

Raihan Ahmed 1 Dec 11, 2021
Application for shadowing Chinese.

chinese-shadowing Simple APP for shadowing chinese. With this application, it is very easy to record yourself, play the sound recorded and listen to s

Thomas Hirtz 5 Sep 06, 2022
Python package to easily retrain OpenAI's GPT-2 text-generating model on new texts

gpt-2-simple A simple Python package that wraps existing model fine-tuning and generation scripts for OpenAI's GPT-2 text generation model (specifical

Max Woolf 3.1k Jan 07, 2023
Python bot created with Selenium that can guess the daily Wordle word correct 96.8% of the time.

Wordle_Bot Python bot created with Selenium that can guess the daily Wordle word correct 96.8% of the time. It will log onto the wordle website and en

Lucas Polidori 15 Dec 11, 2022
A python package to fine-tune transformer-based models for named entity recognition (NER).

nerblackbox A python package to fine-tune transformer-based language models for named entity recognition (NER). Resources Source Code: https://github.

Felix Stollenwerk 13 Jul 30, 2022
Learn meanings behind words is a key element in NLP. This project concentrates on the disambiguation of preposition senses. Therefore, we train a bert-transformer model and surpass the state-of-the-art.

New State-of-the-Art in Preposition Sense Disambiguation Supervisor: Prof. Dr. Alexander Mehler Alexander Henlein Institutions: Goethe University TTLa

Dirk Neuhäuser 4 Apr 06, 2022
AllenNLP integration for Shiba: Japanese CANINE model

Allennlp Integration for Shiba allennlp-shiab-model is a Python library that provides AllenNLP integration for shiba-model. SHIBA is an approximate re

Shunsuke KITADA 12 Feb 16, 2022
ChatterBot is a machine learning, conversational dialog engine for creating chat bots

ChatterBot ChatterBot is a machine-learning based conversational dialog engine build in Python which makes it possible to generate responses based on

Gunther Cox 12.8k Jan 03, 2023
Transformer related optimization, including BERT, GPT

This repository provides a script and recipe to run the highly optimized transformer-based encoder and decoder component, and it is tested and maintained by NVIDIA.

NVIDIA Corporation 1.7k Jan 04, 2023
Chinese Grammatical Error Diagnosis

nlp-CGED Chinese Grammatical Error Diagnosis 中文语法纠错研究 基于序列标注的方法 所需环境 Python==3.6 tensorflow==1.14.0 keras==2.3.1 bert4keras==0.10.6 笔者使用了开源的bert4keras

12 Nov 25, 2022
:mag: Transformers at scale for question answering & neural search. Using NLP via a modular Retriever-Reader-Pipeline. Supporting DPR, Elasticsearch, HuggingFace's Modelhub...

Haystack is an end-to-end framework that enables you to build powerful and production-ready pipelines for different search use cases. Whether you want

deepset 6.4k Jan 09, 2023
This is the offline-training-pipeline for our project.

offline-training-pipeline This is the offline-training-pipeline for our project. We adopt the offline training and online prediction Machine Learning

0 Apr 22, 2022
Basic Utilities for PyTorch Natural Language Processing (NLP)

Basic Utilities for PyTorch Natural Language Processing (NLP) PyTorch-NLP, or torchnlp for short, is a library of basic utilities for PyTorch NLP. tor

Michael Petrochuk 2.1k Jan 01, 2023
Python interface for converting Penn Treebank trees to Stanford Dependencies and Universal Depenencies

PyStanfordDependencies Python interface for converting Penn Treebank trees to Universal Dependencies and Stanford Dependencies. Example usage Start by

David McClosky 64 May 08, 2022