RASMUS / Ahma-3B-dpo-slerp

huggingface.co
Total runs: 12
24-hour runs: 0
7-day runs: 1
30-day runs: 0
Model's Last Updated: July 22 2024
text-generation

Introduction of Ahma-3B-dpo-slerp

Model Details of Ahma-3B-dpo-slerp

Ahma-3B-dpo-slerp

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

🧩 Configuration
slices:
  - sources:
      - model: Finnish-NLP/sft-hf_hf_2024_06_29_14_08_01_checkpoint_564_dpo-checkpoint-249
        layer_range: [0, 26]
      - model: Finnish-NLP/sft-hf_hf_2024_07_09_16_33_52_checkpoint_1758_dpo-checkpoint-832
        layer_range: [0, 26]
merge_method: slerp
base_model: Finnish-NLP/sft-hf_hf_2024_06_29_14_08_01_checkpoint_564_dpo-checkpoint-249
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-dpo-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-dpo-slerp on huggingface.co

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

More Information About Ahma-3B-dpo-slerp huggingface.co Model

Ahma-3B-dpo-slerp huggingface.co

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

Ahma-3B-dpo-slerp huggingface.co Url

https://huggingface.co/RASMUS/Ahma-3B-dpo-slerp

RASMUS Ahma-3B-dpo-slerp online free

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

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

https://huggingface.co/RASMUS/Ahma-3B-dpo-slerp

Ahma-3B-dpo-slerp install

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

Ahma-3B-dpo-slerp install url in huggingface.co:

https://huggingface.co/RASMUS/Ahma-3B-dpo-slerp

Url of Ahma-3B-dpo-slerp

Ahma-3B-dpo-slerp huggingface.co Url

Provider of Ahma-3B-dpo-slerp huggingface.co

RASMUS
ORGANIZATIONS

Other API from RASMUS

huggingface.co

Total runs: 8
Run Growth: 1
Growth Rate: 12.50%
Updated:February 04 2025
huggingface.co

Total runs: 6
Run Growth: -5
Growth Rate: -83.33%
Updated:February 04 2025