aipib / Tinyllama-moe4

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

Introduction of Tinyllama-moe4

Model Details of Tinyllama-moe4

Tinyllama-moe4

Tinyllama-moe4 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"
    - "tell me"
    - "explain"
  - source_model: gardner/TinyLlama-1.1B-Instruct-3T
    positive_prompts:
    - "reason"
    - "provide"
    - "instruct"
    - "summarize"
    - "count"
💻 Usage
!pip install -qU transformers bitsandbytes accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "aipib/Tinyllama-moe4"

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-moe4 on huggingface.co

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

More Information About Tinyllama-moe4 huggingface.co Model

More Tinyllama-moe4 license Visit here:

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

Tinyllama-moe4 huggingface.co

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

Tinyllama-moe4 huggingface.co Url

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

aipib Tinyllama-moe4 online free

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

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

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

Tinyllama-moe4 install

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

Tinyllama-moe4 install url in huggingface.co:

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

Url of Tinyllama-moe4

Tinyllama-moe4 huggingface.co Url

Provider of Tinyllama-moe4 huggingface.co

aipib
ORGANIZATIONS

Other API from aipib

huggingface.co

Total runs: 875
Run Growth: -182.6K
Growth Rate: -20868.46%
Updated:February 27 2025
huggingface.co

Total runs: 113
Run Growth: -66
Growth Rate: -58.41%
Updated:May 08 2024
huggingface.co

Total runs: 92
Run Growth: 26
Growth Rate: 28.26%
Updated:June 15 2024
huggingface.co

Total runs: 86
Run Growth: 24
Growth Rate: 27.91%
Updated:June 18 2024
huggingface.co

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

Total runs: 50
Run Growth: 16
Growth Rate: 32.00%
Updated:June 14 2024
huggingface.co

Total runs: 17
Run Growth: 2
Growth Rate: 11.76%
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