티스토리 뷰
Save fastest model bin file to AWS S3
Import FastText4J library to Spring java project
dependency "com.github.linkfluence:fastText4j:0.2.1"
compile('com.github.linkfluence:fastText4j')
get fasttext model bin file from S3(Use AWS aws-java-sdk-s3 library)
load FastText class with model bin
InputStream modelBinary;
FastText fastText = FastText.loadModel(modelBinary);
- call predict function to get Prediction information
FastTextPrediction predictionInfo = fastText.predict(rawString);
'Architecture > Back-End' 카테고리의 다른 글
TAG
more
Recent Post