dicta-il / dictalm-rab-7b

huggingface.co
Total runs: 13
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: March 08 2024
text-generation

Introduction of dictalm-rab-7b

Model Details of dictalm-rab-7b

DictaLM-rab : A Large Generative Language Model for Rabbinic 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 is the base-model pretrained on general text completion. On it's own, it isn't very useful, but it can be fine-tuned for specific tasks (instruct, chat, QA, and more).

This model differs from the regular DictaLM regarding the training data used for pretraining. The regular DictaLM was pretrained on modern texts only, and this model ( DictaLM-Rab ) was pretrained on a mixture of 50% modern texts and 50% rabbinic/historical texts.

Sample usage (for text completion):
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

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

model.eval()

with torch.inference_mode():
    prompt = 'אמר רב יהודה אמר שמואל הכותב'
    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 samplign 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-rab-7b', 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-rab-7b', 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-rab-7b', trust_remote_code=True, use_flash_attention=True)
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-rab-7b on huggingface.co

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

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

More dictalm-rab-7b license Visit here:

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

dictalm-rab-7b huggingface.co

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

dictalm-rab-7b huggingface.co Url

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

dicta-il dictalm-rab-7b online free

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

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

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

dictalm-rab-7b install

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

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

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

Url of dictalm-rab-7b

dictalm-rab-7b huggingface.co Url

Provider of dictalm-rab-7b huggingface.co

dicta-il
ORGANIZATIONS

Other API from dicta-il

huggingface.co

Total runs: 8.4K
Run Growth: 494
Growth Rate: 5.89%
Updated:December 28 2023
huggingface.co

Total runs: 6.9K
Run Growth: -3.8K
Growth Rate: -43.72%
Updated:October 27 2025
huggingface.co

Total runs: 4.6K
Run Growth: 4.0K
Growth Rate: 86.98%
Updated:June 17 2025
huggingface.co

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

Total runs: 797
Run Growth: 201
Growth Rate: 25.22%
Updated:July 11 2024
huggingface.co

Total runs: 476
Run Growth: -4.0K
Growth Rate: -831.51%
Updated:September 16 2026
huggingface.co

Total runs: 172
Run Growth: 97
Growth Rate: 54.80%
Updated:May 12 2025
huggingface.co

Total runs: 92
Run Growth: -10
Growth Rate: -11.63%
Updated:September 03 2024
huggingface.co

Total runs: 33
Run Growth: 10
Growth Rate: 28.57%
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: 12
Growth Rate: 80.00%
Updated:May 14 2026
huggingface.co

Total runs: 13
Run Growth: -4
Growth Rate: -26.67%
Updated:November 17 2024
huggingface.co

Total runs: 12
Run Growth: -1
Growth Rate: -7.69%
Updated:December 15 2024