https://github.com/mitre/jfairseq
A java fairseq runtime.
https://github.com/mitre/jfairseq
fairseq java machine-translation pytorch torchscript
Last synced: 9 months ago
JSON representation
A java fairseq runtime.
- Host: GitHub
- URL: https://github.com/mitre/jfairseq
- Owner: mitre
- License: apache-2.0
- Created: 2021-01-11T12:55:17.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-01T21:16:34.000Z (about 5 years ago)
- Last Synced: 2025-04-01T14:37:35.002Z (12 months ago)
- Topics: fairseq, java, machine-translation, pytorch, torchscript
- Language: Java
- Homepage:
- Size: 18.6 KB
- Stars: 6
- Watchers: 7
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jFairseq: a Java frontend for fairseq Scripted Models

## Motivation
This repo serves to provide limited Java runtime support for scripted [fairseq](https://github.com/pytorch/fairseq/) translation models.
## Installation
To build this repo, the following repos must first be published to the local Maven repository:
- [sentencepiece-jni](https://github.com/levyfan/sentencepiece-jni)
- [jFastBPE](https://github.com/mitre/jfastbpe)
Once this is done, jFairseq can be built by issuing `sbt clean compile package`.
## Tests
Tests can be run by issuing `sbt test`.
## Authors
- [Elijah Rippeth](mailto:erippeth@mitre.org)