Aligning
Upload Alignment Data
plaintext
# Pre-requisites
# - pip install --upgrade arcee-py
# - Create an API token at https://arcee-dev.dev.arcee.ai/api-settings
# Environment Setup
import os
os.environ['ARCEE_API_KEY'] = 'YOUR KEY'
os.environ['ARCEE_ORG'] = 'your-org'
# Upload CSV
import arcee
arcee.upload_qa_set_from_csv(
"new-qa-set",
csv_path="./your_data.csv",
prompt_column="question",
completion_column="answer"
)
Upload Alignment Data
Alignment in Arcee's platform adaptation system steers the response style of language models. You can upload alignment data to fine-tune Arcee models according to your specific needs.
Supported Data Format
Currently, Arcee supports uploading alignment data from CSV files. Each row in the CSV file should contain a question and an answer.
Find the Snippet
Get the auto-generated upload snippet in Arcee's Datasets tab under 'New QA Set'.