{"id":23425454,"url":"https://github.com/fal-ai/fal-serverless-hackathon","last_synced_at":"2025-06-13T14:01:55.097Z","repository":{"id":235682855,"uuid":"636766370","full_name":"fal-ai/fal-serverless-hackathon","owner":"fal-ai","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-05T16:14:51.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-05T22:44:11.726Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fal-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-05-05T15:37:29.000Z","updated_at":"2024-06-14T11:38:40.000Z","dependencies_parsed_at":"2024-04-24T08:23:56.613Z","dependency_job_id":"b3f9fbcf-b2f2-4f14-95be-06c6e815dff8","html_url":"https://github.com/fal-ai/fal-serverless-hackathon","commit_stats":null,"previous_names":["fal-ai/fal-serverless-hackathon"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fal-ai%2Ffal-serverless-hackathon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fal-ai%2Ffal-serverless-hackathon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fal-ai%2Ffal-serverless-hackathon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fal-ai%2Ffal-serverless-hackathon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fal-ai","download_url":"https://codeload.github.com/fal-ai/fal-serverless-hackathon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248034297,"owners_count":21036963,"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":[],"created_at":"2024-12-23T05:12:47.266Z","updated_at":"2025-04-09T11:45:44.663Z","avatar_url":"https://github.com/fal-ai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fal-serverless Example with GPT4All\n\nIn here, you will find 3 examples of how to deploy GPT4All on fal-serverless\n\nTo get started:\n\n```bash\n$ pip install fal-serverless # Installs fal-serverless\n$ fal-serverless auth login # Creates an account and logs in to fal-serverless\n\n$ git clone git@github.com:fal-ai/fal-serverless-hackathon.git\n\n$ cd fal-serverless-hackathon/gpt4all\n\n$ python gpt4all_simple.py\n```\n\nThe `gpt4all_simple.py` example is the most basic way of running gpt4all on fal-serverless. It takes in a prompt and returns a completion.\nYou can call this function as if it's a local function.\n\n`gpt4all_cached.py` introduces the `cached` decorator that allows you to cache the results of a function. This is useful if you want to cache the results of a function that takes a long time to run. In this case, the model instance can be cached.\n\n`gpt4all_served.py` introduces the `serve` attribute that turns an isolated function into a web endpoint. With this, you can call a function as a RESTful endpoint. This endpoint will autoscale.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffal-ai%2Ffal-serverless-hackathon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffal-ai%2Ffal-serverless-hackathon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffal-ai%2Ffal-serverless-hackathon/lists"}