Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cwai-api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oss
cwai
cwai-api
Commits
82adb609
Verified
Commit
82adb609
authored
1 year ago
by
Idriss Neumann
Browse files
Options
Downloads
Patches
Plain Diff
Update README
parent
4d1f33c8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#24011
passed
1 year ago
Stage: publish
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+13
-3
13 additions, 3 deletions
README.md
with
13 additions
and
3 deletions
README.md
+
13
−
3
View file @
82adb609
# Comwork AI
Comwork AI API
based on GPT-2
Comwork AI API
that bring all the AI models you want as an API using a ModelDriver's abstract:
This API is publicly available here: https://cwai-api.comwork.io
```
python
class
ModelDriver
(
ABC
):
@abstractmethod
def
load_model
(
self
):
pass
You have also a frontend chat app available here: https://cwai.comwork.io
@abstractmethod
def
generate_response
(
self
,
prompt
:
Prompt
):
pass
```
This API is also used as an internal component for Comwork Cloud, more details here: https://doc.cloud.comwork.io/docs/tutorials/cwai
## Git repositories
...
...
@@ -32,6 +41,7 @@ Then you can open http://localhost:8000 and test the API via Swagger.
*
GPT2
*
Bloom (beware it'll take more than 300Gb of storage)
*
bert-base-multilingual-uncased-sentiment
In order to avoid downloading to much data, you can override the list of the models with this variable:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment