Views
No views yet
| Task | Version | Filter | n-shot | Metric | Value | Stderr |
|---|---|---|---|---|---|---|
| piqa | 1 | none | 0 | acc | 0.70 | ± 0.1528 |
| piqa | 1 | none | 0 | acc_norm | 0.70 | ± 0.1528 |
| hellaswag | 1 | none | 0 | acc | 0.40 | ± 0.1633 |
| hellaswag | 1 | none | 0 | acc_norm | 0.40 | ± 0.1633 |
| winogrande | 1 | none | 0 | acc | 0.40 | ± 0.1633 |
| arc_easy | 1 | none | 0 | acc | 0.10 | ± 0.1000 |
| arc_easy | 1 | none | 0 | acc_norm | 0.10 | ± 0.1000 |
<|instruction|>
{user_query}
<|assistant|>1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_id = "razielAI/Duchifat-2.2-Instruct"
4tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
5model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True).to("cuda")
6
7prompt = "<|instruction|>\nשלום!\n<|assistant|>\n"
8inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
9
10output = model.generate(**inputs, max_new_tokens=256, temperature=0.7, do_sample=True)
11print(tokenizer.decode(output[0], skip_special_tokens=True))