精易论坛

标题: 发现了个翻译模型,发现效果不错,搭建起来分享给大家 [打印本页]

作者: 哆啦恶梦    时间: 2024-9-29 14:46
标题: 发现了个翻译模型,发现效果不错,搭建起来分享给大家
到了回馈社会的年纪了,从一个伸手党变成了喜欢分享的人。搭建了个翻译模型给大家玩玩,永久免费,不会停!
API:http://fanyi.or9.top/  上面有详细的POST/GET数据格式的。
  
返回文本=网页访问(“api地址”,1,json数据)
调试输出 (解析(返回文本))





补充内容 (2024-11-18 15:21):
服务器老是被打死,关闭了
作者: 刘一缘    时间: 2024-9-29 14:50
我对模型感兴趣,是用的什么模型。
作者: 天籁夕阳    时间: 2024-9-29 15:01
网页访问 方法在哪个模块呢
作者: 学而容易    时间: 2024-9-29 15:04
玩了一下,真还行
作者: 53770zhang    时间: 2024-9-29 15:49
感谢大佬分享
作者: 你不丑    时间: 2024-9-29 15:53
哈哈 不错
作者: 784326742    时间: 2024-9-29 16:08
还不如把模型和搭建的发出来
作者: 2330862694    时间: 2024-9-29 21:20
感谢大佬分享
作者: aismy    时间: 2024-9-29 21:52
好像昨天开始,百du翻译接口就开始收费了?  每天都少量使用百du翻译Visual Studio,现在收费了?
作者: 扯谈i    时间: 2024-9-29 22:09
后天不就国庆了,不就有时间了
作者: 哆啦恶梦    时间: 2024-9-30 09:30
aismy 发表于 2024-9-29 21:52
好像昨天开始,百du翻译接口就开始收费了?  每天都少量使用百du翻译Visual Studio,现在收费了?  ...

都这样的,后面翻译基本都会收费的,翻译技术越来越成熟,到盈利的时候了,不过我们可以自己训练模型来满足日常翻译需求

作者: sgs666    时间: 2024-9-30 10:26
下次发模块的话再发个例子就好了大佬
作者: 哆啦恶梦    时间: 2024-9-30 14:50
sgs666 发表于 2024-9-30 10:26
下次发模块的话再发个例子就好了大佬

可以的,晚上我写个例子。

作者: sgs666    时间: 2024-9-30 15:32
哆啦恶梦 发表于 2024-9-30 14:50
可以的,晚上我写个例子。

好嘞 感谢大佬
作者: 元老    时间: 2024-9-30 20:13
效果不太行想本地部署翻译,不用大模型的话好像没什么效果特别好的
1

From fairest creatures we desire increase,

That thereby beauty's rose might never die,

But as the riper should by time decease,

His tender heir might bear his memory:

But thou contracted to thine own bright eyes,

Feed'st thy light's flame with self-substantial fuel,

Making a famine where abundance lies,

Thy self thy foe, to thy sweet self too cruel:

Thou that art now the world's fresh ornament,

And only herald to the gaudy spring,

Within thine own bud buriest thy content,

And tender churl mak'st waste in niggarding:

Pity the world, or else this glutton be,

To eat the world's due, by the grave and thee.

作者: 哆啦恶梦    时间: 2024-10-2 11:10
  
窗口程序集名保 留  保 留备 注
窗口程序集_启动窗口   
子程序名返回值类型公开备 注
_按钮1_被单击  
调试输出 (翻译 (“fuck you!”, , “zh”))
子程序名返回值类型公开备 注
翻译文本型 
参数名类 型参考可空数组备 注
文本文本型
原语言文本型默认自动识别的
翻译到文本型
变量名类 型静态数组备 注
返回文本文本型 
数据文本型 
json类_json 
json.置属性 (“q”, 文本)
json.置属性 (“source”, “auto”)
json.置属性 (“target”, 翻译到)
json.置属性 (“format”, “text”)
json.置属性数值 (“alternatives”, 3)
json.置属性 (“api_key”)
数据 = json.取数据文本 ()
返回文本 = 网页_访问S (“http://fanyi.or9.top/translate”, 1, 数据, , , “Content-Type:application/json”)
返回 (编码_utf8到gb2312 (返回文本))


i支持库列表   支持库注释   
spec特殊功能支持库


自行载入精易模块即可。





欢迎光临 精易论坛 (https://125.confly.eu.org/) Powered by Discuz! X3.4