optimum-intel-internal-testing / tiny-random-aya-base

huggingface.co
Total runs: 60.2K
24-hour runs: 2.9K
7-day runs: 11.6K
30-day runs: 29.4K
Model's Last Updated: March 04 2026

Introduction of tiny-random-aya-base

Model Details of tiny-random-aya-base

Here is a code to create this tiny model:

import os
import torch
torch.set_default_dtype(torch.bfloat16)
from transformers import AutoTokenizer, AutoConfig, Cohere2ForCausalLM, AutoModelForCausalLM

model_id = "CohereLabs/tiny-aya-base"
config = AutoConfig.from_pretrained(model_id)

config.num_hidden_layers=2
config.layer_types=[
    "sliding_attention",
    "full_attention",
  ]
config.num_attention_heads=4
config.hidden_size=4
config.intermediate_size=5

model = Cohere2ForCausalLM(config)
tokenizer = AutoTokenizer.from_pretrained(model_id)

output_dir = "./tiny-random-aya-base/"
os.makedirs(output_dir, exist_ok=True)
model.save_pretrained(output_dir, safe_serialization=True)
tokenizer.save_pretrained(output_dir)

Runs of optimum-intel-internal-testing tiny-random-aya-base on huggingface.co

60.2K
Total runs
2.9K
24-hour runs
6.0K
3-day runs
11.6K
7-day runs
29.4K
30-day runs

More Information About tiny-random-aya-base huggingface.co Model

More tiny-random-aya-base license Visit here:

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

tiny-random-aya-base huggingface.co

tiny-random-aya-base huggingface.co is an AI model on huggingface.co that provides tiny-random-aya-base's model effect (), which can be used instantly with this optimum-intel-internal-testing tiny-random-aya-base model. huggingface.co supports a free trial of the tiny-random-aya-base model, and also provides paid use of the tiny-random-aya-base. Support call tiny-random-aya-base model through api, including Node.js, Python, http.

optimum-intel-internal-testing tiny-random-aya-base online free

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

optimum-intel-internal-testing tiny-random-aya-base online free url in huggingface.co:

https://huggingface.co/optimum-intel-internal-testing/tiny-random-aya-base

tiny-random-aya-base install

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

tiny-random-aya-base install url in huggingface.co:

https://huggingface.co/optimum-intel-internal-testing/tiny-random-aya-base

Url of tiny-random-aya-base

Provider of tiny-random-aya-base huggingface.co

optimum-intel-internal-testing
ORGANIZATIONS

Other API from optimum-intel-internal-testing