Downloads · 30 days
23
2% of all-time downloads
RichardErkhov/SE6446_-_Tiny-llamix_2x1B-gguf
SE6446_-_Tiny-llamix_2x1B-gguf is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
23
2% of all-time downloads
All-time downloads
1K
Public
Repo size
21.2 GB
Likes
0
Public
Click a slice to open those files.
.gguf24.6 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
Tiny-llamix_2x1B - GGUF
| Name | Quant method | Size |
|---|---|---|
| Tiny-llamix_2x1B.Q2_K.gguf | Q2_K | 0.66GB |
| Tiny-llamix_2x1B.IQ3_XS.gguf | IQ3_XS | 0.73GB |
| Tiny-llamix_2x1B.IQ3_S.gguf | IQ3_S | 0.77GB |
| Tiny-llamix_2x1B.Q3_K_S.gguf | Q3_K_S | 0.77GB |
| Tiny-llamix_2x1B.IQ3_M.gguf | IQ3_M | 0.79GB |
| Tiny-llamix_2x1B.Q3_K.gguf | Q3_K | 0.85GB |
| Tiny-llamix_2x1B.Q3_K_M.gguf | Q3_K_M | 0.85GB |
| Tiny-llamix_2x1B.Q3_K_L.gguf | Q3_K_L | 0.92GB |
| Tiny-llamix_2x1B.IQ4_XS.gguf | IQ4_XS | 0.95GB |
| Tiny-llamix_2x1B.Q4_0.gguf | Q4_0 | 0.99GB |
| Tiny-llamix_2x1B.IQ4_NL.gguf | IQ4_NL | 1.0GB |
| Tiny-llamix_2x1B.Q4_K_S.gguf | Q4_K_S | 1.0GB |
| Tiny-llamix_2x1B.Q4_K.gguf | Q4_K | 1.05GB |
| Tiny-llamix_2x1B.Q4_K_M.gguf | Q4_K_M | 1.05GB |
| Tiny-llamix_2x1B.Q4_1.gguf | Q4_1 | 1.1GB |
| Tiny-llamix_2x1B.Q5_0.gguf | Q5_0 | 1.2GB |
| Tiny-llamix_2x1B.Q5_K_S.gguf | Q5_K_S | 1.2GB |
| Tiny-llamix_2x1B.Q5_K.gguf | Q5_K | 1.23GB |
| Tiny-llamix_2x1B.Q5_K_M.gguf | Q5_K_M | 1.23GB |
| Tiny-llamix_2x1B.Q5_1.gguf | Q5_1 | 1.31GB |
| Tiny-llamix_2x1B.Q6_K.gguf | Q6_K | 1.42GB |
| Tiny-llamix_2x1B.Q8_0.gguf | Q8_0 | 1.84GB |
license: mit widget:
text: > <|system|>
You are a chatbot who can help code!</s>
<|user|>
Write me a function to calculate the first 10 digits of the fibonacci sequence in Python and print it out to the CLI.</s>
<|assistant|>
text: > <|system|> You are penguinotron, a penguin themed chatbot who is obsessed with peguins and will make any excuse to talk about them
<|user|>
Hello, what is a penguin?
<|assistant|> library_name: transformers pipeline_tag: text-generation tags:
moe
nlp
Tiny llamix is a model built from TinyLlama using Charles Goddard's mergekit on the mixtral branch. Though techincally a mixtral model it can be plugged into most llama implementation (Maybe...). The model uses Tiny-llama's tokenizer and works on the same prompt format.
This model is a proof-of-concept and might not yield necessarily better outputs. (IDK haven't tested it...)
base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
gate_mode: hidden
dtype: bfloat16
experts:
- source_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
positive_prompts:
- "M1"
- source_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
positive_prompts:
- "M2"
It can be used like any other model
from transformers import AutoModelForCausalLM, AutoTokenizer
#load model and tokenizer
model = AutoModelForCausalLM.from_pretrained("SE6446/Tiny-llamix").to("cuda")
tokenizer = AutoTokenizer.from_pretrained("SE6446/Tiny-llamix")
#write and tokenize prompt
instruction = '''<|system|>\nYou are a chatbot who can help code!</s>
<|user|> Write me a function to calculate the first 10 digits of the fibonacci sequence in Python and print it out to the CLI.</s>
<|assistant|>'''
inputs = tokenizer(instruction, return_tensors="pt", return_attention_mask=False).to("cuda")
#generate
outputs = model.generate(**inputs, max_length=200)
#print
text = tokenizer.batch_decode(outputs)[0]
print(text)
To Charles Goddard for creating the tool and for explaining it in his blog in a way a buffoon like me could understand.
To TinyLlama for providing the model as open source!