Downloads · 30 days
54
0% of all-time downloads
sethuiyer/Nandine-7b
Nandine-7b is a text generation model from sethuiyer. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
<p align="center" <img src="https://huggingface.co/sethuiyer/Nandine-7b/resolve/main/nandine.webp" height="128px" alt="Nandine" </p
Downloads · 30 days
54
0% of all-time downloads
All-time downloads
12.3K
Public
Parameters
7.2B
14.5 GB on disk
Likes
4
Public
Click a slice to open those files.
.safetensors14.5 GB · 100%
From the Hugging Face model README
This is Nandine-7b, rated 87.47/100 by GPT-4 on a collection of 30 synthetic prompts generated by GPT-4.
Nandine-7b is a merge of the following models using LazyMergekit:
Nandine-7b represents a harmonious amalgamation of narrative skill, empathetic interaction, intellectual depth, and eloquent communication.
| Model | Average ⬆️ | ARC | HellaSwag | MMLU | TruthfulQA | Winogrande | GSM8K |
|---|---|---|---|---|---|---|---|
| sethuiyer/Nandine-7b 📑 | 71.47 | 69.28 | 87.01 | 64.83 | 62.1 | 83.19 | 62.4 |
| Model | AGIEval | GPT4All | TruthfulQA | Bigbench | Average |
|---|---|---|---|---|---|
| Nandine-7b | 43.54 | 76.41 | 61.73 | 45.27 | 56.74 |
For more details, refer here
Pros:
Cons:
Intended Use: Ideal for users seeking a versatile AI companion for creative writing, thoughtful discussions, and general assistance.
models:
- model: senseable/Westlake-7B
parameters:
weight: 0.55
density: 0.6
- model: Guilherme34/Samantha-v2
parameters:
weight: 0.10
density: 0.3
- model: uukuguy/speechless-mistral-six-in-one-7b
parameters:
weight: 0.35
density: 0.6
merge_method: dare_ties
base_model: mistralai/Mistral-7B-v0.1
parameters:
int8_mask: true
dtype: bfloat16
!pip install -qU transformers accelerate
from transformers import AutoTokenizer
import transformers
import torch
model = "sethuiyer/Nandine-7b"
messages = [{"role": "user", "content": "What is a large language model?"}]
tokenizer = AutoTokenizer.from_pretrained(model)
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
pipeline = transformers.pipeline(
"text-generation",
model=model,
torch_dtype=torch.float16,
device_map="auto",
)
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])
GGUF files are available at Nandine-7b-GGUF
Nandine is now available on Ollama. You can use it by running the command ollama run stuehieyr/nandine in your
terminal. If you have limited computing resources, check out this video to learn how to run it on
a Google Colab backend.
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 71.47 |
| AI2 Reasoning Challenge (25-Shot) | 69.28 |
| HellaSwag (10-Shot) | 87.01 |
| MMLU (5-Shot) | 64.83 |
| TruthfulQA (0-shot) | 62.10 |
| Winogrande (5-shot) | 83.19 |
| GSM8k (5-shot) | 62.40 |