Run this model with HF Jobs

Run Gryphe/MythoLogic-Mini-7b on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/Gryphe/MythoLogic-Mini-7b. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Gryphe/MythoLogic-Mini-7b on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/Gryphe/MythoLogic-Mini-7b. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/Gryphe/MythoLogic-Mini-7b. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="Gryphe/MythoLogic-Mini-7b")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Gryphe/MythoLogic-Mini-7b")
model = AutoModelForCausalLM.from_pretrained("Gryphe/MythoLogic-Mini-7b", device_map="auto")
Quick Links

Model details

MythoLogic-Mini-7b can be considered the little brother in my Mytho series of models: MythoLogic-13b and MythoBoros-13b).

Its Llama-2 core is powered by Nous Hermes-2, which is further augmented by Stable Beluga and a carefully distilled Kimiko LoRa.

Since 7B models tend to be less capable all-rounders, more emphasis was put on improving the roleplaying aspects for this gradient merge, of which various gradients were benchmarked before settling on the configuration shown below.

In technical terms, the Hermes-2 core starts at 90% strength before fading away completely at the 12th layer level, where Stable Beluga (and Kimiko) handle the more intricate linguistic aspects.

Quantized models are available from TheBloke: GGML - GPTQ (You're the best!)

Prompt Format

Due to its Hermes-2 core this model works best with Alpaca formatting, so for optimal model performance, use:

<System prompt/Character Card>

### Instruction:
Your instruction or question here.
For roleplay purposes, I suggest the following - Write <CHAR NAME>'s next reply in a chat between <YOUR NAME> and <CHAR NAME>. Write a single reply only.

### Response:
Downloads last month
15
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Gryphe/MythoLogic-Mini-7b

Finetunes
1 model
Quantizations
5 models

Collection including Gryphe/MythoLogic-Mini-7b