GraySoft
Projects Models About FAQ Contact Download guIDE →
Model Intelligence Sheet

richarderkhov/berkeley-nest_-_starling-lm-7b-alpha-gguf overview

We introduce Starling-7B, an open large language model (LLM) trained by Reinforcement Learning from AI Feedback (RLAIF). The model harnesses the power of our new GPT-4 labeled ranking dataset, berkeley-nest/Nectar, and our new reward training and policy tuning pipeline. Starling-7B-alpha scores 8.09 in MT Bench with GPT-4 as a judge, outperforming every model to date on MT-Bench except for OpenAI's GPT-4 and GPT-4 Turbo. We release the ranking dataset Nectar, the reward model Starling-RM-7B-alpha and the language model Starling-LM-7B-alpha on HuggingFace, and an online demo in LMSYS Chatbot Arena. Stay tuned for our forthcoming code and paper, which will provide more details on the whole process. Starling-LM-7B-alpha is a language model trained from Openchat 3.5 with reward model berkeley-nest/Starling-RM-7B-alpha and policy optimization method advantage-induced policy alignment (APA). The evaluation results are listed below. | Model | Tuning Method | MT Bench | AlpacaEval | MMLU | |-----------------------|------------------|----------|------------|------| | GPT-4-Turbo | ? | 9.32 | 97.70 | | | GPT-4 | SFT + PPO | 8.99 | 95.28 | 86.4 | | Starling-7B | C-RLFT + APA | 8.09 | 91.99 | 63.9 | | Claude-2 | ? | 8.06 | 91.36 | 78.5 | | GPT-3.5-Turbo | ? | 7.94 | 89.37 | 70 | | Claude-1 | ? | 7.9 | 88.39 | 77 | | Tulu-2-dpo-70b | SFT + DPO | 7.89 | 95.1 | | | Openchat-3.5 | C-RLFT | 7.81 | 88.51 | 64.3 | | Zephyr-7B-beta | SFT + DPO | 7.34 | 90.60 | 61.4 | | Llama-2-70b-chat-hf | SFT + PPO | 6.86 | 92.66 | 63 | | Neural-chat-7b-v3-1 | SFT + DPO | 6.84 | 84.53 | 62.4 | | Tulu-2-dpo-7b | SFT + DPO | 6.29 | 85.1 | | For more detailed discussions, please check out our blog post, and stay tuned for our upcoming code and paper!

ggufarxiv:2306.02231endpoints_compatibleregion:usconversational
richarderkhov/berkeley-nest_-_starling-lm-7b-alpha-gguf visual
Downloads
89
Likes
0
Pipeline
Library
Visibility
Public
Access
Open

Repository Files & Downloads

21 files detected
Direct downloads for all repository files
FileTypeQuantizationSizeLink
Starling-LM-7B-alpha.IQ3_M.gguf GGUF IQ3_M 3.06 GB Download
Starling-LM-7B-alpha.IQ3_S.gguf GGUF IQ3_S 2.96 GB Download
Starling-LM-7B-alpha.IQ3_XS.gguf GGUF IQ3_XS 2.81 GB Download
Starling-LM-7B-alpha.IQ4_NL.gguf GGUF IQ4_NL 3.87 GB Download
Starling-LM-7B-alpha.IQ4_XS.gguf GGUF IQ4_XS 3.67 GB Download
Starling-LM-7B-alpha.Q2_K.gguf GGUF Q2_K 2.53 GB Download
Starling-LM-7B-alpha.Q3_K.gguf GGUF Q3_K 3.28 GB Download
Starling-LM-7B-alpha.Q3_K_L.gguf GGUF Q3_K_L 3.56 GB Download
Starling-LM-7B-alpha.Q3_K_M.gguf GGUF Q3_K_M 3.28 GB Download
Starling-LM-7B-alpha.Q3_K_S.gguf GGUF Q3_K_S 2.95 GB Download
Starling-LM-7B-alpha.Q4_0.gguf GGUF 3.83 GB Download
Starling-LM-7B-alpha.Q4_1.gguf GGUF 4.24 GB Download
Starling-LM-7B-alpha.Q4_K.gguf GGUF Q4_K 4.07 GB Download
Starling-LM-7B-alpha.Q4_K_M.gguf GGUF Q4_K_M 4.07 GB Download
Starling-LM-7B-alpha.Q4_K_S.gguf GGUF Q4_K_S 3.86 GB Download
Starling-LM-7B-alpha.Q5_0.gguf GGUF 4.65 GB Download
Starling-LM-7B-alpha.Q5_1.gguf GGUF 5.07 GB Download
Starling-LM-7B-alpha.Q5_K.gguf GGUF Q5_K 4.78 GB Download
Starling-LM-7B-alpha.Q5_K_M.gguf GGUF Q5_K_M 4.78 GB Download
Starling-LM-7B-alpha.Q5_K_S.gguf GGUF Q5_K_S 4.65 GB Download
Starling-LM-7B-alpha.Q6_K.gguf GGUF Q6_K 5.53 GB Download

