aipib / karasu-moe2

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

Introduction of karasu-moe2

Model Details of karasu-moe2

karasu-moe2

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

🧩 Configuration
base_model: lightblue/karasu-1.1B
experts:
  - source_model: yuiseki/karasu-sake-qa-v0.1
    positive_prompts:
    - "chat"
    - "assistant"
    - "instruct"
    - "explain"
  - source_model: lightblue/karasu-1.1B
    positive_prompts:
    - "storywriting"
    - "write"
    - "reason"
    - "count"
💻 Usage
!pip install -qU transformers bitsandbytes accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "aipib/karasu-moe2"

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

14
Total runs
-1
24-hour runs
0
3-day runs
2
7-day runs
5
30-day runs

More Information About karasu-moe2 huggingface.co Model

More karasu-moe2 license Visit here:

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

karasu-moe2 huggingface.co

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

karasu-moe2 huggingface.co Url

https://huggingface.co/aipib/karasu-moe2

aipib karasu-moe2 online free

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

aipib karasu-moe2 online free url in huggingface.co:

https://huggingface.co/aipib/karasu-moe2

karasu-moe2 install

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

karasu-moe2 install url in huggingface.co:

https://huggingface.co/aipib/karasu-moe2

Url of karasu-moe2

karasu-moe2 huggingface.co Url

Provider of karasu-moe2 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: 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