Instructions to use Duke-CEI-SVD/traj-mc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Duke-CEI-SVD/traj-mc with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Duke-CEI-SVD/traj-mc", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download code/eval/lm_tasks/bbh_llada/logical_deduction_five_objects.yaml from Duke-CEI-SVD/traj-mc: direct link, hf CLI and curl.
- Browser
- Download file 1.76 kB
-
https://huggingface.co/Duke-CEI-SVD/traj-mc/resolve/main/code/eval/lm_tasks/bbh_llada/logical_deduction_five_objects.yaml
- Command line
-
hf download hf://Duke-CEI-SVD/traj-mc/code/eval/lm_tasks/bbh_llada/logical_deduction_five_objects.yaml
-
curl -L -o logical_deduction_five_objects.yaml https://huggingface.co/Duke-CEI-SVD/traj-mc/resolve/main/code/eval/lm_tasks/bbh_llada/logical_deduction_five_objects.yaml
1.76 kB
| dataset_name: logical_deduction_five_objects | |
| description: 'A logical deduction task which requires deducing the order of a sequence | |
| of objects. | |
| ' | |
| doc_to_text: 'Q: {{input}} | |
| A:' | |
| fewshot_config: | |
| sampler: first_n | |
| samples: | |
| - input: 'The following paragraphs each describe a set of three objects arranged | |
| in a fixed order. The statements are logically consistent within each paragraph. | |
| In a golf tournament, there were three golfers: Amy, Eli, and Eve. Eve finished | |
| above Amy. Eli finished below Amy. | |
| Options: | |
| (A) Amy finished last | |
| (B) Eli finished last | |
| (C) Eve finished last' | |
| target: (B) | |
| - input: 'The following paragraphs each describe a set of three objects arranged | |
| in a fixed order. The statements are logically consistent within each paragraph. | |
| On a shelf, there are three books: a white book, a green book, and an orange | |
| book. The green book is to the right of the white book. The orange book is the | |
| rightmost. | |
| Options: | |
| (A) The white book is the leftmost | |
| (B) The green book is the leftmost | |
| (C) The orange book is the leftmost' | |
| target: (A) | |
| - input: 'The following paragraphs each describe a set of three objects arranged | |
| in a fixed order. The statements are logically consistent within each paragraph. | |
| On a shelf, there are three books: a red book, a gray book, and a white book. | |
| The white book is to the left of the gray book. The red book is the second from | |
| the left. | |
| Options: | |
| (A) The red book is the leftmost | |
| (B) The gray book is the leftmost | |
| (C) The white book is the leftmost' | |
| target: (C) | |
| include: _bbh_llada_template_yaml | |
| task: bbh_llada_logical_deduction_five_objects | |