Translation
Transformers
Safetensors
English
NLTOFOL
NL
FOL
semantic-parsing
formal-logic
first-order-logic
compositional-generalization
Instructions to use fvossel/OLMo-2-0325-32B-Instruct-groves with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fvossel/OLMo-2-0325-32B-Instruct-groves with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="fvossel/OLMo-2-0325-32B-Instruct-groves")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("fvossel/OLMo-2-0325-32B-Instruct-groves", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| {% for message in messages %}{% if message['role'] == 'system' %}{{ '<|system|> | |
| ' + message['content'] + ' | |
| ' }}{% elif message['role'] == 'user' %}{{ '<|user|> | |
| ' + message['content'] + ' | |
| ' }}{% elif message['role'] == 'assistant' %}{% if not loop.last %}{{ '<|assistant|> | |
| ' + message['content'] + eos_token + ' | |
| ' }}{% else %}{{ '<|assistant|> | |
| ' + message['content'] + eos_token }}{% endif %}{% endif %}{% if loop.last and add_generation_prompt %}{{ '<|assistant|> | |
| ' }}{% endif %}{% endfor %} |