Skip to main content

Open In Colab

A headless Oobabooga wrapper.


pip install ooba
import ooba

path = ooba.download("https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.1-GGUF")

llm = ooba.llm(path)
messages = [{"role": "user", "content": "Hi Mistral."}]

for token in llm.chat(messages):
    print(token)

https://github.com/KillianLucas/ooba/assets/63927363/b741f4ee-9dca-4c50-9405-dd99550b2dc8

Metadata

Release files for ooba 0.0.22

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

Source distribution (sdist)

Source distribution for ooba 0.0.22
File Size Uploaded
ooba-0.0.22.tar.gz 20.9 kB Details

Built distribution (wheel)

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

Total release size: 45.5 kB

Release files / ooba-0.0.22.tar.gz

Download URL ooba-0.0.22.tar.gz
Size 20.9 kB
Tags Source
SHA-256 checksum
How to use checksums
334b4098e84b6e8c605696d787c64a8bf19b1a5d77e972e4e58159a45a7dfa77
BLAKE2b-256 checksum
How to use checksums
e60b1442abee384551465a0990aaecd5534554761a818096a01d998448041ba7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.5 Darwin/21.6.0

Release files / ooba-0.0.22-py3-none-any.whl

Download URL ooba-0.0.22-py3-none-any.whl
Size 24.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92aaa1534af1ef9d27cae781941448d4c47ba9b7b23a8cc8c92cee5a5e61e185
BLAKE2b-256 checksum
How to use checksums
6fb8e72e1cdf34155c43ec98743688bc73b6adf8dafedc5afced514f08983f4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.5 Darwin/21.6.0

Release history Release notifications | RSS feed

This release

0.0.22 This release

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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