-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Cohere API as available language model #395
base: master
Are you sure you want to change the base?
Commits on Mar 10, 2023
-
aux: add egg-info to gitignore
Could consider using standard gitignore file for python in full rewrite, e.g. https://github.com/github/gitignore/blob/main/Python.gitignore
Configuration menu - View commit details
-
Copy full SHA for bf584d4 - Browse repository at this point
Copy the full SHA bf584d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e49d4ac - Browse repository at this point
Copy the full SHA e49d4acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8550aaa - Browse repository at this point
Copy the full SHA 8550aaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6616b9a - Browse repository at this point
Copy the full SHA 6616b9aView commit details
Commits on Mar 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 384a45a - Browse repository at this point
Copy the full SHA 384a45aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89ff0c3 - Browse repository at this point
Copy the full SHA 89ff0c3View commit details
Commits on Mar 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6876c47 - Browse repository at this point
Copy the full SHA 6876c47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b5f270 - Browse repository at this point
Copy the full SHA 8b5f270View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f2c3cd - Browse repository at this point
Copy the full SHA 1f2c3cdView commit details
Commits on Mar 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f5c13a5 - Browse repository at this point
Copy the full SHA f5c13a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3188ed - Browse repository at this point
Copy the full SHA f3188edView commit details -
Configuration menu - View commit details
-
Copy full SHA for c018bd4 - Browse repository at this point
Copy the full SHA c018bd4View commit details
Commits on Mar 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7597f31 - Browse repository at this point
Copy the full SHA 7597f31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5de956b - Browse repository at this point
Copy the full SHA 5de956bView commit details -
fix: ensure currect comparison made for is_greedy
Also ensures empty context tokens work
Configuration menu - View commit details
-
Copy full SHA for 938af35 - Browse repository at this point
Copy the full SHA 938af35View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfe032e - Browse repository at this point
Copy the full SHA dfe032eView commit details -
fix: add newline instead of empty context and fix old api call
Note that the API does not accept empty context, thus adding a newline to get generations with empty context, ideally this doesn't affect distribution much
Configuration menu - View commit details
-
Copy full SHA for ed15f7a - Browse repository at this point
Copy the full SHA ed15f7aView commit details
Commits on Mar 24, 2023
-
feat: update tokenizer to fully rely on API
This replaces old transformer tokenizer with API calls. Also removes tokenisation were not strictly necessary.
Configuration menu - View commit details
-
Copy full SHA for ab0c775 - Browse repository at this point
Copy the full SHA ab0c775View commit details -
Configuration menu - View commit details
-
Copy full SHA for fac5035 - Browse repository at this point
Copy the full SHA fac5035View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe5d8f2 - Browse repository at this point
Copy the full SHA fe5d8f2View commit details -
fix: remove update huggingface.py for pre-commit error
Removes one of two newlines at end of file
Configuration menu - View commit details
-
Copy full SHA for ee012b1 - Browse repository at this point
Copy the full SHA ee012b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2985c5 - Browse repository at this point
Copy the full SHA e2985c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e85b3c7 - Browse repository at this point
Copy the full SHA e85b3c7View commit details
Commits on Mar 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 07d63bb - Browse repository at this point
Copy the full SHA 07d63bbView commit details -
feat: allow to disable is_greedy computation
This also removes old logic where newline was added to context. Disabling is greedy computation helps when dealing with empty context data.
Configuration menu - View commit details
-
Copy full SHA for 3044f47 - Browse repository at this point
Copy the full SHA 3044f47View commit details -
test: add new checks for empty context
With and without disabling greedy computation.
Configuration menu - View commit details
-
Copy full SHA for 92e32c8 - Browse repository at this point
Copy the full SHA 92e32c8View commit details
Commits on Apr 4, 2023
-
feat: add custom loglikelihood_rolling implementation
unlike the gpt3 model we need a custom loglikelihood_rolling implementation because we don't know the eot token, thus we use a separate prefix token. Preferred setting separate prefix token to avoid confusion. This also adds the capability to _loglikelihood_tokens to use tokens instead of str requests
Configuration menu - View commit details
-
Copy full SHA for 0ceea05 - Browse repository at this point
Copy the full SHA 0ceea05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11b2368 - Browse repository at this point
Copy the full SHA 11b2368View commit details
Commits on Apr 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5383692 - Browse repository at this point
Copy the full SHA 5383692View commit details
Commits on Jun 21, 2023
-
fix: prevent too long contexts if prefix is added
also prevent tokenisation of strings that too long
Configuration menu - View commit details
-
Copy full SHA for 8aafdda - Browse repository at this point
Copy the full SHA 8aafddaView commit details