aipib / Tinyllama-moe1

huggingface.co
Total runs: 24
24-hour runs: -1
7-day runs: 2
30-day runs: 15
Model's Last Updated: May 03 2024
text-generation

Introduction of Tinyllama-moe1

Model Details of Tinyllama-moe1

Tinyllama-moe1

Tinyllama-moe1 is a Mixture of Experts (MoE) made with the following models using LazyMergekit :

🧩 Configuration
base_model: vihangd/DopeyTinyLlama-1.1B-v1
experts:
  - source_model: vihangd/DopeyTinyLlama-1.1B-v1
    positive_prompts:
    - "chat"
    - "assistant"
    - "explain"
  - source_model: phanerozoic/Tiny-Pirate-1.1b-v0.1
    positive_prompts:
    - "storywriting"
    - "scene"
    - "story"
  - source_model: Tensoic/TinyLlama-1.1B-3T-openhermes
    positive_prompts:
    - "reason"
    - "instruct"
    - "count"
💻 Usage
!pip install -qU transformers bitsandbytes accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "aipib/Tinyllama-moe1"

tokenizer = AutoTokenizer.from_pretrained(model)
pipeline = transformers.pipeline(
    "text-generation",
    model=model,
    model_kwargs={"torch_dtype": torch.float16, "load_in_4bit": True},
)

messages = [{"role": "user", "content": "Explain what a Mixture of Experts is in less than 100 words."}]
prompt = pipeline.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
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"])

Runs of aipib Tinyllama-moe1 on huggingface.co

24
Total runs
-1
24-hour runs
2
3-day runs
2
7-day runs
15
30-day runs

More Information About Tinyllama-moe1 huggingface.co Model

More Tinyllama-moe1 license Visit here:

https://choosealicense.com/licenses/apache-2.0

Tinyllama-moe1 huggingface.co

Tinyllama-moe1 huggingface.co is an AI model on huggingface.co that provides Tinyllama-moe1's model effect (), which can be used instantly with this aipib Tinyllama-moe1 model. huggingface.co supports a free trial of the Tinyllama-moe1 model, and also provides paid use of the Tinyllama-moe1. Support call Tinyllama-moe1 model through api, including Node.js, Python, http.

Tinyllama-moe1 huggingface.co Url

https://huggingface.co/aipib/Tinyllama-moe1

aipib Tinyllama-moe1 online free

Tinyllama-moe1 huggingface.co is an online trial and call api platform, which integrates Tinyllama-moe1's modeling effects, including api services, and provides a free online trial of Tinyllama-moe1, you can try Tinyllama-moe1 online for free by clicking the link below.

aipib Tinyllama-moe1 online free url in huggingface.co:

https://huggingface.co/aipib/Tinyllama-moe1

Tinyllama-moe1 install

Tinyllama-moe1 is an open source model from GitHub that offers a free installation service, and any user can find Tinyllama-moe1 on GitHub to install. At the same time, huggingface.co provides the effect of Tinyllama-moe1 install, users can directly use Tinyllama-moe1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Tinyllama-moe1 install url in huggingface.co:

https://huggingface.co/aipib/Tinyllama-moe1

Url of Tinyllama-moe1

Tinyllama-moe1 huggingface.co Url

Provider of Tinyllama-moe1 huggingface.co

aipib
ORGANIZATIONS

Other API from aipib

huggingface.co

Total runs: 179
Run Growth: 82
Growth Rate: 45.81%
Updated:May 08 2024
huggingface.co

Total runs: 63
Run Growth: 27
Growth Rate: 42.86%
Updated:June 15 2024
huggingface.co

Total runs: 58
Run Growth: 36
Growth Rate: 62.07%
Updated:June 18 2024
huggingface.co

Total runs: 40
Run Growth: 23
Growth Rate: 57.50%
Updated:June 18 2024
huggingface.co

Total runs: 29
Run Growth: 19
Growth Rate: 65.52%
Updated:June 14 2024
huggingface.co

Total runs: 20
Run Growth: 12
Growth Rate: 60.00%
Updated:June 22 2024
huggingface.co

Total runs: 14
Run Growth: 5
Growth Rate: 35.71%
Updated:May 07 2024
huggingface.co

Total runs: 13
Run Growth: 0
Growth Rate: 0.00%
Updated:May 24 2025
huggingface.co

Total runs: 13
Run Growth: 0
Growth Rate: 0.00%
Updated:June 17 2024
huggingface.co

Total runs: 12
Run Growth: 0
Growth Rate: 0.00%
Updated:February 13 2025