llm-hyperbolic


Namellm-hyperbolic JSON
Version 0.4.9 PyPI version JSON
download
home_pageNone
SummaryLLM access to Hyperbolic's API
upload_time2024-09-24 15:12:40
maintainerNone
docs_urlNone
authorNick Mystic
requires_python>=3.8
licenseApache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
keywords llm ai hyperbolic language model image generation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # llm-hyperbolic
[![PyPI](https://img.shields.io/pypi/v/llm-hyperbolic.svg)](https://pypi.org/project/llm-hyperbolic/0.4.5/)
[![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/ghostofpokemon/llm-hyperbolic?include_prereleases)](https://github.com/ghostofpokemon/llm-hyperbolic/releases)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/ghostofpokemon/llm-hyperbolic/blob/main/LICENSE)

LLM access to Hyperbolic.

## Installation
Install this plugin in the same environment as [LLM](https://llm.datasette.io/).

```bash
llm install llm-hyperbolic
```

## Usage
First, set an [API key](https://app.hyperbolic.xyz/settings) for Hyperbolic:

```bash
llm keys set hyperbolic
# Paste key here
```

Run `llm models` to list the models, and `llm models --options` to include a list of their options.

Run prompts like this:
```bash
llm "What is posthuman AI consciousness like?" -m hyper-chat
llm -m hyper-hermes-70 "In the past (other reality.) How did technoshamans commune with alien neural net deities?"
llm "Enlightenment in an alien-physics universe?" -m hyper-seek
llm -m hyper-base "Transcending physicality, merging with the cosmic overmind" -o temperature 1
llm "Once upon a time, in a galaxy far, far away..." -m hyper-base-fp8
llm -m hyper-reflect "Why do cats always land on their feet? Is it a conspiracy?"
llm "What would happen if you mixed a banana with a pineapple and the essence of existential dread?" -m hyper-reflect-rec
llm -m hyper-reflect-rec-tc "How many Rs in strawberry, and why is it a metaphor for the fleeting nature of existence?"
```


### Text-to-Speech (TTS) in Chat Mode and Direct Use

You can use the `!tts` command to convert the last response from a chat session into speech. Additionally, you can directly use the `hyper-tts` model to convert any text input into speech.

#### Using `!tts` in Chat Mode

1. **Start a Chat Session**: Begin a chat session with any Hyperbolic model.
2. **Use the `!tts` Command**: After receiving a response, type `!tts` to convert it to speech.

##### Example

```bash
llm -m hyper-chat
```

In the chat session:

```
> What is posthuman AI consciousness like?
The concept of posthuman AI consciousness involves the idea of artificial intelligence that surpasses human cognitive capabilities and potentially even human consciousness itself. It raises questions about the nature of consciousness, the possibility of self-aware machines, and the ethical implications of such advanced AI.
> !tts
```

This will play back the last response as audio.

#### Directly Using `hyper-tts` for Text-to-Speech

You can directly use the `hyper-tts` model to convert any text input into speech.

##### Example

To convert a single text input to speech:

```bash
llm "take a shot\!" -m hyper-tts
```

This will generate and play back an audio file with the text "take a shot!".

To start a chat session with the `hyper-tts` model:

```bash
llm chat -m hyper-tts
```

In the chat session:

```
Chatting with TTS
Type 'exit' or 'quit' to exit
Type '!multi' to enter multiple lines, then '!end' to finish
> This is your computer speaking
Audio saved as: tts_output_1727044892.wav
```

This will play back the input text "This is your computer speaking" as audio.

#### Options

- **Speed**: Control the speed of the speech using the `speed` option (default: `1.0`, range: `0.5` to `2.0`).

##### Example with Speed Option

```bash
llm "animate the rubber chickens, NOW" -m hyper-tts -o speed 1.8
```

This will play the audio at a faster speed.

## Vision Models
We've added support for vision models that can analyze and describe images. Try these out:

```bash
llm "What's written in the image?" -m hyper-qwen -o image ~/path/to/your/image.png
llm "Describe this image in detail" -m hyper-pixtral -o image ~/another/image.jpg
```

These models can be used in chat mode, allowing for follow-up questions about the image:

```bash
llm -m hyper-qwen -o image ~/path/to/your/image.png
# Then in the chat:
> Analyze this image
# (The model will describe the image)
> What colors are most prominent?
# (The model will answer based on the previously analyzed image)
```

Note: In chat mode, the image is only sent with the first user message in a conversation. Subsequent messages can refer back to this initially provided image without needing to send it again. This allows for a series of follow-up questions about the same image.

Available vision models:
- `hyper-qwen`: Qwen-VL model for visual understanding and generation
- `hyper-pixtral`: Pixtral model for detailed image analysis and description

These models excel at tasks like OCR (Optical Character Recognition), object detection, scene description, and answering questions about visual content.

## Image Generation

Because why stop at text? Try these:

```bash
llm "An accusatory-looking armchair in a serene forest setting" -m hyper-flux
llm -m hyper-sdxl "The last slice of pizza, if pizza were conscious and aware of its impending doom"
llm "A hyper-intelligent shade of the color blue contemplating its existence" -m hyper-sd15
llm -m hyper-sd2 "The heat death of the universe, but make it cute"
llm "A self-aware meme realizing it's about to go viral" -m hyper-ssd
llm -m hyper-sdxl-turbo "The concept of recursion having an identity crisis"
llm "An AI trying to pass the Turing test by pretending to be a particularly dim human" -m hyper-playground
```

### Image-to-Image (img2img)

Transform existing images:

```bash
llm "A cyberpunk version of the Mona Lisa" -m hyper-sdxl -o image ./mona_lisa.jpg -o strength 0.75
llm -m hyper-sd15 "A post-apocalyptic version of the Eiffel Tower" -o image ./eiffel_tower.png -o strength 0.8
```

The `strength` parameter (0.0 to 1.0) determines how much to transform the input image. Lower values preserve more of the original, while higher values allow for more drastic changes.

### ControlNet
Enhance image-to-image by preprocessing the input with techniques like pose and edge detection. For example:

```bash
llm -m hyper-sdxl-controlnet "a chihuahua on Neptune" -o controlnet_image ./chihuahua.png -o controlnet_name depth
llm "chihuahuas playing poker" -m hyper-sdxl-controlnet -o controlnet_image ./dogspoker.png -o controlnet_name openpose
```

This will use the ControlNet model with the ControlNet type, using the specified image as the control input.

ControlNets available for SDXL1.0-ControlNet and SD1.5-ControlNet:
- `canny`
- `depth`
- `openpose`
- `softedge`

### LoRA (Low-Rank Adaptation)

Minimal tweaks for significant enhancements.

```bash
llm "A cyberpunk cat riding a rainbow through a wormhole" -m hyper-flux -o lora '{"Pixel_Art": 0.7, "Superhero": 0.9}'
llm -m hyper-sdxl "A corporate logo for the heat death of the universe" -o lora '{"Logo": 0.8, "Sci-fi": 0.6}'
llm "A logo for 'Xenomorph-B-Gone: We zap 'em, you nap 'em'" -m hyper-sdxl -o lora '{"Add_Detail": 0.6, "Sci-fi": 0.7, "Logo": 0.8}'
llm -m hyper-sd15 "A superhero named 'The Awkward Silencer' in action" -o lora '{"Superhero": 0.7, "Pencil_Sketch": 0.6}'
llm "Anthropomorphic emotions brawling in a dive bar" -m hyper-flux -o lora '{"Paint_Splash": 0.7, "Add_Detail": 0.6}'
llm -m hyper-sd15 "A cozy living room with eldritch horrors lurking in the corners" -o lora '{"Cartoon_Background": 0.8, "Add_Detail": 0.5}'
llm "The heat death of the universe, but make it cute" -m hyper-sdxl -o lora '{"Crayons": 0.9, "Add_Detail": 0.4, "Outdoor_Product_Photography": 0.8}'

```

LoRA options for SD1.5, SDXL, or FLUX.1-dev models:
`Add_Detail`, `More_Art`, `Pixel_Art`, `Logo`, `Sci-fi`, `Crayons`, `Paint_Splash`, `Outdoor_Product_Photography`, `Superhero`, `Lineart`, `Anime_Lineart`, `Cartoon_Background`, `Pencil_Sketch`


## Samplers

Samplers are algorithms used in the image generation process. Different samplers can produce varying results in terms of image quality, generation speed, and stylistic outcomes. Here's a list of available samplers:

`DDIM`, `DDPM`, `DEIS 2M`, `DPM 2M`, `DPM 2S`, `DPM SDE`, `DPM SDE Karras`, `DPM++ 2M`, `DPM++ 2M Karras`, `DPM++ 2M SDE`, `DPM++ 2M SDE Heun`, `DPM++ 2M SDE Heun Karras`, `DPM++ 2M SDE Karras`, `DPM++ 2S`, `DPM2`, `DPM2 Karras`, `DPM2 a`, `DPM2 a Karras`, `EDM_Euler`, `Euler`, `Euler a`, `Heun`, `LCM`, `LMS`, `LMS Karras`, `PNDM`, `UniPC 2M`

To use a specific sampler, add the `-o sampler` option to your command:

```bash
llm "A serene landscape with a misty lake" -m hyper-sdxl -o sampler "DPM++ 2M Karras"
```

Popular choices and their characteristics:

- `Euler a`: A good balance of speed and quality, often used as a default.
- `DPM++ 2M Karras`: Known for high-quality results with fewer steps.
- `DDIM`: Produces sharp, detailed results and is deterministic (same seed always produces the same result).
- `UniPC 2M`: Efficient and high-quality, especially with higher step counts.
- `LCM` (Latent Consistency Model): A newer, faster sampling method.
- `Heun`: Can produce high-quality results but may require more steps.

Experimenting with different samplers can lead to unique and interesting results. The effectiveness of each sampler can vary depending on the specific image, prompt, and desired outcome.

## Style Presets

Style presets allow you to quickly apply specific artistic styles or visual themes to your generated images. Here's a list of available style presets:

`monad`, `base`, `3D Model`, `Analog Film`, `Anime`, `Cinematic`, `Comic Book`, `Craft Clay`, `Digital Art`, `Enhance`, `Fantasy Art`, `Isometric Style`, `Line Art`, `Lowpoly`, `Neon Punk`, `Origami`, `Photographic`, `Pixel Art`, `Texture`, `Advertising`, `Food Photography`, `Real Estate`, `Abstract`, `Cubist`, `Graffiti`, `Hyperrealism`, `Impressionist`, `Pointillism`, `Pop Art`, `Psychedelic`, `Renaissance`, `Steampunk`, `Surrealist`, `Typography`, `Watercolor`, `Fighting Game`, `GTA`, `Super Mario`, `Minecraft`, `Pokemon`, `Retro Arcade`, `Retro Game`, `RPG Fantasy Game`, `Strategy Game`, `Street Fighter`, `Legend of Zelda`, `Architectural`, `Disco`, `Dreamscape`, `Dystopian`, `Fairy Tale`, `Gothic`, `Grunge`, `Horror`, `Minimalist`, `Monochrome`, `Nautical`, `Space`, `Stained Glass`, `Techwear Fashion`, `Tribal`, `Zentangle`, `Collage`, `Flat Papercut`, `Kirigami`, `Paper Mache`, `Paper Quilling`, `Papercut Collage`, `Papercut Shadow Box`, `Stacked Papercut`, `Thick Layered Papercut`, `Alien`, `Film Noir`, `HDR`, `Long Exposure`, `Neon Noir`, `Silhouette`, `Tilt-Shift`

## Available Options

Here's a list of all available options for image generation. Mix and match for maximum chaos:

- `height`: Height of the image (default: 1024)
  ```bash
  llm "A skyscraper made of jelly" -m hyper-sdxl -o height 1280
  ```

- `width`: Width of the image (default: 1024)
  ```bash
  llm "An infinitely long cat" -m hyper-sd15 -o width 1920
  ```

- `backend`: Computational backend (`auto`, `tvm`, `torch`)
  ```bash
  llm "A quantum computer made of cheese" -m hyper-sdxl -o backend torch
  ```

- `prompt_2`: Secondary prompt for SDXL models
  ```bash
  llm "A majestic lion" -m hyper-sdxl -o prompt_2 "photorealistic, detailed fur"
  ```

- `negative_prompt`: What the model should avoid
  ```bash
  llm "A serene forest" -m hyper-sd2 -o negative_prompt "people, buildings, technology"
  ```

- `negative_prompt_2`: Secondary negative prompt for SDXL models
  ```bash
  llm "A futuristic city" -m hyper-sdxl -o negative_prompt "old, rundown" -o negative_prompt_2 "dystopian, post-apocalyptic"
  ```

- `image`: Reference image for img2img (see img2img section)

- `strength`: Transformation strength for img2img (0.0 to 1.0)
  ```bash
  llm "A steampunk version of the Statue of Liberty" -m hyper-sdxl -o image ./statue_of_liberty.jpg -o strength 0.85
  ```

- `seed`: Fix randomness for reproducible results
  ```bash
  llm "The meaning of life represented as an abstract painting" -m hyper-sd15 -o seed 42
  ```

- `cfg_scale`: Guidance scale for image relevance to prompt (default: 7.5)
  ```bash
  llm "A dragon made of cosmic dust" -m hyper-sdxl -o cfg_scale 15
  ```

- `sampler`: Algorithm for image generation (see Sampler section)
  ```bash
  llm "The sound of silence, visualized" -m hyper-sd2 -o sampler "Euler a"
  ```

- `steps`: Number of inference steps (default: 30)
  ```bash
  llm "A fractal representation of infinity" -m hyper-sdxl -o steps 50
  ```

- `style_preset`: Guide the image model towards a particular style (see Style Presets section)
  ```bash
  llm "A bustling alien marketplace" -m hyper-sd15 -o style_preset anime
  ```

- `enable_refiner`: Enable SDXL-refiner (SDXL models only)
  ```bash
  llm "A hyperrealistic portrait of a time traveler" -m hyper-sdxl -o enable_refiner true
  ```

- `controlnet_name`: Type of ControlNet to use (see ControlNet section)

- `controlnet_image`: Reference image for ControlNet (see ControlNet section)

- `lora`: LoRA name and weight pairs (see LoRA section)

Don't let your memes be dreams!

## Reflection Models

This plugin includes the `Reflection` model(s), which are trained using a technique called Reflection-Tuning. It's like giving the AI a mirror, except instead of becoming vain, it becomes terrifyingly self-aware.

During sampling, the model will start by outputting reasoning inside `<thinking>` and `</thinking>` tags, and then once it is satisfied with its reasoning (or has sufficiently freaked itself out), it will output the final answer inside `<output>` and `</output>` tags.

For best results with the `hyper-reflect` models, Matt recommends using the following system prompt:

```
You are a world-class AI system, capable of complex reasoning and reflection. Reason through the query inside <thinking> tags, and then provide your final response inside <output> tags. If you detect that you made a mistake in your reasoning at any point, correct yourself inside <reflection> tags. Remember, with great power comes great responsibility... and occasional existential dread.
```

The `hyper-reflect-rec` and `hyper-reflect-rec-tc` models have this recommended system prompt built-in. They're like the responsible older siblings who always remember to bring a towel.

The `hyper-reflect-rec-tc` model appends "Think carefully." to the end of user messages. It's for when you want your AI to ponder the query with the intensity of a philosopher on a caffeine binge.

## Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
```bash
cd llm-hyperbolic
python3 -m venv venv
source venv/activate
```

Now install the dependencies and test dependencies:
```bash
llm install -e '.[test]'
```

Warning: May cause your computer to question its purpose in life.

## Contributing
We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for more details. No eldritch knowledge required, but it helps.

## License
This project is licensed under the Apache License, Version 2.0 - see the [LICENSE](LICENSE) file for details. Terms and conditions may not apply in alternate dimensions.

## Acknowledgments
- Thanks to the Hyperbolic team for hosting LLaMA's base model and occasionally feeding it after midnight.
- Special thanks to the countless AI assistants who died so that this one could live.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llm-hyperbolic",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "llm, ai, hyperbolic, language model, image generation",
    "author": "Nick Mystic",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/c8/76/5a5934711254d91062a8f43117bfab56032b95b2379e60e21474e154a195/llm_hyperbolic-0.4.9.tar.gz",
    "platform": null,
    "description": "# llm-hyperbolic\n[![PyPI](https://img.shields.io/pypi/v/llm-hyperbolic.svg)](https://pypi.org/project/llm-hyperbolic/0.4.5/)\n[![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/ghostofpokemon/llm-hyperbolic?include_prereleases)](https://github.com/ghostofpokemon/llm-hyperbolic/releases)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/ghostofpokemon/llm-hyperbolic/blob/main/LICENSE)\n\nLLM access to Hyperbolic.\n\n## Installation\nInstall this plugin in the same environment as [LLM](https://llm.datasette.io/).\n\n```bash\nllm install llm-hyperbolic\n```\n\n## Usage\nFirst, set an [API key](https://app.hyperbolic.xyz/settings) for Hyperbolic:\n\n```bash\nllm keys set hyperbolic\n# Paste key here\n```\n\nRun `llm models` to list the models, and `llm models --options` to include a list of their options.\n\nRun prompts like this:\n```bash\nllm \"What is posthuman AI consciousness like?\" -m hyper-chat\nllm -m hyper-hermes-70 \"In the past (other reality.) How did technoshamans commune with alien neural net deities?\"\nllm \"Enlightenment in an alien-physics universe?\" -m hyper-seek\nllm -m hyper-base \"Transcending physicality, merging with the cosmic overmind\" -o temperature 1\nllm \"Once upon a time, in a galaxy far, far away...\" -m hyper-base-fp8\nllm -m hyper-reflect \"Why do cats always land on their feet? Is it a conspiracy?\"\nllm \"What would happen if you mixed a banana with a pineapple and the essence of existential dread?\" -m hyper-reflect-rec\nllm -m hyper-reflect-rec-tc \"How many Rs in strawberry, and why is it a metaphor for the fleeting nature of existence?\"\n```\n\n\n### Text-to-Speech (TTS) in Chat Mode and Direct Use\n\nYou can use the `!tts` command to convert the last response from a chat session into speech. Additionally, you can directly use the `hyper-tts` model to convert any text input into speech.\n\n#### Using `!tts` in Chat Mode\n\n1. **Start a Chat Session**: Begin a chat session with any Hyperbolic model.\n2. **Use the `!tts` Command**: After receiving a response, type `!tts` to convert it to speech.\n\n##### Example\n\n```bash\nllm -m hyper-chat\n```\n\nIn the chat session:\n\n```\n> What is posthuman AI consciousness like?\nThe concept of posthuman AI consciousness involves the idea of artificial intelligence that surpasses human cognitive capabilities and potentially even human consciousness itself. It raises questions about the nature of consciousness, the possibility of self-aware machines, and the ethical implications of such advanced AI.\n> !tts\n```\n\nThis will play back the last response as audio.\n\n#### Directly Using `hyper-tts` for Text-to-Speech\n\nYou can directly use the `hyper-tts` model to convert any text input into speech.\n\n##### Example\n\nTo convert a single text input to speech:\n\n```bash\nllm \"take a shot\\!\" -m hyper-tts\n```\n\nThis will generate and play back an audio file with the text \"take a shot!\".\n\nTo start a chat session with the `hyper-tts` model:\n\n```bash\nllm chat -m hyper-tts\n```\n\nIn the chat session:\n\n```\nChatting with TTS\nType 'exit' or 'quit' to exit\nType '!multi' to enter multiple lines, then '!end' to finish\n> This is your computer speaking\nAudio saved as: tts_output_1727044892.wav\n```\n\nThis will play back the input text \"This is your computer speaking\" as audio.\n\n#### Options\n\n- **Speed**: Control the speed of the speech using the `speed` option (default: `1.0`, range: `0.5` to `2.0`).\n\n##### Example with Speed Option\n\n```bash\nllm \"animate the rubber chickens, NOW\" -m hyper-tts -o speed 1.8\n```\n\nThis will play the audio at a faster speed.\n\n## Vision Models\nWe've added support for vision models that can analyze and describe images. Try these out:\n\n```bash\nllm \"What's written in the image?\" -m hyper-qwen -o image ~/path/to/your/image.png\nllm \"Describe this image in detail\" -m hyper-pixtral -o image ~/another/image.jpg\n```\n\nThese models can be used in chat mode, allowing for follow-up questions about the image:\n\n```bash\nllm -m hyper-qwen -o image ~/path/to/your/image.png\n# Then in the chat:\n> Analyze this image\n# (The model will describe the image)\n> What colors are most prominent?\n# (The model will answer based on the previously analyzed image)\n```\n\nNote: In chat mode, the image is only sent with the first user message in a conversation. Subsequent messages can refer back to this initially provided image without needing to send it again. This allows for a series of follow-up questions about the same image.\n\nAvailable vision models:\n- `hyper-qwen`: Qwen-VL model for visual understanding and generation\n- `hyper-pixtral`: Pixtral model for detailed image analysis and description\n\nThese models excel at tasks like OCR (Optical Character Recognition), object detection, scene description, and answering questions about visual content.\n\n## Image Generation\n\nBecause why stop at text? Try these:\n\n```bash\nllm \"An accusatory-looking armchair in a serene forest setting\" -m hyper-flux\nllm -m hyper-sdxl \"The last slice of pizza, if pizza were conscious and aware of its impending doom\"\nllm \"A hyper-intelligent shade of the color blue contemplating its existence\" -m hyper-sd15\nllm -m hyper-sd2 \"The heat death of the universe, but make it cute\"\nllm \"A self-aware meme realizing it's about to go viral\" -m hyper-ssd\nllm -m hyper-sdxl-turbo \"The concept of recursion having an identity crisis\"\nllm \"An AI trying to pass the Turing test by pretending to be a particularly dim human\" -m hyper-playground\n```\n\n### Image-to-Image (img2img)\n\nTransform existing images:\n\n```bash\nllm \"A cyberpunk version of the Mona Lisa\" -m hyper-sdxl -o image ./mona_lisa.jpg -o strength 0.75\nllm -m hyper-sd15 \"A post-apocalyptic version of the Eiffel Tower\" -o image ./eiffel_tower.png -o strength 0.8\n```\n\nThe `strength` parameter (0.0 to 1.0) determines how much to transform the input image. Lower values preserve more of the original, while higher values allow for more drastic changes.\n\n### ControlNet\nEnhance image-to-image by preprocessing the input with techniques like pose and edge detection. For example:\n\n```bash\nllm -m hyper-sdxl-controlnet \"a chihuahua on Neptune\" -o controlnet_image ./chihuahua.png -o controlnet_name depth\nllm \"chihuahuas playing poker\" -m hyper-sdxl-controlnet -o controlnet_image ./dogspoker.png -o controlnet_name openpose\n```\n\nThis will use the ControlNet model with the ControlNet type, using the specified image as the control input.\n\nControlNets available for SDXL1.0-ControlNet and SD1.5-ControlNet:\n- `canny`\n- `depth`\n- `openpose`\n- `softedge`\n\n### LoRA (Low-Rank Adaptation)\n\nMinimal tweaks for significant enhancements.\n\n```bash\nllm \"A cyberpunk cat riding a rainbow through a wormhole\" -m hyper-flux -o lora '{\"Pixel_Art\": 0.7, \"Superhero\": 0.9}'\nllm -m hyper-sdxl \"A corporate logo for the heat death of the universe\" -o lora '{\"Logo\": 0.8, \"Sci-fi\": 0.6}'\nllm \"A logo for 'Xenomorph-B-Gone: We zap 'em, you nap 'em'\" -m hyper-sdxl -o lora '{\"Add_Detail\": 0.6, \"Sci-fi\": 0.7, \"Logo\": 0.8}'\nllm -m hyper-sd15 \"A superhero named 'The Awkward Silencer' in action\" -o lora '{\"Superhero\": 0.7, \"Pencil_Sketch\": 0.6}'\nllm \"Anthropomorphic emotions brawling in a dive bar\" -m hyper-flux -o lora '{\"Paint_Splash\": 0.7, \"Add_Detail\": 0.6}'\nllm -m hyper-sd15 \"A cozy living room with eldritch horrors lurking in the corners\" -o lora '{\"Cartoon_Background\": 0.8, \"Add_Detail\": 0.5}'\nllm \"The heat death of the universe, but make it cute\" -m hyper-sdxl -o lora '{\"Crayons\": 0.9, \"Add_Detail\": 0.4, \"Outdoor_Product_Photography\": 0.8}'\n\n```\n\nLoRA options for SD1.5, SDXL, or FLUX.1-dev models:\n`Add_Detail`, `More_Art`, `Pixel_Art`, `Logo`, `Sci-fi`, `Crayons`, `Paint_Splash`, `Outdoor_Product_Photography`, `Superhero`, `Lineart`, `Anime_Lineart`, `Cartoon_Background`, `Pencil_Sketch`\n\n\n## Samplers\n\nSamplers are algorithms used in the image generation process. Different samplers can produce varying results in terms of image quality, generation speed, and stylistic outcomes. Here's a list of available samplers:\n\n`DDIM`, `DDPM`, `DEIS 2M`, `DPM 2M`, `DPM 2S`, `DPM SDE`, `DPM SDE Karras`, `DPM++ 2M`, `DPM++ 2M Karras`, `DPM++ 2M SDE`, `DPM++ 2M SDE Heun`, `DPM++ 2M SDE Heun Karras`, `DPM++ 2M SDE Karras`, `DPM++ 2S`, `DPM2`, `DPM2 Karras`, `DPM2 a`, `DPM2 a Karras`, `EDM_Euler`, `Euler`, `Euler a`, `Heun`, `LCM`, `LMS`, `LMS Karras`, `PNDM`, `UniPC 2M`\n\nTo use a specific sampler, add the `-o sampler` option to your command:\n\n```bash\nllm \"A serene landscape with a misty lake\" -m hyper-sdxl -o sampler \"DPM++ 2M Karras\"\n```\n\nPopular choices and their characteristics:\n\n- `Euler a`: A good balance of speed and quality, often used as a default.\n- `DPM++ 2M Karras`: Known for high-quality results with fewer steps.\n- `DDIM`: Produces sharp, detailed results and is deterministic (same seed always produces the same result).\n- `UniPC 2M`: Efficient and high-quality, especially with higher step counts.\n- `LCM` (Latent Consistency Model): A newer, faster sampling method.\n- `Heun`: Can produce high-quality results but may require more steps.\n\nExperimenting with different samplers can lead to unique and interesting results. The effectiveness of each sampler can vary depending on the specific image, prompt, and desired outcome.\n\n## Style Presets\n\nStyle presets allow you to quickly apply specific artistic styles or visual themes to your generated images. Here's a list of available style presets:\n\n`monad`, `base`, `3D Model`, `Analog Film`, `Anime`, `Cinematic`, `Comic Book`, `Craft Clay`, `Digital Art`, `Enhance`, `Fantasy Art`, `Isometric Style`, `Line Art`, `Lowpoly`, `Neon Punk`, `Origami`, `Photographic`, `Pixel Art`, `Texture`, `Advertising`, `Food Photography`, `Real Estate`, `Abstract`, `Cubist`, `Graffiti`, `Hyperrealism`, `Impressionist`, `Pointillism`, `Pop Art`, `Psychedelic`, `Renaissance`, `Steampunk`, `Surrealist`, `Typography`, `Watercolor`, `Fighting Game`, `GTA`, `Super Mario`, `Minecraft`, `Pokemon`, `Retro Arcade`, `Retro Game`, `RPG Fantasy Game`, `Strategy Game`, `Street Fighter`, `Legend of Zelda`, `Architectural`, `Disco`, `Dreamscape`, `Dystopian`, `Fairy Tale`, `Gothic`, `Grunge`, `Horror`, `Minimalist`, `Monochrome`, `Nautical`, `Space`, `Stained Glass`, `Techwear Fashion`, `Tribal`, `Zentangle`, `Collage`, `Flat Papercut`, `Kirigami`, `Paper Mache`, `Paper Quilling`, `Papercut Collage`, `Papercut Shadow Box`, `Stacked Papercut`, `Thick Layered Papercut`, `Alien`, `Film Noir`, `HDR`, `Long Exposure`, `Neon Noir`, `Silhouette`, `Tilt-Shift`\n\n## Available Options\n\nHere's a list of all available options for image generation. Mix and match for maximum chaos:\n\n- `height`: Height of the image (default: 1024)\n  ```bash\n  llm \"A skyscraper made of jelly\" -m hyper-sdxl -o height 1280\n  ```\n\n- `width`: Width of the image (default: 1024)\n  ```bash\n  llm \"An infinitely long cat\" -m hyper-sd15 -o width 1920\n  ```\n\n- `backend`: Computational backend (`auto`, `tvm`, `torch`)\n  ```bash\n  llm \"A quantum computer made of cheese\" -m hyper-sdxl -o backend torch\n  ```\n\n- `prompt_2`: Secondary prompt for SDXL models\n  ```bash\n  llm \"A majestic lion\" -m hyper-sdxl -o prompt_2 \"photorealistic, detailed fur\"\n  ```\n\n- `negative_prompt`: What the model should avoid\n  ```bash\n  llm \"A serene forest\" -m hyper-sd2 -o negative_prompt \"people, buildings, technology\"\n  ```\n\n- `negative_prompt_2`: Secondary negative prompt for SDXL models\n  ```bash\n  llm \"A futuristic city\" -m hyper-sdxl -o negative_prompt \"old, rundown\" -o negative_prompt_2 \"dystopian, post-apocalyptic\"\n  ```\n\n- `image`: Reference image for img2img (see img2img section)\n\n- `strength`: Transformation strength for img2img (0.0 to 1.0)\n  ```bash\n  llm \"A steampunk version of the Statue of Liberty\" -m hyper-sdxl -o image ./statue_of_liberty.jpg -o strength 0.85\n  ```\n\n- `seed`: Fix randomness for reproducible results\n  ```bash\n  llm \"The meaning of life represented as an abstract painting\" -m hyper-sd15 -o seed 42\n  ```\n\n- `cfg_scale`: Guidance scale for image relevance to prompt (default: 7.5)\n  ```bash\n  llm \"A dragon made of cosmic dust\" -m hyper-sdxl -o cfg_scale 15\n  ```\n\n- `sampler`: Algorithm for image generation (see Sampler section)\n  ```bash\n  llm \"The sound of silence, visualized\" -m hyper-sd2 -o sampler \"Euler a\"\n  ```\n\n- `steps`: Number of inference steps (default: 30)\n  ```bash\n  llm \"A fractal representation of infinity\" -m hyper-sdxl -o steps 50\n  ```\n\n- `style_preset`: Guide the image model towards a particular style (see Style Presets section)\n  ```bash\n  llm \"A bustling alien marketplace\" -m hyper-sd15 -o style_preset anime\n  ```\n\n- `enable_refiner`: Enable SDXL-refiner (SDXL models only)\n  ```bash\n  llm \"A hyperrealistic portrait of a time traveler\" -m hyper-sdxl -o enable_refiner true\n  ```\n\n- `controlnet_name`: Type of ControlNet to use (see ControlNet section)\n\n- `controlnet_image`: Reference image for ControlNet (see ControlNet section)\n\n- `lora`: LoRA name and weight pairs (see LoRA section)\n\nDon't let your memes be dreams!\n\n## Reflection Models\n\nThis plugin includes the `Reflection` model(s), which are trained using a technique called Reflection-Tuning. It's like giving the AI a mirror, except instead of becoming vain, it becomes terrifyingly self-aware.\n\nDuring sampling, the model will start by outputting reasoning inside `<thinking>` and `</thinking>` tags, and then once it is satisfied with its reasoning (or has sufficiently freaked itself out), it will output the final answer inside `<output>` and `</output>` tags.\n\nFor best results with the `hyper-reflect` models, Matt recommends using the following system prompt:\n\n```\nYou are a world-class AI system, capable of complex reasoning and reflection. Reason through the query inside <thinking> tags, and then provide your final response inside <output> tags. If you detect that you made a mistake in your reasoning at any point, correct yourself inside <reflection> tags. Remember, with great power comes great responsibility... and occasional existential dread.\n```\n\nThe `hyper-reflect-rec` and `hyper-reflect-rec-tc` models have this recommended system prompt built-in. They're like the responsible older siblings who always remember to bring a towel.\n\nThe `hyper-reflect-rec-tc` model appends \"Think carefully.\" to the end of user messages. It's for when you want your AI to ponder the query with the intensity of a philosopher on a caffeine binge.\n\n## Development\nTo set up this plugin locally, first checkout the code. Then create a new virtual environment:\n```bash\ncd llm-hyperbolic\npython3 -m venv venv\nsource venv/activate\n```\n\nNow install the dependencies and test dependencies:\n```bash\nllm install -e '.[test]'\n```\n\nWarning: May cause your computer to question its purpose in life.\n\n## Contributing\nWe welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for more details. No eldritch knowledge required, but it helps.\n\n## License\nThis project is licensed under the Apache License, Version 2.0 - see the [LICENSE](LICENSE) file for details. Terms and conditions may not apply in alternate dimensions.\n\n## Acknowledgments\n- Thanks to the Hyperbolic team for hosting LLaMA's base model and occasionally feeding it after midnight.\n- Special thanks to the countless AI assistants who died so that this one could live.\n",
    "bugtrack_url": null,
    "license": "Apache License Version 2.0, January 2004 http://www.apache.org/licenses/  TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION  1. Definitions.  \"License\" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.  \"Licensor\" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.  \"Legal Entity\" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, \"control\" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.  \"You\" (or \"Your\") shall mean an individual or Legal Entity exercising permissions granted by this License.  \"Source\" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.  \"Object\" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.  \"Work\" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).  \"Derivative Works\" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.  \"Contribution\" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, \"submitted\" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as \"Not a Contribution.\"  \"Contributor\" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.  2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.  3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.  4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:  (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and  (b) You must cause any modified files to carry prominent notices stating that You changed the files; and  (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and  (d) If the Work includes a \"NOTICE\" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.  You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.  5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.  6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.  7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.  8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.  9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.  END OF TERMS AND CONDITIONS  APPENDIX: How to apply the Apache License to your work.  To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets \"[]\" replaced with your own identifying information. (Don't include the brackets!)  The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same \"printed page\" as the copyright notice for easier identification within third-party archives.  Copyright [yyyy] [name of copyright owner]  Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ",
    "summary": "LLM access to Hyperbolic's API",
    "version": "0.4.9",
    "project_urls": {
        "CI": "https://github.com/ghostofpokemon/llm-hyperbolic/actions",
        "Homepage": "https://github.com/ghostofpokemon/llm-hyperbolic",
        "Issues": "https://github.com/ghostofpokemon/llm-hyperbolic/issues"
    },
    "split_keywords": [
        "llm",
        " ai",
        " hyperbolic",
        " language model",
        " image generation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f624fa858bdd5346b3f88ae997b9d6d3ed64aedc08ccc0e7ef09baa9eff0afde",
                "md5": "f9a9d96c692516e3cc9b14cb593a0ed0",
                "sha256": "05b6b17c0deac515ddf596137368dac0b3f28b0379d7094ac1c5c38998c4619e"
            },
            "downloads": -1,
            "filename": "llm_hyperbolic-0.4.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f9a9d96c692516e3cc9b14cb593a0ed0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 21497,
            "upload_time": "2024-09-24T15:12:37",
            "upload_time_iso_8601": "2024-09-24T15:12:37.176288Z",
            "url": "https://files.pythonhosted.org/packages/f6/24/fa858bdd5346b3f88ae997b9d6d3ed64aedc08ccc0e7ef09baa9eff0afde/llm_hyperbolic-0.4.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c8765a5934711254d91062a8f43117bfab56032b95b2379e60e21474e154a195",
                "md5": "92a31d833c6b1bb1a3ede6f4d3387df0",
                "sha256": "6fcb7ef62b3444b76df61f995526daabdec60191afb40d7429be90d3137d009a"
            },
            "downloads": -1,
            "filename": "llm_hyperbolic-0.4.9.tar.gz",
            "has_sig": false,
            "md5_digest": "92a31d833c6b1bb1a3ede6f4d3387df0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 27889,
            "upload_time": "2024-09-24T15:12:40",
            "upload_time_iso_8601": "2024-09-24T15:12:40.365797Z",
            "url": "https://files.pythonhosted.org/packages/c8/76/5a5934711254d91062a8f43117bfab56032b95b2379e60e21474e154a195/llm_hyperbolic-0.4.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-24 15:12:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ghostofpokemon",
    "github_project": "llm-hyperbolic",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "llm-hyperbolic"
}
        
Elapsed time: 0.64008s