Tendo-4-Adapter / README.md
cortex-ai-nova's picture
Upload README.md with huggingface_hub
debe416 verified
|
Raw History Blame Contribute Delete
1.54 kB
---
license: apache-2.0
base_model: Qwen/Qwen2.5-14B-Instruct
datasets:
- NousResearch/hermes-function-calling-v1
library_name: peft
pipeline_tag: text-generation
language:
- en
tags:
- unsloth
- qlora
- function-calling
- tool-use
- json-mode
- qwen2.5
---
# NOVA-Tendo-4
LoRA-адаптер к Qwen2.5-14B-Instruct для вызова функций (формат Hermes `<tool_call>`) и ответов в JSON по схеме.
- **Базовая модель:** Qwen/Qwen2.5-14B-Instruct
- **Данные:** NousResearch/hermes-function-calling-v1 (Apache-2.0)
- **Метод:** QLoRA (4-bit), Unsloth + TRL, r=16, 45 шагов, эффективный batch 8, max_seq_length=2048
- **Бенчмарки:** не измерялись (рекомендуется BFCL)
## Использование
```python
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained("cortex-ai-nova/NOVA-Tendo-4-Lite", max_seq_length=2048, load_in_4bit=True)
FastLanguageModel.for_inference(model)
```
Передавайте инструменты через `tokenizer.apply_chat_template(messages, tools=tools, ...)`.
Для JSON mode используйте системный промпт:
`You are a helpful assistant that answers in JSON. Here's the json schema you must adhere to:\n<schema>\n{schema}\n</schema>`
## Ограничения
Обучение короткое, на английских данных. Проверяйте JSON и аргументы функций перед исполнением.