Instructions to use ansui/customer-analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ansui/customer-analysis with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ansui/customer-analysis", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| {% for message in messages %}{% if loop.first and message['role'] != 'system' %}{{ '[|system|][|endofturn|] | |
| ' }}{% endif %}{{ '[|' + message['role'] + '|]' + message['content'] }}{% if message['role'] == 'user' %}{{ ' | |
| ' }}{% else %}{{ '[|endofturn|] | |
| ' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '[|assistant|]' }}{% endif %} |