Instructions to use ArthurZ/von with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ArthurZ/von with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ArthurZ/von", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,070 Bytes
62f9e93 | 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 | ---
license: apache-2.0
base_model: wfzyx/von
library_name: transformers
tags:
- decision
- systemone
---
# wfzyx/von: decision files
Chat template, settings and head of [wfzyx/von](https://huggingface.co/wfzyx/von) for `pipeline("decision")`
([transformers#49566](https://github.com/huggingface/transformers/pull/49566)). The backbone stays the original checkpoint.
```python
from transformers import pipeline
decide = pipeline("decision", model="wfzyx/von", decision_config="ArthurZ/von")
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/`: `VonDecisionHead`, converted from `option_marker.pt` 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 [wfzyx/von](https://huggingface.co/wfzyx/von) (Apache-2.0).
|