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
Download decision_test.json from ArthurZ/von: direct link, hf CLI and curl.
- Browser
- Download file 1.7 kB
-
https://huggingface.co/ArthurZ/von/resolve/main/decision_test.json
- Command line
-
hf download hf://ArthurZ/von/decision_test.json
-
curl -L -o decision_test.json https://huggingface.co/ArthurZ/von/resolve/main/decision_test.json
1.7 kB
| { | |
| "model": "wfzyx/von", | |
| "revision": "498ceba33390b32cfefaab6422ec380318ba9b99", | |
| "request": { | |
| "state": { | |
| "msg": "Refund please" | |
| }, | |
| "questions": { | |
| "intent": { | |
| "type": "choice", | |
| "instructions": "What is wanted?", | |
| "criteria": { | |
| "refund": "money back", | |
| "other": null | |
| } | |
| }, | |
| "urgent": { | |
| "type": "noul", | |
| "instructions": "Urgent?" | |
| }, | |
| "tone": { | |
| "type": "score", | |
| "instructions": "Tone", | |
| "criteria": [ | |
| "calm", | |
| "angry" | |
| ] | |
| } | |
| } | |
| }, | |
| "sequences": [ | |
| { | |
| "input_ids": [ | |
| 50281, | |
| 1276, | |
| 310, | |
| 3078, | |
| 32, | |
| 14441, | |
| 27, | |
| 7567, | |
| 1504, | |
| 4496, | |
| 209, | |
| 50282, | |
| 50284, | |
| 2583, | |
| 896, | |
| 50284, | |
| 643, | |
| 50282, | |
| 4856, | |
| 27, | |
| 7567, | |
| 1504, | |
| 4496 | |
| ], | |
| "marks": [ | |
| 13, | |
| 16, | |
| 18 | |
| ] | |
| }, | |
| { | |
| "input_ids": [ | |
| 50281, | |
| 29796, | |
| 7322, | |
| 32, | |
| 14441, | |
| 27, | |
| 7567, | |
| 1504, | |
| 4496, | |
| 209, | |
| 50282, | |
| 50284, | |
| 6279, | |
| 13, | |
| 1617, | |
| 6556, | |
| 2032, | |
| 15, | |
| 50284, | |
| 1621, | |
| 13, | |
| 1617, | |
| 310, | |
| 3221, | |
| 15, | |
| 50282, | |
| 50281, | |
| 29796, | |
| 7322, | |
| 32, | |
| 209, | |
| 50282, | |
| 50284, | |
| 6279, | |
| 13, | |
| 1617, | |
| 6556, | |
| 2032, | |
| 15, | |
| 50284, | |
| 1621, | |
| 13, | |
| 1617, | |
| 310, | |
| 3221, | |
| 15, | |
| 50282, | |
| 4856, | |
| 27, | |
| 7567, | |
| 1504, | |
| 4496 | |
| ], | |
| "marks": [ | |
| 12, | |
| 19, | |
| 26, | |
| 33, | |
| 40, | |
| 47 | |
| ] | |
| }, | |
| { | |
| "input_ids": [ | |
| 50281, | |
| 53, | |
| 531, | |
| 14441, | |
| 27, | |
| 7567, | |
| 1504, | |
| 4496, | |
| 209, | |
| 50282, | |
| 50284, | |
| 11874, | |
| 50284, | |
| 11790, | |
| 50282, | |
| 4856, | |
| 27, | |
| 7567, | |
| 1504, | |
| 4496 | |
| ], | |
| "marks": [ | |
| 11, | |
| 13, | |
| 15 | |
| ] | |
| } | |
| ] | |
| } |