syntaxdot VS candle

Compare syntaxdot vs candle and see what are their differences.

syntaxdot

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

candle

Minimalist ML framework for Rust (by huggingface)
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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
syntaxdot candle
4 17
67 13,475
- 9.0%
6.2 9.9
6 months ago 3 days ago
Rust Rust
GNU General Public License v3.0 or later Apache License 2.0
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...

candle

Posts with mentions or reviews of candle. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-08.
  • karpathy/llm.c
    10 projects | news.ycombinator.com | 8 Apr 2024
    Candle already exists[1], and it runs pretty well. Can use both CUDA and Metal backends (or just plain-old CPU).

    [1] https://github.com/huggingface/candle

  • Best alternative for python
    2 projects | /r/deeplearning | 6 Dec 2023
  • Is there any LLM that can be installed with out python
    2 projects | /r/LocalLLaMA | 5 Dec 2023
    Check out Candle! It's a Deep Learning framework for Rust. You can run LLMs in binaries.
  • Announcing Kalosm - an local first AI meta-framework for Rust
    2 projects | /r/rust | 12 Nov 2023
    Kalosm is a meta-framework for AI written in Rust using candle. Kalosm supports local quantized large language models like Llama, Mistral, Phi-1.5, and Zephyr. It also supports other quantized models like Wuerstchen, Segment Anything, and Whisper. In addition to local models, Kalosm supports remote models like GPT-4 and ada embeddings.
  • RFC: candle-lora
    2 projects | /r/rust | 24 Oct 2023
    I have been working on a machine learning library called candle-lora for Candle. It implementes a technique called LoRA (low rank adaptation), which allows you to reduce a model's trainable parameter count by wrapping and freezing old layers.
  • ExecuTorch: Enabling On-Device interference for embedded devices
    4 projects | news.ycombinator.com | 17 Oct 2023
    [2] https://github.com/huggingface/candle/issues/313
  • [P] Open-source project to run locally LLMs in browser, such as Phi-1.5 for fully private inference
    2 projects | /r/MachineLearning | 6 Oct 2023
    We provide full local inference in browser, by using libraries from Hugging Face like transformers.js or candle for WASM inference.
  • Update on the Candle ML framework.
    1 project | /r/rust | 27 Sep 2023
    We've first announced Candle, a minimalist ML framework in Rust 6 weeks ago. Since then we've focused on adding various recent models and improved the framework so as to support the necessary features in an efficient way. You can checkout a gallery of the examples, supported models include:
  • Should I Haskell or OCaml?
    4 projects | news.ycombinator.com | 16 Sep 2023
    How did you select those two as your options?

    I'm just a hobbyist that enjoys programming, and I eventually wanted to expand beyond python. I looked at Haskell and read Learn You a Haskell and did some Exercism exercises but never got anywhere close to being able to use it for real projects. Have been trying to learn about Lisp lately and feel like I've come to a similar dead end.

    On the other hand, both Go and Rust have felt fulfilling and practical, with static typing and solid tooling, cross compilations, static binaries, and dependency management that is just a huge breath of fresh air coming from python.

    The ML / data science scene is nowhere near as developed as in Python, and I still lean on jupyter/polars/PyTorch here, but I think the candle project[0] seems very interesting. Compiling whisper down to a single CUDA-leveraging binary for fast local transcription is pretty cool!

    [0]: https://github.com/huggingface/candle

  • Minimalist ML framework for Rust
    1 project | /r/aiengineer | 10 Aug 2023

What are some alternatives?

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

laserembeddings - LASER multilingual sentence embeddings as a pip package

Universal-G-Code-Sender - A cross-platform G-Code sender for GRBL, Smoothieware, TinyG and G2core.

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

burn - Burn is a new comprehensive dynamic Deep Learning Framework built using Rust with extreme flexibility, compute efficiency and portability as its primary goals. [Moved to: https://github.com/Tracel-AI/burn]

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

tch-rs - Rust bindings for the C++ api of PyTorch.

projects - 🪐 End-to-end NLP workflows from prototype to production

bCNC - GRBL CNC command sender, autoleveler and g-code editor

tensorflow - An Open Source Machine Learning Framework for Everyone

gsender - Connect to and control Grbl-based CNCs with ease

Kornia - Geometric Computer Vision Library for Spatial AI

cncjs - A web-based interface for CNC milling controller running Grbl, Marlin, Smoothieware, or TinyG.