Skip to main content

license: apache-2.0 base_model:

  • mistralai/Mistral-7B-Instruct-v0.3 pipeline_tag: translation tags:
  • llm
  • devops
  • development
  • polish
  • english
  • python
  • iac

🚀 WronAI - End-to-End LLM Toolkit

PyPI Version Python Version License Tests Code Style Documentation Docker Pulls

A comprehensive toolkit for creating, fine-tuning, and deploying large language models with support for both Polish and English.

🌟 Features

  • Ready-to-use WronAI package - All functionality available through the wronai package
  • Model Management - Easy installation and management of LLM models
  • Multiple Model Support - Works with various models via Ollama
  • Optimizations - 4-bit quantization, LoRA, FP16 support
  • CLI Tools - Command-line interface for all operations
  • Production Ready - Easy deployment with Docker
  • Web Interface - User-friendly Streamlit-based web UI

🚀 Quick Start

Prerequisites

  • Python 3.8+
  • Ollama installed and running
  • CUDA (optional, for GPU acceleration)

Installation

# Install the package
pip install wronai

# Start Ollama (if not already running)
ollama serve &

# Pull the required model (e.g., mistral:7b-instruct)
ollama pull mistral:7b-instruct

Basic Usage

Using Python Package

from wronai import WronAI

# Initialize with default settings
wron = WronAI()

# Chat with the model
response = wron.chat("Explain quantum computing in simple terms")
print(response)

Command Line Interface

# Start interactive chat
wronai chat

# Run a single query
wronai query "Explain quantum computing in simple terms"

Web Interface

# Start the web UI
wronai web

🔧 Model Management

List available models:

ollama list

Pull a model (if not already available):

ollama pull mistral:7b-instruct

🐳 Docker Support

Run with Docker:

docker run -p 8501:8501 wronai/wronai web

🛠️ Development

Installation from Source

# Clone the repository
git clone https://github.com/wronai/llm-demo.git
cd llm-demo

# Install in development mode
pip install -e ".[dev]"

# Install pre-commit hooks
pre-commit install

Running Tests

# Run all tests
pytest

# Run with coverage
pytest --cov=wronai --cov-report=term-missing

🤝 Contributing

Contributions are welcome! Please see our Contributing Guide for details.

📜 License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

📧 Contact

For questions or support, please open an issue on GitHub or contact us at [email protected]

Metadata

Release files for wronai 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wronai 0.1.5
File Size Uploaded
wronai-0.1.5.tar.gz 20.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wronai 0.1.5
File Interpreter ABI Platform
wronai-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 45.4 kB

Release files / wronai-0.1.5.tar.gz

Download URL wronai-0.1.5.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6d35a88d95aa3885dd4e333d7bec66d3a6ea146948b2727aeb4bf817241a233a
BLAKE2b-256 checksum
How to use checksums
64ddf44ae740e3ac34d5758c69774dfdd09b722f0125c3dcf1986b1ec18c2477
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.4 Linux/6.14.9-300.fc42.x86_64

Release files / wronai-0.1.5-py3-none-any.whl

Download URL wronai-0.1.5-py3-none-any.whl
Size 24.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e64df8fd128010bd2bf86fbcd85b1e3947dae93b3f7567336d7820d1d27684e6
BLAKE2b-256 checksum
How to use checksums
f3abcccebfeb88b0dee626e82a4d2781050d0f8541d490fcecf8e238863c0ec9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.4 Linux/6.14.9-300.fc42.x86_64

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page