BSC-LT / AL40b-dev

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: -1
Model's Last Updated: August 01 2025
text-generation

Introduction of AL40b-dev

Model Details of AL40b-dev

AL40b-dev Model Card

AL40b-dev is a highly multilingual aligned model with 40B parameters.

DISCLAIMER: This model is an experimental version and is provided for research purposes only . Its use is subject to the terms of the research-only license governing the data used in its post-training, which prohibits commercial use . Access is not public and currently restricted to select partners.

How to use

The instruction-following models use the commonly adopted ChatML template:

{%- if messages[0]['role'] == 'system' %}{%- set system_message = messages[0]['content'] %}{%- set loop_messages = messages[1:] %}{%- else %}{%- set system_message = 'SYSTEM MESSAGE' %}{%- set loop_messages = messages %}{%- endif %}{%- if not date_string is defined %}{%- set date_string = '2024-09-30' %}{%- endif %}{{ '<|im_start|>system\n' + system_message + '<|im_end|>\n' }}{% for message in loop_messages %}{%- if (message['role'] != 'user') and (message['role'] != 'assistant')%}{{ raise_exception('Only user and assitant roles are suported after the initial optional system message.') }}{% endif %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('After the optional system message, conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}

Where system_message is used to guide the model during generation and date_string can be set to allow the model to respond with the current date.

The exact same chat template should be used for an enhanced conversational experience. The easiest way to apply it is by using the tokenizer's built-in functions, as shown in the following snippet.

from datetime import datetime
from transformers import AutoTokenizer, AutoModelForCausalLM
import transformers
import torch

model_id = "BSC-LT/AL40b-dev"

text = "At what temperature does water boil?"

tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    device_map="auto",
    torch_dtype=torch.bfloat16
  )

message = [ { "role": "user", "content": text } ]
date_string = datetime.today().strftime('%Y-%m-%d')

prompt = tokenizer.apply_chat_template(
    message,
    tokenize=False,
    add_generation_prompt=True,
    date_string=date_string
)

inputs = tokenizer.encode(prompt, add_special_tokens=False, return_tensors="pt")
outputs = model.generate(input_ids=inputs.to(model.device), max_new_tokens=200)

print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Using this template, each turn is preceded by a <|im_start|> delimiter and the role of the entity (either user , for content supplied by the user, or assistant for LLM responses), and finished with the <|im_end|> token.

License

RESEARCH-ONLY RAIL-AMS

Runs of BSC-LT AL40b-dev on huggingface.co

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

More Information About AL40b-dev huggingface.co Model

More AL40b-dev license Visit here:

https://choosealicense.com/licenses/other

AL40b-dev huggingface.co

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

AL40b-dev huggingface.co Url

https://huggingface.co/BSC-LT/AL40b-dev

BSC-LT AL40b-dev online free

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

BSC-LT AL40b-dev online free url in huggingface.co:

https://huggingface.co/BSC-LT/AL40b-dev

AL40b-dev install

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

AL40b-dev install url in huggingface.co:

https://huggingface.co/BSC-LT/AL40b-dev

Url of AL40b-dev

AL40b-dev huggingface.co Url

Provider of AL40b-dev huggingface.co

BSC-LT
ORGANIZATIONS

Other API from BSC-LT

huggingface.co

Total runs: 4.7K
Run Growth: 4.1K
Growth Rate: 90.27%
Updated:April 10 2026
huggingface.co

Total runs: 888
Run Growth: 879
Growth Rate: 98.99%
Updated:October 29 2024
huggingface.co

Total runs: 501
Run Growth: -849
Growth Rate: -169.46%
Updated:October 22 2025
huggingface.co

Total runs: 444
Run Growth: -996
Growth Rate: -217.94%
Updated:March 27 2026
huggingface.co

Total runs: 415
Run Growth: 56
Growth Rate: 13.49%
Updated:October 22 2025
huggingface.co

Total runs: 359
Run Growth: -565
Growth Rate: -157.38%
Updated:April 10 2026
huggingface.co

Total runs: 330
Run Growth: -188
Growth Rate: -56.97%
Updated:August 07 2025
huggingface.co

Total runs: 202
Run Growth: 37
Growth Rate: 18.32%
Updated:October 22 2025
huggingface.co

Total runs: 119
Run Growth: 16
Growth Rate: 13.45%
Updated:September 06 2021
huggingface.co

Total runs: 101
Run Growth: 71
Growth Rate: 59.17%
Updated:April 10 2026
huggingface.co

Total runs: 61
Run Growth: 10
Growth Rate: 14.08%
Updated:April 22 2026
huggingface.co

Total runs: 35
Run Growth: 22
Growth Rate: 62.86%
Updated:October 26 2021
huggingface.co

Total runs: 33
Run Growth: -247
Growth Rate: -466.04%
Updated:April 10 2026
huggingface.co

Total runs: 5
Run Growth: 0
Growth Rate: 0.00%
Updated:September 10 2024
huggingface.co

Total runs: 0
Run Growth: -2
Growth Rate: 0.00%
Updated:December 18 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 09 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 06 2026