dicta-il / dictalm-7b-instruct

huggingface.co
Total runs: 134
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: November 06 2023
text-generation

Introduction of dictalm-7b-instruct

Model Details of dictalm-7b-instruct

DictaLM : A Large Generative Language Model for Modern Hebrew

A large generative pretrained transformer (GPT) language model for Hebrew, released here .

  • This is an alpha version of the model, and there are many improvements to come.
  • We are actively working on improving the model, so stay tuned.

This model was fine-tuned for instructions, here are a few examples of the different types of instructions the model was trained on:

  • General questions:

    מה זה בית ספר?
    
    קיבלתי חתך קל באצבע. מהי הדרך הנכונה לטפל בזה?
    
  • Simple tasks:

    תציע כמה רעיונות לפעילות עם ילדים בני 5:
    
  • Information retrieval from a paragraph context:

        המסיק הידני הוא הדרך המסורתית והעתיקה לקטיף זיתים. שיטה זו דורשת כוח אדם רב באופן יחסי ועדיין מקובלת בישראל ובמקומות רבים בעולם. שיטות מסיק ידני מאפשרות חיסכון עלויות במקומות בהם כוח האדם זול ועלות השיטות הממוכנות גבוהה. לזיתים המיועדים למאכל (לכבישה, בניגוד לזיתים לשמן) מתאים יותר מסיק ידני כיוון שהפרי פחות נפגע במהלך המסיק בשיטה זו (פגיעות בקליפת הפרי בזיתים לשמן פחות משמעותיות). כמו כן מועדף מסיק ידני באזורים בהם הטופוגרפיה המקומית או צפיפות העצים לא מאפשרים גישה נוחה לכלים מכנים. השיטה הידנית מאפשרת גם למסוק עצים שונים במועדים שונים, בהתאם לקצב הבשלת הפרי הטבעי בכל עץ.
        
        על בסיס הפסקה הזאת, מה הוא היתרון של מסיק ידני מבחינת קצב הבשלת הפרי?
    
Sample usage:
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

tokenizer = AutoTokenizer.from_pretrained('dicta-il/dictalm-7b-instruct')
model = AutoModelForCausalLM.from_pretrained('dicta-il/dictalm-7b-instruct', trust_remote_code=True).cuda()

model.eval()

with torch.inference_mode():
    prompt = 'תציע כמה רעיונות לפעילות עם ילדים בני 5:\n'
    kwargs = dict(
        inputs=tokenizer(prompt, return_tensors='pt').input_ids.to(model.device),
        do_sample=True,
        top_k=50,
        top_p=0.95,
        temperature=0.75,
        max_length=100,
        min_new_tokens=5
    )
    
    print(tokenizer.batch_decode(model.generate(**kwargs), skip_special_tokens=True))

There are many different parameters you can input into kwargs for different results (greedy, beamsearch, different sampling configurations, longer/shorter respones, etc.).

You can view the full list of parameters you can pass to the generate function here .

Alternative ways to initialize the model:

If you have multiple smaller GPUs, and the package accelerate is installed, you can initialize the model split across the devices:

model = AutoModelForCausalLM.from_pretrained('dicta-il/dictalm-7b-instruct', trust_remote_code=True, device_map='auto')

If you are running on linux and have the bitsandbytes package installed, you can initialize the model in 4/8 bit inference mode:

model = AutoModelForCausalLM.from_pretrained('dicta-il/dictalm-7b-instruct', trust_remote_code=True, load_in_8bit=True)

If you have FlashAttention installed in your environment, you can instruct the model to use the flash attention implementation (either V1 or V2, whichever is installed):

model = AutoModelForCausalLM.from_pretrained('dicta-il/dictalm-7b-instruct', trust_remote_code=True, use_flash_attention=True)
Colab notebook demos

You can try the model on a free tier google colab using the following notebooks:

Citation

If you use DictaLM in your research, please cite DictaLM -- A Large Generative Language Model for Modern Hebrew

BibTeX:

@misc{shmidman2023introducing,
      title={Introducing DictaLM -- A Large Generative Language Model for Modern Hebrew}, 
      author={Shaltiel Shmidman and Avi Shmidman and Amir David Nissan Cohen and Moshe Koppel},
      year={2023},
      eprint={2309.14568},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}
License

Shield: CC BY 4.0

This work is licensed under a Creative Commons Attribution 4.0 International License .

CC BY 4.0

Runs of dicta-il dictalm-7b-instruct on huggingface.co

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

More Information About dictalm-7b-instruct huggingface.co Model

More dictalm-7b-instruct license Visit here:

https://choosealicense.com/licenses/cc-by-4.0

dictalm-7b-instruct huggingface.co

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

dictalm-7b-instruct huggingface.co Url

https://huggingface.co/dicta-il/dictalm-7b-instruct

dicta-il dictalm-7b-instruct online free

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

dicta-il dictalm-7b-instruct online free url in huggingface.co:

https://huggingface.co/dicta-il/dictalm-7b-instruct

dictalm-7b-instruct install

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

dictalm-7b-instruct install url in huggingface.co:

https://huggingface.co/dicta-il/dictalm-7b-instruct

Url of dictalm-7b-instruct

dictalm-7b-instruct huggingface.co Url

Provider of dictalm-7b-instruct huggingface.co

dicta-il
ORGANIZATIONS

Other API from dicta-il

huggingface.co

Total runs: 10.3K
Run Growth: -1.0K
Growth Rate: -9.79%
Updated:October 27 2025
huggingface.co

Total runs: 7.3K
Run Growth: 2.1K
Growth Rate: 29.17%
Updated:December 28 2023
huggingface.co

Total runs: 1.6K
Run Growth: 0
Growth Rate: 0.00%
Updated:July 03 2023
huggingface.co

Total runs: 1.2K
Run Growth: -2.9K
Growth Rate: -237.17%
Updated:September 16 2026
huggingface.co

Total runs: 969
Run Growth: -75
Growth Rate: -7.74%
Updated:June 17 2025
huggingface.co

Total runs: 677
Run Growth: -239
Growth Rate: -35.30%
Updated:July 11 2024
huggingface.co

Total runs: 163
Run Growth: 0
Growth Rate: 0.00%
Updated:May 12 2025
huggingface.co

Total runs: 97
Run Growth: -123
Growth Rate: -126.80%
Updated:September 03 2024
huggingface.co

Total runs: 41
Run Growth: 19
Growth Rate: 46.34%
Updated:May 08 2026
huggingface.co

Total runs: 15
Run Growth: 0
Growth Rate: 0.00%
Updated:April 01 2024
huggingface.co

Total runs: 14
Run Growth: 3
Growth Rate: 18.75%
Updated:November 17 2024
huggingface.co

Total runs: 14
Run Growth: 5
Growth Rate: 35.71%
Updated:December 15 2024
huggingface.co

Total runs: 12
Run Growth: 9
Growth Rate: 75.00%
Updated:May 14 2026