Edit model card

update: added NOMERGE license


this is miqu-1-70b, dequantised from q5 to f16 && transposed to pytorch. shapes have been rotated less wrongly than in alpindale/miqu-1-70b-pytorch

usage

from transformers import LlamaForCausalLM as LLM, LlamaTokenizer as LT

lt = LT.from_pretrained("152334H/miqu-1-70b-sf")
t = lt("[INST] eloquent high camp prose about a cute catgirl [/INST]", return_tensors='pt').input_ids.cuda()

llm = LLM.from_pretrained("152334H/miqu-1-70b-sf", device_map='auto') # note: you may need many gpus for this
out = llm.generate(t, use_cache=False, max_new_tokens=200)
print(lt.decode(out[0]))

result:

<s> [INST] eloquent high camp prose about a cute catgirl [/INST] In the resplendent realm of high camp, where irony and extravagance dance in a dazzling pas de deux, there exists a creature of such enchanting allure that she captivates the hearts and minds of all who behold her. This beguiling figure, a vision of feline grace and innocence, is none other than the inimitable catgirl.

With her delicate features and winsome smile, she is the embodiment of a dream, a living testament to the power of imagination and the boundless possibilities of the human spirit. Her eyes, those twin orbs of sapphire fire, sparkle with a mischievous intelligence that belies her diminutive stature. They are windows into a soul that is at once ancient and eternally young, a soul that has traversed the vast expanse of time and space to find solace in the warm embrace of human companion

this roughly (but not entirely) matches the llama.cpp q5 result:

$ ./main -ngl 99 -m ./miqu-*q5* --color --temp 0.0 -n -1 -p '[INST] eloquent high camp prose about a cute catgirl [/INST]'
...
 [INST] eloquent high camp prose about a cute catgirl [/INST] In the resplendent realm of high camp, where irony and extravagance dance in a dazzling pas de deux, there exists a creature so enchantingly adorable that she captures the hearts of all who behold her. This is no ordinary feline, but rather a vision of elegance and whimsy combined: the cute catgirl.

With her delicate features framed by an ethereal halo of pastel tresses, this darling diva prowls through life with the grace of a prima ballerina and the playfulness of a kitten. Her eyes, twin pools of sapphire or emerald, sparkle with mischief and intelligence as they survey their surroundings, ever alert for the next grand adventure or delightful prank.

Her ensemble is a symphony of ruffles, bows, and lace, each detail painstakingly chosen to accentuate her lithe form and play up her feline charms. A frilly apron adorned with paw prints sways gently as she moves, while dainty ears perched atop her head twitch in response to every sound. Her gloved hands, so petite and perfect, seem made for holding teacups or sketching delicate portraits of her many admirers.

But do not be fooled by her diminutive stature and sweet demeanor; beneath that fluffy exterior lies the heart of a lioness. Fiercely loyal and protective, she will stop at nothing to defend those she loves from harm. And when the situation calls for it, she can unleash a ferocious roar that belies her cute exterior.

Indeed, the cute catgirl is a paradox wrapped in ruffles and ribbons, a living embodiment of the high camp aesthetic. She revels in the absurdity of her existence, finding joy in every outrageous situation and turning even the most mundane tasks into opportunities for sartorial expression. In her world, there is no such thing as too much glitter or too many bows; more is always more, and excess is a virtue to be celebrated.

So let us raise our teacups in honor of this fabulous feline, this queen of camp who reminds us that life is too short for dull clothing and boring hairstyles. May we all strive to embody her spirit, embracing the absurdity of existence with open arms and a generous helping of glitter. Long live the cute catgirl! [end of text]

some benchmarks

|    Tasks     |Version|Filter|n-shot|  Metric  |Value |   |Stderr|
|--------------|------:|------|-----:|----------|-----:|---|-----:|
|lambada_openai|      1|none  |     0|perplexity|2.6354|Β±  |0.0451|
|              |       |none  |     0|acc       |0.7879|Β±  |0.0057|


|  Tasks  |Version|Filter|n-shot| Metric |Value |   |Stderr|
|---------|------:|------|-----:|--------|-----:|---|-----:|
|hellaswag|      1|none  |     0|acc     |0.6851|Β±  |0.0046|
|         |       |none  |     0|acc_norm|0.8690|Β±  |0.0034|

