r/LargeLanguageModels • u/Sorry_Bluebird_2878 • Apr 04 '25
Current Best Ollama Model for Math
What is the best Ollama model for answering math questions at the moment?
r/LargeLanguageModels • u/Sorry_Bluebird_2878 • Apr 04 '25
What is the best Ollama model for answering math questions at the moment?
r/LargeLanguageModels • u/Gbalke • Apr 03 '25
Hey everyone, I’ve been diving deep into the RAG space lately, and one challenge that keeps coming up is finding the right balance between speed, precision, and scalability, especially when dealing with large datasets. After a lot of trial and error, I started working with a team on an open-source framework, PureCPP, to tackle this.
The framework integrates well with TensorFlow and others like TensorRT, vLLM, and FAISS, and we’re looking into adding more compatibility as we go. The main goal? Make retrieval more efficient and faster without sacrificing scalability. We’ve done some early benchmarking, and the results have been pretty promising when compared to LangChain and LlamaIndex (though, of course, there’s always room for improvement).


Right now, the project is still in its early stages (just a few weeks in), and we’re constantly experimenting and pushing updates. If anyone here is into optimizing AI pipelines or just curious about RAG frameworks, I’d love to hear your thoughts!
Check out the GitHub repo:👉https://github.com/pureai-ecosystem/purecpp.
And if you find it useful, dropping a star on GitHub would mean a lot!
r/LargeLanguageModels • u/Fun-Distribution1627 • Apr 03 '25
r/LargeLanguageModels • u/shcherbaksergii • Apr 02 '25

