{"id":31909006,"url":"https://github.com/allenai/ml","last_synced_at":"2025-10-13T16:00:21.748Z","repository":{"id":31548277,"uuid":"35112898","full_name":"allenai/ml","owner":"allenai","description":"Re-usable low-level ML components","archived":false,"fork":false,"pushed_at":"2018-10-31T21:34:54.000Z","size":2097,"stargazers_count":10,"open_issues_count":3,"forks_count":5,"subscribers_count":66,"default_branch":"master","last_synced_at":"2024-04-14T07:49:58.946Z","etag":null,"topics":["crf","java","lombok"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/allenai.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}},"created_at":"2015-05-05T17:05:28.000Z","updated_at":"2024-04-14T07:49:58.946Z","dependencies_parsed_at":"2022-09-04T10:42:29.069Z","dependency_job_id":null,"html_url":"https://github.com/allenai/ml","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/allenai/ml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenai%2Fml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenai%2Fml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenai%2Fml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenai%2Fml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allenai","download_url":"https://codeload.github.com/allenai/ml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenai%2Fml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015953,"owners_count":26085777,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["crf","java","lombok"],"created_at":"2025-10-13T16:00:02.298Z","updated_at":"2025-10-13T16:00:21.731Z","avatar_url":"https://github.com/allenai.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ML Components\n\nRepository for low-level production-grade ML inference. The current motivating example is the CRF inference component which is used in the AI2 fork of Grobid and Science Parse. It's currently 100% Java, but can also have Scala too.\n\n## Getting Started\n\nThis project is currently Java 8 built with `gradle`. To install `gradle` simply install via `brew install gradle` via [Homebrew](http://brew.sh). Then if you can do:\n```bash\n\u003e gradle test # Run unit tests\n\u003e gradle idea # Generate IntelliJ project\n```\n\n## Project Conventions\n\n### Documentation\n\nYou can use Markdown in your Javadoc using [Pegdown](https://github.com/sirthias/pegdown).\n\n### Test Coverage\n\nYou can run `gradle jacoco` and this will produce a testing report.\n\n```bash\n\u003e gradle jacoco\n\u003e open build/reports/jacoco/test/html/index.html\n```\n\n### Benchmark Tests\n\n```bash\n\u003e gradle jmh\n\u003e open build/reports/jmh/results.txt\n```\n\n### Lombok\n\nThis project uses [Lombok](https://projectlombok.org) which requires you to enable annotation processing inside of an IDE.\n[Here](https://plugins.jetbrains.com/plugin/6317) is the IntelliJ plugin and you'll need to enable annotation processing (instructions [here](https://www.jetbrains.com/idea/help/configuring-annotation-processing.html)).\n\nLombok has a lot of useful annotations that give you some of the nice things in Scala:\n\n* `val` is equivalent to `final` and the right-hand-side class. It gives you type-inference via some tricks\n* Checkout [`@Data`](https://projectlombok.org/features/Data.html)\n\n### Efficient Primitive Collections\n\nUsing [GSCollections](https://github.com/goldmansachs/gs-collections) which has been found as efficient as the best libraries across a wide-range of tasks (in particular way faster than [trove](http://trove.starlight-systems.com)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallenai%2Fml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallenai%2Fml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallenai%2Fml/lists"}