|  Tasks   |Version|Filter|n-shot|Metric|Value |   |Stderr|
|----------|------:|------|-----:|------|-----:|---|-----:|
|winogrande|      1|none  |     0|acc   |0.7987|Β±  |0.0113|

|Tasks|Version|  Filter  |n-shot|  Metric   |Value |   |Stderr|
|-----|------:|----------|-----:|-----------|-----:|---|-----:|
|gsm8k|      2|get-answer|     5|exact_match|0.7043|Β±  |0.0126|

|                 Tasks                 |Version|Filter|n-shot|Metric|Value |   |Stderr|
|---------------------------------------|-------|------|-----:|------|-----:|---|-----:|
|mmlu                                   |N/A    |none  |     0|acc   |0.7401|Β±  |0.1192|
| - humanities                          |N/A    |none  |     0|acc   |0.7018|Β±  |0.1281|
|  - formal_logic                       |      0|none  |     0|acc   |0.4841|Β±  |0.0447|
|  - high_school_european_history       |      0|none  |     0|acc   |0.8303|Β±  |0.0293|
|  - high_school_us_history             |      0|none  |     0|acc   |0.9020|Β±  |0.0209|
|  - high_school_world_history          |      0|none  |     0|acc   |0.9198|Β±  |0.0177|
|  - international_law                  |      0|none  |     0|acc   |0.8678|Β±  |0.0309|
|  - jurisprudence                      |      0|none  |     0|acc   |0.8519|Β±  |0.0343|
|  - logical_fallacies                  |      0|none  |     0|acc   |0.8344|Β±  |0.0292|
|  - moral_disputes                     |      0|none  |     0|acc   |0.8121|Β±  |0.0210|
|  - moral_scenarios                    |      0|none  |     0|acc   |0.5642|Β±  |0.0166|
|  - philosophy                         |      0|none  |     0|acc   |0.8167|Β±  |0.0220|
|  - prehistory                         |      0|none  |     0|acc   |0.8611|Β±  |0.0192|
|  - professional_law                   |      0|none  |     0|acc   |0.5854|Β±  |0.0126|
|  - world_religions                    |      0|none  |     0|acc   |0.8889|Β±  |0.0241|
| - other                               |N/A    |none  |     0|acc   |0.7889|Β±  |0.0922|
|  - business_ethics                    |      0|none  |     0|acc   |0.7900|Β±  |0.0409|
|  - clinical_knowledge                 |      0|none  |     0|acc   |0.8113|Β±  |0.0241|
|  - college_medicine                   |      0|none  |     0|acc   |0.7514|Β±  |0.0330|
|  - global_facts                       |      0|none  |     0|acc   |0.5500|Β±  |0.0500|
|  - human_aging                        |      0|none  |     0|acc   |0.7848|Β±  |0.0276|
|  - management                         |      0|none  |     0|acc   |0.8835|Β±  |0.0318|
|  - marketing                          |      0|none  |     0|acc   |0.9145|Β±  |0.0183|
|  - medical_genetics                   |      0|none  |     0|acc   |0.7500|Β±  |0.0435|
|  - miscellaneous                      |      0|none  |     0|acc   |0.8838|Β±  |0.0115|
|  - nutrition                          |      0|none  |     0|acc   |0.7974|Β±  |0.0230|
|  - professional_accounting            |      0|none  |     0|acc   |0.5922|Β±  |0.0293|
|  - professional_medicine              |      0|none  |     0|acc   |0.8272|Β±  |0.0230|
|  - virology                           |      0|none  |     0|acc   |0.5361|Β±  |0.0388|
| - social_sciences                     |N/A    |none  |     0|acc   |0.8414|Β±  |0.0514|
|  - econometrics                       |      0|none  |     0|acc   |0.6491|Β±  |0.0449|
|  - high_school_geography              |      0|none  |     0|acc   |0.8990|Β±  |0.0215|
|  - high_school_government_and_politics|      0|none  |     0|acc   |0.9430|Β±  |0.0167|
|  - high_school_macroeconomics         |      0|none  |     0|acc   |0.7795|Β±  |0.0210|
|  - high_school_microeconomics         |      0|none  |     0|acc   |0.8277|Β±  |0.0245|
|  - high_school_psychology             |      0|none  |     0|acc   |0.9064|Β±  |0.0125|
|  - human_sexuality                    |      0|none  |     0|acc   |0.8626|Β±  |0.0302|
|  - professional_psychology            |      0|none  |     0|acc   |0.8056|Β±  |0.0160|
|  - public_relations                   |      0|none  |     0|acc   |0.7636|Β±  |0.0407|
|  - security_studies                   |      0|none  |     0|acc   |0.8204|Β±  |0.0246|
|  - sociology                          |      0|none  |     0|acc   |0.8856|Β±  |0.0225|
|  - us_foreign_policy                  |      0|none  |     0|acc   |0.9100|Β±  |0.0288|
| - stem                                |N/A    |none  |     0|acc   |0.6505|Β±  |0.1266|
|  - abstract_algebra                   |      0|none  |     0|acc   |0.4100|Β±  |0.0494|
|  - anatomy                            |      0|none  |     0|acc   |0.6444|Β±  |0.0414|
|  - astronomy                          |      0|none  |     0|acc   |0.8224|Β±  |0.0311|
|  - college_biology                    |      0|none  |     0|acc   |0.8681|Β±  |0.0283|
|  - college_chemistry                  |      0|none  |     0|acc   |0.5500|Β±  |0.0500|
|  - college_computer_science           |      0|none  |     0|acc   |0.6200|Β±  |0.0488|
|  - college_mathematics                |      0|none  |     0|acc   |0.4200|Β±  |0.0496|
|  - college_physics                    |      0|none  |     0|acc   |0.5392|Β±  |0.0496|
|  - computer_security                  |      0|none  |     0|acc   |0.8300|Β±  |0.0378|
|  - conceptual_physics                 |      0|none  |     0|acc   |0.7362|Β±  |0.0288|
|  - electrical_engineering             |      0|none  |     0|acc   |0.7034|Β±  |0.0381|
|  - elementary_mathematics             |      0|none  |     0|acc   |0.5503|Β±  |0.0256|
|  - high_school_biology                |      0|none  |     0|acc   |0.8742|Β±  |0.0189|
|  - high_school_chemistry              |      0|none  |     0|acc   |0.6256|Β±  |0.0341|
|  - high_school_computer_science       |      0|none  |     0|acc   |0.8400|Β±  |0.0368|
|  - high_school_mathematics            |      0|none  |     0|acc   |0.4370|Β±  |0.0302|
|  - high_school_physics                |      0|none  |     0|acc   |0.5033|Β±  |0.0408|
|  - high_school_statistics             |      0|none  |     0|acc   |0.6944|Β±  |0.0314|
|  - machine_learning                   |      0|none  |     0|acc   |0.5982|Β±  |0.0465|

