File size: 1,339 Bytes
401ae33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36f6155
 
401ae33
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
license: apache-2.0
base_model: autotrust/JEV-9B
library_name: transformers
tags:
- decision
- systemone
---

# autotrust/JEV-9B: decision files

Chat template, settings and head of [autotrust/JEV-9B](https://huggingface.co/autotrust/JEV-9B) for `pipeline("decision")`
([transformers#49566](https://github.com/huggingface/transformers/pull/49566)). The backbone is the base model at the root of the original with the System 1 LoRA of the original (`adapter_model.safetensors`), loaded by `from_pretrained`.

```python
from transformers import pipeline

# the LoRA at the root makes `pipeline` load its base model, so the decision files are passed explicitly
decide = pipeline("decision", model="ArthurZ/JEV-9B", decision_config="ArthurZ/JEV-9B")
decide({"state": "I was charged twice and want a refund.", "questions": {"refund": {"type": "noul", "instructions": "Is a refund requested?"}}})
```

- `decision_template.jinja`: the chat template; `<|mark|>` marks the positions the head reads.
- `decision_config.json`: temperatures and option order.
- `decision_head/`: `JevDecisionHead`, converted from `head.safetensors` of the original.
- `decision_test.json`: a request and the input ids that the original code builds for it, used by the tests.

Derived from [autotrust/JEV-9B](https://huggingface.co/autotrust/JEV-9B) (Apache-2.0).