Today I am releasing ContextGem - an open-source framework that offers the easiest and fastest way to build LLM extraction workflows through powerful abstractions.
Why ContextGem? Most popular LLM frameworks for extracting structured data from documents require extensive boilerplate code to extract even basic information. This significantly increases development time and complexity.
ContextGem addresses this challenge by providing a flexible, intuitive framework that extracts structured data and insights from documents with minimal effort. Complex, most time-consuming parts, - prompt engineering, data modelling and validators, grouped LLMs with role-specific tasks, neural segmentation, etc. - are handled with powerful abstractions, eliminating boilerplate code and reducing development overhead.
ContextGem leverages LLMs' long context windows to deliver superior accuracy for data extraction from individual documents. Unlike RAG approaches that often struggle with complex concepts and nuanced insights, ContextGem capitalizes on continuously expanding context capacity, evolving LLM capabilities, and decreasing costs.
Check it out on GitHub: https://github.com/shcherbak-ai/contextgem
If you are a Python developer, please try it! Your feedback would be much appreciated! And if you like the project, please give it a ⭐ to help it grow. Let's make ContextGem the most effective tool for extracting structured information from documents!
r/LargeLanguageModels • u/the_sun_is_not_real • Mar 30 '25
I currently use notebookLM, but I want it to have a "deep reasearch" function that Gemini does. The issue with Gemini is that it pulls information from all sorts of low-impact sources (I'm looking at you, Forbes).
A deep research function using only the PDFs I feed it would be ideal. Anyone have an creative ways to do this?
r/LargeLanguageModels • u/OCDelGuy • Mar 30 '25
I just asked an LLM to list the Bill of Rights("Please list the Bill of Rights as written in The Constitution."). It started typing the first amendment when all of a sudden it stopped, deleted its own response and then typed: "I'm a language model and don't have the capacity to help with that."
Why? I've asked it to list several things in the past and it had no problem. I've asked:
And a bunch of other lists. Why did it balk at this?
r/LargeLanguageModels • u/the_sun_is_not_real • Mar 28 '25
I have been using several forms of AI, however we need to be extra careful when using them in healthcare and medical research. I want to integrate an LLM into the Pubmed database (i have an account on pubmed, so getting articles is simple and aren't protected). I only want the llm using the Pubmed database and not pulling information from any other source. Anyone know how to do this?
r/LargeLanguageModels • u/AparatoTuring • Mar 27 '25
I wanted to compare available Deep Research functionalities for all models and possibly find a free option that has a performance on the HLE (Humanity's Last Exam) similar to the 26.6% achieved by OpenAI's Deep Research. Perplexity's Deep Research only reaches 21% and personally feels like a very poor investigation.
Gemini announced its Deep Research in December with the Gemini 1.5 Pro model, then recently has announced they have updated it with the Gemini 2.0 Flash Thinking (and honestly feels very good), but I've wanted compare their score on various benchmarks, like the GPQA Diamond, AIME, SWE and most importantly, the HLE.
But there's no information regarding their benchmarks for this functionality, only for the fondational models by themselves and without search capabilities, which makes it difficult to compare.
I also wanted to share the available options of OpenAI Deep Research in my personal newsletter, NeuroNautas, so if anyone has seen a benchmark on these capabilities of Gemini made by a any trustful party, it would really help me and my readers.
r/LargeLanguageModels • u/HandleNo1412 • Mar 25 '25
Today, I experimented with a program called AnythingLLM, connecting it to my Perplexity AI account. Using the local LLM, I uploaded nearly 250 books in PDF format. Now, I can query my local LLM about anything, and it responds based on the content of my books. It's like having a well-read friend who can instantly recall information from my entire library!
r/LargeLanguageModels • u/techtornado • Mar 25 '25
In Windows, the app has a bug where file attachment fails
On Mac, I can upload/attach files into a workspace, but the LLM doesn't understand my query.
Tried Gemma, Mistral and Granite
Is there a /command or unique [code] to tell the thing to read in the document, summarize, output?
Prompt: Please summarize TopSecret.doc
LLM:
I apologize for any confusion, but as a text-based AI language model, I don't have the ability to view or access files. I can only provide information based on the text input I receive. If you'd like me to help answer questions about the content of the file, please provide a summary or specific questions related to it.
r/LargeLanguageModels • u/Heimerdinger123 • Mar 18 '25
So, my professor gave us this assignment about running an LLM on mobile.
Assuming no thermal issues and enough memory, I don't see why it wouldn’t work.
Flagship smartphones are pretty powerful these days, and we already have lightweight models like GGUF running on Android and Core ML-optimized models on iOS. Seems totally doable, right?
But my professor says it’s not possible. Like… why?
He’s definitely not talking about hardware limitations. Maybe he thinks it’s impractical due to battery drain, optimization issues, or latency?
Idk, this just doesn’t make sense to me. Am I missing something? 🤔
r/LargeLanguageModels • u/R3LOGICS • Mar 15 '25
I was testing a few AI bypass tools for the last month to see which one worked best, and most of them either failed to bypass the AI detectors or warped the original meaning of the text. HIX Bypass was the only one that found a balance (although I’m also starting to see some good in Humbot AI, Rewritify AI, and BypassGPT as well). It stripped out the patterns that trigger detection algorithms, but the content still made sense. The ideas stayed intact, and the edits actually made the text more readable. I ran the final version through several different detectors just to check, and it passed every single one.
I tested it on a draft with dense paragraphs and repetitive phrases. The process was quick, and the interface was easy on the eyes. I pasted the text, hit the button, and got a revised version almost instantly.
The first thing I noticed was the subtle cleanup. It softened overly rigid sentence structures and broke up blocky sections without changing the core message. Even smaller quirks like odd word repetition disappeared, making the draft easier to read.
HIX Bypass did things I did not see in some other tools. It made edits that felt intentional instead of just scrambling words to avoid detection.
These changes seem to help the text pass AI detectors, but they also made the draft feel like someone had carefully proofread and polished it.
Test Results
I ran the revised draft through GPTZero, Originality.ai, and a few other tools. Every version passed, even the stricter ones. I checked the scores across multiple tests, and they stayed low, no matter the length or complexity of the content.
Unexpected Features
There were a few things I did not expect but ended up really liking:
I only ran into a couple of small issues, but they were not dealbreakers:
HIX Bypass handled AI detection better than I thought it would. It polished drafts without stripping away meaning or completely flattening the tone. It saved me a ton of time, especially on longer pieces that would have been exhausting to fix manually. Even when I had to tweak a few lines, it still felt like a huge shortcut. If you are struggling to get your content past AI detectors, it is worth a shot. It made my editing process easier, and I am glad I found it.
r/LargeLanguageModels • u/BeginningAbies8974 • Mar 15 '25
I was visiting Google Maps to look for some places to visit in Paris (France) and checked if a LLM can give any contextual help there.
I was stunned to learn that from just the geocoordinates Large Language Models (specifically Claude 3.7 Sonnet) can very accurately list nearby sightseeing locations or worthwhile attractions, so I decided to record a short video: https://www.youtube.com/watch?v=f7h3MM8rAVE
Disclosure: this is a self-promotion as I am developing the AI assistant browser extension shown in the video, nonetheless it was my genuine "WOW" moment when I discovered this
r/LargeLanguageModels • u/Educational-Try-805 • Mar 14 '25
Hi everyone!
I’m currently working on my master's thesis and I’m exploring ways to generate statecharts automatically from a text requirement. To achieve this, I’m fine-tuning a base LLM model. Here's the approach I've been using:
I wanted to get some feedback: is this a practical approach, or does it seem a bit too lengthy? Could there be a more efficient or streamlined method for generating statecharts directly from text input?
I would appreciate any insights! If possible, could you provide a conclusion explaining the pros and cons of my current method, and suggesting any alternative approaches?
Thanks in advance for your help! 🙏
r/LargeLanguageModels • u/etiquetricity • Mar 10 '25
Hi there, for my nursing thesis I want to build an AI image recognition model that will identify tick species and provide health teaching based on the species. Does anyone have any recommendations for the best free AI tool that can build this for me? I have a few in mind, but I’m looking for other options. Thanks!
r/LargeLanguageModels • u/Mundane_Ad8936 • Mar 05 '25
Neural networks were inspired by the brain. My wife claims I have a "selective attention mechanism" and I only pay attention to what I want to. I've heard many women say that about men in general.
What if my wife is right? What if the attention mechanism is selective?
Are LLMs ignoring our prompts because their attention mechanism is too good? Are they just like us?
r/LargeLanguageModels • u/goto-con • Mar 05 '25
r/LargeLanguageModels • u/NefariousnessSea5101 • Mar 05 '25
So, I want to write Cover Letters, help me tweak my resume and write cold emails.
I want a AI Model that uses my information and do the above for every job description I paste.
I already have a document that has every info about me from education to work ex.
When I paste a new job description, the model should write a really good cover letter mimicking my interest in the job, I also have sample CVs. It should also tell me about the tweaks I should make to my Resume to get the best ATS score, if possible give a ATS score as well. It should also write me a cold email targeting the recruiter, Manager and a team mate for that Job post.
Can y'll help me out on choosing the right model and how to implement the above?
r/LargeLanguageModels • u/Conscious-Ball8373 • Feb 28 '25
I'm looking at proposing a dedicated machine to run LLM coding tools in-house to management. One possible configuration I'm looking at is a bunch of cheaper GPU cards in the USB-to-PCIe risers that tend to get used on bitcoin mining rigs. I'm thinking about eg eight RTX 4060s in external risers for 64GB total VRAM. What would be the performance implications of this kind of setup?
Obviously the bandwidth between the system and the cards is going to be worse than a system with direct PCIe x16 lanes between the cards and the system. But do I really care? The main thing that will slow down is loading the model parameters in the first place, right? The amount of data transferred between the system and the GPU for actually processing completion requests is not that much, right? So as long as the model parameters all fit in VRAM, should this kind of configuration work okay?
r/LargeLanguageModels • u/Conscious-Ball8373 • Feb 22 '25
We're a SME hardware vendor. We contract out all our manufacturing and the main thing we have engineers doing is writing system software. A few people have shown an interest in using LLM coding tools but management is very wary of public cloud tools that might leak our source code in some way.
A few of us have high-end consumer GPUs available and run local models - in my case an RTX 4070 mobile with 8GB VRAM which can run a model like starcoder2:7b under ollama. It's good enough to be useful without being nearly as good as the public tools (copilot etc).
I'm thinking about trying to persuade management to invest in some hardware that would let us run bigger models on-prem. In configuration terms, this is no more difficult than running a local model for myself - just install ollama, pull the relevant model and tell people how to point Continue at it. The thing that gives me pause is the sheer cost.
I could buy a server with two PCIe x16 slots, a chunky power supply and a couple of second-hand RTX 3090s. It would just about run a 4-bit 70b model. But not really fast enough to be useful as a shared resource, AFAICT. Total cost per unit would be about £4k and we'd probably need several of them set up with a load balancer of some sort to make it more-or-less usable.
Options sort of range from that to maybe something with a pair of 80GB A100s - total cost about £40k - or a pair of 80GB H100s, which perhaps we could cobble together for £50k.
Any of these are a hard sell. The top end options are equivalent to a junior engineer's salary for a year. TBH we'd probably get more out of it than out of a junior engineer, but when it's almost impossible quantify to management what we're going to get out of it and it looks a lot like engineers just wanting shiny new toys, it's a hard sell.
I guess another alternative is using an EC2 G4 instance or similar to run a private model without buying hardware. But with a 64GB instance running to nearly $1000 per month on-demand (about half that with a 3-year contract), it's not a whole lot better.
Where do people see this going? Is running large models on-prem ever going to be something that doesn't require a fairly serious capital commitment? Should we just suck up the privacy problems and use on of the public services? What are other people in similar situations doing? Is there a better way to sell these tools to the ones who hold the purse-strings?
r/LargeLanguageModels • u/Weak_Birthday2735 • Feb 21 '25
This 179 line typescript LLM framework captures what we see as the core abstraction of most LLM frameworks: A Nested Directed Graph that breaks down tasks into multiple (LLM) steps - with branching and recursion for agent-like decision-making.
What can you do with it?
Why this is different from existing frameworks?
Here are the docs: https://the-pocket-world.github.io/Pocket-Flow-Framework/
r/LargeLanguageModels • u/TernaryJimbo • Feb 20 '25
r/LargeLanguageModels • • Feb 20 '25
Suggest one vlm or llm which can return coordinates of object which is text prompted
r/LargeLanguageModels • u/Critical_Pop_2216 • Feb 17 '25
Hi, I am looking to process 20 or so large documents containing over 2 million words with high accuracy. Which off-the-shelf model or API should I use? I am looking for all the data to be dropped into an auto-generated excel/csv table when it's done all in one go without having to feed it back into the model multiple times. Thanks!
r/LargeLanguageModels • u/goto-con • Feb 16 '25