Instructions to use GL3MON/tiny-aya-retail-e2e-sft-checkpoint70 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use GL3MON/tiny-aya-retail-e2e-sft-checkpoint70 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("GL3MON/tiny-aya-global-function-calling-sft") model = PeftModel.from_pretrained(base_model, "GL3MON/tiny-aya-retail-e2e-sft-checkpoint70") - Notebooks
- Google Colab
- Kaggle
Tiny Aya Retail — end-to-end SFT, checkpoint 70
A retail tool-use LoRA adapter trained on complete synthetic customer-service conversations, including tool results and recoveries. It was initialized from midturn-full-rl checkpoint 7.
Training
The curated corpus contained 599 training conversations and 104 validation conversations. The run targeted two epochs, batch size 8, gradient accumulation 2, and 76 optimizer updates. The job timed out before the planned run finished; checkpoint 70 is the latest complete saved checkpoint. Its teacher-forced validation loss was 0.3958, versus 0.3975 at checkpoint 60. This is a checkpoint-selection signal from token loss, not a task-success score.
The intended standalone post-SFT rollout did not complete before RL initialization. Therefore no generated-task improvement is claimed for this SFT checkpoint alone.
Training data
The data emphasized complete tool-mediated retail workflows and recovery after tool errors, with examples kept within the 8,192-token context used for training. Conversations preserve assistant, customer, and tool messages in the retail chat format.
Loading the adapter
This repository contains PEFT adapter weights, not a merged copy of the base model. Load the pinned base model first, then attach the adapter:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_id = "GL3MON/tiny-aya-global-function-calling-sft"
base_revision = "df7ccd20bf3e5234bfbe7507821a5ca6ce814a2a"
repo_id = "REPLACE_REPO_ID"
tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForCausalLM.from_pretrained(
base_id, revision=base_revision, torch_dtype=torch.bfloat16, device_map="auto"
)
model = PeftModel.from_pretrained(model, repo_id)
Keep the base revision and the repository's tokenizer/chat template together. These experiments use the retail tool-calling prompt and retail_sdg_v2.jinja. The working context limit in these runs was 8,192 tokens.
Scope and limitations
These checkpoints are research artifacts for retail tool-calling experiments. They are not validated for production or for real customer accounts. Scores below are small, fixed development evaluations; they do not establish broad generalization or official Tau2 benchmark performance. Review generated tool calls and tool results before using them.
- Downloads last month
- 5
Model tree for GL3MON/tiny-aya-retail-e2e-sft-checkpoint70
Base model
CohereLabs/tiny-aya-base