together-core-workflow-a

Solid

Together AI core workflow a for inference, fine-tuning, and model deployment. Use when working with Together AI's OpenAI-compatible API. Trigger: "together core workflow a".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Together AI Core Workflow A ## Overview Fine-tune open-source models on your data with Together AI's fine-tuning API. ## Instructions ### Step 1: Prepare Training Data (JSONL) ```python import json # Format: one JSON object per line with messages array training_data = [ {"messages": [ {"role": "system", "content": "You are a customer support agent."}, {"role": "user", "content": "How do I reset my password?"}, {"role": "assistant", "content": "Go to Settings > Security > Reset Password."}, ]}, {"messages": [ {"role": "user", "content": "What are your business hours?"}, {"role": "assistant", "content": "We're open Monday-Friday, 9 AM - 5 PM EST."}, ]}, ] with open("training.jsonl", "w") as f: for item in training_data: f.write(json.dumps(item) + "\n") ``` ### Step 2: Upload Training File ```python from together import Together client = Together() # Upload file file = client.files.upload(file="training.jsonl") print(f"File ID: {file.id}") ``` ### Step 3: Create Fine-Tuning Job ```python job = client.fine_tuning.create( training_file=file.id, model="meta-llama/Llama-3.3-70B-Instruct-Turbo", n_epochs=3, learning_rate=1e-5, batch_size=4, suffix="my-support-bot", ) print(f"Job ID: {job.id}, Status: {job.status}") ``` ### Step 4: Monitor Training ```python import time while True: status = client.fine_tuning.retrieve(job.id) print(f"Status: {status.status}, Step: {stat...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category