zazaji / obsidian-SenGener

This plugin is used to generate a serial of Sentenses for writting.
MIT License
50 stars 4 forks source link

如何搭建自己的数据服务? #2

Open zhubib1234 opened 1 year ago

zhubib1234 commented 1 year ago

build your data service You can also use GPT2 to generate Sentenses directly , or Another one. You can build your API service for generating Sentenses. Or you can use the sample service, just for test. The example provides english model and chinese model, and Full-text search . If you want use Another language , you can train your language generation service. Data service contain text-generator and full-text-search. You can build a API service like :

搭建教程能在细化一下么?谢谢大神。

zazaji commented 1 year ago

OK, I plan to create a repo in this month.

zhubib1234 commented 1 year ago

thinks!

zazaji commented 1 year ago

https://github.com/zazaji/SenGener-GPT2-service

zhubib1234 commented 1 year ago

谢谢,但是还是没看懂。需要先看哪方面的教程,才能看得懂?

zazaji commented 1 year ago

这是用flask写的web服务,如果不考虑全文检索的话,需要了解怎么把模型的输入输出与flask的request和response对接上。 request->模型输入->模型输出->response。