together files upload <FILENAME>
$ together files upload example.jsonl Uploading example.jsonl: 100%|██████████████████████████████| 5.18M/5.18M [00:01<00:00, 4.20MB/s] { "filename": "example.jsonl", "id": "file-d931200a-6b7f-476b-9ae2-8fddd5112308", "object": "file" }
id
file-id
together files list
together files retrieve <FILE-ID>
$ together files retrieve file-d931200a-6b7f-476b-9ae2-8fddd5112308 { "filename": "example.jsonl", "bytes": 5433223, "created_at": 1690432046, "id": "file-d931200a-6b7f-476b-9ae2-8fddd5112308", "purpose": "fine-tune", "object": "file", "LineCount": 0, "Processed": true }
together files retrieve-content <FILE-ID>
$ together files retrieve-content file-d931200a-6b7f-476b-9ae2-8fddd5112308 Downloading file-d931200a-6b7f-476b-9ae2-8fddd5112308.jsonl: 100%|██████████| 5.43M/5.43M [00:00<00:00, 10.0MiB/s] file-d931200a-6b7f-476b-9ae2-8fddd5112308.jsonl
--output FILENAME
-o FILENAME
<FILE-ID>.jsonl
together files delete <FILE-ID>
$ together files delete file-d931200a-6b7f-476b-9ae2-8fddd5112308 { "id": "file-d931200a-6b7f-476b-9ae2-8fddd5112308", "object": "file", "deleted": "true" }
from together.utils import check_file report = check_file(file) print(report) assert report["is_check_passed"] == True
together files --help
Was this page helpful?