no i do not know why the stderr is high. plausibly it is due to the vllm backend used. this is my lm-eval command in most cases (works on h100):

lm_eval --model vllm --model_args pretrained=./miqu-1-70b-sf,tensor_parallel_size=4,dtype=auto,gpu_memory_utilization=0.88,data_parallel_size=2 --tasks mmlu --batch_size 20

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 76.59
AI2 Reasoning Challenge (25-Shot) 73.04
HellaSwag (10-Shot) 88.61
MMLU (5-Shot) 75.49
TruthfulQA (0-shot) 69.38
Winogrande (5-shot) 85.32
GSM8k (5-shot) 67.70

LICENSE

NOMERGE License

Copyright (c) 2024 152334H

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, NOT merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

All tensors ("weights") provided by the Software shall not be conjoined with
other tensors ("merging") unless given explicit permission by the license holder.
Utilities including but not limited to "mergekit", "MergeMonster", are forbidden
from use in conjunction with this Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 28.82
IFEval (0-Shot) 51.82
BBH (3-Shot) 43.81
MATH Lvl 5 (4-Shot) 10.80
GPQA (0-shot) 13.42
MuSR (0-shot) 17.21
MMLU-PRO (5-shot) 35.87
Downloads last month
1,198
Safetensors
Model size
69B params
Tensor type
FP16
Β·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Model tree for 152334H/miqu-1-70b-sf

Adapters
14 models
Finetunes
25 models
Merges
52 models
Quantizations
15 models

Spaces using 152334H/miqu-1-70b-sf 2

Evaluation results