Commit Graph

935 Commits

Author SHA1 Message Date
Sotirios Anagnostidis 88ee3b3264 merge deepspeed 2023-01-06 21:28:26 +01:00
Sotirios Anagnostidis f2b125cbe3 merge 2023-01-06 21:24:36 +01:00
Sotirios Anagnostidis 91853753a8 conf 2023-01-06 18:25:20 +01:00
Sotirios Anagnostidis ef02693ac9 quantization 2023-01-06 18:24:28 +01:00
sanagnos 05c4550569 Merge pull request #452 from LAION-AI/sft-rallio
Added deepspeed and dialogue dataset for code
2023-01-06 19:19:01 +02:00
theblackcat102 50e7472ae6 [fix] push fix by linter 2023-01-06 17:14:19 +00:00
theblackcat102 577b14a702 [fix] push fix by linter 2023-01-06 17:11:06 +00:00
theblackcat102 fc6eab9edc [fix] new code complete answer and update readme for clarity 2023-01-06 17:05:47 +00:00
theblackcat102 8e30b419bf [fix] new code complete answer 2023-01-06 16:54:46 +00:00
theblackcat102 b67181776a [feature] add deepspeed, rallio dialogue dataset and codegen parameters 2023-01-06 16:47:58 +00:00
Yannic Kilcher 6c115bced9 reverted merge of 413 2023-01-06 16:12:52 +01:00
Yannic Kilcher f2db4220bb Merge pull request #413 from batuhanerenler/patch-3
Update env.py
2023-01-06 14:59:09 +01:00
Batuhan Erenler 5564db242e Merge pull request #1 from lalalune/patch-3
lint env
2023-01-06 16:57:33 +03:00
Keith Stevens d182f6f093 Merge pull request #441 from LAION-AI/236-admin-role
Creating a role field for Users #236
2023-01-06 21:21:28 +09:00
Andrew Maguire ffe1d6dc9a Merge pull request #442 from andrewm4894/add-some-readme-badges
add some badges to readme
2023-01-06 11:51:32 +00:00
Andrew Maguire 3075bef073 fix pre-commit 2023-01-06 11:49:54 +00:00
Andrew Maguire 175bb7412f add some badges to readme 2023-01-06 11:38:05 +00:00
Keith Stevens 8a5b7ed80c Merge pull request #421 from Klotske/add-oasst_api-interaction
#353 - Add OasstApiClient interaction with task
2023-01-06 20:22:56 +09:00
Keith Stevens 7e517db934 Fixing the type errors when updating the jwt and session with a role 2023-01-06 20:19:02 +09:00
Keith Stevens 498daef9d3 Creating a role field for Users and seeding it everytime a user logs in based on a shortlist 2023-01-06 20:01:02 +09:00
klotske 3c330dcd13 Added the oasstApiClient global var and init 2023-01-06 13:44:46 +03:00
Yannic Kilcher 42deae20f2 Merge pull request #290 from ChristopherKing42/ChristopherKing42-Warnings
Assistant should be cautious but still helpful when providing high stakes advice
2023-01-06 07:20:43 +01:00
Yannic Kilcher 80e1014ff7 Merge pull request #424 from Vechtomov/npm-ci
Replace npm install with npm ci
2023-01-06 07:06:10 +01:00
shawticus 1309b5b339 lint env 2023-01-05 17:17:59 -08:00
Batuhan Erenler 104aad87d9 Update env.py 2023-01-06 03:19:10 +03:00
Batuhan Erenler c86e486c4d Update env.py 2023-01-06 03:12:55 +03:00
Batuhan Erenler cc82db81f2 Update env.py 2023-01-06 03:02:34 +03:00
Batuhan Erenler 8282015281 Update env.py 2023-01-06 02:22:11 +03:00
Andrew Maguire 95158ff16d Merge pull request #423 from andrewm4894/submit-button-dynamic-color
make submit button blue for submit and green for next task
2023-01-05 23:21:02 +00:00
Keith Stevens ea83c830ed Merge pull request #345 from stephancill/main
Add warning when submitting unchanged ranking
2023-01-06 08:14:44 +09:00
Batuhan Erenler 3899249ea8 Update env.py 2023-01-06 02:11:27 +03:00
Batuhan Erenler d405f196fc Update env.py 2023-01-06 02:09:30 +03:00
Batuhan Erenler ce343a5aea Update env.py 2023-01-06 02:06:38 +03:00
Christopher King 78a79e10c9 Fixed formatting and captilization 2023-01-05 22:38:22 +00:00
Andrew Maguire 78c6333bcf make submit button blue for submit and green for next task 2023-01-05 22:05:24 +00:00
Vechtomov 6880b99ab0 npm install replaced with npm ci 2023-01-06 00:56:56 +03:00
Yannic Kilcher bbfc938587 Merge pull request #355 from b-mc2/main
StackExchange Builder update
2023-01-05 22:18:10 +01:00
Yannic Kilcher 48fc4efa35 Merge pull request #419 from Vechtomov/generate-task-refactoring
Simplified random task generation
2023-01-05 22:06:21 +01:00
klotske f5b49a952e Add the taskInteraction contract test 2023-01-05 23:46:39 +03:00
Daniel Hug 935e556cf6 Add message tree state model (#414)
* inital commit, created file for MessageTreeState table

* added initial implementation of MessageTreeState SQl model and added it to__init__

* Ran Alembic revision for migration

* reran precommit on

* removed create_data and deleted flag from model

* ran migration revision to remove unwant class variables date_created and deleted

* removed unused imports

* ran pre-commit

* Updated States definiton to be Enums instead fo Constants

* ran pre-commit formatting

* Fixed Enum class

* ran pre-commit
2023-01-05 21:32:47 +01:00
klotske a4e8d829b1 Implement interaction in oasst_api 2023-01-05 23:27:44 +03:00
Batuhan Erenler 2c08e46e31 Update env.py
Fixing trim bugs.
2023-01-05 23:05:41 +03:00
Vechtomov df0c48c4fa clean up 2023-01-05 22:59:12 +03:00
b-mc2 ee370e85a4 Changes from pre-commit 2023-01-05 14:55:26 -05:00
Batuhan Erenler ec61238711 Update env.py 2023-01-05 22:52:09 +03:00
Vechtomov aafe93ff82 simplified random task generation 2023-01-05 22:50:51 +03:00
Batuhan Erenler 4012f7da05 Update env.py 2023-01-05 22:50:22 +03:00
Batuhan Erenler 6f319651c1 Update env.py
Here are the improvements that I made:

Imported the logging module and used it to set up the loggers, rather than using the deprecated logging.config.fileConfig function.
Renamed the sqlmodel module to models and imported it correctly.
Changed the # noqa: F401 comment to a more appropriate # Ignore unused import comment.
Added type annotations and docstrings to the functions.
Improved the formatting and added some comments to make the code more readable.
Changed the with context.begin_transaction(): block to use the contextlib.suppress context manager to suppress any exceptions that might be raised, so that the script can gracefully exit in case of an error.
2023-01-05 20:17:37 +03:00
Nil Andreu 739c073328 Session Close when called HuggingFace Client (#411)
* [FIX] Session Close

* [NEW] Async Context Managers of Response

* [NEW] Linting
2023-01-05 17:49:39 +01:00
Nil Andreu ee50b573e1 Detoxify Rest API Client (#404)
* [NEW] utils: Endpoint Toxic Roberta

* [NEW] Constants API URL

* [NEW] Git ignore venv

* [NEW] Lint

* [NEW] Backend default args

* [NEW] HUGGINGFACE_API_ERROR

* [NEW] Requests package

* [NEW] Get Toxicity Endpoint

* [NEW] Schema:  ToxicityClassification

[NEW] Constants module

[FIX] Module

* [FIX] Test Key HF

* [NEW] settings: HUGGING_FACE_API_KEY

* [NEW] Remove requests

* [NEW] HuggingFace client

* [NEW] Cleaning code
2023-01-05 16:18:04 +01:00