Skip to content

Releases: togethercomputer/together-python

v1.0.1

05 Apr 19:07
7298ac2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.11...v1.0.1

v0.2.11

20 Jan 01:12
81f238b
Compare
Choose a tag to compare

What's Changed

  • Check file empty or bad decoding by @azahed98 in #67
  • Add AsyncComplete to do LLM completions asynchronously by @clam004 in #68
  • ENG-1594 : Job failed due to bad user input by @justusc in #69

Full Changelog: v0.2.10...v0.2.11

v0.2.10

08 Dec 21:53
ed939bd
Compare
Choose a tag to compare

What's Changed

  • Fixed 500 and 401 errors reporting missing API Key by @clam004 in #66

Full Changelog: v0.2.9...v0.2.10

v0.2.9

06 Dec 21:03
87a05d2
Compare
Choose a tag to compare

What's Changed

  • Make together embeddings.create() into OpenAI compatible format and allow providing a safety_model to Complete.create() by @clam004 in #63

Full Changelog: v0.2.8...v0.2.9

v0.2.8

22 Nov 21:46
8ae1902
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.6...v0.2.8

v0.2.6

27 Oct 17:04
52b9bbc
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.5...v0.2.6

v0.1.5

19 Aug 01:01
Compare
Choose a tag to compare

v0.1.5 - 2023-08-18

Full Changelog: v0.0.9...v0.1.5

Changes

  • new finetuning support for togethercomputer/Llama-2-7B-32K-Instruct

v0.1.4

18 Aug 16:12
430563e
Compare
Choose a tag to compare

v0.1.4 - 2023-08-18

Full Changelog: v0.0.9...v0.1.4

Changes

  • Step by step guidance and examples added to documentation for the completion, files, and finetune sections, including example jsonl dataset that can be downloaded locally for inspection, automated checking and uploading
  • optional but very useful together.Files.check function to check the correctness of jsonl files. Gives useful feeback on which first line that is formatted incorrectly, will give the specific reason for being the line being incorrect and how to fix it with a helpful link
  • model specific token option to check if model specific tokens are used in dataset
  • together.Finetune.create will give useful feedback if user tries to upload anything other than a valid file-id for a file they already have uploaded successfully

Here is an example file check output:

{   'file_present': 'File found',
    'file_size': 'File size 0.2 GB',
    'is_check_passed': False,
    'key_value': 'Unexpected, value type for "text" key on line 6 of the input '
                 'file.The value type of the "text" key must be a '
                 'string.Expected format: {"text":"my sample string"}See '
                 'https://docs.together.ai/docs/fine-tuning for more '
                 'information.{"text": {"text":"<human>: Salutations!\\n<bot>: '
                 'Salutations to you as well! How can I help you today?"}}\n',
    'min_samples': 'Processing /Users/carsonlam/Projects/data/bad.jsonl '
                   'resulted in only 10 samples. Our minimum is 100 samples. ',
    'model_special_tokens': 'we are not yet checking end of sentence tokens '
                            'for this model',
    'num_samples_w_eos_token': 0,
    'text_field': 'No "text" field was found on line 7 of the the input '
                  'file.Expected format: {"text":"my sample string"}.see '
                  'https://docs.together.ai/docs/fine-tuning for more '
                  'information.{"ext": "<human>: Hiya!\\n<bot>: Hiya! How may '
                  'I assist you?"}\n'}

v0.1.3

11 Aug 21:10
84f5146
Compare
Choose a tag to compare

v0.1.3 - 2023-08-11

Full Changelog: v0.0.9...v0.1.3

Changes

  • Users can now add their weights and biases WANDB_API_KEY
  • For fine-tuning, users indicate the number of checkpoints using the --n-checkpoints parameter

here is an example:

together finetune create -t file-960be810-4d33-449a-885a-9f69bd8fd0e2 -m togethercomputer/LLaMA-2-7B-32K --n-checkpoints 2 --wandb-api-key 1123456789abcdefghijklmnop

v0.1.2

08 Aug 13:43
Compare
Choose a tag to compare

v0.1.2 - 2023-08-08

Full Changelog: v0.0.9...v0.1.2

Changes

  • Print list of started and stopped model instances with an API call from library or CLI
  • starting and stopping model instances with an API call from library or CLI
  • Update readme