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
Dual languaged (rus+eng) tool for packing and unpacking archives of Silky Engine.

SilkyArcTool English Dual languaged (rus+eng) GUI tool for packing and unpacking archives of Silky Engine. It is not the same arc as used in Ai6WIN. I

Tester 5 Sep 15, 2022
BARTpho: Pre-trained Sequence-to-Sequence Models for Vietnamese

Table of contents Introduction Using BARTpho with fairseq Using BARTpho with transformers Notes BARTpho: Pre-trained Sequence-to-Sequence Models for V

VinAI Research 58 Dec 23, 2022
내부 작업용 django + vue(vuetify) boilerplate. 짠 하면 돌아감.

Pocket Galaxy 아주 간단한 개인용, 혹은 내부용 툴을 만들어야하는데 이왕이면 웹이 편하죠? 그럴때를 위해 만들어둔 django와 vue(vuetify)로 이뤄진 boilerplate 입니다. 각 폴더에 있는 설명서대로 실행을 시키면 일단 당장 뭔가가 돌아갑니

Jamie J. Seol 16 Dec 03, 2021
Python3 to Crystal Translation using Python AST Walker

py2cr.py A code translator using AST from Python to Crystal. This is basically a NodeVisitor with Crystal output. See AST documentation (https://docs.

66 Jul 25, 2022
Predicting the usefulness of reviews given the review text and metadata surrounding the reviews.

Predicting Yelp Review Quality Table of Contents Introduction Motivation Goal and Central Questions The Data Data Storage and ETL EDA Data Pipeline Da

Jeff Johannsen 3 Nov 27, 2022
CVSS: A Massively Multilingual Speech-to-Speech Translation Corpus

CVSS: A Massively Multilingual Speech-to-Speech Translation Corpus CVSS is a massively multilingual-to-English speech-to-speech translation corpus, co

Google Research Datasets 118 Jan 06, 2023
Speech Recognition Database Management with python

Speech Recognition Database Management The main aim of this project is to recogn

Abhishek Kumar Jha 2 Feb 02, 2022
Wake: Context-Sensitive Automatic Keyword Extraction Using Word2vec

Wake Wake: Context-Sensitive Automatic Keyword Extraction Using Word2vec Abstract استخراج خودکار کلمات کلیدی متون کوتاه فارسی با استفاده از word2vec ب

Omid Hajipoor 1 Dec 17, 2021
File-based TF-IDF: Calculates keywords in a document, using a word corpus.

File-based TF-IDF Calculates keywords in a document, using a word corpus. Why? Because I found myself with hundreds of plain text files, with no way t

Jakob Lindskog 1 Feb 11, 2022
Data and evaluation code for the paper WikiNEuRal: Combined Neural and Knowledge-based Silver Data Creation for Multilingual NER (EMNLP 2021).

Data and evaluation code for the paper WikiNEuRal: Combined Neural and Knowledge-based Silver Data Creation for Multilingual NER. @inproceedings{tedes

Babelscape 40 Dec 11, 2022
Search with BERT vectors in Solr and Elasticsearch

Search with BERT vectors in Solr and Elasticsearch

Dmitry Kan 123 Dec 29, 2022
Official codebase for Can Wikipedia Help Offline Reinforcement Learning?

Official codebase for Can Wikipedia Help Offline Reinforcement Learning?

Machel Reid 82 Dec 19, 2022
숭실대학교 컴퓨터학부 전공종합설계프로젝트

✨ 시각장애인을 위한 버스도착 알림 장치 ✨ 👀 개요 현대 사회에서 대중교통 위치 정보를 이용하여 사람들이 간단하게 이용할 대중교통의 정보를 얻고 쉽게 대중교통을 이용할 수 있다. 해당 정보는 각종 어플리케이션과 대중교통 이용시설에서 위치 정보를 제공하고 있지만 시각

taegyun 3 Jan 25, 2022
OceanScript is an Esoteric language used to encode and decode text into a formulation of characters

OceanScript is an Esoteric language used to encode and decode text into a formulation of characters - where the final result looks like waves in the ocean.

nlp基础任务

NLP算法 说明 此算法仓库包括文本分类、序列标注、关系抽取、文本匹配、文本相似度匹配这五个主流NLP任务,涉及到22个相关的模型算法。 框架结构 文件结构 all_models ├── Base_line │   ├── __init__.py │   ├── base_data_process.

zuxinqi 23 Sep 22, 2022
This repository contains the code for "Exploiting Cloze Questions for Few-Shot Text Classification and Natural Language Inference"

Pattern-Exploiting Training (PET) This repository contains the code for Exploiting Cloze Questions for Few-Shot Text Classification and Natural Langua

Timo Schick 1.4k Dec 30, 2022
Russian GPT3 models.

Russian GPT-3 models (ruGPT3XL, ruGPT3Large, ruGPT3Medium, ruGPT3Small) trained with 2048 sequence length with sparse and dense attention blocks. We also provide Russian GPT-2 large model (ruGPT2Larg

Sberbank AI 1.6k Jan 05, 2023
Pangu-Alpha for Transformers

Pangu-Alpha for Transformers Usage Download MindSpore FP32 weights for GPU from here to data/Pangu-alpha_2.6B.ckpt Activate MindSpore environment and

One 5 Oct 01, 2022
本项目是作者们根据个人面试和经验总结出的自然语言处理(NLP)面试准备的学习笔记与资料,该资料目前包含 自然语言处理各领域的 面试题积累。

【关于 NLP】那些你不知道的事 作者:杨夕、芙蕖、李玲、陈海顺、twilight、LeoLRH、JimmyDU、艾春辉、张永泰、金金金 介绍 本项目是作者们根据个人面试和经验总结出的自然语言处理(NLP)面试准备的学习笔记与资料,该资料目前包含 自然语言处理各领域的 面试题积累。 目录架构 一、【

1.4k Dec 30, 2022
Autoregressive Entity Retrieval

The GENRE (Generative ENtity REtrieval) system as presented in Autoregressive Entity Retrieval implemented in pytorch. @inproceedings{decao2020autoreg

Meta Research 611 Dec 16, 2022