{"id":22782992,"url":"https://github.com/JSO-Boneyard/KnetNLPModels.jl","last_synced_at":"2025-08-09T15:31:29.883Z","repository":{"id":37540235,"uuid":"447176402","full_name":"JuliaSmoothOptimizers/KnetNLPModels.jl","owner":"JuliaSmoothOptimizers","description":"An NLPModels Interface to Knet","archived":false,"fork":false,"pushed_at":"2024-11-05T23:23:49.000Z","size":773,"stargazers_count":8,"open_issues_count":9,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-10T06:42:11.294Z","etag":null,"topics":["deep-learning","julia","machine-learning","neural-networks","nlpmodels","optimization"],"latest_commit_sha":null,"homepage":"","language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JuliaSmoothOptimizers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.bib","codeowners":null,"security":null,"support":null}},"created_at":"2022-01-12T10:38:49.000Z","updated_at":"2023-05-15T16:54:07.000Z","dependencies_parsed_at":"2023-02-12T04:46:25.202Z","dependency_job_id":null,"html_url":"https://github.com/JuliaSmoothOptimizers/KnetNLPModels.jl","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaSmoothOptimizers%2FKnetNLPModels.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaSmoothOptimizers%2FKnetNLPModels.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaSmoothOptimizers%2FKnetNLPModels.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaSmoothOptimizers%2FKnetNLPModels.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuliaSmoothOptimizers","download_url":"https://codeload.github.com/JuliaSmoothOptimizers/KnetNLPModels.jl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229298257,"owners_count":18051239,"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":["deep-learning","julia","machine-learning","neural-networks","nlpmodels","optimization"],"created_at":"2024-12-11T22:06:16.470Z","updated_at":"2025-08-09T15:31:29.829Z","avatar_url":"https://github.com/JuliaSmoothOptimizers.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KnetNLPModels : An NLPModels Interface to Knet\n\n| **Documentation** | **Linux/macOS/Windows** | **Coverage** | **DOI** |\n|:-----------------:|:-------------------------------:|:------------:|:-------:|\n| [![docs-stable][docs-stable-img]][docs-stable-url] [![docs-dev][docs-dev-img]][docs-dev-url] | [![build-gh][build-gh-img]][build-gh-url] | [![codecov][codecov-img]][codecov-url] | [![doi][doi-img]][doi-url] |\n\n[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg\n[docs-stable-url]: https://JuliaSmoothOptimizers.github.io/KnetNLPModels.jl/stable\n[docs-dev-img]: https://img.shields.io/badge/docs-dev-purple.svg\n[docs-dev-url]: https://JuliaSmoothOptimizers.github.io/KnetNLPModels.jl/dev\n[build-gh-img]: https://github.com/JuliaSmoothOptimizers/KnetNLPModels.jl/workflows/CI/badge.svg?branch=main\n[build-gh-url]: https://github.com/JuliaSmoothOptimizers/KnetNLPModels.jl/actions\n[codecov-img]: https://codecov.io/gh/JuliaSmoothOptimizers/KnetNLPModels.jl/branch/main/graph/badge.svg\n[codecov-url]: https://app.codecov.io/gh/JuliaSmoothOptimizers/KnetNLPModels.jl\n[doi-img]: https://zenodo.org/badge/447176402.svg\n[doi-url]: https://zenodo.org/badge/latestdoi/447176402\n\n## ⚠️ Deprecated Package\n\nThis package is currently deprecated and no further maintenance or updates are planned. If you are interested in reviving or maintaining this package, feel free to reach out — we’d be happy to discuss or support such efforts.\n\n## How to Cite\n\nIf you use KnetNLPModels.jl in your work, please cite using the format given in [`CITATION.bib`](CITATION.bib).\n\n## Compatibility\nJulia ≥ 1.6.\n\n## How to install\nThis module can be installed with the following command:\n```julia\npkg\u003e add KnetNLPModels\npkg\u003e test KnetNLPModels\n```\n\n## Synopsis\nKnetNLPModels is an interface between [Knet.jl](https://github.com/denizyuret/Knet.jl.git)'s classification neural networks and [NLPModels.jl](https://github.com/JuliaSmoothOptimizers/NLPModels.jl.git).\n\nA `KnetNLPModel` gives the user access to:\n- the values of the neural network variables/weights `w`;\n- the value of the objective/loss function `L(X, Y; w)` at `w` for a given minibatch `(X,Y)`;\n- the gradient `∇L(X, Y; w)` of the objective/loss function at `w` for a given minibatch `(X,Y)`.\n\nIn addition, it provides tools to:\n- switch the minibatch used to evaluate the neural network;\n- change the minibatch size;\n- measure the neural network's accuracy at the current `w`.\n\n## How to use\nCheck the [tutorial](https://juliasmoothoptimizers.github.io/KnetNLPModels.jl/stable/).\n\n## How to Cite\n\nIf you use KnetNLPModels.jl in your work, please cite using the format given in [`CITATION.bib`](https://github.com/JuliaSmoothOptimizers/KnetNLPModels.jl/blob/main/CITATION.bib).\n\n# Bug reports and discussions\n\nIf you think you found a bug, feel free to open an [issue](https://github.com/JuliaSmoothOptimizers/KnetNLPModels.jl/issues).\nFocused suggestions and requests can also be opened as issues. Before opening a pull request, start an issue or a discussion on the topic, please.\n\nIf you want to ask a question not suited for a bug report, feel free to start a discussion [here](https://github.com/JuliaSmoothOptimizers/Organization/discussions). This forum is for general discussion about this repository and the [JuliaSmoothOptimizers](https://github.com/JuliaSmoothOptimizers), so questions about any of our packages are welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJSO-Boneyard%2FKnetNLPModels.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJSO-Boneyard%2FKnetNLPModels.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJSO-Boneyard%2FKnetNLPModels.jl/lists"}