{"id":17989530,"url":"https://github.com/evilfreelancer/rugpt-api","last_synced_at":"2025-11-03T17:01:35.968Z","repository":{"id":110657964,"uuid":"594153407","full_name":"EvilFreelancer/rugpt-api","owner":"EvilFreelancer","description":"Small API reserver for interacting with RuGPT-3","archived":false,"fork":false,"pushed_at":"2023-02-13T10:06:51.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T15:15:34.897Z","etag":null,"topics":["docker","flask","flask-api","rest-api","rugpt","rugpt-3"],"latest_commit_sha":null,"homepage":"https://developers.sber.ru/portal/products/rugpt-3","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EvilFreelancer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-27T18:16:29.000Z","updated_at":"2024-08-18T17:39:36.000Z","dependencies_parsed_at":"2023-05-02T03:12:01.868Z","dependency_job_id":null,"html_url":"https://github.com/EvilFreelancer/rugpt-api","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2Frugpt-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2Frugpt-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2Frugpt-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2Frugpt-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EvilFreelancer","download_url":"https://codeload.github.com/EvilFreelancer/rugpt-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247117749,"owners_count":20886439,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","flask","flask-api","rest-api","rugpt","rugpt-3"],"created_at":"2024-10-29T19:14:53.136Z","updated_at":"2025-11-03T17:01:35.912Z","avatar_url":"https://github.com/EvilFreelancer.png","language":"Python","readme":"# ruGPT-3 in Docker\n\nSmall API project based on Flask for making requests to RuGPT-3 neural network.\n\n## How to install\n\nFirst need to build a composition:\n\n```\ndocker-compose build\n```\n\nRun application:\n\n```\ndocker-compose up -d\n```\n\n## How to use\n\nNeed to create POST request with JSON object.\n\n```\ncurl -X POST http://127.0.0.1:5000/predict -H \"Content-Type: application/json\" -d '{\"question\":\"some text for network\"}'\n```\n\n## Supported parameters\n\n| Name                 | Type   | Default                                                 |\n|----------------------|--------|---------------------------------------------------------|\n| question             | string |                                                         |\n| max_length           | int    | 100                                                     |\n| device               | string | `cuda` (if present) or `cpu` (if cuda is not available) |\n| repetition_penalty   | float  | 5.0                                                     |\n| top_k                | int    | 5                                                       |\n| top_p                | float  | 0.95                                                    |\n| temperature          | int    | 1                                                       |\n| num_beams            | int    | 10                                                      |\n| no_repeat_ngram_size | int    | 3                                                       |\n\n## Links\n\n* Project based on [boangri/rugpt3-docker](https://github.com/boangri/rugpt3-docker)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilfreelancer%2Frugpt-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevilfreelancer%2Frugpt-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilfreelancer%2Frugpt-api/lists"}