RASMUS / Ahma-3B-Slerp

huggingface.co
Total runs: 15
24-hour runs: 0
7-day runs: -1
30-day runs: 3
Model's Last Updated: June 29 2024
text-generation

Introduction of Ahma-3B-Slerp

Model Details of Ahma-3B-Slerp

Ahma-3B-Slerp

Ahma-3B-Slerp is a merge of the following models using LazyMergekit :

🧩 Configuration
slices:
  - sources:
      - model: Finnish-NLP/Ahma-3B_hf_2024_06_20_08_52_28_checkpoint-3140
        layer_range: [0, 26]
      - model: Finnish-NLP/Ahma-3B_hf_2024_06_09_15_42_08_checkpoint-1836
        layer_range: [0, 26]
merge_method: slerp
base_model: Finnish-NLP/Ahma-3B_hf_2024_06_20_08_52_28_checkpoint-3140
parameters:
  t:
    - filter: self_attn
      value: [0, 0.5, 0.3, 0.7, 1]
    - filter: mlp
      value: [1, 0.5, 0.7, 0.3, 0]
    - value: 0.5
dtype: bfloat16
💻 Usage
!pip install -qU transformers accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "RASMUS/Ahma-3B-Slerp"
messages = [{"role": "user", "content": "What is a large language model?"}]

tokenizer = AutoTokenizer.from_pretrained(model)
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
pipeline = transformers.pipeline(
    "text-generation",
    model=model,
    torch_dtype=torch.float16,
    device_map="auto",
)

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 RASMUS Ahma-3B-Slerp on huggingface.co

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

More Information About Ahma-3B-Slerp huggingface.co Model

Ahma-3B-Slerp huggingface.co

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

Ahma-3B-Slerp huggingface.co Url

https://huggingface.co/RASMUS/Ahma-3B-Slerp

RASMUS Ahma-3B-Slerp online free

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

RASMUS Ahma-3B-Slerp online free url in huggingface.co:

https://huggingface.co/RASMUS/Ahma-3B-Slerp

Ahma-3B-Slerp install

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

Ahma-3B-Slerp install url in huggingface.co:

https://huggingface.co/RASMUS/Ahma-3B-Slerp

Url of Ahma-3B-Slerp

Ahma-3B-Slerp huggingface.co Url

Provider of Ahma-3B-Slerp huggingface.co

RASMUS
ORGANIZATIONS

Other API from RASMUS

huggingface.co

Total runs: 16
Run Growth: 7
Growth Rate: 43.75%
Updated:February 04 2025
huggingface.co

Total runs: 16
Run Growth: 5
Growth Rate: 31.25%
Updated:February 04 2025