NLTK | llama.cpp | |
---|---|---|
64 | 773 | |
13,035 | 56,891 | |
0.8% | - | |
8.1 | 10.0 | |
14 days ago | 5 days ago | |
Python | C++ | |
Apache License 2.0 | MIT License |
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.
NLTK
-
Building a local AI smart Home Assistant
alternatively, could we not simply split by common characters such as newlines and periods, to split it within sentences? it would be fragile with special handling required for numbers with decimal points and probably various other edge cases, though.
there are also Python libraries meant for natural language parsing[0] that could do that task for us. I even see examples on stack overflow[1] that simply split text into sentences.
[0]: https://www.nltk.org/
-
Sorry if this is a dumb question but is the main idea behind LLMs to output text based on user input?
Check out https://www.nltk.org/ and work through it, it'll give you a foundational understanding of how all this works, but very basically it's just a fancy auto-complete.
-
Best Portfolio Projects for Data Science
NLTK Documentation
- Where to start learning NLP ?
-
Is there a programmatic way to check if two strings are paraphrased?
If this is True, then you need also Natural Language Toolkit to process the words.
-
[CROSS-POST] What programming language should I learn for corpus linguistics?
In that case, you should definitely have a look at Python's nltk library which stands for Natural Language Toolkit. They have a rich corpus collection for all kinds of specialized things like grammars, taggers, chunkers, etc.
-
Transition to ml, starting with LLM
If not, start with Python's Natural Language Toolkit.
-
Learning resources for NLP
Try https://www.nltk.org it runs you through the basics. The book is here
-
Which programming language should I learn for NLP and computational linguistics?
In terms of programming languages, Python is a great first programming language. the learnpython subreddit has lots of good recommendations for resources to get started. Once you're comfortable with the language, NLTK would be a good place to start, and the docs have heaps of examples. Check it out https://www.nltk.org/
-
Python for stock analysis?
The most popular library to do this is NLTK though I believe you can use some of the popular AI API services today as well. Bloomberg launched one.
llama.cpp
-
Better and Faster Large Language Models via Multi-Token Prediction
For anyone interested in exploring this, llama.cpp has an example implementation here:
https://github.com/ggerganov/llama.cpp/tree/master/examples/...
- Llama.cpp Bfloat16 Support
-
Fine-tune your first large language model (LLM) with LoRA, llama.cpp, and KitOps in 5 easy steps
Getting started with LLMs can be intimidating. In this tutorial we will show you how to fine-tune a large language model using LoRA, facilitated by tools like llama.cpp and KitOps.
- GGML Flash Attention support merged into llama.cpp
-
Phi-3 Weights Released
well https://github.com/ggerganov/llama.cpp/issues/6849
- Lossless Acceleration of LLM via Adaptive N-Gram Parallel Decoding
- Llama.cpp Working on Support for Llama3
-
Embeddings are a good starting point for the AI curious app developer
Have just done this recently for local chat with pdf feature in https://recurse.chat. (It's a macOS app that has built-in llama.cpp server and local vector database)
Running an embedding server locally is pretty straightforward:
- Get llama.cpp release binary: https://github.com/ggerganov/llama.cpp/releases
- Mixtral 8x22B
- Llama.cpp: Improve CPU prompt eval speed
What are some alternatives?
spaCy - 💫 Industrial-strength Natural Language Processing (NLP) in Python
ollama - Get up and running with Llama 3, Mistral, Gemma, and other large language models.
TextBlob - Simple, Pythonic, text processing--Sentiment analysis, part-of-speech tagging, noun phrase extraction, translation, and more.
gpt4all - gpt4all: run open-source LLMs anywhere
bert - TensorFlow code and pre-trained models for BERT
text-generation-webui - A Gradio web UI for Large Language Models. Supports transformers, GPTQ, AWQ, EXL2, llama.cpp (GGUF), Llama models.
Stanza - Stanford NLP Python library for tokenization, sentence segmentation, NER, and parsing of many human languages
GPTQ-for-LLaMa - 4 bits quantization of LLaMA using GPTQ
polyglot - Multilingual text (NLP) processing toolkit
ggml - Tensor library for machine learning
PyTorch-NLP - Basic Utilities for PyTorch Natural Language Processing (NLP)
alpaca.cpp - Locally run an Instruction-Tuned Chat-Style LLM