gated2 / README.md
CharlieBoyer's picture
CharlieBoyer HF Staff
Update README.md
c07cf11 verified
metadata
license: apache-2.0
pipeline_tag: text-generation
language:
  - en
  - he
tags:
  - pretrained
inference:
  parameters:
    temperature: 0.6
widget:
  - messages:
      - role: system
        content: >-
          אתה עוזר שמועיל וממנה. ענה על השאלות שלי בעברית. חשוב צעד אחר צעד לפני
          שאתה עונה.
      - role: user
        content: מה היתרונות של למידת מכונה?
  - messages:
      - role: system
        content: >-
          You are a helpful and thoughtful assistant. Think step by step before
          answering.
      - role: user
        content: What are the advantages of machine learning?

Dicta-LM 3.0: Advancing The Frontier of Hebrew Sovereign LLMs

Dicta-LM 3.0 is a powerful open-weight collection of LLMs, trained on extensive corpora of Hebrew and English texts. The models are available for download and for unlimited use. The models set a new SOTA for their weight-class for Hebrew, both as base models and chat models.

This is our flagship model, a 24-billion-parameter reasoning model, with full precision (BF16), originally initialized from Mistral-Small-3.1-24B-Base-2503.

This model is a reasoning chat model, which means that before responding to any given message from the user, the model first thinks out the right way to respond in a designated thinking block.


🚀 Try it out here: chat.dicta.org.il


For full details of this model please read our release blog post or the technical report.

You can view and access the full collection of base/instruct unquantized/quantized versions of DictaLM 3.0 here.

Instruction format

In order to leverage instruction fine-tuning, your prompt should be rendered using the chat template specified for this model. Most libraries deal with this automatically, so you can just let them do it.

Usage

We recommend using vLLM, but you can use Transformers as well:

Transformers


from transformers import pipeline

generator = pipeline('text-generation', model="dicta-il/DictaLM-3.0-24B-Thinking")

messages = [
    {"role": "user", "content": "איזה רוטב אהוב עליך?"},
    {"role": "assistant", "content": "טוב, אני די מחבב כמה טיפות מיץ לימון סחוט טרי. זה מוסיף בדיוק את הכמות הנכונה של טעם חמצמץ לכל מה שאני מבשל במטבח!"},
    {"role": "user", "content": "האם יש לך מתכונים למיונז?"}
]

print(generator(messages)[0]['generated_text'][-1]) # just print the last message
# {'role': 'assistant', 'content': 'המשתמש שואל: "האם יש לך מתכונים למיונז?" עלינו להגיב עם מתכון למיונז. ספקו מתכון קלאסי, אולי גם וריאציות (מיונז פליאו, מיונז טבעוני, מיונז חריף, וכו\'). ספקו הוראות שלב אחר שלב. צריך להיות בטון ידידותי.</think>בטח! מיונז ביתי הוא באמת פשוט להכנה ומעניק לכם שליטה מלאה על המרכיבים, הטעם והמרקם. להלן המתכון הקלאסי, בתוספת כמה וריאציות מהנות שתוכלו להתנסות בהן.\n\n---\n\n## 1️⃣ מיונז קלאסי (מיונז בסיסי)\n\n| מרכיב | כמות |\n|------------|----------|\n| חלמון ביצה גדול (או 2 חלמונים בינוניים) | 1 |\n| חרדל דיז\'ון | 1 כפית |\n| מיץ לימון טרי (או ח'}