Model Details Live

Model Slug
richarderkhov/berkeley-nest_-_starling-lm-7b-alpha-gguf
Author
RichardErkhov
Pipeline Task
Library
Created
2024-05-02
Last Modified
2024-05-02
Gated
No
Private
No
HF SHA
117154539e46fe6babf691f6e8085ba50bbf3cbc
License
Unknown
Language
Unknown
Base Model
Unknown

Metadata Inspector

Normalized metadata (stored in metadata_json)
{
  "metadata": {},
  "card_data": {
    "frontmatter": {},
    "hero_image_url": "",
    "summary": "We introduce Starling-7B, an open large language model (LLM) trained by Reinforcement Learning from AI Feedback (RLAIF). The model harnesses the power of our new GPT-4 labeled ranking dataset, berkeley-nest/Nectar, and our new reward training and policy tuning pipeline. Starling-7B-alpha scores 8.09 in MT Bench with GPT-4 as a judge, outperforming every model to date on MT-Bench except for OpenAI's GPT-4 and GPT-4 Turbo. We release the ranking dataset Nectar, the reward model Starling-RM-7B-alpha and the language model Starling-LM-7B-alpha on HuggingFace, and an online demo in LMSYS Chatbot Arena. Stay tuned for our forthcoming code and paper, which will provide more details on the whole process. Starling-LM-7B-alpha is a language model trained from Openchat 3.5 with reward model berkeley-nest/Starling-RM-7B-alpha and policy optimization method advantage-induced policy alignment (APA). The evaluation results are listed below. | Model                 | Tuning Method    | MT Bench | AlpacaEval | MMLU | |-----------------------|------------------|----------|------------|------| | GPT-4-Turbo           | ?                | 9.32     | 97.70      |      | | GPT-4                 | SFT + PPO        | 8.99     | 95.28      | 86.4 | | **Starling-7B**           | C-RLFT + APA     | 8.09     | 91.99      | 63.9 | | Claude-2              | ?                | 8.06     | 91.36      | 78.5 | | GPT-3.5-Turbo         | ?                | 7.94     | 89.37      | 70   | | Claude-1              | ?                | 7.9      | 88.39      | 77   | | Tulu-2-dpo-70b        | SFT + DPO        | 7.89     | 95.1       |      | | Openchat-3.5          | C-RLFT           | 7.81     | 88.51      | 64.3 | | Zephyr-7B-beta        | SFT + DPO        | 7.34     | 90.60      | 61.4 | | Llama-2-70b-chat-hf   | SFT + PPO        | 6.86     | 92.66      | 63   | | Neural-chat-7b-v3-1   | SFT + DPO        | 6.84     | 84.53      | 62.4 | | Tulu-2-dpo-7b         | SFT + DPO        | 6.29     | 85.1       |      | For more detailed discussions, please check out our blog post, and stay tuned for our upcoming code and paper!",
    "quick_links": [],
    "benchmark_table_html": "",
    "readme_markdown": "Quantization made by Richard Erkhov.\n\n[Github](https://github.com/RichardErkhov)\n\n[Discord](https://discord.gg/pvy7H8DZMG)\n\n[Request more models](https://github.com/RichardErkhov/quant_request)\n\n\nStarling-LM-7B-alpha - GGUF\n- Model creator: https://huggingface.co/berkeley-nest/\n- Original model: https://huggingface.co/berkeley-nest/Starling-LM-7B-alpha/\n\n\n| Name | Quant method | Size |\n| ---- | ---- | ---- |\n| [Starling-LM-7B-alpha.Q2_K.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.Q2_K.gguf) | Q2_K | 2.53GB |\n| [Starling-LM-7B-alpha.IQ3_XS.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.IQ3_XS.gguf) | IQ3_XS | 2.81GB |\n| [Starling-LM-7B-alpha.IQ3_S.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.IQ3_S.gguf) | IQ3_S | 2.96GB |\n| [Starling-LM-7B-alpha.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.Q3_K_S.gguf) | Q3_K_S | 2.95GB |\n| [Starling-LM-7B-alpha.IQ3_M.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.IQ3_M.gguf) | IQ3_M | 3.06GB |\n| [Starling-LM-7B-alpha.Q3_K.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.Q3_K.gguf) | Q3_K | 3.28GB |\n| [Starling-LM-7B-alpha.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.Q3_K_M.gguf) | Q3_K_M | 3.28GB |\n| [Starling-LM-7B-alpha.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.Q3_K_L.gguf) | Q3_K_L | 3.56GB |\n| [Starling-LM-7B-alpha.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.IQ4_XS.gguf) | IQ4_XS | 3.67GB |\n| [Starling-LM-7B-alpha.Q4_0.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.Q4_0.gguf) | Q4_0 | 3.83GB |\n| [Starling-LM-7B-alpha.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.IQ4_NL.gguf) | IQ4_NL | 3.87GB |\n| [Starling-LM-7B-alpha.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.Q4_K_S.gguf) | Q4_K_S | 3.86GB |\n| [Starling-LM-7B-alpha.Q4_K.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.Q4_K.gguf) | Q4_K | 4.07GB |\n| [Starling-LM-7B-alpha.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.Q4_K_M.gguf) | Q4_K_M | 4.07GB |\n| [Starling-LM-7B-alpha.Q4_1.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.Q4_1.gguf) | Q4_1 | 4.24GB |\n| [Starling-LM-7B-alpha.Q5_0.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.Q5_0.gguf) | Q5_0 | 4.65GB |\n| [Starling-LM-7B-alpha.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.Q5_K_S.gguf) | Q5_K_S | 4.65GB |\n| [Starling-LM-7B-alpha.Q5_K.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.Q5_K.gguf) | Q5_K | 4.78GB |\n| [Starling-LM-7B-alpha.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.Q5_K_M.gguf) | Q5_K_M | 4.78GB |\n| [Starling-LM-7B-alpha.Q5_1.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.Q5_1.gguf) | Q5_1 | 5.07GB |\n| [Starling-LM-7B-alpha.Q6_K.gguf](https://huggingface.co/RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf/blob/main/Starling-LM-7B-alpha.Q6_K.gguf) | Q6_K | 5.53GB |\n\n\n\n\nOriginal model description:\n---\nlicense: apache-2.0\ndatasets:\n- berkeley-nest/Nectar\nlanguage:\n- en\nlibrary_name: transformers\ntags:\n- reward model\n- RLHF\n- RLAIF\n---\n# Starling-LM-7B-alpha\n\n<!-- Provide a quick summary of what the model is/does. -->\n\n- **Developed by:** Banghua Zhu * , Evan Frick * , Tianhao Wu * , Hanlin Zhu and Jiantao Jiao.\n- **Model type:** Language Model finetuned with RLHF / RLAIF\n- **License:** Apache-2.0 license under the condition that the model is not used to compete with OpenAI\n- **Finetuned from model:** [Openchat 3.5](https://huggingface.co/openchat/openchat_3.5) (based on [Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1))\n \n\n\nWe introduce Starling-7B, an open large language model (LLM) trained by Reinforcement Learning from AI Feedback (RLAIF). The model harnesses the power of our new GPT-4 labeled ranking dataset, [berkeley-nest/Nectar](https://huggingface.co/datasets/berkeley-nest/Nectar), and our new reward training and policy tuning pipeline. Starling-7B-alpha scores 8.09 in MT Bench with GPT-4 as a judge, outperforming every model to date on MT-Bench except for OpenAI's GPT-4 and GPT-4 Turbo. We release the ranking dataset [Nectar](https://huggingface.co/datasets/berkeley-nest/Nectar), the reward model [Starling-RM-7B-alpha](https://huggingface.co/berkeley-nest/Starling-RM-7B-alpha) and the language model [Starling-LM-7B-alpha](https://huggingface.co/berkeley-nest/Starling-LM-7B-alpha) on HuggingFace, and an online demo in LMSYS [Chatbot Arena](https://chat.lmsys.org). Stay tuned for our forthcoming code and paper, which will provide more details on the whole process.\n\nStarling-LM-7B-alpha is a language model trained from [Openchat 3.5](https://huggingface.co/openchat/openchat_3.5) with reward model [berkeley-nest/Starling-RM-7B-alpha](https://huggingface.co/berkeley-nest/Starling-RM-7B-alpha) and policy optimization method [advantage-induced policy alignment (APA)](https://arxiv.org/abs/2306.02231). The evaluation results are listed below.\n\n\n| Model                 | Tuning Method    | MT Bench | AlpacaEval | MMLU |\n|-----------------------|------------------|----------|------------|------|\n| GPT-4-Turbo           | ?                | 9.32     | 97.70      |      |\n| GPT-4                 | SFT + PPO        | 8.99     | 95.28      | 86.4 |\n| **Starling-7B**           | C-RLFT + APA     | 8.09     | 91.99      | 63.9 |\n| Claude-2              | ?                | 8.06     | 91.36      | 78.5 |\n| GPT-3.5-Turbo         | ?                | 7.94     | 89.37      | 70   |\n| Claude-1              | ?                | 7.9      | 88.39      | 77   |\n| Tulu-2-dpo-70b        | SFT + DPO        | 7.89     | 95.1       |      |\n| Openchat-3.5          | C-RLFT           | 7.81     | 88.51      | 64.3 |\n| Zephyr-7B-beta        | SFT + DPO        | 7.34     | 90.60      | 61.4 |\n| Llama-2-70b-chat-hf   | SFT + PPO        | 6.86     | 92.66      | 63   |\n| Neural-chat-7b-v3-1   | SFT + DPO        | 6.84     | 84.53      | 62.4 | \n| Tulu-2-dpo-7b         | SFT + DPO        | 6.29     | 85.1       |      |\n\n\n\nFor more detailed discussions, please check out our [blog post](https://starling.cs.berkeley.edu), and stay tuned for our upcoming code and paper!\n<!-- Provide the basic links for the model. -->\n\n- **Blog:** https://starling.cs.berkeley.edu/\n- **Paper:** Coming soon!\n- **Code:** Coming soon!\n\n\n\n## Uses\n\n<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->\n\n**Important: Please use the exact chat template provided below for the model. Otherwise there will be a degrade in the performance. The model output can be verbose in rare cases. Please consider setting temperature = 0 to make this happen less.**\n\nOur model follows the exact chat template and usage as [Openchat 3.5](https://huggingface.co/openchat/openchat_3.5). Please refer to their model card for more details.\nIn addition, our model is hosted on LMSYS [Chatbot Arena](https://chat.lmsys.org) for free test.\n\nThe conversation template is the same as Openchat 3.5:\n```\nimport transformers\ntokenizer = transformers.AutoTokenizer.from_pretrained(\"openchat/openchat_3.5\")\n\n# Single-turn\ntokens = tokenizer(\"GPT4 Correct User: Hello<|end_of_turn|>GPT4 Correct Assistant:\").input_ids\nassert tokens == [1, 420, 6316, 28781, 3198, 3123, 1247, 28747, 22557, 32000, 420, 6316, 28781, 3198, 3123, 21631, 28747]\n\n# Multi-turn\ntokens = tokenizer(\"GPT4 Correct User: Hello<|end_of_turn|>GPT4 Correct Assistant: Hi<|end_of_turn|>GPT4 Correct User: How are you today?<|end_of_turn|>GPT4 Correct Assistant:\").input_ids\nassert tokens == [1, 420, 6316, 28781, 3198, 3123, 1247, 28747, 22557, 32000, 420, 6316, 28781, 3198, 3123, 21631, 28747, 15359, 32000, 420, 6316, 28781, 3198, 3123, 1247, 28747, 1602, 460, 368, 3154, 28804, 32000, 420, 6316, 28781, 3198, 3123, 21631, 28747]\n\n# Coding Mode\ntokens = tokenizer(\"Code User: Implement quicksort using C++<|end_of_turn|>Code Assistant:\").input_ids\nassert tokens == [1, 7596, 1247, 28747, 26256, 2936, 7653, 1413, 334, 1680, 32000, 7596, 21631, 28747]\n```\n## Code Examples\n\n```python\nimport transformers\n\ntokenizer = transformers.AutoTokenizer.from_pretrained(\"berkeley-nest/Starling-LM-7B-alpha\")\nmodel = transformers.AutoModelForCausalLM.from_pretrained(\"berkeley-nest/Starling-LM-7B-alpha\")\n\ndef generate_response(prompt):\n    input_ids = tokenizer(prompt, return_tensors=\"pt\").input_ids\n    outputs = model.generate(\n        input_ids,\n        max_length=256,\n        pad_token_id=tokenizer.pad_token_id,\n        eos_token_id=tokenizer.eos_token_id,\n    )\n    response_ids = outputs[0]\n    response_text = tokenizer.decode(response_ids, skip_special_tokens=True)\n    return response_text\n\n# Single-turn conversation\nprompt = \"Hello, how are you?\"\nsingle_turn_prompt = f\"GPT4 Correct User: {prompt}<|end_of_turn|>GPT4 Correct Assistant:\"\nresponse_text = generate_response(single_turn_prompt)\nprint(\"Response:\", response_text)\n\n## Multi-turn conversation\nprompt = \"Hello\"\nfollow_up_question =  \"How are you today?\"\nresponse = \"\"\nmulti_turn_prompt = f\"GPT4 Correct User: {prompt}<|end_of_turn|>GPT4 Correct Assistant: {response}<|end_of_turn|>GPT4 Correct User: {follow_up_question}<|end_of_turn|>GPT4 Correct Assistant:\"\nresponse_text = generate_response(multi_turn_prompt)\nprint(\"Multi-turn conversation response:\", response_text)\n\n### Coding conversation\nprompt = \"Implement quicksort using C++\"\ncoding_prompt = f\"Code User: {prompt}<|end_of_turn|>Code Assistant:\"\nresponse = generate_response(coding_prompt)\nprint(\"Coding conversation response:\", response)\n```\n\n## License\nThe dataset, model and online demo is a research preview intended for non-commercial use only, subject to the data distillation [License](https://github.com/facebookresearch/llama/blob/main/MODEL_CARD.md) of LLaMA, [Terms of Use](https://openai.com/policies/terms-of-use) of the data generated by OpenAI, and [Privacy Practices](https://chrome.google.com/webstore/detail/sharegpt-share-your-chatg/daiacboceoaocpibfodeljbdfacokfjb) of ShareGPT. Please contact us if you find any potential violation.\n\n\n## Acknowledgment\nWe would like to thank Wei-Lin Chiang from Berkeley for detailed feedback of the blog and the projects. We would like to thank the [LMSYS Organization](https://lmsys.org/) for their support of [lmsys-chat-1M](https://huggingface.co/datasets/lmsys/lmsys-chat-1m) dataset, evaluation and online demo. We would like to thank the open source community for their efforts in providing the datasets and base models we used to develope the project, including but not limited to Anthropic, Llama, Mistral, Hugging Face H4, LMSYS, OpenChat, OpenBMB, Flan and ShareGPT.\n\n## Citation\n```\n@misc{starling2023,\n    title = {Starling-7B: Improving LLM Helpfulness & Harmlessness with RLAIF},\n    url = {},\n    author = {Zhu, Banghua and Frick, Evan and Wu, Tianhao and Zhu, Hanlin and Jiao, Jiantao},\n    month = {November},\n    year = {2023}\n}\n```\n\n",
    "related_quantizations": []
  },
  "tags": [
    "gguf",
    "arxiv:2306.02231",
    "endpoints_compatible",
    "region:us",
    "conversational"
  ],
  "likes": 0,
  "downloads": 89,
  "gated": false,
  "private": false,
  "last_modified": "2024-05-02T14:41:57.000Z",
  "created_at": "2024-05-02T12:27:00.000Z",
  "pipeline_tag": "",
  "library_name": ""
}
Source payload excerpt (from Hugging Face API)
{
  "_id": "663386941806627c00408117",
  "id": "RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf",
  "modelId": "RichardErkhov/berkeley-nest_-_Starling-LM-7B-alpha-gguf",
  "sha": "117154539e46fe6babf691f6e8085ba50bbf3cbc",
  "createdAt": "2024-05-02T12:27:00.000Z",
  "lastModified": "2024-05-02T14:41:57.000Z",
  "author": "RichardErkhov",
  "downloads": 89,
  "likes": 0,
  "gated": false,
  "private": false,
  "pipeline_tag": "",
  "library_name": "",
  "siblings_count": 23
}