{"id":19840955,"url":"https://github.com/torvaney/human-language-model","last_synced_at":"2025-02-28T19:20:31.829Z","repository":{"id":133824095,"uuid":"171000153","full_name":"Torvaney/human-language-model","owner":"Torvaney","description":"Test a human, character-level language model on a given corpus","archived":false,"fork":false,"pushed_at":"2019-02-18T16:31:25.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T11:37:55.270Z","etag":null,"topics":["elm","language-model"],"latest_commit_sha":null,"homepage":"https://torvaney.github.io/projects/human-language-model.html","language":"Elm","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/Torvaney.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,"publiccode":null,"codemeta":null}},"created_at":"2019-02-16T12:13:21.000Z","updated_at":"2019-02-18T16:31:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"c2af925e-a050-46a3-b8ec-587a8a9a9e8e","html_url":"https://github.com/Torvaney/human-language-model","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fhuman-language-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fhuman-language-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fhuman-language-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fhuman-language-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Torvaney","download_url":"https://codeload.github.com/Torvaney/human-language-model/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241210135,"owners_count":19927793,"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":["elm","language-model"],"created_at":"2024-11-12T12:28:50.016Z","updated_at":"2025-02-28T19:20:31.802Z","avatar_url":"https://github.com/Torvaney.png","language":"Elm","readme":"# Human Language Model\n\nTest your language model!\n\n[![](screenshot.png)](https://torvaney.github.io/projects/human-language-model.html)\n\n[Try it out](https://torvaney.github.io/projects/human-language-model.html)\n\n## What is it?\n\nTest the accuracy of your \"language model\" on a given corpus (sort of).\n\n### What is a \"language model\"?\n\n\u003e A statistical language model is a probability distribution over sequences of words. Given such a sequence, say of length m, it assigns a probability to the whole sequence.\n\n(from [Wikipedia](https://en.wikipedia.org/wiki/Language_model))\n\n## How does it work\n\nThe programme takes a plain text file, and splits it into non-overlapping chunks.\nYou then have to guess which character came next, after the chunk shown. Chunks are\nshow in random order.\n\n## How to build\n\nThe app is written in Elm, and can be compiled to Html (and javascript) like so:\n\n\u003c!-- TODO: Automate with Make or something --\u003e\n1. `elm make src/elm/Main.elm`\n1. `open index.html`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorvaney%2Fhuman-language-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorvaney%2Fhuman-language-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorvaney%2Fhuman-language-model/lists"}