syntaxdot VS projects

Compare syntaxdot vs projects and see what are their differences.

syntaxdot

Neural syntax annotator, supporting sequence labeling, lemmatization, and dependency parsing. (by tensordot)

projects

🪐 End-to-end NLP workflows from prototype to production (by explosion)
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
syntaxdot projects
4 6
65 1,246
- 1.9%
6.2 4.7
6 months ago 29 days ago
Rust Python
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

syntaxdot

Posts with mentions or reviews of syntaxdot. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-08.
  • Candle: Torch Replacement in Rust
    12 projects | news.ycombinator.com | 8 Aug 2023
    I am so happy about them releasing this. A few years ago I wrote a multi-task syntax annotator in Rust using Laurent Mazare's excellent tch-rs binding (it seems like he is also working on Candle):

    https://github.com/tensordot/syntaxdot

    However, the deployment story was always quite difficult. The PyTorch C++ API is not stable, so a particular version of tch-rs will only work with a particular PyTorch version. So, anyone wanting to use SyntaxDot always had to get exactly the right version of libtorch (and set some environment variables) to build the project.

    The idea of making an abstraction over Torch and Rust ndarray (similar to Burn) crossed my mind several times, but there is only so much that I could do as a solo developer. So Candle would be a god-given if I was still working on this project.

    Seeing Candle wants to make me port curated-transformers to Candle for fun:

    https://github.com/explosion/curated-transformers

  • Ask HN: What is the job market like, for niche languages (Nim, crystal)?
    4 projects | news.ycombinator.com | 23 Jul 2022
    They are obviously not as good as in Python, but if you are willing to invest time, it's definitely doable. E.g. I made a multi-task transformer-based syntax annotator in Rust using the tch Torch binding:

    https://github.com/tensordot/syntaxdot

    In my current job, I do NLP with Python, Cython, and some C++. I don't think doing it in Rust was much more work. Once you are beyond the stage of implementing a small research project or toy model, most systems are going to contain a lot of custom, specialized code. You will have to do that work in any language.

  • PyTorch 1.8 release with AMD ROCm support
    8 projects | news.ycombinator.com | 4 Mar 2021
    What I like about PyTorch is that most of the functionality is actually available through the C++ API as well, which has 'beta API stability' as they call it. So, there are good bindings for some other languages as well. E.g., I have been using the Rust bindings in a larger project [1], and they have been awesome. A precursor to the project was implemented using Tensorflow, which was a world of pain.

    Even things like mixed-precision training are fairly easy to do through the API.

    [1] https://github.com/tensordot/syntaxdot

  • SpaCy v3.0 Released (Python Natural Language Processing)
    9 projects | news.ycombinator.com | 1 Feb 2021
    Huggingface fills the need for task based prediction when you have a GPU.

    With model distillation, it should be possible to annotate hundreds of sentences per second on a single CPU with a library like Huggingface Transformers.

    For instance, one of my distilled Dutch multi-task syntax models (UD POS, language-specific POS, lemmatization, morphology, dependency parsing) annotates 316 sentences per second with 4 threads on a Ryzen 3700X. This distilled model has virtually no loss in accuracy, compared to the finetuned XLM-RoBERTa base model.

    I don't use Huggingface Transformers, but ported some of their implementations to Rust [1], but that should not make a big difference since all the heavy lifting happens in C++ in libtorch anyway.

    tl;dr: it is not true that tranformers are only useful for GPU prediction. You can get high CPU prediction speeds with some tricks (distillation, length-based bucketing in batches, etc.).

    [1] https://github.com/tensordot/syntaxdot/tree/main/syntaxdot-t...

projects

Posts with mentions or reviews of projects. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-07.
  • Identify custom labels as well as existing labels with Spacy v3
    1 project | /r/LanguageTechnology | 12 Mar 2023
    When I was doing the same task, I used their `spacy project` command-line interface and extended their `ner_drugs` project, made things pretty easy. https://spacy.io/usage/projects https://github.com/explosion/projects/tree/v3/tutorials/ner_drugs
  • Build Spacy NER Loop for Dataframe
    1 project | /r/LanguageTechnology | 17 Dec 2022
    You could check out https://github.com/explosion/projects/tree/v3/tutorials for some sample code (this is the official spacy github)
  • Newbie question with Spacy Coreference Resolution
    3 projects | /r/LanguageTechnology | 7 Oct 2022
    I used this example: https://github.com/explosion/projects/tree/v3/experimental/coref
  • Using pre-trained BERT embeddings for multi-class text classification
    1 project | /r/LanguageTechnology | 10 Jan 2022
    spaCy has an example project that uses BERT that you could use as a reference. It's multilabel but it should be easy to tweak the config to be just multiclass instead.
  • SpaCy v3.0 Released (Python Natural Language Processing)
    9 projects | news.ycombinator.com | 1 Feb 2021
    The improved transformers support is definitely one of the main features of the release. I'm also really pleased with how the project system and config files work.

    If you're always working with exactly one task model, I think working directly in transformers isn't that different from using spaCy. But if you're orchestrating multiple models, spaCy's pipeline components and Doc object will probably be helpful. A feature in v3 that I think will be particularly useful is the ability to share a transformer model between multiple components, for instance you can have an entity recogniser, text classifier and tagger all using the same transformer, and all backpropagating to it.

    You also might find the projects system useful if you're training a lot of models. For instance, take a look at the project repo [here](https://github.com/explosion/projects/tree/v3/benchmarks/ner...). Most of the readme there is actually generated from the project.yml file, which fully specifies the preprocessing steps you need to build the project from the source assets. The project system can also push and pull intermediate or final artifacts to a remote cache, such as an S3 bucket, with the addressing of the artifacts calculated based on hashes of the inputs and the file itself.

    The config file is comprehensive and extensible. The blocks refer to typed functions that you can specify yourself, so you can substitute any of your own layer (or other) functions in, to change some part of the system's behaviour. You don't _have_ to specify your models from the config files like this --- you can instead put it together in code. But the config system means there's a way of fully specifying a pipeline and all of the training settings, which means you can really standardise your training machinery.

    Overall the theme of what we're doing is helping you to line up the workflows you use during development with something you can actually ship. We think one of the problems for ML engineers is that there's quite a gap between how people are iterating in their local dev environment (notebooks, scrappy directories etc) and getting the project into a state that you can get other people working on, try out in automation, and then pilot in some sort of soft production (e.g. directing a small amount of traffic to the model).

    The problem with iterating in the local state is that you're running the model against benchmarks that are not real, and you hit diminishing returns quite quickly this way. It also introduces a lot of rework.

    All that said, there will definitely be usage contexts where it's not worth introducing another technology. For instance, if your main goal is to develop a model, run an experiment and publish a paper, you might find spaCy doesn't do much that makes your life easier.

What are some alternatives?

When comparing syntaxdot and projects you can also consider the following projects:

laserembeddings - LASER multilingual sentence embeddings as a pip package

duckling - Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings.

spaCy - 💫 Industrial-strength Natural Language Processing (NLP) in Python

tensorflow - An Open Source Machine Learning Framework for Everyone

rules - Durable Rules Engine

candle - Minimalist ML framework for Rust

Kornia - Geometric Computer Vision Library for Spatial AI

BLINK - Entity Linker solution