general

How to debug the 'parse error' issue in TabbyML?

Ch

Cheng Yang

Asked on Oct 28, 2023

To debug the 'parse error' issue in TabbyML, you can follow these steps:

  1. Check the filetree of ~/.tabby/models/TabbyML/StarCoder-3B on the hosting machine to ensure that the required files are present.

  2. Compare the content of tabby.json and tokenizer.json with the files in the Hugging Face model repository to see if there are any differences.

  3. If there are differences, try replacing the problematic file(s) with the correct version from the Hugging Face model repository.

  4. Check the validity of the file(s) by using a JSON parser like jq. If the file(s) contain invalid JSON, redownload the correct version from the Hugging Face model repository.

  5. If the issue persists, it could be a caching issue. Try clearing any caches related to TabbyML or the hosting environment.

  6. If none of the above steps resolve the issue, consider reaching out to the TabbyML community or support for further assistance.

Oct 29, 2023Edited by