Model reference · open weights
Amber is an open-weight language model from IFM. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | IFM |
|---|---|
| Type | Language models |
| Task | Text gen |
| Parameters (lead) | 6.7B |
| Context | 2k tokens |
| Runs with | transformers |
| Released | 2023-12-07 |
| Popularity | 2k downloads / month |
| Licence | Open weights |
About
Amber is an7B English language model with the LLaMA architecture. Amber is part of LLM360's Pebble model series.
360 model checkpoints and the full data sequence are available under the Apache 2.0 license.
| Metric | Score |
|---|---|
| ARC-C | 42.57 |
| HellaSwag | 73.91 |
| MMLU | 28.53 |
| TruthfulQA | 43.67 |
| WinoGrande | 64.35 |
Amber is not a SOTA model. Amber is released to make LLM training knowledge accessible to all.
Please refer to our W&B project page for complete training logs and evaluation results.
| Checkpoints | |
|---|---|
| Checkpoint 358 | Checkpoint 353 |
| Checkpoint 357 | Checkpoint 352 |
| Checkpoint 356 | Checkpoint 351 |
| Checkpoint 355 | Checkpoint 350 |
| Checkpoint 354 | Checkpoint 349 |
To load a specific checkpoint, simply pass a revision with a value between "ckpt_000" and "ckpt_358". If no revision is provided, it will load "ckpt_359", which is the final checkpoint.
from transformers import LlamaTokenizer, LlamaForCausalLM
tokenizer = LlamaTokenizer.from_pretrained("LLM360/Amber", revision="ckpt_356")
model = LlamaForCausalLM.from_pretrained("LLM360/Amber", revision="ckpt_356")
input_text = "translate English to German: How old are you?"
input_ids = tokenizer(input_text, return_tensors="pt").input_ids
outputs = model.generate(input_ids)
print(tokenizer.decode(outputs[0]))
Access the fully processed Amber pretraining data here
| Subset | Tokens (Billion) |
|---|---|
| Arxiv | 30.00 |
| Book | 28.86 |
| C4 | 197.67 |
| Refined-Web | 665.01 |
| StarCoder | 291.92 |
| StackExchange | 21.75 |
| Wikipedia | 23.90 |
| Total | 1259.13 |
| Model Hyperparameter | Value |
|---|---|
| Total Parameters | 6.7B |
| Hidden Size | 4096 |
| Intermediate Size (MLPs) | 11008 |
| Number of Attention Heads | 32 |
| Number of Hidden Lyaers | 32 |
| RMSNorm ɛ | 1e^-6 |
| Max Seq Length | 2048 |
| Vocab Size | 32000 |
LLM360 is an initiative for comprehensive and fully open-sourced LLMs, where all training details, model checkpoints, intermediate results, and additional analyses are made available to the community. Our goal is to advance the field by inviting the community to deepen the understanding of LLMs together. As the first step of the project LLM360, we release all intermediate model checkpoints, our fully-prepared pre-training dataset, all source code and configurations, and training details. We are committed to continually pushing the boundaries of LLMs through this open-source effort.
BibTeX:
@misc{liu2023llm360,
title={LLM360: Towards Fully Transparent Open-Source LLMs},
author={Zhengzhong Liu and Aurick Qiao and Willie Neiswanger and Hongyi Wang and Bowen Tan and Tianhua Tao and Junbo Li and Yuqi Wang and Suqi Sun and Omkar Pangarkar and Richard Fan and Yi Gu and Victor Miller and Yonghao Zhuang and Guowei He and Haonan Li and Fajri Koto and Liping Tang and Nikhil Ranjan and Zhiqiang Shen and Xuguang Ren and Roberto Iriondo and Cun Mu and Zhiting Hu and Mark Schulze and Preslav Nakov and Tim Baldwin and Eric P. Xing},
year={2023},
eprint={2312.06550},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys amber for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (amber below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/chat/completions \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"amber","messages":[{"role":"user","content":"Hello"}]}'
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.