Add Ollama integration for local LLM Inference#16
Open
AnandMayank wants to merge 2 commits into
Open
Conversation
- Replace Hugging Face with local Ollama integration - Enable privacy-focused, cost-free operation - Maintain full compatibility with existing evaluation - Support for local LLM models via Ollama API - Add setup scripts, utilities, and comprehensive documentation - Include migration guide and testing utilities
- Update .gitignore with additional patterns - Update README.md with latest documentation - Update evaluation/metrics.py with latest improvements - Add explainer/utils/ollama_utils.py for Ollama integration - Update explainer/utils/parse.py with latest changes - Update generation scripts with Ollama support - Add generation/utils/ directory with ollama_client.py - Add test files: simple_test.py and test_ollama_setup.py This commit ensures XRec-Ollama is fully synchronized with the latest XRec codebase.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Add Ollama Integration for Local LLM Inference
This PR introduces local Ollama support that achieves better GPT scores and GPT_std metrics in zero-shot evaluation while enabling privacy-focused, cost-free operation.
✨ Key Improvements
🎯 Setup Advantages
🐛 Issues Resolved
📈 Performance Benefits