Instructions to use shubhamdatavtar/lora_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shubhamdatavtar/lora_model with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("shubhamdatavtar/lora_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
File size: 620 Bytes
f8aa488 771426b f8aa488 | 1 2 3 4 5 6 7 8 9 | {{ bos_token }}{{ 'Below describes some details about some passengers who went on the Titanic.
Predict whether they survived or perished based on their characteristics.
Output 1 if they survived, and 0 if they died.' }}{% for message in messages %}{% if message['role'] == 'user' %}{{ '
>>> Passenger Details:
' + message['content'] }}{% elif message['role'] == 'assistant' %}{{ '
>>> Did they survive?
' + message['content'] + '<end_of_turn>' }}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '
>>> Did they survive?
' }}{% endif %} |