torcheval
ollama
torcheval | ollama | |
---|---|---|
3 | 226 | |
196 | 72,781 | |
5.1% | 14.0% | |
7.5 | 9.9 | |
about 1 month ago | 4 days ago | |
Python | Go | |
GNU General Public License v3.0 or later | 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.
torcheval
-
How Is LLaMa.cpp Possible?
Reading this could make people believe it is computed from the probability distribution of the model alone.
To be clearer, it is the exponent of the average negative log probability that the model gives to the real tokens of a sample text[0]. Roughly, it relates to how strongly the model can predict the sample text. A perfect model would have zero perplexity; a random model has a perplexity equal to the number of possible tokens; the worst model has infinite perplexity.
[0]: https://github.com/pytorch/torcheval/blob/3faf19c060b8a7c074...
-
What skills are necessary to understand/be able to make meaningful contributions to PyTorch?
Shameless plug, my team works on torcheval and torchtnt. Neither of them are core pytorch, but if you're looking to help build out tooling for metric evaluation or training frameworks, both libraries are pretty new with very low hanging fruit.
-
[D] AMA: The Stability AI Team
Hey I work on TorchEval let us know if we can be of any help here :)
ollama
-
SpringAI, llama3 and pgvector: bRAGging rights!
To support the exploration, I've developed a simple Retrieval Augmented Generation (RAG) workflow that works completely locally on the laptop for free. If you're interested, you can find the code itself here. Basically, I've used Testcontainers to create a Postgres database container with the pgvector extension to store text embeddings and an open source LLM with which I send requests to: Meta's llama3 through ollama.
-
RAG with OLLAMA
Note: Before proceeding further you need to download and run Ollama, you can do so by clicking here.
-
Ollama 0.1.42
`file://*` URLs are now allowed => ollama works with simple html files now
https://github.com/ollama/ollama/commit/1a29e9a879433fc55cf1...
-
How to setup a free, self-hosted AI model for use with VS Code
This guide assumes you have a supported NVIDIA GPU and have installed Ubuntu 22.04 on the machine that will host the ollama docker image. AMD is now supported with ollama but this guide does not cover this type of setup.
-
beginner guide to fully local RAG on entry-level machines
Nowadays, running powerful LLMs locally is ridiculously easy when using tools such as ollama. Just follow the installation instructions for your #OS. From now on, we'll assume using bash on Ubuntu.
- Codestral: Mistral's Code Model
- AIM Weekly 27 May 2024
-
Devoxx Genie Plugin : an Update
I focused on supporting Ollama, GPT4All, and LMStudio, all of which run smoothly on a Mac computer. Many of these tools are user-friendly wrappers around Llama.cpp, allowing easy model downloads and providing a REST interface to query the available models. Last week, I also added "👋🏼 Jan" support because HuggingFace has endorsed this provider out-of-the-box.
- Ask HN: Are companies self hosting LLMs?
- Ollama v0.1.39 Pre-release. Support Phi-3 Medium
What are some alternatives?
tnt - A lightweight library for PyTorch training tools and utilities
llama.cpp - LLM inference in C/C++
gpt4all - gpt4all: run open-source LLMs anywhere
polyglot - Polyglot: Large Language Models of Well-balanced Competence in Multi-languages
text-generation-webui - A Gradio web UI for Large Language Models. Supports transformers, GPTQ, AWQ, EXL2, llama.cpp (GGUF), Llama models.
ggllm.cpp - Falcon LLM ggml framework with CPU and GPU support
private-gpt - Interact with your documents using the power of GPT, 100% privately, no data leaks
bitsandbytes - Accessible large language models via k-bit quantization for PyTorch.
LocalAI - :robot: The free, Open Source OpenAI alternative. Self-hosted, community-driven and local-first. Drop-in replacement for OpenAI running on consumer-grade hardware. No GPU required. Runs gguf, transformers, diffusers and many more models architectures. It allows to generate Text, Audio, Video, Images. Also with voice cloning capabilities.
stable-diffusion-webui - Stable Diffusion web UI
llama - Inference code for Llama models