Natural language processing
Natural language processing (NLP) is a field of computer science that studies how computers and humans interact. In the 1950s, Alan Turing published an article that proposed a measure of intelligence, now called the Turing test. More modern techniques, such as deep learning, have produced results in the fields of language modeling, parsing, and natural-language tasks.
Here are 15,946 public repositories matching this topic...
-
Updated
Sep 7, 2021 - Python
-
Updated
Sep 11, 2021 - Python
-
Updated
Sep 18, 2021 - Python
-
Updated
Sep 30, 2021 - Python
-
Updated
Jun 12, 2017
-
Updated
Sep 30, 2021 - Python
-
Updated
Sep 19, 2021
-
Updated
May 2, 2021
Describe the feature
Right now sort is done on all the Document collection, I would like to sort only up to a top_k.
-
Updated
Sep 30, 2021 - Python
Is your feature request related to a problem? Please describe.
I typically used compressed datasets (e.g. gzipped) to save disk space. This works fine with AllenNLP during training because I can write my dataset reader to load the compressed data. However, the predict command opens the file and reads lines for the Predictor. This fails when it tries to load data from my compressed files.
Maybe add something like this as a pre or post processing step?
It might make sense to download the emoji list and store it as part of the build, so people do not need to load the emojis module, ...
import emoji
from emoji import unicode_codes
import re
EMOJI_UNICODE = unicode_codes.EMOJI_UNICODE['en']
emojis = sorted(EMOJI_UNICODE.values(), key=len, reverse=True)
print (emojis
-
Updated
Jun 26, 2021 - Jupyter Notebook
-
Updated
Dec 22, 2020 - Python
-
Updated
Sep 29, 2021 - JavaScript
-
Updated
Sep 30, 2021 - Python
-
Updated
Jul 1, 2021 - Python
-
Updated
Jul 25, 2021 - Jupyter Notebook
-
Updated
Sep 30, 2021 - TypeScript
-
Updated
Sep 30, 2021 - Java
-
Updated
Aug 17, 2021 - Python
-
Updated
Sep 29, 2021 - Python
-
Updated
Oct 22, 2020
-
Updated
Sep 23, 2020 - Jupyter Notebook
Created by Alan Turing
- Wikipedia
- Wikipedia
https://github.com/huggingface/transformers/blob/546dc24e0883e5e9f5eb06ec8060e3e6ccc5f6d7/src/transformers/models/gpt2/modeling_gpt2.py#L698
Assertions can't be relied upon for control flow because they can be disabled, as per the following: